{
  "id": "imo_port_facility_number",
  "kind": "datatype",
  "status": "draft",
  "name": "IMO port facility number",
  "doc": "Number of a port facility in the maritime security module of GISIS, the database of the International Maritime Organization where states list the facilities that fall under the ISPS Code: the UN/LOCODE of the port, a hyphen and a four-digit serial number (CYLMS-0001 for a facility in the port of Limassol). Lists of port facilities and of their security officers give it beside the name of the facility and the UN/LOCODE.",
  "parent": "id",
  "is_pii": false,
  "categories": [
    "transport",
    "shipping"
  ],
  "langs": [
    "common"
  ],
  "classification": "identifier",
  "regexp": "^[A-Z]{2}[A-Z2-9]{3}-\\d{4}$",
  "examples": [
    {
      "value": "CYLMS-0001",
      "description": "a port facility of Limassol in the list of the Shipping Deputy Ministry of Cyprus",
      "valid": true
    },
    {
      "value": "CYLCA-0001",
      "description": "Larnaca",
      "valid": true
    },
    {
      "value": "CYLMS",
      "description": "the UN/LOCODE alone",
      "valid": false
    }
  ],
  "translations": {
    "ru": {
      "name": "Номер портового средства ИМО"
    }
  },
  "detected_by": {
    "tools": [
      "metacrafter"
    ],
    "metacrafter_rules": [
      {
        "rule": "imoportfacilitynumbervalue",
        "type": "data",
        "match": "func",
        "file": "common/shipping.yaml"
      }
    ]
  },
  "quality": {
    "score": 75,
    "missing": [
      "source link",
      "mapping (Wikidata, Schema.org, ...)"
    ]
  },
  "source": {
    "path": "data/datatypes/any/transport/maritime/imo_port_facility_number.yaml",
    "url": "https://github.com/apicrafter/metacrafter-registry/blob/main/data/datatypes/any/transport/maritime/imo_port_facility_number.yaml",
    "edit_url": "https://github.com/apicrafter/metacrafter-registry/edit/main/data/datatypes/any/transport/maritime/imo_port_facility_number.yaml"
  },
  "urls": {
    "html": "https://registry.apicrafter.io/datatype/imo_port_facility_number",
    "json": "https://registry.apicrafter.io/api/v1/datatypes/imo_port_facility_number.json"
  }
}