{
  "id": "sports_penalty",
  "kind": "datatype",
  "status": "draft",
  "name": "Penalty or foul in a game (Slashing, Holding, Yellow Card)",
  "doc": "The infraction for which a referee penalised a player or a team, as the penalty summaries of box scores list it: slashing, tripping, hooking, cross-checking and too many men in ice hockey; slashing, pushing and illegal body check in lacrosse; holding, false start and pass interference in American football; yellow and red cards in association football. Words such as Holding, Interference and Boarding are also used in other columns, so a column needs the names that are only penalties, or a field named Offense, Infraction or Penalty.",
  "is_pii": false,
  "categories": [
    "common"
  ],
  "langs": [
    "en"
  ],
  "classification": "categorical",
  "examples": [
    {
      "value": "SLASHING",
      "valid": true
    },
    {
      "value": "Tripping",
      "valid": true
    },
    {
      "value": "Cross-Checking",
      "valid": true
    },
    {
      "value": "Delay of Game",
      "valid": true
    },
    {
      "value": "Yellow Card",
      "valid": true
    },
    {
      "value": "2:00",
      "description": "length of the penalty",
      "valid": false
    }
  ],
  "links": [
    {
      "type": "wikipedia",
      "url": "https://en.wikipedia.org/wiki/Penalty_(ice_hockey)"
    },
    {
      "type": "wikipedia",
      "url": "https://en.wikipedia.org/wiki/Penalty_(gridiron_football)"
    },
    {
      "type": "wikipedia",
      "url": "https://en.wikipedia.org/wiki/Fouls_and_misconduct_(association_football)"
    }
  ],
  "translations": {
    "ru": {
      "name": "Нарушение правил в игре (Slashing, Holding, жёлтая карточка)"
    }
  },
  "detected_by": {
    "tools": [
      "metacrafter"
    ],
    "metacrafter_rules": [
      {
        "rule": "sportspenaltybyname",
        "type": "field",
        "match": "regex",
        "file": "common/sports.yaml"
      },
      {
        "rule": "sportspenaltyvalue",
        "type": "data",
        "match": "func",
        "file": "common/sports.yaml"
      }
    ]
  },
  "quality": {
    "score": 70,
    "missing": [
      "regexp",
      "mapping (Wikidata, Schema.org, ...)"
    ]
  },
  "source": {
    "path": "data/datatypes/any/common/sports_penalty.yaml",
    "url": "https://github.com/apicrafter/metacrafter-registry/blob/main/data/datatypes/any/common/sports_penalty.yaml",
    "edit_url": "https://github.com/apicrafter/metacrafter-registry/edit/main/data/datatypes/any/common/sports_penalty.yaml"
  },
  "urls": {
    "html": "https://registry.apicrafter.io/datatype/sports_penalty",
    "json": "https://registry.apicrafter.io/api/v1/datatypes/sports_penalty.json"
  }
}