Datatypes › United Kingdom › Transportation
NaPTAN code (SMS code of a GB stop)
ID gb_naptan_code
DatatypeNot PIIidentifierDraft
This record is a draft: it has not been reviewed yet and may be incomplete or wrong. Do not rely on it for compliance decisions. Help improve it (see CONTRIBUTING.md).
Short public code of a NaPTAN stop point (NaptanCode), seven or eight characters shown on bus stop flags for SMS and web timetable queries. Its letters are chosen so that they are typed with few phone keys. It differs from the ATCO code of the stop (gb_naptan_atco).
- Parent datatype
- Unique identifier
id - Categories
- Transportation
- Countries
- United Kingdom
- Languages
- English
- Quality
- 85/100 · missing: mapping (Wikidata, Schema.org, ...), translation
- Metacrafter rules
- 1 rule (1 by field name, 0 by value)
gbnaptancodefieldfield, gb/gb_transport.yaml
- Supported by tools
- metacrafter
Regular expression
^[A-Za-z0-9]{7,8}$
Python re syntax.
Test a value
Examples
| Value | Description |
|---|---|
| MANJMGMW | Greater Manchester bus stop |
| MANAJWMG | Greater Manchester bus stop |
| 1800WKH4032 invalid | An ATCO code |
Sources
- wikipedia: NaPTAN (en.wikipedia.org)
Use this record
- Page URL:
https://registry.apicrafter.io/datatype/gb_naptan_code - JSON: API v1 · legacy shape (used by metacrafter) · Markdown (for LLMs)
- Improve it: edit
data/datatypes/GB/transport/gb_naptan_code.yamlon GitHub