{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/dataquoll-io/json-schema/dataquoll-io-point-lookup-request-schema.json",
  "title": "PointLookupRequest",
  "x-generated": "2026-11-10",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/dataquoll-io-declarations-api-openapi.yml#/components/schemas/PointLookupRequest",
  "type": "object",
  "required": [
    "lat",
    "lng"
  ],
  "properties": {
    "lat": {
      "type": "number",
      "minimum": -90,
      "maximum": 90
    },
    "lng": {
      "type": "number",
      "minimum": -180,
      "maximum": 180
    },
    "as_at": {
      "type": "string",
      "format": "date",
      "description": "Point-in-time check (YYYY-MM-DD). Defaults to today."
    },
    "include_expired": {
      "type": "boolean",
      "default": false,
      "description": "Include expired records in the per-LGA lists. Never changes matchStatus."
    },
    "instrument_type": {
      "type": "string",
      "enum": [
        "state_natural_disaster_declaration",
        "drfa_activation_agrn",
        "state_of_disaster_emergency_powers"
      ],
      "description": "Trim the returned record lists to one instrument type. Never changes matchStatus."
    }
  }
}