---
id: "cz_municipality_code"
kind: "datatype"
status: "draft"
is_pii: false
categories: ["geo"]
country: ["CZ"]
langs: ["common"]
quality: 90
url: "http://registry.apicrafter.io/datatype/cz_municipality_code"
---

# Czech municipality code (kód obce) (`cz_municipality_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.

Six-digit code of a Czech municipality (obec), such as 554782 for Prague, from the code list of municipalities of the Czech Statistical Office and the register of territorial identification RÚIAN. It starts with 5 and does not change over time; the Czech Statistical Office describes five digits starting with 5 followed by a check digit.

- Personal data (PII): no
- Categories: Geographic identifiers (geo)
- Countries: Czechia (CZ)
- Languages: Common to most languages (common)
- Classification: identifier

## Detection

Regular expression (Python `re`):

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

## Examples

- `554782` — Prague, an example of Wikidata P7606
- `554791` — Plzeň, an example of Wikidata P7606
- `578878` — Telecí, an example of Wikidata P7606
- `582271` — Rozseč nad Kunštátem, an example of Wikidata P7606
- `454782` (invalid example) — Municipality codes start with 5
- `55478` (invalid example) — Five digits

## Mappings

- wikidata: `P7606`

## Translations

- cs: Kód obce
- ru: Код муниципалитета Чехии (kód obce): Шестизначный код чешской общины (obec) в справочнике Чешского статистического управления и в реестре RÚIAN, начинается с 5.

## Sources

- wikidata: <https://www.wikidata.org/wiki/Property:P7606>
- doc: <https://vdp.cuzk.cz/vdp/ruian/obce/554782>

## Quality

Score 90/100. Missing: detector coverage.

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