{
  "id": "gb_parking_contravention_code",
  "kind": "datatype",
  "status": "draft",
  "name": "UK parking contravention code",
  "doc": "Two-digit code of the contravention on a penalty charge notice for parking in the United Kingdom, from the standard list that councils with civil parking enforcement share: 01 parked in a restricted street, 06 no valid pay and display ticket, 16 parked in a permit space without a permit, 40 parked in a disabled bay without a badge. Open data of councils often write the code with a short description after a hyphen.",
  "is_pii": false,
  "categories": [
    "transport",
    "legal"
  ],
  "country": [
    "GB"
  ],
  "langs": [
    "en"
  ],
  "classification": "categorical",
  "examples": [
    {
      "value": "01",
      "description": "Parked in a restricted street during prescribed hours",
      "valid": true
    },
    {
      "value": "16",
      "description": "Parked in a permit space without a valid permit",
      "valid": true
    },
    {
      "value": "40 - Parked in disabled bay without badge",
      "description": "Code with its description, parking fines of Stirling Council",
      "valid": true
    }
  ],
  "links": [
    {
      "type": "doc",
      "url": "https://www.patrol-uk.info/contravention-codes/"
    }
  ],
  "detected_by": {
    "tools": [
      "metacrafter"
    ],
    "metacrafter_rules": [
      {
        "rule": "gbparkingcontraventioncodebyname",
        "type": "field",
        "match": "regex",
        "file": "gb/gb_transport.yaml"
      }
    ]
  },
  "quality": {
    "score": 60,
    "missing": [
      "regexp",
      "negative example",
      "mapping (Wikidata, Schema.org, ...)",
      "translation"
    ]
  },
  "source": {
    "path": "data/datatypes/GB/transport/gb_parking_contravention_code.yaml",
    "url": "https://github.com/apicrafter/metacrafter-registry/blob/main/data/datatypes/GB/transport/gb_parking_contravention_code.yaml",
    "edit_url": "https://github.com/apicrafter/metacrafter-registry/edit/main/data/datatypes/GB/transport/gb_parking_contravention_code.yaml"
  },
  "urls": {
    "html": "https://registry.apicrafter.io/datatype/gb_parking_contravention_code",
    "json": "https://registry.apicrafter.io/api/v1/datatypes/gb_parking_contravention_code.json"
  }
}