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

# Bulgarian municipality code (NSI) (`bg_nsi_obshtina_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 municipality (община) in the EKATTE classification: the oblast code and two digits, as in VTR13.

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

## Detection

Regular expression (Python `re`):

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

## Examples

- `GAB05` — Gabrovo
- `VTR13` — Elena
- `VTR` (invalid example) — Oblast code

## Metacrafter rules

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

- `bgobshtinacodevalue` (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_obshtina_code.json> · Edit: <https://github.com/apicrafter/metacrafter-registry/edit/main/data/datatypes/BG/geo/bg_nsi_obshtina_code.yaml>
