{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/clerkfield-com/json-schema/clerkfield-com-state-coverage-schema.json",
  "title": "StateCoverage",
  "x-generated": "2026-11-22",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/clerkfield-com-openapi.json#/components/schemas/StateCoverage",
  "type": "object",
  "properties": {
    "state": {
      "type": "string",
      "description": "Two-letter code."
    },
    "name": {
      "type": "string"
    },
    "business_check_available": {
      "type": "boolean"
    },
    "id_lookup_available": {
      "type": "boolean",
      "description": "A business check accepts the state's own entity number as 'id'."
    },
    "id_label": {
      "type": "string",
      "description": "What the state calls that number, e.g. 'Control Number'."
    },
    "id_example": {
      "type": "string",
      "description": "One number in the accepted format."
    },
    "full_record_available": {
      "type": "boolean",
      "description": "/v1/business-record returns the full state record here."
    },
    "people_listed": {
      "description": "Where officers, members or managers come from: 'in_check', 'in_full_record', or false when the state's free records list none.",
      "oneOf": [
        {
          "type": "string",
          "enum": [
            "in_check",
            "in_full_record"
          ]
        },
        {
          "type": "boolean"
        }
      ]
    },
    "ucc_search_available": {
      "type": "boolean"
    },
    "lender_search_available": {
      "type": "boolean"
    },
    "business_check_unavailable_until": {
      "type": [
        "string",
        "null"
      ],
      "description": "When the state's business search has been failing: until when a business check there answers 503 state_unavailable (ISO time). Null when it is working."
    },
    "ucc_filing_lookup_only": {
      "type": "boolean",
      "description": "No lien search by name, but one filing opens by its file number with /v1/liens/filing (MN)."
    },
    "business_check": {
      "type": "object",
      "properties": {
        "available": {
          "type": "boolean"
        },
        "source": {
          "type": "string"
        },
        "unavailable_fields": {
          "type": [
            "string",
            "null"
          ]
        }
      }
    },
    "ucc_search": {
      "type": "object",
      "properties": {
        "available": {
          "type": "boolean"
        },
        "search_by_lender": {
          "type": "boolean"
        },
        "source": {
          "type": "string"
        },
        "unavailable_fields": {
          "type": [
            "string",
            "null"
          ]
        },
        "filing_number_lookup": {
          "type": "boolean",
          "description": "True where only the filing lookup works."
        },
        "lookup": {
          "type": "string"
        }
      }
    }
  }
}