Datatypes › Switzerland › Transportation
Swiss service point number (DiDok number)
ID ch_didok_number
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).
Number of a service point (a stop, a station, a depot or another operating point) in DiDok, the directory of service points of Swiss public transport. It has at most five digits and no leading zero. With the UIC country code 85 in front it is the seven-digit BPUIC station number (uiccode), and it is the location part of the Swiss Location ID (ch_sloid).
- Parent datatype
- Unique identifier
id - Categories
- Transportation
- Countries
- Switzerland
- Languages
- Common to most languages
- Quality
- 90/100 · missing: mapping (Wikidata, Schema.org, ...)
- Metacrafter rules
- 1 rule (1 by field name, 0 by value)
chdidoknumberbynamefield, ch/ch_codes.yaml
- Supported by tools
- metacrafter
Regular expression
^[1-9]\d{0,4}$
Python re syntax.
Test a value
Examples
| Value | Description |
|---|---|
| 7000 | the stop of the Swiss Location ID example ch:1:sloid:7000 |
| 3000 | Zürich HB, BPUIC 8503000 (open data of data.sbb.ch) |
| 10 | Basel SBB, BPUIC 8500010 |
| 07000 invalid | leading zero |
| 8507000 invalid | the BPUIC number with the country code (uiccode) |
Translations
| Language | Name | Description |
|---|---|---|
| German | DiDok-Nummer (Dienststellennummer) | |
| Russian | Номер пункта обслуживания DiDok (Швейцария) |
Sources
Use this record
- Page URL:
https://registry.apicrafter.io/datatype/ch_didok_number - JSON: API v1 · legacy shape (used by metacrafter) · Markdown (for LLMs)
- Improve it: edit
data/datatypes/CH/transport/ch_didok_number.yamlon GitHub