{
  "id": "bg_ekatte",
  "kind": "datatype",
  "status": "draft",
  "name": "Bulgarian EKATTE code",
  "doc": "Code in the Unified Classifier of Administrative-Territorial and Territorial Units (EKATTE) of the Bulgarian National Statistical Institute: five digits for a settlement, three letters for a province and three letters with two digits for a municipality.",
  "is_pii": false,
  "categories": [
    "geo"
  ],
  "country": [
    "BG"
  ],
  "langs": [
    "common"
  ],
  "classification": "identifier",
  "regexp": "^(?:\\d{5}|[A-Z]{3}(?:\\d{2})?)(?:-\\d{2})?$",
  "examples": [
    {
      "value": "39970",
      "description": "Krumovgrad",
      "valid": true
    },
    {
      "value": "KRZ15",
      "description": "Krumovgrad Municipality",
      "valid": true
    },
    {
      "value": "KRZ",
      "description": "Kardzhali Province",
      "valid": true
    }
  ],
  "mappings": {
    "wikidata": "P3990"
  },
  "links": [
    {
      "type": "wikipedia",
      "url": "https://bg.wikipedia.org/wiki/%D0%95%D0%9A%D0%90%D0%A2%D0%A2%D0%95"
    },
    {
      "type": "wikidata",
      "url": "https://www.wikidata.org/wiki/Property:P3990"
    }
  ],
  "quality": {
    "score": 80,
    "missing": [
      "negative example",
      "translation",
      "detector coverage"
    ]
  },
  "source": {
    "path": "data/datatypes/BG/geo/bg_ekatte.yaml",
    "url": "https://github.com/apicrafter/metacrafter-registry/blob/main/data/datatypes/BG/geo/bg_ekatte.yaml",
    "edit_url": "https://github.com/apicrafter/metacrafter-registry/edit/main/data/datatypes/BG/geo/bg_ekatte.yaml"
  },
  "urls": {
    "html": "http://registry.apicrafter.io/datatype/bg_ekatte",
    "json": "http://registry.apicrafter.io/api/v1/datatypes/bg_ekatte.json"
  }
}