---
id: "mn_bag"
kind: "datatype"
status: "draft"
is_pii: false
name: "Mongolian subdistrict (bag or khoroo)"
regexp: "^\\d{1,2}(?:-р)?[ -]?(?:баг|хороо)(?:,? [^\\s,][^,]{0,28})?$"
categories: ["geo", "government"]
country: ["MN"]
langs: ["mn"]
quality: 90
url: "https://registry.apicrafter.io/datatype/mn_bag"
---

# Mongolian subdistrict (bag or khoroo) (`mn_bag`)

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

Name of a bag (баг), the smallest administrative unit of a Mongolian soum, or of a khoroo (хороо) of a district of Ulaanbaatar. Most are numbered and written with the ordinal suffix -р (5-р баг, 3-р хороо), some with a place name after the number (1-р баг Өндөрхошуу) or a name alone. Its code is mn_bag_code.

- Parent datatype: [`admin_area_3`](https://registry.apicrafter.io/datatype/admin_area_3.md)
- Personal data (PII): no
- Categories: Geographic identifiers (geo), Government related (government)
- Countries: Mongolia (MN)
- Languages: Mongolian (mn)
- Classification: categorical

## Detection

Regular expression (Python `re`):

```
^\d{1,2}(?:-р)?[ -]?(?:баг|хороо)(?:,? [^\s,][^,]{0,28})?$
```

## Examples

- `5-р баг`
- `3-р хороо` — A khoroo of Ulaanbaatar
- `1-р баг Өндөрхошуу`
- `20-хороо`
- `Хан-Уул` (invalid example) — A district (mn_soum)

## Metacrafter rules

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

- `mnbagbyname` (field, `mn/mn_geo.yaml`)
- `mnbagvalue` (data, `mn/mn_geo.yaml`)

## Supported by tools

- [`metacrafter`](https://registry.apicrafter.io/tool/metacrafter.md)

## Translations

- mn: Баг, хороо
- ru: Баг (хороо) Монголии

## Sources

- wikipedia: <https://en.wikipedia.org/wiki/Subdivisions_of_Mongolia>

## Quality

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

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