{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/curbwaste/json-schema/curbwaste-public-validated-address-response-schema.json",
  "title": "PublicValidatedAddressResponse",
  "x-generated": "2026-11-04",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/curbwaste-locations-api-openapi.yml#/components/schemas/PublicValidatedAddressResponse",
  "type": "object",
  "properties": {
    "data": {
      "$ref": "#/$defs/PublicValidatedAddress"
    }
  },
  "required": [
    "data"
  ],
  "$defs": {
    "PublicValidatedAddress": {
      "type": "object",
      "properties": {
        "formattedAddress": {
          "type": "string"
        },
        "streetNumber": {
          "type": "string"
        },
        "route": {
          "type": "string"
        },
        "city": {
          "type": "string"
        },
        "state": {
          "type": "string"
        },
        "zipcode": {
          "type": "string"
        },
        "county": {
          "type": "string"
        },
        "borough": {
          "type": "string"
        },
        "geoPlaceId": {
          "type": "string"
        },
        "location": {
          "type": "object",
          "properties": {
            "lat": {
              "type": "number"
            },
            "lng": {
              "type": "number"
            }
          },
          "required": [
            "lat",
            "lng"
          ]
        }
      },
      "required": [
        "formattedAddress",
        "streetNumber",
        "route",
        "city",
        "state",
        "zipcode",
        "county",
        "borough",
        "geoPlaceId",
        "location"
      ]
    }
  }
}