{
  "id": "era_rinf_op_id",
  "kind": "datatype",
  "status": "draft",
  "name": "RINF operational point id",
  "doc": "Identifier of an operational point (station, stop, junction, border point) in the Register of Infrastructure (RINF) of the European Union Agency for Railways: the alpha-2 country code and a national code of up to ten characters. Croatia uses the UIC station number without its country prefix, as in HR71402.",
  "parent": "id",
  "is_pii": false,
  "categories": [
    "transport"
  ],
  "langs": [
    "common"
  ],
  "classification": "identifier",
  "regexp": "^[A-Z]{2}[0-9A-Z]{1,10}$",
  "examples": [
    {
      "value": "HR71402",
      "description": "Croatian operational point",
      "valid": true
    },
    {
      "value": "HR72802",
      "description": "Croatian operational point",
      "valid": true
    },
    {
      "value": "71402",
      "description": "National code alone",
      "valid": false
    }
  ],
  "links": [
    {
      "type": "doc",
      "url": "https://www.era.europa.eu/domains/registers/rinf_en"
    }
  ],
  "detected_by": {
    "tools": [
      "metacrafter"
    ],
    "metacrafter_rules": [
      {
        "rule": "erarinfopidvalue",
        "type": "data",
        "match": "regex",
        "file": "common/transport.yaml"
      }
    ]
  },
  "quality": {
    "score": 85,
    "missing": [
      "mapping (Wikidata, Schema.org, ...)",
      "translation"
    ]
  },
  "source": {
    "path": "data/datatypes/any/transport/railway/era_rinf_op_id.yaml",
    "url": "https://github.com/apicrafter/metacrafter-registry/blob/main/data/datatypes/any/transport/railway/era_rinf_op_id.yaml",
    "edit_url": "https://github.com/apicrafter/metacrafter-registry/edit/main/data/datatypes/any/transport/railway/era_rinf_op_id.yaml"
  },
  "urls": {
    "html": "https://registry.apicrafter.io/datatype/era_rinf_op_id",
    "json": "https://registry.apicrafter.io/api/v1/datatypes/era_rinf_op_id.json"
  }
}