{
  "id": "nl_bag_woonplaats_code",
  "kind": "datatype",
  "status": "draft",
  "name": "Dutch BAG place code (woonplaatscode)",
  "doc": "Four-digit code of a place (woonplaats) in the Dutch register of addresses and buildings (BAG), from 0001 to 9999, as in 3594 for Amsterdam. A woonplaats is the named place of an address and is not the same as a municipality, which can contain several places.",
  "is_pii": false,
  "categories": [
    "geo"
  ],
  "country": [
    "NL"
  ],
  "langs": [
    "common"
  ],
  "classification": "categorical",
  "regexp": "^(?!0000)\\d{4}$",
  "examples": [
    {
      "value": "3594",
      "description": "Amsterdam",
      "valid": true
    },
    {
      "value": "35940",
      "description": "Five digits",
      "valid": false
    }
  ],
  "mappings": {
    "wikidata": "P981"
  },
  "links": [
    {
      "type": "doc",
      "url": "https://imbag.github.io/catalogus/hoofdstukken/attributen--relaties"
    },
    {
      "type": "wikidata",
      "url": "https://www.wikidata.org/wiki/Property:P981"
    }
  ],
  "translations": {
    "nl": {
      "name": "Woonplaatscode (BAG)"
    },
    "ru": {
      "name": "Код населённого пункта в реестре BAG (Нидерланды)"
    }
  },
  "quality": {
    "score": 83,
    "missing": [
      "second example",
      "detector coverage"
    ]
  },
  "source": {
    "path": "data/datatypes/NL/geo/nl_bag_woonplaats_code.yaml",
    "url": "https://github.com/apicrafter/metacrafter-registry/blob/main/data/datatypes/NL/geo/nl_bag_woonplaats_code.yaml",
    "edit_url": "https://github.com/apicrafter/metacrafter-registry/edit/main/data/datatypes/NL/geo/nl_bag_woonplaats_code.yaml"
  },
  "urls": {
    "html": "http://registry.apicrafter.io/datatype/nl_bag_woonplaats_code",
    "json": "http://registry.apicrafter.io/api/v1/datatypes/nl_bag_woonplaats_code.json"
  }
}