---
id: "ru_wagon_number"
kind: "datatype"
status: "draft"
is_pii: false
categories: ["transport"]
country: ["RU"]
langs: ["common"]
quality: 60
url: "https://registry.apicrafter.io/datatype/ru_wagon_number"
---

# Russian railway wagon number (`ru_wagon_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.

Eight-digit number of a railway wagon in the unified numbering system of the 1520 mm gauge railways, used by Russian Railways. The eighth digit is a check digit computed with the Luhn algorithm. European railways use the twelve-digit UIC number instead (uic_wagon_number).

- Personal data (PII): no
- Categories: Transportation (transport)
- Countries: Russian Federation (RU)
- Languages: Common to most languages (common)
- Classification: identifier

## Detection

Regular expression (Python `re`):

```
^\d{8}$
```

Check digit algorithm: `luhn`

## Translations

- ru: Номер железнодорожного вагона: Единый восьмизначный номер вагона на железных дорогах колеи 1520 мм. Восьмая цифра — контрольная, рассчитывается по алгоритму Луна.

## Sources

- wikipedia: <https://ru.wikipedia.org/wiki/Алгоритм_Луна>

## Quality

Score 60/100. Missing: examples, negative example, mapping (Wikidata, Schema.org, ...), detector coverage.

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