---
id: "maritime_identification_digits"
kind: "datatype"
status: "draft"
is_pii: false
categories: ["transport", "telecom"]
langs: ["common"]
quality: 80
url: "https://registry.apicrafter.io/datatype/maritime_identification_digits"
---

# Maritime Identification Digits (MID) (`maritime_identification_digits`)

> **Draft.** Draft records have not been reviewed yet and may be incomplete or wrong; do not treat them as authoritative for legal or compliance decisions.

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.

- Personal data (PII): no
- Categories: Transportation (transport), Telecommunications (telecom)
- Countries: global
- Languages: Common to most languages (common)
- Classification: categorical

## Detection

Regular expression (Python `re`):

```
^[2-7]\d{2}$
```

## Examples

- `273` — Russia
- `211` — Germany
- `431` — Japan
- `111` (invalid example) — Prefix of search and rescue aircraft, not a country code

## Translations

- ru: Морской идентификационный код страны (MID)

## Sources

- wikipedia: <https://en.wikipedia.org/wiki/Maritime_identification_digits>

## Quality

Score 80/100. Missing: mapping (Wikidata, Schema.org, ...), detector coverage.

JSON: <https://registry.apicrafter.io/api/v1/datatypes/maritime_identification_digits.json> · Edit: <https://github.com/apicrafter/metacrafter-registry/edit/main/data/datatypes/any/transport/maritime/maritime_identification_digits.yaml>
