UIC wagon number (European Vehicle Number)
ID uic_wagon_number
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).
Twelve-digit number of a railway vehicle, such as a freight wagon, coach or locomotive, in the numbering system of the International Union of Railways (UIC), now the European Vehicle Number (EVN). Digits 1-2 give the vehicle type and interoperability, digits 3-4 the country of registration (before 2006, the owning railway), digits 5-8 the type of vehicle and digits 9-11 the serial number. Digit 12 is a check digit computed with the Luhn algorithm. On the vehicle the groups are separated by spaces and the check digit by a hyphen. Not to be confused with the UIC station code (uiccode).
- Categories
- Transportation
- Countries
- Global (not tied to a country)
- Languages
- Common to most languages
- AutoType benchmark
uic- Check digit
luhn- Quality
- 100/100
- Metacrafter rules
- no detection rule yet
- Supported by tools
- Auto-Type
Regular expression
^\d{2}[ .-]?\d{2}[ .-]?(?:\d[ .]?){7}-?\d$
Python re syntax.
Examples
| Value | Description |
|---|---|
| 21 81 2471 217-3 | Example from the Wikipedia article |
| 21.81.2471.217-3 | The same number with dots |
| 218124712173 | The same number without separators |
| 21 81 2471 217-4 invalid | Wrong check digit |
| 21 81 2471 21-3 invalid | Eleven digits |
Translations
| Language | Name | Description |
|---|---|---|
| Russian | Номер вагона UIC (European Vehicle Number) | Двенадцатизначный номер железнодорожного подвижного состава по системе UIC; последняя цифра контрольная (алгоритм Луна). |
Sources
- wikipedia: https://en.wikipedia.org/wiki/UIC_wagon_numbers
- other: https://github.com/congy/AutoType/blob/master/data_release/uic.txt
Use this record
- Page URL:
http://registry.apicrafter.io/datatype/uic_wagon_number - JSON: API v1 · legacy shape (used by metacrafter) · Markdown (for LLMs)
- Improve it: edit
data/datatypes/any/transport/railway/uic_wagon_number.yamlon GitHub