{
  "id": "nl_bag_building_id",
  "kind": "pattern",
  "status": "draft",
  "name": "Dutch BAG building identifier (pand)",
  "doc": "Identifier of a building (pand) in the Dutch register of addresses and buildings (BAG), a BAG object identifier (nl_bag_id) with the object type 10 in digits 5 and 6.",
  "semantic_type": "nl_bag_id",
  "is_pii": false,
  "categories": [
    "geo",
    "realestate"
  ],
  "country": [
    "NL"
  ],
  "langs": [
    "common"
  ],
  "classification": "identifier",
  "regexp": "^\\d{4}10\\d{10}$",
  "examples": [
    {
      "value": "0363100012165291",
      "description": "Building in Amsterdam, from the PDOK BAG API",
      "valid": true
    },
    {
      "value": "0363010000544772",
      "description": "A verblijfsobject, object type 01",
      "valid": false
    }
  ],
  "mappings": {
    "wikidata": "P5208"
  },
  "links": [
    {
      "type": "doc",
      "url": "https://imbag.github.io/catalogus/hoofdstukken/attributen--relaties"
    },
    {
      "type": "wikidata",
      "url": "https://www.wikidata.org/wiki/Property:P5208"
    }
  ],
  "translations": {
    "nl": {
      "name": "BAG-pandidentificatie"
    },
    "ru": {
      "name": "Идентификатор здания BAG (Нидерланды)"
    }
  },
  "quality": {
    "score": 83,
    "missing": [
      "second example",
      "detector coverage"
    ]
  },
  "source": {
    "path": "data/datatypes/NL/geo/nl_bag_building_id.yaml",
    "url": "https://github.com/apicrafter/metacrafter-registry/blob/main/data/datatypes/NL/geo/nl_bag_building_id.yaml",
    "edit_url": "https://github.com/apicrafter/metacrafter-registry/edit/main/data/datatypes/NL/geo/nl_bag_building_id.yaml"
  },
  "urls": {
    "html": "http://registry.apicrafter.io/datatype/nl_bag_building_id",
    "json": "http://registry.apicrafter.io/api/v1/datatypes/nl_bag_building_id.json"
  }
}