{
  "id": "de_kreisschluessel",
  "kind": "datatype",
  "status": "stable",
  "name": "German district key (Kreisschlüssel)",
  "doc": "Five-digit official code of a German district (Landkreis) or independent city: two digits for the state, one for the government region and two for the district. It is the first five digits of the municipality key (AGS).",
  "is_pii": false,
  "categories": [
    "geo"
  ],
  "country": [
    "DE"
  ],
  "langs": [
    "common"
  ],
  "classification": "identifier",
  "regexp": "^(?:0[1-9]|1[0-6])\\d{3}$",
  "examples": [
    {
      "value": "03459",
      "description": "Osnabrück District",
      "valid": true
    },
    {
      "value": "07132",
      "description": "Altenkirchen district",
      "valid": true
    },
    {
      "value": "3459",
      "description": "Leading zero dropped",
      "valid": false
    },
    {
      "value": "18132",
      "description": "There is no state 18",
      "valid": false
    }
  ],
  "mappings": {
    "wikidata": "P440"
  },
  "links": [
    {
      "type": "wikipedia",
      "url": "https://de.wikipedia.org/wiki/Kreisschl%C3%BCssel"
    },
    {
      "type": "wikidata",
      "url": "https://www.wikidata.org/wiki/Property:P440"
    }
  ],
  "translations": {
    "de": {
      "name": "Kreisschlüssel"
    },
    "ru": {
      "name": "Код района Германии (Kreisschlüssel)",
      "doc": "Пятизначный код района или города районного подчинения - первые пять цифр кода общины (AGS)."
    }
  },
  "quality": {
    "score": 90,
    "missing": [
      "detector coverage"
    ]
  },
  "source": {
    "path": "data/datatypes/DE/geo/de_kreisschluessel.yaml",
    "url": "https://github.com/apicrafter/metacrafter-registry/blob/main/data/datatypes/DE/geo/de_kreisschluessel.yaml",
    "edit_url": "https://github.com/apicrafter/metacrafter-registry/edit/main/data/datatypes/DE/geo/de_kreisschluessel.yaml"
  },
  "urls": {
    "html": "http://registry.apicrafter.io/datatype/de_kreisschluessel",
    "json": "http://registry.apicrafter.io/api/v1/datatypes/de_kreisschluessel.json"
  }
}