{
  "id": "geohash",
  "kind": "datatype",
  "status": "draft",
  "name": "Geohash",
  "doc": "Geohash, a geocode invented by Gustavo Niemeyer in 2008. It interleaves the bits of longitude and latitude and writes them in a base-32 alphabet of digits and lowercase letters without a, i, l and o. Each added character makes the rectangle smaller, and codes with a common prefix are usually close to each other. The regexp allows 1 to 12 characters, the precision range of common implementations such as Elasticsearch; short values look like ordinary words and numbers.",
  "is_pii": false,
  "categories": [
    "geo"
  ],
  "langs": [
    "common"
  ],
  "classification": "identifier",
  "regexp": "^[0-9b-hjkmnp-z]{1,12}$",
  "examples": [
    {
      "value": "u4pruydqqvj",
      "description": "Point near the tip of Jutland, Denmark (example in Wikipedia)",
      "valid": true
    },
    {
      "value": "ezs42",
      "description": "Worked decoding example in Wikipedia",
      "valid": true
    },
    {
      "value": "u4pruydqqva",
      "description": "The letter a is not in the alphabet",
      "valid": false
    },
    {
      "value": "u4pruydqqvjuu",
      "description": "Thirteen characters",
      "valid": false
    }
  ],
  "links": [
    {
      "type": "wikipedia",
      "url": "https://en.wikipedia.org/wiki/Geohash"
    },
    {
      "type": "doc",
      "url": "https://www.elastic.co/docs/reference/aggregations/search-aggregations-bucket-geohashgrid-aggregation"
    }
  ],
  "quality": {
    "score": 75,
    "missing": [
      "mapping (Wikidata, Schema.org, ...)",
      "translation",
      "detector coverage"
    ]
  },
  "source": {
    "path": "data/datatypes/any/geo/geohash.yaml",
    "url": "https://github.com/apicrafter/metacrafter-registry/blob/main/data/datatypes/any/geo/geohash.yaml",
    "edit_url": "https://github.com/apicrafter/metacrafter-registry/edit/main/data/datatypes/any/geo/geohash.yaml"
  },
  "urls": {
    "html": "http://registry.apicrafter.io/datatype/geohash",
    "json": "http://registry.apicrafter.io/api/v1/datatypes/geohash.json"
  }
}