{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/georgiacivicdata-org/json-schema/georgiacivicdata-org-lookup-body-schema.json",
  "title": "LookupBody",
  "description": "One of: ``points`` (a batch), ``address`` (geocoded), or ``lat``/``lon``.",
  "x-generated": "2026-11-09",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/georgiacivicdata-org-openapi.json#/components/schemas/LookupBody",
  "properties": {
    "points": {
      "anyOf": [
        {
          "items": {
            "$ref": "#/$defs/LookupPoint"
          },
          "type": "array"
        },
        {
          "type": "null"
        }
      ],
      "title": "Points"
    },
    "address": {
      "anyOf": [
        {
          "type": "string",
          "maxLength": 200
        },
        {
          "type": "null"
        }
      ],
      "title": "Address"
    },
    "lat": {
      "anyOf": [
        {
          "type": "number"
        },
        {
          "type": "null"
        }
      ],
      "title": "Lat"
    },
    "lon": {
      "anyOf": [
        {
          "type": "number"
        },
        {
          "type": "null"
        }
      ],
      "title": "Lon"
    },
    "grade": {
      "anyOf": [
        {
          "type": "string"
        },
        {
          "type": "null"
        }
      ],
      "title": "Grade"
    },
    "year": {
      "anyOf": [
        {
          "type": "integer"
        },
        {
          "type": "null"
        }
      ],
      "title": "Year"
    }
  },
  "type": "object",
  "$defs": {
    "LookupPoint": {
      "properties": {
        "id": {
          "anyOf": [
            {
              "type": "string"
            },
            {
              "type": "integer"
            },
            {
              "type": "null"
            }
          ],
          "title": "Id"
        },
        "lat": {
          "type": "number",
          "title": "Lat"
        },
        "lon": {
          "type": "number",
          "title": "Lon"
        }
      },
      "type": "object",
      "required": [
        "lat",
        "lon"
      ],
      "title": "LookupPoint"
    }
  }
}