{
  "$type": "com.atproto.lexicon.schema",
  "defs": {
    "main": {
      "description": "Resolve a geohash cell to its reverse-geocoded area label. Public — no authentication (naming a cell is public data, no viewer). Used for the area picker's live name as you pan.",
      "output": {
        "encoding": "application/json",
        "schema": {
          "properties": {
            "area": {
              "description": "The resolved cell.",
              "ref": "community.gifthood.geo.defs#area",
              "type": "ref"
            }
          },
          "required": [
            "area"
          ],
          "type": "object"
        }
      },
      "parameters": {
        "properties": {
          "geohash": {
            "description": "The geohash cell to name.",
            "type": "string"
          },
          "precision": {
            "description": "Optional truncation precision applied to the geohash before naming (consistency with feed.getListings; naming is gh-6-keyed).",
            "maximum": 12,
            "minimum": 1,
            "type": "integer"
          }
        },
        "required": [
          "geohash"
        ],
        "type": "params"
      },
      "type": "query"
    }
  },
  "id": "community.gifthood.geo.resolveArea",
  "lexicon": 1
}
