---
id: "rusregioncode"
kind: "pattern"
status: "draft"
is_pii: false
categories: ["geo"]
country: ["RU"]
langs: ["ru"]
quality: 75
url: "http://registry.apicrafter.io/datatype/rusregioncode"
---

# Russian region unique code (`rusregioncode`)

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

Two-digit code of a federal subject of Russia, numbered in the order of the list of subjects in the Constitution, such as 05 for Dagestan or 77 for Moscow. The register of cultural heritage objects (ЕГРОКН) uses these codes for regions and as the first two digits of its registration numbers.

- Pattern of: `rusregion`
- Personal data (PII): no
- Categories: Geographic identifiers (geo)
- Countries: Russian Federation (RU)
- Languages: Russian (ru)
- Classification: categorical

## Detection

Regular expression (Python `re`):

```
^(?:0[1-9]|[1-9]\d)$
```

## Examples

- `77` — Moscow
- `05` — Republic of Dagestan
- `69` — Tver Oblast
- `5` (invalid example) — Codes are written with a leading zero

## Metacrafter rules

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

- `ruregioncode` (data, `ru/ru_geo.yaml`)

## Supported by tools

- `metacrafter`
- `metacrafterpro`

## Translations

- ru: Код субъекта Российской Федерации: Двузначный код субъекта Российской Федерации в порядке перечня субъектов в Конституции, например 05 — Дагестан, 77 — Москва.

## Quality

Score 75/100. Missing: source link, mapping (Wikidata, Schema.org, ...).

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