{
  "id": "win_loss_streak",
  "kind": "datatype",
  "status": "draft",
  "name": "Winning or losing streak (W3, L1)",
  "doc": "The run of consecutive results a team has at the moment, as standings tables show it in a column named Streak, Strk or Stk: the letter of the result and the number of games, W3 for three wins in a row, L1 for one loss, T1 for a tie, or the same in words (Won 3, Lost 1). The letter and number alone are also codes of other things, so the streak is found by its field name.",
  "is_pii": false,
  "categories": [
    "common"
  ],
  "langs": [
    "common"
  ],
  "classification": "categorical",
  "regexp": "^(?:[WLTD] ?-? ?\\d{1,3}|\\d{1,3} ?[WLTD]|(?:Won|Lost|Tied|Drew) \\d{1,3})$",
  "examples": [
    {
      "value": "W3",
      "description": "three wins in a row",
      "valid": true
    },
    {
      "value": "L1",
      "valid": true
    },
    {
      "value": "Won 2",
      "valid": true
    },
    {
      "value": "1L",
      "valid": true
    },
    {
      "value": "3-2",
      "description": "a score",
      "valid": false
    }
  ],
  "links": [
    {
      "type": "wikipedia",
      "url": "https://en.wikipedia.org/wiki/Standings_(sports)"
    }
  ],
  "translations": {
    "ru": {
      "name": "Серия побед или поражений (W3, L1)"
    }
  },
  "detected_by": {
    "tools": [
      "metacrafter"
    ],
    "metacrafter_rules": [
      {
        "rule": "winlossstreakbyname",
        "type": "field",
        "match": "regex",
        "file": "common/sports.yaml"
      }
    ]
  },
  "quality": {
    "score": 90,
    "missing": [
      "mapping (Wikidata, Schema.org, ...)"
    ]
  },
  "source": {
    "path": "data/datatypes/any/common/win_loss_streak.yaml",
    "url": "https://github.com/apicrafter/metacrafter-registry/blob/main/data/datatypes/any/common/win_loss_streak.yaml",
    "edit_url": "https://github.com/apicrafter/metacrafter-registry/edit/main/data/datatypes/any/common/win_loss_streak.yaml"
  },
  "urls": {
    "html": "https://registry.apicrafter.io/datatype/win_loss_streak",
    "json": "https://registry.apicrafter.io/api/v1/datatypes/win_loss_streak.json"
  }
}