{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/adcritter-com/json-schema/adcritter-com-geo-request-schema.json",
  "title": "GeoRequest",
  "x-generated": "2026-10-29",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/adcritter-com-openapi.json#/components/schemas/GeoRequest",
  "type": "object",
  "properties": {
    "states": {
      "type": [
        "array",
        "null"
      ],
      "items": {
        "type": "string"
      }
    },
    "cities": {
      "type": [
        "array",
        "null"
      ],
      "items": {
        "$ref": "#/$defs/CityGeoRequest"
      }
    },
    "zips": {
      "type": [
        "array",
        "null"
      ],
      "items": {
        "$ref": "#/$defs/ZipGeoRequest"
      }
    },
    "dmas": {
      "type": [
        "array",
        "null"
      ],
      "items": {
        "type": "integer",
        "format": "int64"
      }
    }
  },
  "additionalProperties": false,
  "$defs": {
    "CityGeoRequest": {
      "required": [
        "name",
        "stateCode"
      ],
      "type": "object",
      "properties": {
        "name": {
          "minLength": 1,
          "type": "string"
        },
        "stateCode": {
          "minLength": 1,
          "type": "string"
        }
      },
      "additionalProperties": false
    },
    "ZipGeoRequest": {
      "required": [
        "code"
      ],
      "type": "object",
      "properties": {
        "code": {
          "minLength": 1,
          "type": "string"
        }
      },
      "additionalProperties": false
    }
  }
}