{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/tradesapi-com/json-schema/tradesapi-com-resolve-request-schema.json",
  "title": "ResolveRequest",
  "description": "POST /resolve body — a name-only (or name-plus-hints) record to\nmatch against `license_current` across jurisdictions.\n\n`state`/`city` narrow the search; when omitted the match runs\ncross-jurisdiction (the case live `/search` cannot serve). `phone`,\n`zip`, `address` are optional evidence that strengthens or weakens\ncandidates via the comparison vector — they never filter on their own.",
  "x-generated": "2026-11-27",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/tradesapi-com-openapi.json#/components/schemas/ResolveRequest",
  "properties": {
    "name": {
      "type": "string",
      "maxLength": 200,
      "minLength": 2,
      "title": "Name"
    },
    "state": {
      "anyOf": [
        {
          "type": "string",
          "maxLength": 2,
          "minLength": 2,
          "pattern": "^[A-Za-z]{2}$"
        },
        {
          "type": "null"
        }
      ],
      "title": "State"
    },
    "city": {
      "anyOf": [
        {
          "type": "string",
          "maxLength": 64
        },
        {
          "type": "null"
        }
      ],
      "title": "City"
    },
    "zip": {
      "anyOf": [
        {
          "type": "string",
          "maxLength": 10
        },
        {
          "type": "null"
        }
      ],
      "title": "Zip"
    },
    "phone": {
      "anyOf": [
        {
          "type": "string",
          "maxLength": 30
        },
        {
          "type": "null"
        }
      ],
      "title": "Phone"
    },
    "address": {
      "anyOf": [
        {
          "type": "string",
          "maxLength": 300
        },
        {
          "type": "null"
        }
      ],
      "title": "Address"
    },
    "limit": {
      "type": "integer",
      "maximum": 20.0,
      "minimum": 1.0,
      "title": "Limit",
      "default": 10
    }
  },
  "type": "object",
  "required": [
    "name"
  ]
}