{
  "id": "cz_region_code",
  "kind": "pattern",
  "status": "draft",
  "name": "Czech region code (ISO 3166-2:CZ)",
  "doc": "Code of one of the 14 Czech regions (kraje) from ISO 3166-2:CZ, two digits after CZ-, such as CZ-10 (Prague), CZ-64 (Jihomoravský kraj) or CZ-80 (Moravskoslezský kraj), alone or with the country code. Codes of districts (okresy) have a third character, as in CZ-201 (Benešov) or CZ-20A (Praha-západ), and are not covered.",
  "semantic_type": "iso3166code",
  "is_pii": false,
  "categories": [
    "geo"
  ],
  "country": [
    "CZ"
  ],
  "langs": [
    "common"
  ],
  "classification": "categorical",
  "regexp": "^(?:CZ-)?(?:10|20|31|32|41|42|51|52|53|63|64|71|72|80)$",
  "examples": [
    {
      "value": "CZ-10",
      "description": "Praha, Hlavní město",
      "valid": true
    },
    {
      "value": "CZ-64",
      "description": "Jihomoravský kraj",
      "valid": true
    },
    {
      "value": "80",
      "description": "Moravskoslezský kraj",
      "valid": true
    },
    {
      "value": "CZ-201",
      "description": "Benešov district, not a region",
      "valid": false
    },
    {
      "value": "CZ-60",
      "description": "Not a region code",
      "valid": false
    }
  ],
  "links": [
    {
      "type": "wikipedia",
      "url": "https://en.wikipedia.org/wiki/ISO_3166-2:CZ"
    },
    {
      "type": "wikipedia",
      "url": "https://cs.wikipedia.org/wiki/ISO_3166-2:CZ"
    }
  ],
  "translations": {
    "cs": {
      "name": "Kód kraje (ISO 3166-2:CZ)"
    },
    "ru": {
      "name": "Код края Чехии (ISO 3166-2:CZ)"
    }
  },
  "quality": {
    "score": 80,
    "missing": [
      "mapping (Wikidata, Schema.org, ...)",
      "detector coverage"
    ]
  },
  "source": {
    "path": "data/datatypes/CZ/geo/cz_region_code.yaml",
    "url": "https://github.com/apicrafter/metacrafter-registry/blob/main/data/datatypes/CZ/geo/cz_region_code.yaml",
    "edit_url": "https://github.com/apicrafter/metacrafter-registry/edit/main/data/datatypes/CZ/geo/cz_region_code.yaml"
  },
  "urls": {
    "html": "http://registry.apicrafter.io/datatype/cz_region_code",
    "json": "http://registry.apicrafter.io/api/v1/datatypes/cz_region_code.json"
  }
}