{
  "id": "uic_country_code",
  "kind": "datatype",
  "status": "draft",
  "name": "UIC country code",
  "doc": "Two-digit code of a country in the numbering of the International Union of Railways (UIC leaflet 920-14). It appears in wagon numbers (uic_wagon_number) and station numbers. It began as a code of the railway company and now belongs to the country. Any two digits match, so use the field name or context.",
  "is_pii": false,
  "categories": [
    "transport"
  ],
  "langs": [
    "common"
  ],
  "classification": "categorical",
  "regexp": "^\\d{2}$",
  "examples": [
    {
      "value": "20",
      "description": "Russia",
      "valid": true
    },
    {
      "value": "80",
      "description": "Germany",
      "valid": true
    },
    {
      "value": "87",
      "description": "France",
      "valid": true
    },
    {
      "value": "RU",
      "description": "ISO 3166-1 alpha-2 code",
      "valid": false
    }
  ],
  "links": [
    {
      "type": "wikipedia",
      "url": "https://en.wikipedia.org/wiki/List_of_UIC_country_codes"
    }
  ],
  "translations": {
    "ru": {
      "name": "Код страны МСЖД (UIC)"
    }
  },
  "quality": {
    "score": 80,
    "missing": [
      "mapping (Wikidata, Schema.org, ...)",
      "detector coverage"
    ]
  },
  "source": {
    "path": "data/datatypes/any/transport/railway/uic_country_code.yaml",
    "url": "https://github.com/apicrafter/metacrafter-registry/blob/main/data/datatypes/any/transport/railway/uic_country_code.yaml",
    "edit_url": "https://github.com/apicrafter/metacrafter-registry/edit/main/data/datatypes/any/transport/railway/uic_country_code.yaml"
  },
  "urls": {
    "html": "https://registry.apicrafter.io/datatype/uic_country_code",
    "json": "https://registry.apicrafter.io/api/v1/datatypes/uic_country_code.json"
  }
}