{
  "id": "quadkey",
  "kind": "datatype",
  "status": "draft",
  "name": "Bing Maps tile quadkey",
  "doc": "Quadtree key of a map tile in the Bing Maps Tile System of Microsoft. The bits of the tile Y and X coordinates are interleaved and written as base-4 digits 0 to 3, with leading zeros kept. The number of digits equals the level of detail, from 1 to 23, and a tile's key begins with the key of its parent tile. The regexp only checks this shape, so it also matches other numbers made of the digits 0 to 3.",
  "is_pii": false,
  "categories": [
    "geo"
  ],
  "langs": [
    "common"
  ],
  "classification": "identifier",
  "regexp": "^[0-3]{1,23}$",
  "examples": [
    {
      "value": "213",
      "description": "Tile X 3, Y 5 at level 3 (example in the Microsoft documentation)",
      "valid": true
    },
    {
      "value": "130",
      "description": "Child of tile 13 at level 3",
      "valid": true
    },
    {
      "value": "2",
      "description": "Level 1 tile, parent of tiles 20 to 23",
      "valid": true
    },
    {
      "value": "2134",
      "description": "The digit 4 is not used",
      "valid": false
    }
  ],
  "links": [
    {
      "type": "doc",
      "url": "https://learn.microsoft.com/en-us/bingmaps/articles/bing-maps-tile-system"
    }
  ],
  "quality": {
    "score": 75,
    "missing": [
      "mapping (Wikidata, Schema.org, ...)",
      "translation",
      "detector coverage"
    ]
  },
  "source": {
    "path": "data/datatypes/any/geo/quadkey.yaml",
    "url": "https://github.com/apicrafter/metacrafter-registry/blob/main/data/datatypes/any/geo/quadkey.yaml",
    "edit_url": "https://github.com/apicrafter/metacrafter-registry/edit/main/data/datatypes/any/geo/quadkey.yaml"
  },
  "urls": {
    "html": "http://registry.apicrafter.io/datatype/quadkey",
    "json": "http://registry.apicrafter.io/api/v1/datatypes/quadkey.json"
  }
}