{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/statelicense-io/json-schema/statelicense-io-search-request-schema.json",
  "title": "SearchRequest",
  "x-generated": "2026-11-24",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/_original/statelicense-io-api-openapi.json#/components/schemas/SearchRequest",
  "properties": {
    "state": {
      "anyOf": [
        {
          "type": "string",
          "maxLength": 2,
          "minLength": 1
        },
        {
          "type": "null"
        }
      ],
      "title": "State"
    },
    "business_name": {
      "anyOf": [
        {
          "type": "string",
          "maxLength": 128,
          "minLength": 1
        },
        {
          "type": "null"
        }
      ],
      "title": "Business Name"
    },
    "classification": {
      "anyOf": [
        {
          "type": "string",
          "maxLength": 128,
          "minLength": 1
        },
        {
          "type": "null"
        }
      ],
      "title": "Classification"
    },
    "license_type": {
      "anyOf": [
        {
          "type": "string",
          "maxLength": 128,
          "minLength": 1
        },
        {
          "type": "null"
        }
      ],
      "title": "License Type"
    },
    "status": {
      "anyOf": [
        {
          "type": "string",
          "maxLength": 32,
          "minLength": 1
        },
        {
          "type": "null"
        }
      ],
      "title": "Status"
    },
    "city": {
      "anyOf": [
        {
          "type": "string",
          "maxLength": 100,
          "minLength": 1
        },
        {
          "type": "null"
        }
      ],
      "title": "City"
    },
    "zip_code": {
      "anyOf": [
        {
          "type": "string",
          "maxLength": 16,
          "minLength": 1
        },
        {
          "type": "null"
        }
      ],
      "title": "Zip Code"
    },
    "page": {
      "type": "integer",
      "maximum": 1000.0,
      "minimum": 1.0,
      "title": "Page",
      "default": 1
    },
    "page_size": {
      "type": "integer",
      "maximum": 100.0,
      "minimum": 1.0,
      "title": "Page Size",
      "description": "Records per page, from 1 to 100. Defaults to 20; maximum page size is 100.",
      "default": 20
    }
  },
  "type": "object"
}