---
id: "gb_road_number"
kind: "datatype"
status: "draft"
is_pii: false
name: "UK road number"
regexp: "^[ABM]\\d{1,4}(?:\\(M\\))?$"
categories: ["transport", "geo"]
country: ["GB"]
langs: ["common"]
quality: 90
url: "https://registry.apicrafter.io/datatype/gb_road_number"
---

# UK road number (`gb_road_number`)

> **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.

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 datatype: [`id`](https://registry.apicrafter.io/datatype/id.md)
- Personal data (PII): no
- Categories: Transportation (transport), Geographic identifiers (geo)
- Countries: United Kingdom (GB)
- Languages: Common to most languages (common)
- Classification: identifier

## Detection

Regular expression (Python `re`):

```
^[ABM]\d{1,4}(?:\(M\))?$
```

## Examples

- `A2`
- `M1`
- `B101`
- `A1(M)`
- `D121` (invalid example) — A French road number (fr_road_number)

## Metacrafter rules

1 rules: 1 match the field name, 0 match values.

- `gbroadnumberbyname` (field, `gb/gb_b14.yaml`)

## Supported by tools

- [`metacrafter`](https://registry.apicrafter.io/tool/metacrafter.md)

## Translations

- ru: Номер дороги Великобритании

## Sources

- wikipedia: <https://en.wikipedia.org/wiki/Great_Britain_road_numbering_scheme>
- wikipedia: <https://en.wikipedia.org/wiki/Roads_in_Northern_Ireland>

## Quality

Score 90/100. Missing: mapping (Wikidata, Schema.org, ...).

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