{
  "id": "maritime_identification_digits",
  "kind": "datatype",
  "status": "draft",
  "name": "Maritime Identification Digits (MID)",
  "doc": "Three-digit code that the International Telecommunication Union assigns to a country or area for maritime radio. It starts the MMSI of a ship station (mmsi). The first digit gives the region, from 2 for Europe to 7 for South America. A country can have several codes.",
  "is_pii": false,
  "categories": [
    "transport",
    "telecom"
  ],
  "langs": [
    "common"
  ],
  "classification": "categorical",
  "regexp": "^[2-7]\\d{2}$",
  "examples": [
    {
      "value": "273",
      "description": "Russia",
      "valid": true
    },
    {
      "value": "211",
      "description": "Germany",
      "valid": true
    },
    {
      "value": "431",
      "description": "Japan",
      "valid": true
    },
    {
      "value": "111",
      "description": "Prefix of search and rescue aircraft, not a country code",
      "valid": false
    }
  ],
  "links": [
    {
      "type": "wikipedia",
      "url": "https://en.wikipedia.org/wiki/Maritime_identification_digits"
    }
  ],
  "translations": {
    "ru": {
      "name": "Морской идентификационный код страны (MID)"
    }
  },
  "quality": {
    "score": 80,
    "missing": [
      "mapping (Wikidata, Schema.org, ...)",
      "detector coverage"
    ]
  },
  "source": {
    "path": "data/datatypes/any/transport/maritime/maritime_identification_digits.yaml",
    "url": "https://github.com/apicrafter/metacrafter-registry/blob/main/data/datatypes/any/transport/maritime/maritime_identification_digits.yaml",
    "edit_url": "https://github.com/apicrafter/metacrafter-registry/edit/main/data/datatypes/any/transport/maritime/maritime_identification_digits.yaml"
  },
  "urls": {
    "html": "https://registry.apicrafter.io/datatype/maritime_identification_digits",
    "json": "https://registry.apicrafter.io/api/v1/datatypes/maritime_identification_digits.json"
  }
}