{
  "id": "ifopt_stop_id",
  "kind": "datatype",
  "status": "draft",
  "name": "IFOPT stop id (DHID)",
  "doc": "Identifier of a stop place, an area of it or a single quay under IFOPT (Identification of Fixed Objects in Public Transport), the European reference data model for stops. Parts are separated by colons: a lower-case country code, a regional key, the stop number, then optionally an area and a quay. Germany publishes these ids as DHID (deutschlandweite Haltestellen-ID) with the five-digit district key (Kreisschlüssel) as the regional part, as in de:05966:60521 for a stop and de:05966:60521:1:1 for one of its quays.",
  "parent": "id",
  "is_pii": false,
  "categories": [
    "transport"
  ],
  "langs": [
    "common"
  ],
  "classification": "identifier",
  "regexp": "^[a-z]{2}:\\d+:\\d+(?::[0-9A-Za-z_]+){0,2}$",
  "examples": [
    {
      "value": "de:05966:24128",
      "description": "Stop place in the district of Olpe",
      "valid": true
    },
    {
      "value": "de:05966:24128:1:1",
      "description": "Quay 1 of area 1 of that stop place",
      "valid": true
    },
    {
      "value": "05966:24128",
      "description": "No country code",
      "valid": false
    },
    {
      "value": "DE:05966:24128",
      "description": "Country code in upper case",
      "valid": false
    }
  ],
  "links": [
    {
      "type": "wikipedia",
      "url": "https://en.wikipedia.org/wiki/Identification_of_Fixed_Objects_in_Public_Transport"
    }
  ],
  "translations": {
    "de": {
      "name": "Deutschlandweite Haltestellen-ID (DHID)"
    }
  },
  "quality": {
    "score": 80,
    "missing": [
      "mapping (Wikidata, Schema.org, ...)",
      "detector coverage"
    ]
  },
  "source": {
    "path": "data/datatypes/any/transport/ifopt_stop_id.yaml",
    "url": "https://github.com/apicrafter/metacrafter-registry/blob/main/data/datatypes/any/transport/ifopt_stop_id.yaml",
    "edit_url": "https://github.com/apicrafter/metacrafter-registry/edit/main/data/datatypes/any/transport/ifopt_stop_id.yaml"
  },
  "urls": {
    "html": "https://registry.apicrafter.io/datatype/ifopt_stop_id",
    "json": "https://registry.apicrafter.io/api/v1/datatypes/ifopt_stop_id.json"
  }
}