---
id: "cz_ruian_cast_obce_code"
kind: "datatype"
status: "draft"
is_pii: false
categories: ["geo", "government"]
country: ["CZ"]
langs: ["cs"]
quality: 90
url: "https://registry.apicrafter.io/datatype/cz_ruian_cast_obce_code"
---

# Czech RÚIAN code of a part of a municipality (`cz_ruian_cast_obce_code`)

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

Code of a part of a municipality (část obce) in RÚIAN, the Czech register of territorial identification, addresses and real estate: five or six digits, as in 22969 for Horní Brána in Český Krumlov.

- Parent datatype: `id`
- Personal data (PII): no
- Categories: Geographic identifiers (geo), Government related (government)
- Countries: Czechia (CZ)
- Languages: Czech (cs)
- Classification: identifier

## Detection

Regular expression (Python `re`):

```
^\d{5,6}$
```

## Examples

- `22969` — Horní Brána, Český Krumlov
- `22942` — Latrán, Český Krumlov
- `2296` (invalid example) — Too short

## Metacrafter rules

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

- `czruiancastobcebyfield` (field, `cz/cz_geo.yaml`)

## Supported by tools

- `metacrafter`

## Translations

- cs: Kód části obce

## Sources

- doc: <https://cuzk.gov.cz/ruian/RUIAN.aspx>

## Quality

Score 90/100. Missing: mapping (Wikidata, Schema.org, ...).

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