{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/unwired-labs/json-schema/unwired-labs-reverse-response-schema-schema.json",
  "title": "Reverse Geocoding Response",
  "x-generated": "2026-10-28",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/_original/unwired-labs-openapi-openapi.yml#/components/schemas/reverse_response_schema",
  "properties": {
    "status": {
      "description": "If the request is successful, ok is returned. Otherwise error is returned",
      "title": "status",
      "type": "string"
    },
    "balance": {
      "description": "Balance left in the account",
      "format": "int64",
      "type": "integer"
    },
    "address": {
      "$ref": "#/$defs/address_schema"
    }
  },
  "type": "object",
  "$defs": {
    "address_schema": {
      "description": "Address object found for the search query",
      "properties": {
        "lat": {
          "description": "Latitude of the given location (decimal)",
          "type": "string"
        },
        "lon": {
          "description": "Longitude of the given location (decimal)",
          "type": "string"
        },
        "display_name": {
          "description": "Matched Address name for the given location",
          "type": "string"
        },
        "house_number": {
          "description": "House Number",
          "type": "string"
        },
        "road": {
          "description": "Road Name",
          "type": "string"
        },
        "neighborhood": {
          "description": "Neighbourhood",
          "type": "string"
        },
        "suburb": {
          "description": "Suburb",
          "type": "string"
        },
        "city": {
          "description": "City name (normalized form of city, town, village, hamlet)",
          "type": "string"
        },
        "county": {
          "description": "County name (normalized form of county, state_district)",
          "type": "string"
        },
        "country": {
          "description": "Country name",
          "type": "string"
        },
        "country_code": {
          "description": "Country code",
          "type": "string"
        },
        "postal_code": {
          "description": "Postal code",
          "type": "string"
        }
      },
      "title": "address",
      "type": "object"
    }
  }
}