{
  "id": "gb_road_number",
  "kind": "datatype",
  "status": "draft",
  "name": "UK road number",
  "doc": "Number of a classified road in Great Britain or Northern Ireland: M for motorways (M1), A for primary and main roads (A2, A55) and B for secondary roads (B101), with up to four digits. A road upgraded to motorway standard keeps its number with (M), as A1(M). Local councils also use C and U for unclassified roads.",
  "parent": "id",
  "is_pii": false,
  "categories": [
    "transport",
    "geo"
  ],
  "country": [
    "GB"
  ],
  "langs": [
    "common"
  ],
  "classification": "identifier",
  "regexp": "^[ABM]\\d{1,4}(?:\\(M\\))?$",
  "examples": [
    {
      "value": "A2",
      "valid": true
    },
    {
      "value": "M1",
      "valid": true
    },
    {
      "value": "B101",
      "valid": true
    },
    {
      "value": "A1(M)",
      "valid": true
    },
    {
      "value": "D121",
      "description": "A French road number (fr_road_number)",
      "valid": false
    }
  ],
  "links": [
    {
      "type": "wikipedia",
      "url": "https://en.wikipedia.org/wiki/Great_Britain_road_numbering_scheme"
    },
    {
      "type": "wikipedia",
      "url": "https://en.wikipedia.org/wiki/Roads_in_Northern_Ireland"
    }
  ],
  "translations": {
    "ru": {
      "name": "Номер дороги Великобритании"
    }
  },
  "detected_by": {
    "tools": [
      "metacrafter"
    ],
    "metacrafter_rules": [
      {
        "rule": "gbroadnumberbyname",
        "type": "field",
        "match": "regex",
        "file": "gb/gb_b14.yaml"
      }
    ]
  },
  "quality": {
    "score": 90,
    "missing": [
      "mapping (Wikidata, Schema.org, ...)"
    ]
  },
  "source": {
    "path": "data/datatypes/GB/transport/gb_road_number.yaml",
    "url": "https://github.com/apicrafter/metacrafter-registry/blob/main/data/datatypes/GB/transport/gb_road_number.yaml",
    "edit_url": "https://github.com/apicrafter/metacrafter-registry/edit/main/data/datatypes/GB/transport/gb_road_number.yaml"
  },
  "urls": {
    "html": "https://registry.apicrafter.io/datatype/gb_road_number",
    "json": "https://registry.apicrafter.io/api/v1/datatypes/gb_road_number.json"
  }
}