---
id: "bg_nsi_kmetstvo_code"
kind: "datatype"
status: "draft"
is_pii: false
categories: ["geo"]
country: ["BG"]
langs: ["bg"]
quality: 75
url: "https://registry.apicrafter.io/datatype/bg_nsi_kmetstvo_code"
---

# Bulgarian mayoralty code (NSI) (`bg_nsi_kmetstvo_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 Bulgarian mayoralty (кметство) in the EKATTE classification: the municipality code, a hyphen and two digits, as in VTR13-00.

- Parent datatype: `id`
- Personal data (PII): no
- Categories: Geographic identifiers (geo)
- Countries: Bulgaria (BG)
- Languages: Bulgarian (bg)
- Classification: identifier

## Detection

Regular expression (Python `re`):

```
^[A-Z]{3}\d{2}-\d{2}$
```

## Examples

- `GAB05-00` — Mayoralty
- `PER51-00` — Mayoralty
- `GAB05` (invalid example) — Municipality code

## Metacrafter rules

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

- `bgkmetstvocodevalue` (data, `bg/bg_geo.yaml`)

## Supported by tools

- `metacrafter`

## Translations

- bg: Код на кметство

## Quality

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

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