{
  "components": {
    "schemas": {
      "AcceptInviteRequest": {
        "properties": {
          "token": {
            "title": "Token",
            "type": "string"
          }
        },
        "required": [
          "token"
        ],
        "title": "AcceptInviteRequest",
        "type": "object"
      },
      "AcsFactsOut": {
        "properties": {
          "gini": {
            "anyOf": [
              {
                "type": "number"
              },
              {
                "type": "null"
              }
            ],
            "title": "Gini"
          },
          "households": {
            "anyOf": [
              {
                "type": "integer"
              },
              {
                "type": "null"
              }
            ],
            "title": "Households"
          },
          "median_age": {
            "anyOf": [
              {
                "type": "number"
              },
              {
                "type": "null"
              }
            ],
            "title": "Median Age"
          },
          "median_gross_rent": {
            "anyOf": [
              {
                "type": "integer"
              },
              {
                "type": "null"
              }
            ],
            "title": "Median Gross Rent"
          },
          "median_hh_income": {
            "anyOf": [
              {
                "type": "integer"
              },
              {
                "type": "null"
              }
            ],
            "title": "Median Hh Income"
          },
          "median_hh_income_moe": {
            "anyOf": [
              {
                "type": "integer"
              },
              {
                "type": "null"
              }
            ],
            "title": "Median Hh Income Moe"
          },
          "median_home_value": {
            "anyOf": [
              {
                "type": "integer"
              },
              {
                "type": "null"
              }
            ],
            "title": "Median Home Value"
          },
          "median_home_value_moe": {
            "anyOf": [
              {
                "type": "integer"
              },
              {
                "type": "null"
              }
            ],
            "title": "Median Home Value Moe"
          },
          "owner_share": {
            "anyOf": [
              {
                "type": "number"
              },
              {
                "type": "null"
              }
            ],
            "title": "Owner Share"
          },
          "per_capita_income": {
            "anyOf": [
              {
                "type": "integer"
              },
              {
                "type": "null"
              }
            ],
            "title": "Per Capita Income"
          },
          "poverty_rate": {
            "anyOf": [
              {
                "type": "number"
              },
              {
                "type": "null"
              }
            ],
            "title": "Poverty Rate"
          },
          "renter_share": {
            "anyOf": [
              {
                "type": "number"
              },
              {
                "type": "null"
              }
            ],
            "title": "Renter Share"
          },
          "share_bachelors_plus": {
            "anyOf": [
              {
                "type": "number"
              },
              {
                "type": "null"
              }
            ],
            "title": "Share Bachelors Plus"
          },
          "share_built_pre_1980": {
            "anyOf": [
              {
                "type": "number"
              },
              {
                "type": "null"
              }
            ],
            "title": "Share Built Pre 1980"
          },
          "share_hh_income_100k_plus": {
            "anyOf": [
              {
                "type": "number"
              },
              {
                "type": "null"
              }
            ],
            "title": "Share Hh Income 100K Plus"
          },
          "share_hh_income_lt_25k": {
            "anyOf": [
              {
                "type": "number"
              },
              {
                "type": "null"
              }
            ],
            "title": "Share Hh Income Lt 25K"
          },
          "share_no_hs": {
            "anyOf": [
              {
                "type": "number"
              },
              {
                "type": "null"
              }
            ],
            "title": "Share No Hs"
          },
          "share_no_internet": {
            "anyOf": [
              {
                "type": "number"
              },
              {
                "type": "null"
              }
            ],
            "title": "Share No Internet"
          },
          "share_no_vehicle": {
            "anyOf": [
              {
                "type": "number"
              },
              {
                "type": "null"
              }
            ],
            "title": "Share No Vehicle"
          },
          "share_public_assistance": {
            "anyOf": [
              {
                "type": "number"
              },
              {
                "type": "null"
              }
            ],
            "title": "Share Public Assistance"
          },
          "total_pop": {
            "anyOf": [
              {
                "type": "integer"
              },
              {
                "type": "null"
              }
            ],
            "title": "Total Pop"
          },
          "vacancy_rate": {
            "anyOf": [
              {
                "type": "number"
              },
              {
                "type": "null"
              }
            ],
            "title": "Vacancy Rate"
          }
        },
        "title": "AcsFactsOut",
        "type": "object"
      },
      "ActionCostOut": {
        "properties": {
          "action": {
            "$ref": "#/components/schemas/CreditAction"
          },
          "cost": {
            "title": "Cost",
            "type": "integer"
          },
          "name": {
            "title": "Name",
            "type": "string"
          }
        },
        "required": [
          "action",
          "name",
          "cost"
        ],
        "title": "ActionCostOut",
        "type": "object"
      },
      "ActivityActorOut": {
        "properties": {
          "api_key_id": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "title": "Api Key Id"
          },
          "api_key_name": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "title": "Api Key Name"
          },
          "email": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "title": "Email"
          },
          "kind": {
            "title": "Kind",
            "type": "string"
          },
          "name": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "title": "Name"
          },
          "user_id": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "title": "User Id"
          }
        },
        "required": [
          "kind"
        ],
        "title": "ActivityActorOut",
        "type": "object"
      },
      "ActivityCountsOut": {
        "properties": {
          "certificates_of_use": {
            "title": "Certificates Of Use",
            "type": "integer"
          },
          "code_cases": {
            "title": "Code Cases",
            "type": "integer"
          },
          "permits": {
            "title": "Permits",
            "type": "integer"
          }
        },
        "required": [
          "permits",
          "code_cases",
          "certificates_of_use"
        ],
        "title": "ActivityCountsOut",
        "type": "object"
      },
      "ActivityCoverageOut": {
        "properties": {
          "certificates_of_use": {
            "title": "Certificates Of Use",
            "type": "boolean"
          },
          "code_cases": {
            "title": "Code Cases",
            "type": "boolean"
          },
          "permits": {
            "title": "Permits",
            "type": "boolean"
          }
        },
        "required": [
          "permits",
          "code_cases",
          "certificates_of_use"
        ],
        "title": "ActivityCoverageOut",
        "type": "object"
      },
      "ActivityEntryOut": {
        "properties": {
          "action": {
            "title": "Action",
            "type": "string"
          },
          "actor": {
            "$ref": "#/components/schemas/ActivityActorOut"
          },
          "created_at": {
            "format": "date-time",
            "title": "Created At",
            "type": "string"
          },
          "id": {
            "title": "Id",
            "type": "string"
          },
          "ip_address": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "title": "Ip Address"
          },
          "match_type": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "title": "Match Type"
          },
          "query_params": {
            "additionalProperties": true,
            "title": "Query Params",
            "type": "object"
          },
          "record_id": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "title": "Record Id"
          },
          "result_count": {
            "anyOf": [
              {
                "type": "integer"
              },
              {
                "type": "null"
              }
            ],
            "title": "Result Count"
          },
          "subject": {
            "anyOf": [
              {
                "$ref": "#/components/schemas/ActivitySubjectOut"
              },
              {
                "type": "null"
              }
            ]
          },
          "surface": {
            "title": "Surface",
            "type": "string"
          }
        },
        "required": [
          "id",
          "action",
          "surface",
          "actor",
          "query_params",
          "record_id",
          "result_count",
          "match_type",
          "ip_address",
          "created_at"
        ],
        "title": "ActivityEntryOut",
        "type": "object"
      },
      "ActivityPageOut": {
        "properties": {
          "items": {
            "items": {
              "$ref": "#/components/schemas/ActivityEntryOut"
            },
            "title": "Items",
            "type": "array"
          },
          "page": {
            "title": "Page",
            "type": "integer"
          },
          "page_size": {
            "title": "Page Size",
            "type": "integer"
          },
          "scope": {
            "title": "Scope",
            "type": "string"
          },
          "total": {
            "title": "Total",
            "type": "integer"
          }
        },
        "required": [
          "items",
          "total",
          "page",
          "page_size",
          "scope"
        ],
        "title": "ActivityPageOut",
        "type": "object"
      },
      "ActivitySubjectOut": {
        "description": "Who the person behind a view/preview row is, resolved at read time.\n\nMasked exactly like the access it describes: a charged view echoes the\nfull name plus city/state; a preview \u2014 free or zero-credit degraded \u2014\nechoes only the name parts the masked profile revealed, and `city` stays\nnull. `masked` is the machine-readable signal, so a client never has to\ninfer fidelity from the action string.",
        "properties": {
          "age": {
            "anyOf": [
              {
                "type": "integer"
              },
              {
                "type": "null"
              }
            ],
            "title": "Age"
          },
          "city": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "title": "City"
          },
          "masked": {
            "title": "Masked",
            "type": "boolean"
          },
          "name": {
            "title": "Name",
            "type": "string"
          },
          "state": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "title": "State"
          }
        },
        "required": [
          "name",
          "masked"
        ],
        "title": "ActivitySubjectOut",
        "type": "object"
      },
      "AddressCheckOut": {
        "properties": {
          "address": {
            "anyOf": [
              {
                "$ref": "#/components/schemas/AddressOut"
              },
              {
                "type": "null"
              }
            ]
          },
          "coverage": {
            "$ref": "#/components/schemas/app__domains__address_checks__interface__schemas__CoverageOut"
          },
          "parcel": {
            "anyOf": [
              {
                "$ref": "#/components/schemas/ParcelOut"
              },
              {
                "type": "null"
              }
            ]
          },
          "permits_included": {
            "title": "Permits Included",
            "type": "boolean"
          },
          "signals": {
            "items": {
              "$ref": "#/components/schemas/app__domains__address_checks__interface__schemas__SignalOut"
            },
            "title": "Signals",
            "type": "array"
          },
          "use_note": {
            "default": "Contact-data quality evidence. Not for credit, insurance, employment, or housing eligibility decisions.",
            "title": "Use Note",
            "type": "string"
          },
          "verdict": {
            "enum": [
              "likely_stale",
              "check",
              "likely_current",
              "no_signal",
              "no_address",
              "not_covered"
            ],
            "title": "Verdict",
            "type": "string"
          }
        },
        "required": [
          "verdict",
          "address",
          "parcel",
          "signals",
          "permits_included",
          "coverage"
        ],
        "title": "AddressCheckOut",
        "type": "object"
      },
      "AddressDetailOut": {
        "properties": {
          "active": {
            "title": "Active",
            "type": "integer"
          },
          "address": {
            "title": "Address",
            "type": "string"
          },
          "city": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "title": "City"
          },
          "entities": {
            "title": "Entities",
            "type": "integer"
          },
          "last_12m": {
            "title": "Last 12M",
            "type": "integer"
          },
          "llc": {
            "title": "Llc",
            "type": "integer"
          },
          "more_variants": {
            "$ref": "#/components/schemas/MoreVariantsOut"
          },
          "spellings": {
            "title": "Spellings",
            "type": "integer"
          },
          "state": {
            "title": "State",
            "type": "string"
          },
          "variants": {
            "items": {
              "$ref": "#/components/schemas/AddressVariantOut"
            },
            "title": "Variants",
            "type": "array"
          },
          "zip5": {
            "title": "Zip5",
            "type": "string"
          }
        },
        "required": [
          "state",
          "address",
          "city",
          "zip5",
          "entities",
          "active",
          "last_12m",
          "llc",
          "spellings",
          "variants",
          "more_variants"
        ],
        "title": "AddressDetailOut",
        "type": "object"
      },
      "AddressListOut": {
        "properties": {
          "addresses": {
            "title": "Addresses",
            "type": "integer"
          },
          "entities": {
            "title": "Entities",
            "type": "integer"
          },
          "entities_share": {
            "title": "Entities Share",
            "type": "number"
          },
          "over_1000": {
            "title": "Over 1000",
            "type": "integer"
          },
          "rows": {
            "items": {
              "$ref": "#/components/schemas/AddressRowOut"
            },
            "title": "Rows",
            "type": "array"
          },
          "state": {
            "title": "State",
            "type": "string"
          }
        },
        "required": [
          "state",
          "addresses",
          "entities",
          "entities_share",
          "over_1000",
          "rows"
        ],
        "title": "AddressListOut",
        "type": "object"
      },
      "AddressOut": {
        "properties": {
          "city": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "title": "City"
          },
          "dated": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "title": "Dated"
          },
          "line": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "title": "Line"
          },
          "state": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "title": "State"
          },
          "zip": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "title": "Zip"
          }
        },
        "required": [
          "line",
          "city",
          "state",
          "zip",
          "dated"
        ],
        "title": "AddressOut",
        "type": "object"
      },
      "AddressRowOut": {
        "properties": {
          "active_share": {
            "title": "Active Share",
            "type": "number"
          },
          "address": {
            "title": "Address",
            "type": "string"
          },
          "address_key": {
            "title": "Address Key",
            "type": "string"
          },
          "city": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "title": "City"
          },
          "entities": {
            "title": "Entities",
            "type": "integer"
          },
          "last_12m": {
            "title": "Last 12M",
            "type": "integer"
          },
          "llc_share": {
            "title": "Llc Share",
            "type": "number"
          },
          "zip5": {
            "title": "Zip5",
            "type": "string"
          }
        },
        "required": [
          "address_key",
          "address",
          "city",
          "zip5",
          "entities",
          "active_share",
          "last_12m",
          "llc_share"
        ],
        "title": "AddressRowOut",
        "type": "object"
      },
      "AddressVariantOut": {
        "properties": {
          "as_filed": {
            "title": "As Filed",
            "type": "string"
          },
          "entities": {
            "title": "Entities",
            "type": "integer"
          }
        },
        "required": [
          "as_filed",
          "entities"
        ],
        "title": "AddressVariantOut",
        "type": "object"
      },
      "AgeBandOut": {
        "properties": {
          "era": {
            "title": "Era",
            "type": "string"
          },
          "n": {
            "title": "N",
            "type": "integer"
          },
          "shares": {
            "additionalProperties": {
              "type": "number"
            },
            "title": "Shares",
            "type": "object"
          }
        },
        "required": [
          "era",
          "n",
          "shares"
        ],
        "title": "AgeBandOut",
        "type": "object"
      },
      "AgentNoteOut": {
        "properties": {
          "city": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "title": "City"
          },
          "count": {
            "title": "Count",
            "type": "integer"
          },
          "zip5": {
            "title": "Zip5",
            "type": "string"
          }
        },
        "required": [
          "zip5",
          "city",
          "count"
        ],
        "title": "AgentNoteOut",
        "type": "object"
      },
      "AltNameOut": {
        "description": "A former, assumed, or other name filed for the business.",
        "properties": {
          "active": {
            "anyOf": [
              {
                "type": "boolean"
              },
              {
                "type": "null"
              }
            ],
            "title": "Active"
          },
          "end_date": {
            "anyOf": [
              {
                "format": "date",
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "title": "End Date"
          },
          "kind": {
            "title": "Kind",
            "type": "string"
          },
          "name": {
            "title": "Name",
            "type": "string"
          },
          "start_date": {
            "anyOf": [
              {
                "format": "date",
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "title": "Start Date"
          }
        },
        "required": [
          "name",
          "kind"
        ],
        "title": "AltNameOut",
        "type": "object"
      },
      "ApiKeyCreate": {
        "properties": {
          "name": {
            "maxLength": 120,
            "minLength": 1,
            "title": "Name",
            "type": "string"
          },
          "permitted_use_accepted": {
            "title": "Permitted Use Accepted",
            "type": "boolean"
          }
        },
        "required": [
          "name",
          "permitted_use_accepted"
        ],
        "title": "ApiKeyCreate",
        "type": "object"
      },
      "ApiKeyCreated": {
        "description": "Returned exactly once at creation \u2014 includes the full raw key.",
        "properties": {
          "created_at": {
            "format": "date-time",
            "title": "Created At",
            "type": "string"
          },
          "id": {
            "format": "uuid",
            "title": "Id",
            "type": "string"
          },
          "key_prefix": {
            "title": "Key Prefix",
            "type": "string"
          },
          "name": {
            "title": "Name",
            "type": "string"
          },
          "raw_key": {
            "title": "Raw Key",
            "type": "string"
          }
        },
        "required": [
          "id",
          "name",
          "key_prefix",
          "created_at",
          "raw_key"
        ],
        "title": "ApiKeyCreated",
        "type": "object"
      },
      "ApiKeyOut": {
        "properties": {
          "created_at": {
            "format": "date-time",
            "title": "Created At",
            "type": "string"
          },
          "id": {
            "format": "uuid",
            "title": "Id",
            "type": "string"
          },
          "key_prefix": {
            "title": "Key Prefix",
            "type": "string"
          },
          "name": {
            "title": "Name",
            "type": "string"
          }
        },
        "required": [
          "id",
          "name",
          "key_prefix",
          "created_at"
        ],
        "title": "ApiKeyOut",
        "type": "object"
      },
      "BillingAccountOut": {
        "properties": {
          "has_billing_account": {
            "title": "Has Billing Account",
            "type": "boolean"
          }
        },
        "required": [
          "has_billing_account"
        ],
        "title": "BillingAccountOut",
        "type": "object"
      },
      "BoardCountOut": {
        "properties": {
          "board": {
            "title": "Board",
            "type": "string"
          },
          "count": {
            "title": "Count",
            "type": "integer"
          }
        },
        "required": [
          "board",
          "count"
        ],
        "title": "BoardCountOut",
        "type": "object"
      },
      "BusinessCoverageOut": {
        "properties": {
          "built_at": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "title": "Built At"
          },
          "carriers": {
            "title": "Carriers",
            "type": "integer"
          },
          "dataset_version": {
            "title": "Dataset Version",
            "type": "string"
          },
          "filings": {
            "title": "Filings",
            "type": "integer"
          },
          "licenses": {
            "title": "Licenses",
            "type": "integer"
          },
          "people": {
            "title": "People",
            "type": "integer"
          }
        },
        "required": [
          "dataset_version",
          "filings",
          "people",
          "licenses",
          "carriers"
        ],
        "title": "BusinessCoverageOut",
        "type": "object"
      },
      "BusinessDetailOut": {
        "properties": {
          "alt_names": {
            "default": [],
            "items": {
              "$ref": "#/components/schemas/AltNameOut"
            },
            "title": "Alt Names",
            "type": "array"
          },
          "business": {
            "$ref": "#/components/schemas/BusinessOut"
          },
          "carrier": {
            "anyOf": [
              {
                "$ref": "#/components/schemas/CarrierOut"
              },
              {
                "type": "null"
              }
            ]
          },
          "carrier_authority": {
            "anyOf": [
              {
                "$ref": "#/components/schemas/CarrierAuthorityOut"
              },
              {
                "type": "null"
              }
            ]
          },
          "events": {
            "default": [],
            "items": {
              "$ref": "#/components/schemas/BusinessEventOut"
            },
            "title": "Events",
            "type": "array"
          },
          "events_total": {
            "default": 0,
            "title": "Events Total",
            "type": "integer"
          },
          "facilities": {
            "default": [],
            "items": {
              "$ref": "#/components/schemas/RegulatedSiteOut"
            },
            "title": "Facilities",
            "type": "array"
          },
          "facilities_total": {
            "default": 0,
            "title": "Facilities Total",
            "type": "integer"
          },
          "first_location_opened": {
            "anyOf": [
              {
                "format": "date",
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "title": "First Location Opened"
          },
          "industry": {
            "anyOf": [
              {
                "$ref": "#/components/schemas/BusinessIndustryOut"
              },
              {
                "type": "null"
              }
            ]
          },
          "lending": {
            "anyOf": [
              {
                "$ref": "#/components/schemas/LendingOut"
              },
              {
                "type": "null"
              }
            ]
          },
          "licenses": {
            "items": {
              "$ref": "#/components/schemas/LicenseOut"
            },
            "title": "Licenses",
            "type": "array"
          },
          "linked": {
            "items": {
              "$ref": "#/components/schemas/LinkedBusinessOut"
            },
            "title": "Linked",
            "type": "array"
          },
          "locations": {
            "default": [],
            "items": {
              "$ref": "#/components/schemas/BusinessLocationOut"
            },
            "title": "Locations",
            "type": "array"
          },
          "locations_total": {
            "default": 0,
            "title": "Locations Total",
            "type": "integer"
          },
          "people": {
            "items": {
              "$ref": "#/components/schemas/BusinessPersonOut"
            },
            "title": "People",
            "type": "array"
          },
          "permits": {
            "default": [],
            "items": {
              "$ref": "#/components/schemas/app__domains__businesses__interface__schemas__PermitOut"
            },
            "title": "Permits",
            "type": "array"
          },
          "permits_total": {
            "default": 0,
            "title": "Permits Total",
            "type": "integer"
          },
          "trade_names": {
            "default": [],
            "items": {
              "$ref": "#/components/schemas/TradeNameOut"
            },
            "title": "Trade Names",
            "type": "array"
          },
          "trade_names_total": {
            "default": 0,
            "title": "Trade Names Total",
            "type": "integer"
          }
        },
        "required": [
          "business",
          "people",
          "licenses",
          "linked"
        ],
        "title": "BusinessDetailOut",
        "type": "object"
      },
      "BusinessEventOut": {
        "description": "A filing event on the business (newest first).",
        "properties": {
          "description": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "title": "Description"
          },
          "detail": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "title": "Detail"
          },
          "event_date": {
            "format": "date",
            "title": "Event Date",
            "type": "string"
          },
          "filed_date": {
            "anyOf": [
              {
                "format": "date",
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "title": "Filed Date"
          },
          "kind": {
            "title": "Kind",
            "type": "string"
          }
        },
        "required": [
          "event_date",
          "kind"
        ],
        "title": "BusinessEventOut",
        "type": "object"
      },
      "BusinessIndustryOut": {
        "description": "Industry represented by the business's locations.",
        "properties": {
          "label": {
            "title": "Label",
            "type": "string"
          },
          "naics": {
            "title": "Naics",
            "type": "string"
          }
        },
        "required": [
          "naics",
          "label"
        ],
        "title": "BusinessIndustryOut",
        "type": "object"
      },
      "BusinessLinkOut": {
        "properties": {
          "business_key": {
            "title": "Business Key",
            "type": "string"
          },
          "name": {
            "title": "Name",
            "type": "string"
          },
          "status": {
            "title": "Status",
            "type": "string"
          }
        },
        "required": [
          "business_key",
          "name",
          "status"
        ],
        "title": "BusinessLinkOut",
        "type": "object"
      },
      "BusinessLocationOut": {
        "description": "A business location on file with the state.",
        "properties": {
          "address": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "title": "Address"
          },
          "city": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "title": "City"
          },
          "industry_label": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "title": "Industry Label"
          },
          "naics": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "title": "Naics"
          },
          "name": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "title": "Name"
          },
          "opened_date": {
            "anyOf": [
              {
                "format": "date",
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "title": "Opened Date"
          },
          "state": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "title": "State"
          },
          "zip": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "title": "Zip"
          }
        },
        "title": "BusinessLocationOut",
        "type": "object"
      },
      "BusinessOut": {
        "properties": {
          "address": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "title": "Address"
          },
          "business_key": {
            "title": "Business Key",
            "type": "string"
          },
          "city": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "title": "City"
          },
          "dba_name": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "title": "Dba Name"
          },
          "ein": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "title": "Ein"
          },
          "email": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "title": "Email"
          },
          "entity_type": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "title": "Entity Type"
          },
          "first_seen_date": {
            "anyOf": [
              {
                "format": "date",
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "title": "First Seen Date"
          },
          "formed_date": {
            "anyOf": [
              {
                "format": "date",
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "title": "Formed Date"
          },
          "home_jurisdiction": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "title": "Home Jurisdiction"
          },
          "jurisdiction": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "title": "Jurisdiction"
          },
          "last_activity_date": {
            "anyOf": [
              {
                "format": "date",
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "title": "Last Activity Date"
          },
          "last_report_year": {
            "anyOf": [
              {
                "type": "integer"
              },
              {
                "type": "null"
              }
            ],
            "title": "Last Report Year"
          },
          "mailing_address": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "title": "Mailing Address"
          },
          "mailing_city": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "title": "Mailing City"
          },
          "mailing_state": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "title": "Mailing State"
          },
          "mailing_zip": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "title": "Mailing Zip"
          },
          "name": {
            "title": "Name",
            "type": "string"
          },
          "officers_truncated": {
            "default": false,
            "title": "Officers Truncated",
            "type": "boolean"
          },
          "phone": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "title": "Phone"
          },
          "source": {
            "title": "Source",
            "type": "string"
          },
          "source_id": {
            "title": "Source Id",
            "type": "string"
          },
          "state": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "title": "State"
          },
          "status": {
            "title": "Status",
            "type": "string"
          },
          "zip": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "title": "Zip"
          }
        },
        "required": [
          "business_key",
          "source",
          "name",
          "status",
          "source_id"
        ],
        "title": "BusinessOut",
        "type": "object"
      },
      "BusinessPageOut": {
        "properties": {
          "has_more": {
            "title": "Has More",
            "type": "boolean"
          },
          "items": {
            "items": {
              "$ref": "#/components/schemas/BusinessSummaryOut"
            },
            "title": "Items",
            "type": "array"
          },
          "limit": {
            "title": "Limit",
            "type": "integer"
          },
          "offset": {
            "title": "Offset",
            "type": "integer"
          },
          "trade_name_matches": {
            "default": [],
            "items": {
              "$ref": "#/components/schemas/TradeNameMatchOut"
            },
            "title": "Trade Name Matches",
            "type": "array"
          }
        },
        "required": [
          "items",
          "has_more",
          "limit",
          "offset"
        ],
        "title": "BusinessPageOut",
        "type": "object"
      },
      "BusinessPersonOut": {
        "properties": {
          "bulk_agent": {
            "title": "Bulk Agent",
            "type": "boolean"
          },
          "city": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "title": "City"
          },
          "name": {
            "title": "Name",
            "type": "string"
          },
          "party_type": {
            "title": "Party Type",
            "type": "string"
          },
          "phone": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "title": "Phone"
          },
          "role": {
            "title": "Role",
            "type": "string"
          },
          "state": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "title": "State"
          },
          "title": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "title": "Title"
          },
          "zip": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "title": "Zip"
          }
        },
        "required": [
          "role",
          "party_type",
          "name",
          "bulk_agent"
        ],
        "title": "BusinessPersonOut",
        "type": "object"
      },
      "BusinessSignalsOut": {
        "properties": {
          "last_signal_date": {
            "anyOf": [
              {
                "format": "date",
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "title": "Last Signal Date"
          },
          "operating": {
            "title": "Operating",
            "type": "boolean"
          },
          "signals": {
            "items": {
              "$ref": "#/components/schemas/app__domains__local_activity__interface__schemas__SignalOut"
            },
            "title": "Signals",
            "type": "array"
          },
          "working_address": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "title": "Working Address"
          }
        },
        "required": [
          "operating",
          "signals"
        ],
        "title": "BusinessSignalsOut",
        "type": "object"
      },
      "BusinessSnapshotOut": {
        "properties": {
          "business": {
            "$ref": "#/components/schemas/BusinessSummaryOut"
          },
          "checks": {
            "items": {
              "$ref": "#/components/schemas/app__domains__businesses__interface__schemas__CheckOut"
            },
            "title": "Checks",
            "type": "array"
          },
          "counts": {
            "$ref": "#/components/schemas/CheckCountsOut"
          },
          "dataset": {
            "$ref": "#/components/schemas/DatasetOut"
          },
          "prepared_at": {
            "format": "date-time",
            "title": "Prepared At",
            "type": "string"
          }
        },
        "required": [
          "business",
          "prepared_at",
          "dataset",
          "checks",
          "counts"
        ],
        "title": "BusinessSnapshotOut",
        "type": "object"
      },
      "BusinessSummaryOut": {
        "properties": {
          "business_key": {
            "title": "Business Key",
            "type": "string"
          },
          "city": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "title": "City"
          },
          "entity_type": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "title": "Entity Type"
          },
          "formed_date": {
            "anyOf": [
              {
                "format": "date",
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "title": "Formed Date"
          },
          "name": {
            "title": "Name",
            "type": "string"
          },
          "source": {
            "title": "Source",
            "type": "string"
          },
          "state": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "title": "State"
          },
          "status": {
            "title": "Status",
            "type": "string"
          },
          "zip": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "title": "Zip"
          }
        },
        "required": [
          "business_key",
          "source",
          "name",
          "status"
        ],
        "title": "BusinessSummaryOut",
        "type": "object"
      },
      "BusinessTimelineOut": {
        "properties": {
          "addresses": {
            "items": {
              "$ref": "#/components/schemas/TimelineAddressOut"
            },
            "title": "Addresses",
            "type": "array"
          },
          "business": {
            "$ref": "#/components/schemas/BusinessSummaryOut"
          },
          "counts": {
            "$ref": "#/components/schemas/TimelineCountsOut"
          },
          "events": {
            "items": {
              "$ref": "#/components/schemas/TimelineEventOut"
            },
            "title": "Events",
            "type": "array"
          },
          "names": {
            "items": {
              "$ref": "#/components/schemas/TimelineNameOut"
            },
            "title": "Names",
            "type": "array"
          },
          "people": {
            "items": {
              "$ref": "#/components/schemas/TimelinePersonOut"
            },
            "title": "People",
            "type": "array"
          }
        },
        "required": [
          "business",
          "counts",
          "events",
          "names",
          "addresses",
          "people"
        ],
        "title": "BusinessTimelineOut",
        "type": "object"
      },
      "CandidateOut": {
        "properties": {
          "business_key": {
            "title": "Business Key",
            "type": "string"
          },
          "city": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "title": "City"
          },
          "formed_date": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "title": "Formed Date"
          },
          "name": {
            "title": "Name",
            "type": "string"
          },
          "state": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "title": "State"
          },
          "status": {
            "title": "Status",
            "type": "string"
          },
          "zip": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "title": "Zip"
          }
        },
        "required": [
          "business_key",
          "name",
          "city",
          "state",
          "zip",
          "status"
        ],
        "title": "CandidateOut",
        "type": "object"
      },
      "CapitalIssuerOut": {
        "properties": {
          "cik": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "title": "Cik"
          },
          "city": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "title": "City"
          },
          "entity_type": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "title": "Entity Type"
          },
          "inc_timespan": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "title": "Inc Timespan"
          },
          "issuer_key": {
            "title": "Issuer Key",
            "type": "string"
          },
          "link_method": {
            "title": "Link Method",
            "type": "string"
          },
          "name": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "title": "Name"
          },
          "phone": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "title": "Phone"
          },
          "previous_names": {
            "default": [],
            "items": {
              "type": "string"
            },
            "title": "Previous Names",
            "type": "array"
          },
          "state": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "title": "State"
          },
          "year_of_inc": {
            "anyOf": [
              {
                "type": "integer"
              },
              {
                "type": "null"
              }
            ],
            "title": "Year Of Inc"
          },
          "zip": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "title": "Zip"
          }
        },
        "required": [
          "issuer_key",
          "link_method"
        ],
        "title": "CapitalIssuerOut",
        "type": "object"
      },
      "CapitalRaiseOut": {
        "properties": {
          "accession": {
            "title": "Accession",
            "type": "string"
          },
          "amount_offered": {
            "anyOf": [
              {
                "type": "number"
              },
              {
                "type": "null"
              }
            ],
            "title": "Amount Offered"
          },
          "amount_remaining": {
            "anyOf": [
              {
                "type": "number"
              },
              {
                "type": "null"
              }
            ],
            "title": "Amount Remaining"
          },
          "amount_sold": {
            "anyOf": [
              {
                "type": "number"
              },
              {
                "type": "null"
              }
            ],
            "title": "Amount Sold"
          },
          "exemptions": {
            "default": [],
            "items": {
              "type": "string"
            },
            "title": "Exemptions",
            "type": "array"
          },
          "filing_date": {
            "anyOf": [
              {
                "format": "date",
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "title": "Filing Date"
          },
          "filing_url": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "title": "Filing Url"
          },
          "flags": {
            "default": [],
            "items": {
              "type": "string"
            },
            "title": "Flags",
            "type": "array"
          },
          "has_non_accredited": {
            "anyOf": [
              {
                "type": "boolean"
              },
              {
                "type": "null"
              }
            ],
            "title": "Has Non Accredited"
          },
          "industry_group": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "title": "Industry Group"
          },
          "is_debt": {
            "anyOf": [
              {
                "type": "boolean"
              },
              {
                "type": "null"
              }
            ],
            "title": "Is Debt"
          },
          "is_equity": {
            "anyOf": [
              {
                "type": "boolean"
              },
              {
                "type": "null"
              }
            ],
            "title": "Is Equity"
          },
          "min_investment": {
            "anyOf": [
              {
                "type": "number"
              },
              {
                "type": "null"
              }
            ],
            "title": "Min Investment"
          },
          "n_filings": {
            "anyOf": [
              {
                "type": "integer"
              },
              {
                "type": "null"
              }
            ],
            "title": "N Filings"
          },
          "n_investors": {
            "anyOf": [
              {
                "type": "integer"
              },
              {
                "type": "null"
              }
            ],
            "title": "N Investors"
          },
          "offering_indefinite": {
            "anyOf": [
              {
                "type": "boolean"
              },
              {
                "type": "null"
              }
            ],
            "title": "Offering Indefinite"
          },
          "offering_key": {
            "title": "Offering Key",
            "type": "string"
          },
          "revenue_range": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "title": "Revenue Range"
          },
          "sale_date": {
            "anyOf": [
              {
                "format": "date",
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "title": "Sale Date"
          },
          "sale_yet_to_occur": {
            "anyOf": [
              {
                "type": "boolean"
              },
              {
                "type": "null"
              }
            ],
            "title": "Sale Yet To Occur"
          },
          "security_structure": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "title": "Security Structure"
          }
        },
        "required": [
          "offering_key",
          "accession"
        ],
        "title": "CapitalRaiseOut",
        "type": "object"
      },
      "CapitalRaisesOut": {
        "properties": {
          "available": {
            "title": "Available",
            "type": "boolean"
          },
          "business_key": {
            "title": "Business Key",
            "type": "string"
          },
          "issuer": {
            "anyOf": [
              {
                "$ref": "#/components/schemas/CapitalIssuerOut"
              },
              {
                "type": "null"
              }
            ]
          },
          "latest_sale_date": {
            "anyOf": [
              {
                "format": "date",
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "title": "Latest Sale Date"
          },
          "raises": {
            "items": {
              "$ref": "#/components/schemas/CapitalRaiseOut"
            },
            "title": "Raises",
            "type": "array"
          },
          "total_sold": {
            "anyOf": [
              {
                "type": "number"
              },
              {
                "type": "null"
              }
            ],
            "title": "Total Sold"
          }
        },
        "required": [
          "business_key",
          "available",
          "raises"
        ],
        "title": "CapitalRaisesOut",
        "type": "object"
      },
      "CarrierAuthorityOut": {
        "description": "Operating authority for a motor carrier.",
        "properties": {
          "authority_status": {
            "title": "Authority Status",
            "type": "string"
          },
          "authority_types": {
            "default": [],
            "items": {
              "type": "string"
            },
            "title": "Authority Types",
            "type": "array"
          },
          "first_granted_date": {
            "anyOf": [
              {
                "format": "date",
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "title": "First Granted Date"
          },
          "insurance": {
            "default": [],
            "items": {
              "$ref": "#/components/schemas/CarrierInsuranceOut"
            },
            "title": "Insurance",
            "type": "array"
          },
          "insurance_effective_date": {
            "anyOf": [
              {
                "format": "date",
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "title": "Insurance Effective Date"
          },
          "insurance_on_file": {
            "title": "Insurance On File",
            "type": "boolean"
          },
          "insurer_name": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "title": "Insurer Name"
          },
          "last_action": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "title": "Last Action"
          },
          "last_action_date": {
            "anyOf": [
              {
                "format": "date",
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "title": "Last Action Date"
          },
          "liability_coverage_amount": {
            "anyOf": [
              {
                "type": "integer"
              },
              {
                "type": "null"
              }
            ],
            "title": "Liability Coverage Amount"
          },
          "process_agent_name": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "title": "Process Agent Name"
          }
        },
        "required": [
          "authority_status",
          "insurance_on_file"
        ],
        "title": "CarrierAuthorityOut",
        "type": "object"
      },
      "CarrierInsuranceOut": {
        "description": "Insurance on file for a motor carrier.",
        "properties": {
          "coverage_amount": {
            "anyOf": [
              {
                "type": "integer"
              },
              {
                "type": "null"
              }
            ],
            "title": "Coverage Amount"
          },
          "coverage_class": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "title": "Coverage Class"
          },
          "coverage_type": {
            "title": "Coverage Type",
            "type": "string"
          },
          "effective_date": {
            "anyOf": [
              {
                "format": "date",
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "title": "Effective Date"
          },
          "insurer_name": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "title": "Insurer Name"
          }
        },
        "required": [
          "coverage_type"
        ],
        "title": "CarrierInsuranceOut",
        "type": "object"
      },
      "CarrierOut": {
        "properties": {
          "cargo_types": {
            "default": [],
            "items": {
              "type": "string"
            },
            "title": "Cargo Types",
            "type": "array"
          },
          "carrier_operation": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "title": "Carrier Operation"
          },
          "classification": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "title": "Classification"
          },
          "hazmat": {
            "anyOf": [
              {
                "type": "boolean"
              },
              {
                "type": "null"
              }
            ],
            "title": "Hazmat"
          },
          "mc_number": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "title": "Mc Number"
          },
          "mcs150_date": {
            "anyOf": [
              {
                "format": "date",
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "title": "Mcs150 Date"
          },
          "power_units": {
            "anyOf": [
              {
                "type": "integer"
              },
              {
                "type": "null"
              }
            ],
            "title": "Power Units"
          },
          "safety_rating": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "title": "Safety Rating"
          },
          "total_drivers": {
            "anyOf": [
              {
                "type": "integer"
              },
              {
                "type": "null"
              }
            ],
            "title": "Total Drivers"
          },
          "usdot_number": {
            "title": "Usdot Number",
            "type": "string"
          }
        },
        "required": [
          "usdot_number"
        ],
        "title": "CarrierOut",
        "type": "object"
      },
      "CertificateOfUseOut": {
        "properties": {
          "certificate_number": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "title": "Certificate Number"
          },
          "cu_key": {
            "title": "Cu Key",
            "type": "string"
          },
          "issued_date": {
            "anyOf": [
              {
                "format": "date",
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "title": "Issued Date"
          },
          "occupant_name": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "title": "Occupant Name"
          },
          "use_description": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "title": "Use Description"
          }
        },
        "required": [
          "cu_key"
        ],
        "title": "CertificateOfUseOut",
        "type": "object"
      },
      "ChangeListOut": {
        "properties": {
          "has_more": {
            "title": "Has More",
            "type": "boolean"
          },
          "items": {
            "items": {
              "$ref": "#/components/schemas/ChangeOut"
            },
            "title": "Items",
            "type": "array"
          }
        },
        "required": [
          "items",
          "has_more"
        ],
        "title": "ChangeListOut",
        "type": "object"
      },
      "ChangeOut": {
        "properties": {
          "after": {
            "title": "After",
            "type": "string"
          },
          "before": {
            "title": "Before",
            "type": "string"
          },
          "business_key": {
            "title": "Business Key",
            "type": "string"
          },
          "change_kind": {
            "enum": [
              "status",
              "address",
              "name",
              "last_activity"
            ],
            "title": "Change Kind",
            "type": "string"
          },
          "created_at": {
            "format": "date-time",
            "title": "Created At",
            "type": "string"
          },
          "dataset_version": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "title": "Dataset Version"
          },
          "detected_on": {
            "format": "date",
            "title": "Detected On",
            "type": "string"
          },
          "id": {
            "format": "uuid",
            "title": "Id",
            "type": "string"
          },
          "row_id": {
            "format": "uuid",
            "title": "Row Id",
            "type": "string"
          }
        },
        "required": [
          "id",
          "row_id",
          "business_key",
          "change_kind",
          "before",
          "after",
          "dataset_version",
          "detected_on",
          "created_at"
        ],
        "title": "ChangeOut",
        "type": "object"
      },
      "ChangePasswordRequest": {
        "properties": {
          "current_password": {
            "maxLength": 256,
            "title": "Current Password",
            "type": "string"
          },
          "password": {
            "maxLength": 128,
            "title": "Password",
            "type": "string"
          },
          "password_confirmation": {
            "maxLength": 128,
            "title": "Password Confirmation",
            "type": "string"
          }
        },
        "required": [
          "current_password",
          "password",
          "password_confirmation"
        ],
        "title": "ChangePasswordRequest",
        "type": "object"
      },
      "CheckCountsOut": {
        "properties": {
          "needs_review": {
            "title": "Needs Review",
            "type": "integer"
          },
          "not_on_file": {
            "title": "Not On File",
            "type": "integer"
          },
          "on_file": {
            "title": "On File",
            "type": "integer"
          }
        },
        "required": [
          "on_file",
          "needs_review",
          "not_on_file"
        ],
        "title": "CheckCountsOut",
        "type": "object"
      },
      "CodeCaseOut": {
        "properties": {
          "case_key": {
            "title": "Case Key",
            "type": "string"
          },
          "case_number": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "title": "Case Number"
          },
          "case_type": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "title": "Case Type"
          },
          "closed_date": {
            "anyOf": [
              {
                "format": "date",
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "title": "Closed Date"
          },
          "opened_date": {
            "anyOf": [
              {
                "format": "date",
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "title": "Opened Date"
          },
          "status": {
            "title": "Status",
            "type": "string"
          }
        },
        "required": [
          "case_key",
          "status"
        ],
        "title": "CodeCaseOut",
        "type": "object"
      },
      "CompleteRequest": {
        "properties": {
          "max_tokens": {
            "default": 1024,
            "maximum": 8192.0,
            "minimum": 1.0,
            "title": "Max Tokens",
            "type": "integer"
          },
          "prompt": {
            "maxLength": 8000,
            "minLength": 1,
            "title": "Prompt",
            "type": "string"
          },
          "provider": {
            "$ref": "#/components/schemas/LlmProvider"
          }
        },
        "required": [
          "provider",
          "prompt"
        ],
        "title": "CompleteRequest",
        "type": "object"
      },
      "ConsentIn": {
        "properties": {
          "analytics": {
            "title": "Analytics",
            "type": "boolean"
          },
          "policy_version": {
            "maxLength": 32,
            "minLength": 1,
            "title": "Policy Version",
            "type": "string"
          }
        },
        "required": [
          "analytics",
          "policy_version"
        ],
        "title": "ConsentIn",
        "type": "object"
      },
      "ConsentOut": {
        "properties": {
          "analytics": {
            "title": "Analytics",
            "type": "boolean"
          },
          "policy_version": {
            "title": "Policy Version",
            "type": "string"
          },
          "recorded_at": {
            "format": "date-time",
            "title": "Recorded At",
            "type": "string"
          }
        },
        "required": [
          "analytics",
          "policy_version",
          "recorded_at"
        ],
        "title": "ConsentOut",
        "type": "object"
      },
      "ContractorActivityOut": {
        "properties": {
          "busiest_county": {
            "anyOf": [
              {
                "$ref": "#/components/schemas/CountyRefOut"
              },
              {
                "type": "null"
              }
            ]
          },
          "counties": {
            "items": {
              "$ref": "#/components/schemas/CountyRefOut"
            },
            "title": "Counties",
            "type": "array"
          },
          "job_value_36m": {
            "title": "Job Value 36M",
            "type": "number"
          },
          "last_permit_date": {
            "anyOf": [
              {
                "format": "date",
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "title": "Last Permit Date"
          },
          "median_job_value_ytd": {
            "anyOf": [
              {
                "type": "number"
              },
              {
                "type": "null"
              }
            ],
            "title": "Median Job Value Ytd"
          },
          "monthly": {
            "items": {
              "$ref": "#/components/schemas/app__domains__local_activity__interface__schemas__MonthCountOut"
            },
            "title": "Monthly",
            "type": "array"
          },
          "permits_36m": {
            "title": "Permits 36M",
            "type": "integer"
          },
          "permits_90d": {
            "title": "Permits 90D",
            "type": "integer"
          },
          "working": {
            "title": "Working",
            "type": "boolean"
          }
        },
        "required": [
          "permits_36m",
          "job_value_36m",
          "permits_90d",
          "counties",
          "working",
          "monthly"
        ],
        "title": "ContractorActivityOut",
        "type": "object"
      },
      "ContractorPermitOut": {
        "properties": {
          "address": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "title": "Address"
          },
          "city": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "title": "City"
          },
          "expires_date": {
            "anyOf": [
              {
                "format": "date",
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "title": "Expires Date"
          },
          "final_date": {
            "anyOf": [
              {
                "format": "date",
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "title": "Final Date"
          },
          "issued_date": {
            "format": "date",
            "title": "Issued Date",
            "type": "string"
          },
          "job_value": {
            "anyOf": [
              {
                "type": "number"
              },
              {
                "type": "null"
              }
            ],
            "title": "Job Value"
          },
          "parcel_id": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "title": "Parcel Id"
          },
          "permit_key": {
            "title": "Permit Key",
            "type": "string"
          },
          "permit_number": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "title": "Permit Number"
          },
          "status": {
            "title": "Status",
            "type": "string"
          },
          "work_class": {
            "title": "Work Class",
            "type": "string"
          },
          "work_description": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "title": "Work Description"
          },
          "zip5": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "title": "Zip5"
          }
        },
        "required": [
          "permit_key",
          "issued_date",
          "work_class",
          "status"
        ],
        "title": "ContractorPermitOut",
        "type": "object"
      },
      "ContractorProfileOut": {
        "properties": {
          "activity": {
            "$ref": "#/components/schemas/ContractorActivityOut"
          },
          "business": {
            "anyOf": [
              {
                "$ref": "#/components/schemas/BusinessLinkOut"
              },
              {
                "type": "null"
              }
            ]
          },
          "by_county": {
            "items": {
              "$ref": "#/components/schemas/CountyActivityOut"
            },
            "title": "By County",
            "type": "array"
          },
          "city": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "title": "City"
          },
          "class_label": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "title": "Class Label"
          },
          "dba_name": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "title": "Dba Name"
          },
          "discipline": {
            "title": "Discipline",
            "type": "null"
          },
          "expires_date": {
            "anyOf": [
              {
                "format": "date",
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "title": "Expires Date"
          },
          "license_number": {
            "title": "License Number",
            "type": "string"
          },
          "name": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "title": "Name"
          },
          "original_date": {
            "anyOf": [
              {
                "format": "date",
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "title": "Original Date"
          },
          "recent_permits": {
            "$ref": "#/components/schemas/PermitPageOut"
          },
          "status": {
            "title": "Status",
            "type": "string"
          },
          "tax_receipt": {
            "anyOf": [
              {
                "$ref": "#/components/schemas/TaxReceiptRefOut"
              },
              {
                "type": "null"
              }
            ]
          },
          "work_mix": {
            "items": {
              "$ref": "#/components/schemas/WorkMixOut"
            },
            "title": "Work Mix",
            "type": "array"
          },
          "zip5": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "title": "Zip5"
          }
        },
        "required": [
          "license_number",
          "status",
          "activity",
          "work_mix",
          "by_county",
          "recent_permits"
        ],
        "title": "ContractorProfileOut",
        "type": "object"
      },
      "CountersOut": {
        "properties": {
          "changes_90d": {
            "title": "Changes 90D",
            "type": "integer"
          },
          "matched": {
            "title": "Matched",
            "type": "integer"
          },
          "none": {
            "title": "None",
            "type": "integer"
          },
          "pending": {
            "title": "Pending",
            "type": "integer"
          },
          "review": {
            "title": "Review",
            "type": "integer"
          },
          "rows": {
            "title": "Rows",
            "type": "integer"
          }
        },
        "required": [
          "rows",
          "pending",
          "matched",
          "review",
          "none",
          "changes_90d"
        ],
        "title": "CountersOut",
        "type": "object"
      },
      "CountyActivityOut": {
        "properties": {
          "county_fips": {
            "title": "County Fips",
            "type": "string"
          },
          "county_name": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "title": "County Name"
          },
          "job_value": {
            "title": "Job Value",
            "type": "number"
          },
          "last_permit_date": {
            "anyOf": [
              {
                "format": "date",
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "title": "Last Permit Date"
          },
          "median_job": {
            "anyOf": [
              {
                "type": "number"
              },
              {
                "type": "null"
              }
            ],
            "title": "Median Job"
          },
          "permits": {
            "title": "Permits",
            "type": "integer"
          }
        },
        "required": [
          "county_fips",
          "permits",
          "job_value"
        ],
        "title": "CountyActivityOut",
        "type": "object"
      },
      "CountyRefOut": {
        "properties": {
          "abbrev": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "title": "Abbrev"
          },
          "county_fips": {
            "title": "County Fips",
            "type": "string"
          },
          "county_name": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "title": "County Name"
          }
        },
        "required": [
          "county_fips"
        ],
        "title": "CountyRefOut",
        "type": "object"
      },
      "CreateGenerationRequest": {
        "properties": {
          "kind": {
            "$ref": "#/components/schemas/CreditAction"
          },
          "prompt": {
            "maxLength": 4000,
            "minLength": 1,
            "title": "Prompt",
            "type": "string"
          }
        },
        "required": [
          "kind",
          "prompt"
        ],
        "title": "CreateGenerationRequest",
        "type": "object"
      },
      "CreatePortfolioIn": {
        "properties": {
          "name": {
            "maxLength": 120,
            "minLength": 1,
            "title": "Name",
            "type": "string"
          },
          "rows": {
            "items": {
              "$ref": "#/components/schemas/RowIn"
            },
            "title": "Rows",
            "type": "array"
          },
          "source_filename": {
            "anyOf": [
              {
                "maxLength": 255,
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "title": "Source Filename"
          }
        },
        "required": [
          "name",
          "rows"
        ],
        "title": "CreatePortfolioIn",
        "type": "object"
      },
      "CreditAction": {
        "description": "Metered actions a reservation can be opened for.",
        "enum": [
          "image_nano_banana",
          "image_gpt",
          "video_veo",
          "llm_call",
          "record_search",
          "record_view",
          "record_address_lookup",
          "property_lookup",
          "property_address_search",
          "business_search",
          "business_view",
          "business_person_search",
          "property_view",
          "contractor_view",
          "business_new_filings",
          "business_events",
          "business_events_export",
          "business_similar",
          "business_snapshot",
          "business_timeline"
        ],
        "title": "CreditAction",
        "type": "string"
      },
      "CreditPack": {
        "description": "One-time top-up packs purchasable via Stripe (mode=payment).",
        "enum": [
          "starter",
          "growth",
          "scale",
          "bulk"
        ],
        "title": "CreditPack",
        "type": "string"
      },
      "CreditPackCheckoutRequest": {
        "properties": {
          "pack": {
            "$ref": "#/components/schemas/CreditPack"
          },
          "return_to": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "title": "Return To"
          }
        },
        "required": [
          "pack"
        ],
        "title": "CreditPackCheckoutRequest",
        "type": "object"
      },
      "CreditPackOut": {
        "properties": {
          "credits": {
            "title": "Credits",
            "type": "integer"
          },
          "discount_pct": {
            "title": "Discount Pct",
            "type": "integer"
          },
          "name": {
            "title": "Name",
            "type": "string"
          },
          "pack": {
            "$ref": "#/components/schemas/CreditPack"
          },
          "price_cents": {
            "title": "Price Cents",
            "type": "integer"
          },
          "purchasable": {
            "title": "Purchasable",
            "type": "boolean"
          },
          "unit_price_cents": {
            "title": "Unit Price Cents",
            "type": "integer"
          }
        },
        "required": [
          "pack",
          "name",
          "credits",
          "price_cents",
          "unit_price_cents",
          "discount_pct",
          "purchasable"
        ],
        "title": "CreditPackOut",
        "type": "object"
      },
      "DatasetOut": {
        "properties": {
          "built_at": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "title": "Built At"
          },
          "version": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "title": "Version"
          }
        },
        "title": "DatasetOut",
        "type": "object"
      },
      "DensityOut": {
        "properties": {
          "rows": {
            "items": {
              "$ref": "#/components/schemas/DensityRowOut"
            },
            "title": "Rows",
            "type": "array"
          },
          "scatter": {
            "items": {
              "$ref": "#/components/schemas/DensityPointOut"
            },
            "title": "Scatter",
            "type": "array"
          },
          "state": {
            "title": "State",
            "type": "string"
          },
          "state_active_share": {
            "title": "State Active Share",
            "type": "number"
          },
          "zips_considered": {
            "title": "Zips Considered",
            "type": "integer"
          }
        },
        "required": [
          "state",
          "state_active_share",
          "rows",
          "scatter",
          "zips_considered"
        ],
        "title": "DensityOut",
        "type": "object"
      },
      "DensityPointOut": {
        "properties": {
          "employer_sites": {
            "title": "Employer Sites",
            "type": "integer"
          },
          "entities": {
            "title": "Entities",
            "type": "integer"
          },
          "zip5": {
            "title": "Zip5",
            "type": "string"
          }
        },
        "required": [
          "zip5",
          "entities",
          "employer_sites"
        ],
        "title": "DensityPointOut",
        "type": "object"
      },
      "DensityRankOut": {
        "properties": {
          "of": {
            "title": "Of",
            "type": "integer"
          },
          "rank": {
            "title": "Rank",
            "type": "integer"
          }
        },
        "required": [
          "rank",
          "of"
        ],
        "title": "DensityRankOut",
        "type": "object"
      },
      "DensityRowOut": {
        "properties": {
          "active_share": {
            "title": "Active Share",
            "type": "number"
          },
          "city": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "title": "City"
          },
          "employer_sites": {
            "anyOf": [
              {
                "type": "integer"
              },
              {
                "type": "null"
              }
            ],
            "title": "Employer Sites"
          },
          "entities": {
            "title": "Entities",
            "type": "integer"
          },
          "per_1k": {
            "title": "Per 1K",
            "type": "number"
          },
          "ratio": {
            "anyOf": [
              {
                "type": "number"
              },
              {
                "type": "null"
              }
            ],
            "title": "Ratio"
          },
          "residents": {
            "title": "Residents",
            "type": "integer"
          },
          "zip5": {
            "title": "Zip5",
            "type": "string"
          }
        },
        "required": [
          "zip5",
          "city",
          "residents",
          "entities",
          "per_1k",
          "employer_sites",
          "ratio",
          "active_share"
        ],
        "title": "DensityRowOut",
        "type": "object"
      },
      "DistributionBinOut": {
        "properties": {
          "count": {
            "title": "Count",
            "type": "integer"
          },
          "hi": {
            "title": "Hi",
            "type": "number"
          },
          "lo": {
            "title": "Lo",
            "type": "number"
          }
        },
        "required": [
          "lo",
          "hi",
          "count"
        ],
        "title": "DistributionBinOut",
        "type": "object"
      },
      "EmployerExploreOut": {
        "properties": {
          "age_bands": {
            "items": {
              "$ref": "#/components/schemas/AgeBandOut"
            },
            "title": "Age Bands",
            "type": "array"
          },
          "available": {
            "title": "Available",
            "type": "boolean"
          },
          "bands": {
            "items": {
              "$ref": "#/components/schemas/SizeBandOut"
            },
            "title": "Bands",
            "type": "array"
          },
          "filters": {
            "$ref": "#/components/schemas/EmployerFiltersOut"
          },
          "filters_available": {
            "title": "Filters Available",
            "type": "boolean"
          },
          "growth": {
            "items": {
              "$ref": "#/components/schemas/GrowthBucketOut"
            },
            "title": "Growth",
            "type": "array"
          },
          "growth_total": {
            "title": "Growth Total",
            "type": "integer"
          },
          "headline": {
            "$ref": "#/components/schemas/EmployerHeadlineOut"
          },
          "largest": {
            "items": {
              "$ref": "#/components/schemas/LargestEmployerOut"
            },
            "title": "Largest",
            "type": "array"
          },
          "pay_per_head": {
            "items": {
              "$ref": "#/components/schemas/PayPerHeadOut"
            },
            "title": "Pay Per Head",
            "type": "array"
          },
          "sector_options": {
            "items": {
              "$ref": "#/components/schemas/SectorOptionOut"
            },
            "title": "Sector Options",
            "type": "array"
          },
          "sectors": {
            "items": {
              "$ref": "#/components/schemas/SectorCountOut"
            },
            "title": "Sectors",
            "type": "array"
          },
          "state": {
            "title": "State",
            "type": "string"
          },
          "states": {
            "items": {
              "type": "string"
            },
            "title": "States",
            "type": "array"
          },
          "top_zips": {
            "items": {
              "$ref": "#/components/schemas/EmployerZipOut"
            },
            "title": "Top Zips",
            "type": "array"
          },
          "zip_counts": {
            "items": {
              "$ref": "#/components/schemas/ZipCountOut"
            },
            "title": "Zip Counts",
            "type": "array"
          }
        },
        "required": [
          "available",
          "state",
          "states",
          "headline",
          "bands",
          "sectors",
          "age_bands",
          "growth",
          "growth_total",
          "top_zips",
          "pay_per_head",
          "largest",
          "filters",
          "sector_options",
          "zip_counts",
          "filters_available"
        ],
        "title": "EmployerExploreOut",
        "type": "object"
      },
      "EmployerFiltersOut": {
        "properties": {
          "sector": {
            "title": "Sector",
            "type": "string"
          },
          "size": {
            "title": "Size",
            "type": "string"
          }
        },
        "required": [
          "sector",
          "size"
        ],
        "title": "EmployerFiltersOut",
        "type": "object"
      },
      "EmployerHeadlineOut": {
        "properties": {
          "coverage_ratio": {
            "anyOf": [
              {
                "type": "number"
              },
              {
                "type": "null"
              }
            ],
            "title": "Coverage Ratio"
          },
          "median": {
            "anyOf": [
              {
                "type": "number"
              },
              {
                "type": "null"
              }
            ],
            "title": "Median"
          },
          "share_10plus_pct": {
            "anyOf": [
              {
                "type": "number"
              },
              {
                "type": "null"
              }
            ],
            "title": "Share 10Plus Pct"
          },
          "sized": {
            "anyOf": [
              {
                "type": "integer"
              },
              {
                "type": "null"
              }
            ],
            "title": "Sized"
          }
        },
        "required": [
          "sized",
          "median",
          "share_10plus_pct",
          "coverage_ratio"
        ],
        "title": "EmployerHeadlineOut",
        "type": "object"
      },
      "EmployerZipOut": {
        "properties": {
          "city": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "title": "City"
          },
          "heads": {
            "anyOf": [
              {
                "type": "integer"
              },
              {
                "type": "null"
              }
            ],
            "title": "Heads"
          },
          "n": {
            "title": "N",
            "type": "integer"
          },
          "zip": {
            "title": "Zip",
            "type": "string"
          }
        },
        "required": [
          "zip",
          "city",
          "n",
          "heads"
        ],
        "title": "EmployerZipOut",
        "type": "object"
      },
      "EntityMixOut": {
        "properties": {
          "count": {
            "title": "Count",
            "type": "integer"
          },
          "label": {
            "title": "Label",
            "type": "string"
          },
          "type": {
            "enum": [
              "llc",
              "corporation",
              "other"
            ],
            "title": "Type",
            "type": "string"
          }
        },
        "required": [
          "type",
          "label",
          "count"
        ],
        "title": "EntityMixOut",
        "type": "object"
      },
      "EventItemOut": {
        "properties": {
          "business": {
            "$ref": "#/components/schemas/BusinessSummaryOut"
          },
          "detail": {
            "title": "Detail",
            "type": "string"
          },
          "event_date": {
            "format": "date",
            "title": "Event Date",
            "type": "string"
          },
          "event_kind": {
            "title": "Event Kind",
            "type": "string"
          },
          "phone": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "title": "Phone"
          }
        },
        "required": [
          "business",
          "event_kind",
          "event_date",
          "detail"
        ],
        "title": "EventItemOut",
        "type": "object"
      },
      "EventsPageOut": {
        "properties": {
          "has_more": {
            "title": "Has More",
            "type": "boolean"
          },
          "items": {
            "items": {
              "$ref": "#/components/schemas/EventItemOut"
            },
            "title": "Items",
            "type": "array"
          },
          "new_7d": {
            "title": "New 7D",
            "type": "integer"
          },
          "total": {
            "title": "Total",
            "type": "integer"
          }
        },
        "required": [
          "items",
          "has_more",
          "total",
          "new_7d"
        ],
        "title": "EventsPageOut",
        "type": "object"
      },
      "EventsQueryIn": {
        "description": "Events-feed query. ``state`` is required. ``kinds`` is a comma list\n(or a JSON list) drawn from the four event kinds; omitted means all of them.\nSaved-list filters use this same model.",
        "properties": {
          "city": {
            "anyOf": [
              {
                "maxLength": 64,
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "title": "City"
          },
          "days": {
            "default": 30,
            "maximum": 90.0,
            "minimum": 1.0,
            "title": "Days",
            "type": "integer"
          },
          "entity_type": {
            "anyOf": [
              {
                "pattern": "^[a-z_]{2,24}$",
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "title": "Entity Type"
          },
          "kinds": {
            "anyOf": [
              {
                "items": {
                  "type": "string"
                },
                "type": "array"
              },
              {
                "type": "null"
              }
            ],
            "title": "Kinds"
          },
          "limit": {
            "default": 25,
            "maximum": 25.0,
            "minimum": 1.0,
            "title": "Limit",
            "type": "integer"
          },
          "offset": {
            "default": 0,
            "maximum": 10000.0,
            "minimum": 0.0,
            "title": "Offset",
            "type": "integer"
          },
          "state": {
            "title": "State",
            "type": "string"
          },
          "zip": {
            "anyOf": [
              {
                "pattern": "^\\d{5}$",
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "title": "Zip"
          }
        },
        "required": [
          "state"
        ],
        "title": "EventsQueryIn",
        "type": "object"
      },
      "FacilityExploreOut": {
        "properties": {
          "available": {
            "title": "Available",
            "type": "boolean"
          },
          "by_program": {
            "items": {
              "$ref": "#/components/schemas/LabeledCountOut"
            },
            "title": "By Program",
            "type": "array"
          },
          "by_year": {
            "items": {
              "$ref": "#/components/schemas/SiteYearOut"
            },
            "title": "By Year",
            "type": "array"
          },
          "headline": {
            "$ref": "#/components/schemas/FacilityHeadlineOut"
          },
          "industry_mix": {
            "items": {
              "$ref": "#/components/schemas/LabeledCountOut"
            },
            "title": "Industry Mix",
            "type": "array"
          },
          "state": {
            "title": "State",
            "type": "string"
          },
          "through": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "title": "Through"
          },
          "top_zips": {
            "items": {
              "$ref": "#/components/schemas/SiteZipCountOut"
            },
            "title": "Top Zips",
            "type": "array"
          },
          "zips": {
            "items": {
              "$ref": "#/components/schemas/SiteZipOut"
            },
            "title": "Zips",
            "type": "array"
          }
        },
        "required": [
          "available",
          "state",
          "through",
          "headline",
          "by_program",
          "by_year",
          "industry_mix",
          "zips",
          "top_zips"
        ],
        "title": "FacilityExploreOut",
        "type": "object"
      },
      "FacilityHeadlineOut": {
        "properties": {
          "last12": {
            "anyOf": [
              {
                "type": "integer"
              },
              {
                "type": "null"
              }
            ],
            "title": "Last12"
          },
          "matched": {
            "anyOf": [
              {
                "type": "integer"
              },
              {
                "type": "null"
              }
            ],
            "title": "Matched"
          },
          "prev12": {
            "anyOf": [
              {
                "type": "integer"
              },
              {
                "type": "null"
              }
            ],
            "title": "Prev12"
          },
          "sites": {
            "anyOf": [
              {
                "type": "integer"
              },
              {
                "type": "null"
              }
            ],
            "title": "Sites"
          },
          "zips25": {
            "anyOf": [
              {
                "type": "integer"
              },
              {
                "type": "null"
              }
            ],
            "title": "Zips25"
          }
        },
        "required": [
          "sites",
          "last12",
          "prev12",
          "matched",
          "zips25"
        ],
        "title": "FacilityHeadlineOut",
        "type": "object"
      },
      "FeedbackIn": {
        "properties": {
          "app_version": {
            "anyOf": [
              {
                "maxLength": 40,
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "title": "App Version"
          },
          "kind": {
            "$ref": "#/components/schemas/FeedbackKind"
          },
          "message": {
            "maxLength": 4000,
            "minLength": 3,
            "title": "Message",
            "type": "string"
          },
          "organization_id": {
            "anyOf": [
              {
                "format": "uuid",
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "title": "Organization Id"
          },
          "page_path": {
            "default": "",
            "maxLength": 200,
            "title": "Page Path",
            "type": "string"
          },
          "rating": {
            "anyOf": [
              {
                "maximum": 5.0,
                "minimum": 1.0,
                "type": "integer"
              },
              {
                "type": "null"
              }
            ],
            "title": "Rating"
          },
          "screenshot": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "title": "Screenshot"
          },
          "screenshot_mime": {
            "anyOf": [
              {
                "maxLength": 32,
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "title": "Screenshot Mime"
          },
          "source": {
            "$ref": "#/components/schemas/FeedbackSource"
          }
        },
        "required": [
          "kind",
          "source",
          "message"
        ],
        "title": "FeedbackIn",
        "type": "object"
      },
      "FeedbackKind": {
        "description": "What the user is telling us. Keep stable \u2014 used in admin filters.",
        "enum": [
          "bug",
          "idea",
          "praise",
          "other"
        ],
        "title": "FeedbackKind",
        "type": "string"
      },
      "FeedbackOut": {
        "description": "Deliberately does not echo `message` \u2014 nothing needs it back.",
        "properties": {
          "created_at": {
            "format": "date-time",
            "title": "Created At",
            "type": "string"
          },
          "id": {
            "format": "uuid",
            "title": "Id",
            "type": "string"
          },
          "kind": {
            "$ref": "#/components/schemas/FeedbackKind"
          },
          "rating": {
            "anyOf": [
              {
                "type": "integer"
              },
              {
                "type": "null"
              }
            ],
            "title": "Rating"
          }
        },
        "required": [
          "id",
          "kind",
          "rating",
          "created_at"
        ],
        "title": "FeedbackOut",
        "type": "object"
      },
      "FeedbackPromptIn": {
        "properties": {
          "state": {
            "$ref": "#/components/schemas/PromptState"
          }
        },
        "required": [
          "state"
        ],
        "title": "FeedbackPromptIn",
        "type": "object"
      },
      "FeedbackPromptOut": {
        "properties": {
          "action_threshold": {
            "title": "Action Threshold",
            "type": "integer"
          },
          "ask_count": {
            "title": "Ask Count",
            "type": "integer"
          },
          "eligible": {
            "title": "Eligible",
            "type": "boolean"
          },
          "snooze_until": {
            "anyOf": [
              {
                "format": "date-time",
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "title": "Snooze Until"
          },
          "state": {
            "anyOf": [
              {
                "$ref": "#/components/schemas/PromptState"
              },
              {
                "type": "null"
              }
            ]
          }
        },
        "required": [
          "state",
          "eligible",
          "ask_count",
          "action_threshold",
          "snooze_until"
        ],
        "title": "FeedbackPromptOut",
        "type": "object"
      },
      "FeedbackSource": {
        "description": "Which entry point produced the row \u2014 tells us what actually gets used.",
        "enum": [
          "inline",
          "bubble",
          "prompt"
        ],
        "title": "FeedbackSource",
        "type": "string"
      },
      "FiscalYearOut": {
        "properties": {
          "approved": {
            "anyOf": [
              {
                "type": "number"
              },
              {
                "type": "null"
              }
            ],
            "title": "Approved"
          },
          "fy": {
            "title": "Fy",
            "type": "integer"
          },
          "label": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "title": "Label"
          },
          "n": {
            "title": "N",
            "type": "integer"
          },
          "partial": {
            "title": "Partial",
            "type": "boolean"
          }
        },
        "required": [
          "fy",
          "label",
          "n",
          "approved",
          "partial"
        ],
        "title": "FiscalYearOut",
        "type": "object"
      },
      "ForgotPasswordRequest": {
        "properties": {
          "email": {
            "format": "email",
            "title": "Email",
            "type": "string"
          }
        },
        "required": [
          "email"
        ],
        "title": "ForgotPasswordRequest",
        "type": "object"
      },
      "FormationKpisOut": {
        "properties": {
          "llc_12m": {
            "$ref": "#/components/schemas/LlcShareOut"
          },
          "prev_year": {
            "$ref": "#/components/schemas/PrevYearOut"
          },
          "top_agent_12m": {
            "$ref": "#/components/schemas/TopAgentOut"
          },
          "ytd": {
            "$ref": "#/components/schemas/YtdOut"
          }
        },
        "required": [
          "prev_year",
          "ytd",
          "llc_12m",
          "top_agent_12m"
        ],
        "title": "FormationKpisOut",
        "type": "object"
      },
      "FormationZipOut": {
        "properties": {
          "city": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "title": "City"
          },
          "count": {
            "title": "Count",
            "type": "integer"
          },
          "lat": {
            "anyOf": [
              {
                "type": "number"
              },
              {
                "type": "null"
              }
            ],
            "title": "Lat"
          },
          "lon": {
            "anyOf": [
              {
                "type": "number"
              },
              {
                "type": "null"
              }
            ],
            "title": "Lon"
          },
          "zip5": {
            "title": "Zip5",
            "type": "string"
          }
        },
        "required": [
          "zip5",
          "city",
          "lat",
          "lon",
          "count"
        ],
        "title": "FormationZipOut",
        "type": "object"
      },
      "FormationsOut": {
        "properties": {
          "agent_note": {
            "anyOf": [
              {
                "$ref": "#/components/schemas/AgentNoteOut"
              },
              {
                "type": "null"
              }
            ]
          },
          "entity_mix": {
            "items": {
              "$ref": "#/components/schemas/EntityMixOut"
            },
            "title": "Entity Mix",
            "type": "array"
          },
          "kpis": {
            "$ref": "#/components/schemas/FormationKpisOut"
          },
          "months": {
            "items": {
              "$ref": "#/components/schemas/app__domains__businesses__interface__explore_schemas__MonthCountOut"
            },
            "title": "Months",
            "type": "array"
          },
          "state": {
            "title": "State",
            "type": "string"
          },
          "through": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "title": "Through"
          },
          "top_zips": {
            "items": {
              "$ref": "#/components/schemas/TopZipOut"
            },
            "title": "Top Zips",
            "type": "array"
          },
          "total_entities": {
            "title": "Total Entities",
            "type": "integer"
          },
          "window_end": {
            "title": "Window End",
            "type": "string"
          },
          "window_start": {
            "title": "Window Start",
            "type": "string"
          },
          "zips": {
            "items": {
              "$ref": "#/components/schemas/FormationZipOut"
            },
            "title": "Zips",
            "type": "array"
          }
        },
        "required": [
          "state",
          "total_entities",
          "through",
          "window_start",
          "window_end",
          "kpis",
          "months",
          "entity_mix",
          "zips",
          "top_zips",
          "agent_note"
        ],
        "title": "FormationsOut",
        "type": "object"
      },
      "GenerationOut": {
        "properties": {
          "completed_at": {
            "anyOf": [
              {
                "format": "date-time",
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "title": "Completed At"
          },
          "created_at": {
            "format": "date-time",
            "title": "Created At",
            "type": "string"
          },
          "credits_cost": {
            "title": "Credits Cost",
            "type": "integer"
          },
          "error": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "title": "Error"
          },
          "has_file": {
            "title": "Has File",
            "type": "boolean"
          },
          "id": {
            "format": "uuid",
            "title": "Id",
            "type": "string"
          },
          "kind": {
            "$ref": "#/components/schemas/CreditAction"
          },
          "mime_type": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "title": "Mime Type"
          },
          "model": {
            "title": "Model",
            "type": "string"
          },
          "prompt": {
            "title": "Prompt",
            "type": "string"
          },
          "status": {
            "$ref": "#/components/schemas/GenerationStatus"
          }
        },
        "required": [
          "id",
          "kind",
          "model",
          "prompt",
          "status",
          "credits_cost",
          "mime_type",
          "error",
          "has_file",
          "created_at",
          "completed_at"
        ],
        "title": "GenerationOut",
        "type": "object"
      },
      "GenerationStatus": {
        "enum": [
          "pending",
          "succeeded",
          "failed",
          "canceled"
        ],
        "title": "GenerationStatus",
        "type": "string"
      },
      "GeoLevel": {
        "enum": [
          "block_group",
          "tract",
          "zip",
          "county"
        ],
        "title": "GeoLevel",
        "type": "string"
      },
      "GrowthBucketOut": {
        "properties": {
          "bucket": {
            "title": "Bucket",
            "type": "string"
          },
          "n": {
            "title": "N",
            "type": "integer"
          },
          "pct": {
            "anyOf": [
              {
                "type": "number"
              },
              {
                "type": "null"
              }
            ],
            "title": "Pct"
          }
        },
        "required": [
          "bucket",
          "n",
          "pct"
        ],
        "title": "GrowthBucketOut",
        "type": "object"
      },
      "HTTPValidationError": {
        "properties": {
          "detail": {
            "items": {
              "$ref": "#/components/schemas/ValidationError"
            },
            "title": "Detail",
            "type": "array"
          }
        },
        "title": "HTTPValidationError",
        "type": "object"
      },
      "HealthAccessOut": {
        "properties": {
          "share_fair_poor_health": {
            "anyOf": [
              {
                "type": "number"
              },
              {
                "type": "null"
              }
            ],
            "title": "Share Fair Poor Health"
          },
          "share_food_insecure": {
            "anyOf": [
              {
                "type": "number"
              },
              {
                "type": "null"
              }
            ],
            "title": "Share Food Insecure"
          },
          "share_housing_insecure": {
            "anyOf": [
              {
                "type": "number"
              },
              {
                "type": "null"
              }
            ],
            "title": "Share Housing Insecure"
          },
          "share_no_reliable_transport": {
            "anyOf": [
              {
                "type": "number"
              },
              {
                "type": "null"
              }
            ],
            "title": "Share No Reliable Transport"
          },
          "share_routine_checkup": {
            "anyOf": [
              {
                "type": "number"
              },
              {
                "type": "null"
              }
            ],
            "title": "Share Routine Checkup"
          },
          "share_uninsured_18_64": {
            "anyOf": [
              {
                "type": "number"
              },
              {
                "type": "null"
              }
            ],
            "title": "Share Uninsured 18 64"
          },
          "share_utility_shutoff_threat": {
            "anyOf": [
              {
                "type": "number"
              },
              {
                "type": "null"
              }
            ],
            "title": "Share Utility Shutoff Threat"
          }
        },
        "title": "HealthAccessOut",
        "type": "object"
      },
      "HistoryOut": {
        "properties": {
          "items": {
            "items": {
              "$ref": "#/components/schemas/TransactionOut"
            },
            "title": "Items",
            "type": "array"
          },
          "total": {
            "title": "Total",
            "type": "integer"
          }
        },
        "required": [
          "items",
          "total"
        ],
        "title": "HistoryOut",
        "type": "object"
      },
      "HitLinkOut": {
        "properties": {
          "ref": {
            "title": "Ref",
            "type": "string"
          },
          "type": {
            "enum": [
              "property",
              "contractor"
            ],
            "title": "Type",
            "type": "string"
          }
        },
        "required": [
          "type",
          "ref"
        ],
        "title": "HitLinkOut",
        "type": "object"
      },
      "HitOut": {
        "properties": {
          "detail": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "title": "Detail"
          },
          "event_kind": {
            "enum": [
              "new_business",
              "permit",
              "code_case",
              "str_registration",
              "license_change"
            ],
            "title": "Event Kind",
            "type": "string"
          },
          "id": {
            "format": "uuid",
            "title": "Id",
            "type": "string"
          },
          "label": {
            "title": "Label",
            "type": "string"
          },
          "link": {
            "anyOf": [
              {
                "$ref": "#/components/schemas/HitLinkOut"
              },
              {
                "type": "null"
              }
            ]
          },
          "occurred_on": {
            "format": "date",
            "title": "Occurred On",
            "type": "string"
          },
          "watch_id": {
            "format": "uuid",
            "title": "Watch Id",
            "type": "string"
          },
          "watch_name": {
            "title": "Watch Name",
            "type": "string"
          },
          "where_text": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "title": "Where Text"
          }
        },
        "required": [
          "id",
          "watch_id",
          "watch_name",
          "occurred_on",
          "event_kind",
          "label",
          "detail",
          "where_text",
          "link"
        ],
        "title": "HitOut",
        "type": "object"
      },
      "HitPageOut": {
        "properties": {
          "items": {
            "items": {
              "$ref": "#/components/schemas/HitOut"
            },
            "title": "Items",
            "type": "array"
          },
          "next_cursor": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "title": "Next Cursor"
          },
          "total": {
            "title": "Total",
            "type": "integer"
          }
        },
        "required": [
          "items",
          "next_cursor",
          "total"
        ],
        "title": "HitPageOut",
        "type": "object"
      },
      "HouseholdMemberOut": {
        "description": "Person linked to the queried address \u2014 contact fields masked.",
        "properties": {
          "age": {
            "anyOf": [
              {
                "type": "integer"
              },
              {
                "type": "null"
              }
            ],
            "title": "Age"
          },
          "deceased": {
            "title": "Deceased",
            "type": "boolean"
          },
          "email_masked": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "title": "Email Masked"
          },
          "first_name": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "title": "First Name"
          },
          "full_name": {
            "title": "Full Name",
            "type": "string"
          },
          "gender": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "title": "Gender"
          },
          "id": {
            "title": "Id",
            "type": "string"
          },
          "last_name": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "title": "Last Name"
          },
          "matched_address": {
            "$ref": "#/components/schemas/MatchedAddressOut"
          },
          "phone_masked": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "title": "Phone Masked"
          },
          "residency": {
            "title": "Residency",
            "type": "string"
          }
        },
        "required": [
          "id",
          "full_name",
          "first_name",
          "last_name",
          "gender",
          "age",
          "deceased",
          "residency",
          "matched_address",
          "email_masked",
          "phone_masked"
        ],
        "title": "HouseholdMemberOut",
        "type": "object"
      },
      "HouseholdPageOut": {
        "properties": {
          "address_key": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "title": "Address Key"
          },
          "current_count": {
            "default": 0,
            "title": "Current Count",
            "type": "integer"
          },
          "has_more": {
            "title": "Has More",
            "type": "boolean"
          },
          "historical_count": {
            "default": 0,
            "title": "Historical Count",
            "type": "integer"
          },
          "items": {
            "items": {
              "$ref": "#/components/schemas/HouseholdMemberOut"
            },
            "title": "Items",
            "type": "array"
          },
          "limit": {
            "title": "Limit",
            "type": "integer"
          },
          "offset": {
            "title": "Offset",
            "type": "integer"
          }
        },
        "required": [
          "items",
          "has_more",
          "limit",
          "offset"
        ],
        "title": "HouseholdPageOut",
        "type": "object"
      },
      "HousingMarketOut": {
        "properties": {
          "hpi_1y_change": {
            "anyOf": [
              {
                "type": "number"
              },
              {
                "type": "null"
              }
            ],
            "title": "Hpi 1Y Change"
          },
          "hpi_5y_change": {
            "anyOf": [
              {
                "type": "number"
              },
              {
                "type": "null"
              }
            ],
            "title": "Hpi 5Y Change"
          },
          "hpi_latest_year": {
            "anyOf": [
              {
                "type": "integer"
              },
              {
                "type": "null"
              }
            ],
            "title": "Hpi Latest Year"
          }
        },
        "title": "HousingMarketOut",
        "type": "object"
      },
      "IdentityCheckIn": {
        "description": "Submitted attributes for a Match / No match / Needs review check.\n\nProvide email and/or phone (at least one required by policy).",
        "properties": {
          "city": {
            "anyOf": [
              {
                "maxLength": 128,
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "title": "City"
          },
          "date_of_birth": {
            "maxLength": 32,
            "minLength": 4,
            "title": "Date Of Birth",
            "type": "string"
          },
          "email": {
            "anyOf": [
              {
                "maxLength": 255,
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "title": "Email"
          },
          "full_name": {
            "maxLength": 256,
            "minLength": 1,
            "title": "Full Name",
            "type": "string"
          },
          "phone": {
            "anyOf": [
              {
                "maxLength": 32,
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "title": "Phone"
          },
          "state": {
            "anyOf": [
              {
                "maxLength": 2,
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "title": "State"
          },
          "zip": {
            "anyOf": [
              {
                "maxLength": 10,
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "title": "Zip"
          }
        },
        "required": [
          "full_name",
          "date_of_birth"
        ],
        "title": "IdentityCheckIn",
        "type": "object"
      },
      "IdentityCheckOut": {
        "description": "Authenticated check \u2014 outcome plus a masked teaser and record id.",
        "properties": {
          "match_confidence": {
            "title": "Match Confidence",
            "type": "integer"
          },
          "outcome": {
            "title": "Outcome",
            "type": "string"
          },
          "record_id": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "title": "Record Id"
          },
          "score": {
            "title": "Score",
            "type": "integer"
          },
          "signals": {
            "default": [],
            "items": {
              "type": "string"
            },
            "title": "Signals",
            "type": "array"
          },
          "teaser": {
            "anyOf": [
              {
                "$ref": "#/components/schemas/RecordSummaryOut"
              },
              {
                "type": "null"
              }
            ]
          }
        },
        "required": [
          "outcome",
          "match_confidence",
          "score"
        ],
        "title": "IdentityCheckOut",
        "type": "object"
      },
      "IdentityCheckPublicOut": {
        "description": "Coarse public result \u2014 no PII, signup gate for the full record.",
        "properties": {
          "match_confidence": {
            "title": "Match Confidence",
            "type": "integer"
          },
          "outcome": {
            "title": "Outcome",
            "type": "string"
          },
          "score": {
            "title": "Score",
            "type": "integer"
          },
          "signals": {
            "default": [],
            "items": {
              "type": "string"
            },
            "title": "Signals",
            "type": "array"
          },
          "signup_required": {
            "default": true,
            "title": "Signup Required",
            "type": "boolean"
          }
        },
        "required": [
          "outcome",
          "match_confidence",
          "score"
        ],
        "title": "IdentityCheckPublicOut",
        "type": "object"
      },
      "IncomeTaxOut": {
        "properties": {
          "mean_agi": {
            "anyOf": [
              {
                "type": "integer"
              },
              {
                "type": "null"
              }
            ],
            "title": "Mean Agi"
          },
          "returns": {
            "anyOf": [
              {
                "type": "integer"
              },
              {
                "type": "null"
              }
            ],
            "title": "Returns"
          },
          "share_agi_200k_plus": {
            "anyOf": [
              {
                "type": "number"
              },
              {
                "type": "null"
              }
            ],
            "title": "Share Agi 200K Plus"
          },
          "share_business_income": {
            "anyOf": [
              {
                "type": "number"
              },
              {
                "type": "null"
              }
            ],
            "title": "Share Business Income"
          },
          "share_cap_gains": {
            "anyOf": [
              {
                "type": "number"
              },
              {
                "type": "null"
              }
            ],
            "title": "Share Cap Gains"
          },
          "share_dividends": {
            "anyOf": [
              {
                "type": "number"
              },
              {
                "type": "null"
              }
            ],
            "title": "Share Dividends"
          },
          "share_eitc": {
            "anyOf": [
              {
                "type": "number"
              },
              {
                "type": "null"
              }
            ],
            "title": "Share Eitc"
          },
          "share_unemployment_comp": {
            "anyOf": [
              {
                "type": "number"
              },
              {
                "type": "null"
              }
            ],
            "title": "Share Unemployment Comp"
          },
          "share_wages": {
            "anyOf": [
              {
                "type": "number"
              },
              {
                "type": "null"
              }
            ],
            "title": "Share Wages"
          },
          "zip5": {
            "title": "Zip5",
            "type": "string"
          }
        },
        "required": [
          "zip5"
        ],
        "title": "IncomeTaxOut",
        "type": "object"
      },
      "InquiryMatchOut": {
        "description": "Identity previously searched on CoverFi that is not a record profile.\nContact fields are shown only when the search was charged; otherwise they\nare masked to name, state and presence markers.",
        "properties": {
          "city": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "title": "City"
          },
          "date_of_birth": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "title": "Date Of Birth"
          },
          "email": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "title": "Email"
          },
          "first_searched_at": {
            "anyOf": [
              {
                "format": "date-time",
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "title": "First Searched At"
          },
          "full_name": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "title": "Full Name"
          },
          "id": {
            "title": "Id",
            "type": "string"
          },
          "last_searched_at": {
            "anyOf": [
              {
                "format": "date-time",
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "title": "Last Searched At"
          },
          "phone": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "title": "Phone"
          },
          "state": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "title": "State"
          },
          "times_searched": {
            "title": "Times Searched",
            "type": "integer"
          },
          "zip": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "title": "Zip"
          }
        },
        "required": [
          "id",
          "full_name",
          "date_of_birth",
          "city",
          "state",
          "zip",
          "email",
          "phone",
          "times_searched",
          "first_searched_at",
          "last_searched_at"
        ],
        "title": "InquiryMatchOut",
        "type": "object"
      },
      "InvitationOut": {
        "properties": {
          "created_at": {
            "format": "date-time",
            "title": "Created At",
            "type": "string"
          },
          "email": {
            "title": "Email",
            "type": "string"
          },
          "expires_at": {
            "format": "date-time",
            "title": "Expires At",
            "type": "string"
          },
          "id": {
            "format": "uuid",
            "title": "Id",
            "type": "string"
          },
          "role": {
            "$ref": "#/components/schemas/Role"
          }
        },
        "required": [
          "id",
          "email",
          "role",
          "expires_at",
          "created_at"
        ],
        "title": "InvitationOut",
        "type": "object"
      },
      "InviteCreate": {
        "properties": {
          "email": {
            "format": "email",
            "title": "Email",
            "type": "string"
          },
          "role": {
            "$ref": "#/components/schemas/Role",
            "default": "member"
          }
        },
        "required": [
          "email"
        ],
        "title": "InviteCreate",
        "type": "object"
      },
      "InvoiceOut": {
        "properties": {
          "amount_due": {
            "title": "Amount Due",
            "type": "integer"
          },
          "created": {
            "format": "date-time",
            "title": "Created",
            "type": "string"
          },
          "currency": {
            "title": "Currency",
            "type": "string"
          },
          "hosted_invoice_url": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "title": "Hosted Invoice Url"
          },
          "id": {
            "title": "Id",
            "type": "string"
          },
          "invoice_pdf": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "title": "Invoice Pdf"
          },
          "number": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "title": "Number"
          },
          "status": {
            "title": "Status",
            "type": "string"
          }
        },
        "required": [
          "id",
          "number",
          "status",
          "amount_due",
          "currency",
          "created",
          "hosted_invoice_url",
          "invoice_pdf"
        ],
        "title": "InvoiceOut",
        "type": "object"
      },
      "LabeledCountOut": {
        "properties": {
          "key": {
            "title": "Key",
            "type": "string"
          },
          "label": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "title": "Label"
          },
          "n": {
            "title": "N",
            "type": "integer"
          }
        },
        "required": [
          "key",
          "label",
          "n"
        ],
        "title": "LabeledCountOut",
        "type": "object"
      },
      "LargestEmployerOut": {
        "properties": {
          "as_of": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "title": "As Of"
          },
          "business_key": {
            "title": "Business Key",
            "type": "string"
          },
          "city": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "title": "City"
          },
          "headcount": {
            "title": "Headcount",
            "type": "integer"
          },
          "name": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "title": "Name"
          }
        },
        "required": [
          "business_key",
          "name",
          "city",
          "headcount",
          "as_of"
        ],
        "title": "LargestEmployerOut",
        "type": "object"
      },
      "LastPermitOut": {
        "properties": {
          "issued_date": {
            "format": "date",
            "title": "Issued Date",
            "type": "string"
          },
          "work_class": {
            "title": "Work Class",
            "type": "string"
          }
        },
        "required": [
          "issued_date",
          "work_class"
        ],
        "title": "LastPermitOut",
        "type": "object"
      },
      "LendingExploreOut": {
        "properties": {
          "available": {
            "title": "Available",
            "type": "boolean"
          },
          "by_fy": {
            "items": {
              "$ref": "#/components/schemas/FiscalYearOut"
            },
            "title": "By Fy",
            "type": "array"
          },
          "by_program": {
            "items": {
              "$ref": "#/components/schemas/ProgramAmountOut"
            },
            "title": "By Program",
            "type": "array"
          },
          "by_size": {
            "items": {
              "$ref": "#/components/schemas/LabeledCountOut"
            },
            "title": "By Size",
            "type": "array"
          },
          "headline": {
            "$ref": "#/components/schemas/LendingHeadlineOut"
          },
          "state": {
            "title": "State",
            "type": "string"
          },
          "through": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "title": "Through"
          },
          "top_industries": {
            "items": {
              "$ref": "#/components/schemas/LabeledCountOut"
            },
            "title": "Top Industries",
            "type": "array"
          },
          "top_states": {
            "items": {
              "$ref": "#/components/schemas/LabeledCountOut"
            },
            "title": "Top States",
            "type": "array"
          }
        },
        "required": [
          "available",
          "state",
          "through",
          "headline",
          "by_fy",
          "by_program",
          "by_size",
          "top_states",
          "top_industries"
        ],
        "title": "LendingExploreOut",
        "type": "object"
      },
      "LendingHeadlineOut": {
        "properties": {
          "approved": {
            "anyOf": [
              {
                "type": "number"
              },
              {
                "type": "null"
              }
            ],
            "title": "Approved"
          },
          "fy_latest": {
            "anyOf": [
              {
                "type": "integer"
              },
              {
                "type": "null"
              }
            ],
            "title": "Fy Latest"
          },
          "fy_latest_amount": {
            "anyOf": [
              {
                "type": "number"
              },
              {
                "type": "null"
              }
            ],
            "title": "Fy Latest Amount"
          },
          "fy_latest_n": {
            "anyOf": [
              {
                "type": "integer"
              },
              {
                "type": "null"
              }
            ],
            "title": "Fy Latest N"
          },
          "fy_prev_amount": {
            "anyOf": [
              {
                "type": "number"
              },
              {
                "type": "null"
              }
            ],
            "title": "Fy Prev Amount"
          },
          "fy_prev_n": {
            "anyOf": [
              {
                "type": "integer"
              },
              {
                "type": "null"
              }
            ],
            "title": "Fy Prev N"
          },
          "jobs": {
            "anyOf": [
              {
                "type": "integer"
              },
              {
                "type": "null"
              }
            ],
            "title": "Jobs"
          },
          "loans": {
            "anyOf": [
              {
                "type": "integer"
              },
              {
                "type": "null"
              }
            ],
            "title": "Loans"
          }
        },
        "required": [
          "loans",
          "approved",
          "jobs",
          "fy_latest",
          "fy_latest_n",
          "fy_latest_amount",
          "fy_prev_n",
          "fy_prev_amount"
        ],
        "title": "LendingHeadlineOut",
        "type": "object"
      },
      "LendingOut": {
        "properties": {
          "business_age": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "title": "Business Age"
          },
          "franchise": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "title": "Franchise"
          },
          "jobs_supported": {
            "title": "Jobs Supported",
            "type": "integer"
          },
          "largest_approval": {
            "title": "Largest Approval",
            "type": "number"
          },
          "latest_approval_date": {
            "anyOf": [
              {
                "format": "date",
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "title": "Latest Approval Date"
          },
          "lender": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "title": "Lender"
          },
          "loan_count": {
            "title": "Loan Count",
            "type": "integer"
          },
          "loans": {
            "items": {
              "$ref": "#/components/schemas/LoanFactOut"
            },
            "title": "Loans",
            "type": "array"
          },
          "naics": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "title": "Naics"
          },
          "naics_desc": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "title": "Naics Desc"
          },
          "programs": {
            "items": {
              "type": "string"
            },
            "title": "Programs",
            "type": "array"
          },
          "project_county": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "title": "Project County"
          },
          "term_months": {
            "anyOf": [
              {
                "type": "integer"
              },
              {
                "type": "null"
              }
            ],
            "title": "Term Months"
          },
          "total_approved": {
            "title": "Total Approved",
            "type": "number"
          }
        },
        "required": [
          "loan_count",
          "total_approved",
          "jobs_supported",
          "programs",
          "largest_approval",
          "loans"
        ],
        "title": "LendingOut",
        "type": "object"
      },
      "LicenseOut": {
        "properties": {
          "board": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "title": "Board"
          },
          "business_key": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "title": "Business Key"
          },
          "city": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "title": "City"
          },
          "dba_name": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "title": "Dba Name"
          },
          "expires_date": {
            "anyOf": [
              {
                "format": "date",
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "title": "Expires Date"
          },
          "holder_kind": {
            "title": "Holder Kind",
            "type": "string"
          },
          "holder_name": {
            "title": "Holder Name",
            "type": "string"
          },
          "license_key": {
            "title": "License Key",
            "type": "string"
          },
          "license_number": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "title": "License Number"
          },
          "license_type": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "title": "License Type"
          },
          "original_date": {
            "anyOf": [
              {
                "format": "date",
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "title": "Original Date"
          },
          "source": {
            "title": "Source",
            "type": "string"
          },
          "state": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "title": "State"
          },
          "status": {
            "title": "Status",
            "type": "string"
          },
          "zip": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "title": "Zip"
          }
        },
        "required": [
          "license_key",
          "source",
          "holder_kind",
          "holder_name",
          "status"
        ],
        "title": "LicenseOut",
        "type": "object"
      },
      "LicenseStatsOut": {
        "properties": {
          "active": {
            "title": "Active",
            "type": "integer"
          },
          "board_options": {
            "items": {
              "type": "string"
            },
            "title": "Board Options",
            "type": "array"
          },
          "boards": {
            "items": {
              "$ref": "#/components/schemas/BoardCountOut"
            },
            "title": "Boards",
            "type": "array"
          },
          "delinquent": {
            "title": "Delinquent",
            "type": "integer"
          },
          "expiring": {
            "items": {
              "$ref": "#/components/schemas/app__domains__businesses__interface__explore_schemas__MonthCountOut"
            },
            "title": "Expiring",
            "type": "array"
          },
          "expiring_this_month": {
            "title": "Expiring This Month",
            "type": "integer"
          },
          "state": {
            "title": "State",
            "type": "string"
          },
          "statuses": {
            "items": {
              "$ref": "#/components/schemas/StatusCountOut"
            },
            "title": "Statuses",
            "type": "array"
          },
          "total": {
            "title": "Total",
            "type": "integer"
          }
        },
        "required": [
          "state",
          "total",
          "active",
          "delinquent",
          "expiring_this_month",
          "boards",
          "board_options",
          "statuses",
          "expiring"
        ],
        "title": "LicenseStatsOut",
        "type": "object"
      },
      "LifecycleOut": {
        "properties": {
          "active": {
            "title": "Active",
            "type": "integer"
          },
          "state": {
            "title": "State",
            "type": "string"
          },
          "total": {
            "title": "Total",
            "type": "integer"
          },
          "years": {
            "items": {
              "$ref": "#/components/schemas/LifecycleYearOut"
            },
            "title": "Years",
            "type": "array"
          }
        },
        "required": [
          "state",
          "total",
          "active",
          "years"
        ],
        "title": "LifecycleOut",
        "type": "object"
      },
      "LifecycleYearOut": {
        "properties": {
          "active": {
            "title": "Active",
            "type": "integer"
          },
          "formed": {
            "title": "Formed",
            "type": "integer"
          },
          "year": {
            "title": "Year",
            "type": "integer"
          }
        },
        "required": [
          "year",
          "formed",
          "active"
        ],
        "title": "LifecycleYearOut",
        "type": "object"
      },
      "LinkedBusinessOut": {
        "properties": {
          "business": {
            "$ref": "#/components/schemas/BusinessSummaryOut"
          },
          "confidence": {
            "title": "Confidence",
            "type": "number"
          },
          "email": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "title": "Email"
          },
          "method": {
            "title": "Method",
            "type": "string"
          },
          "phone": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "title": "Phone"
          }
        },
        "required": [
          "business",
          "method",
          "confidence"
        ],
        "title": "LinkedBusinessOut",
        "type": "object"
      },
      "LlcShareOut": {
        "properties": {
          "llc": {
            "title": "Llc",
            "type": "integer"
          },
          "total": {
            "title": "Total",
            "type": "integer"
          }
        },
        "required": [
          "llc",
          "total"
        ],
        "title": "LlcShareOut",
        "type": "object"
      },
      "LlmCallOut": {
        "properties": {
          "completed_at": {
            "anyOf": [
              {
                "format": "date-time",
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "title": "Completed At"
          },
          "created_at": {
            "format": "date-time",
            "title": "Created At",
            "type": "string"
          },
          "credits_cost": {
            "title": "Credits Cost",
            "type": "integer"
          },
          "error": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "title": "Error"
          },
          "id": {
            "format": "uuid",
            "title": "Id",
            "type": "string"
          },
          "model": {
            "title": "Model",
            "type": "string"
          },
          "prompt": {
            "title": "Prompt",
            "type": "string"
          },
          "provider": {
            "$ref": "#/components/schemas/LlmProvider"
          },
          "response_text": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "title": "Response Text"
          },
          "status": {
            "$ref": "#/components/schemas/LlmCallStatus"
          },
          "tokens_in": {
            "title": "Tokens In",
            "type": "integer"
          },
          "tokens_out": {
            "title": "Tokens Out",
            "type": "integer"
          }
        },
        "required": [
          "id",
          "provider",
          "model",
          "prompt",
          "status",
          "response_text",
          "tokens_in",
          "tokens_out",
          "credits_cost",
          "error",
          "created_at",
          "completed_at"
        ],
        "title": "LlmCallOut",
        "type": "object"
      },
      "LlmCallStatus": {
        "enum": [
          "pending",
          "succeeded",
          "failed"
        ],
        "title": "LlmCallStatus",
        "type": "string"
      },
      "LlmProvider": {
        "enum": [
          "gemini",
          "openai",
          "anthropic"
        ],
        "title": "LlmProvider",
        "type": "string"
      },
      "LoanFactOut": {
        "description": "One loan approved under a federal small-business lending program.",
        "properties": {
          "approval_date": {
            "anyOf": [
              {
                "format": "date",
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "title": "Approval Date"
          },
          "gross_approval": {
            "anyOf": [
              {
                "type": "number"
              },
              {
                "type": "null"
              }
            ],
            "title": "Gross Approval"
          },
          "jobs_supported": {
            "anyOf": [
              {
                "type": "integer"
              },
              {
                "type": "null"
              }
            ],
            "title": "Jobs Supported"
          },
          "lender_name": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "title": "Lender Name"
          },
          "program": {
            "title": "Program",
            "type": "string"
          },
          "term_months": {
            "anyOf": [
              {
                "type": "integer"
              },
              {
                "type": "null"
              }
            ],
            "title": "Term Months"
          }
        },
        "required": [
          "program"
        ],
        "title": "LoanFactOut",
        "type": "object"
      },
      "LocalEconomyOut": {
        "properties": {
          "zbp_annual_payroll": {
            "anyOf": [
              {
                "type": "integer"
              },
              {
                "type": "null"
              }
            ],
            "title": "Zbp Annual Payroll"
          },
          "zbp_employees": {
            "anyOf": [
              {
                "type": "integer"
              },
              {
                "type": "null"
              }
            ],
            "title": "Zbp Employees"
          },
          "zbp_establishments": {
            "anyOf": [
              {
                "type": "integer"
              },
              {
                "type": "null"
              }
            ],
            "title": "Zbp Establishments"
          }
        },
        "title": "LocalEconomyOut",
        "type": "object"
      },
      "LoginRequest": {
        "properties": {
          "email": {
            "format": "email",
            "title": "Email",
            "type": "string"
          },
          "password": {
            "maxLength": 256,
            "title": "Password",
            "type": "string"
          }
        },
        "required": [
          "email",
          "password"
        ],
        "title": "LoginRequest",
        "type": "object"
      },
      "MatchedAddressOut": {
        "properties": {
          "city": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "title": "City"
          },
          "house_number": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "title": "House Number"
          },
          "state": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "title": "State"
          },
          "street_name": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "title": "Street Name"
          },
          "street_suffix": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "title": "Street Suffix"
          },
          "unit_number": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "title": "Unit Number"
          },
          "zip": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "title": "Zip"
          }
        },
        "title": "MatchedAddressOut",
        "type": "object"
      },
      "MemberLimitIn": {
        "properties": {
          "monthly_limit": {
            "minimum": 1.0,
            "title": "Monthly Limit",
            "type": "integer"
          }
        },
        "required": [
          "monthly_limit"
        ],
        "title": "MemberLimitIn",
        "type": "object"
      },
      "MemberLimitOut": {
        "properties": {
          "email": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "title": "Email"
          },
          "monthly_limit": {
            "title": "Monthly Limit",
            "type": "integer"
          },
          "updated_at": {
            "format": "date-time",
            "title": "Updated At",
            "type": "string"
          },
          "used_this_period": {
            "title": "Used This Period",
            "type": "integer"
          },
          "user_id": {
            "format": "uuid",
            "title": "User Id",
            "type": "string"
          }
        },
        "required": [
          "user_id",
          "email",
          "monthly_limit",
          "used_this_period",
          "updated_at"
        ],
        "title": "MemberLimitOut",
        "type": "object"
      },
      "MemberOut": {
        "properties": {
          "created_at": {
            "format": "date-time",
            "title": "Created At",
            "type": "string"
          },
          "email": {
            "title": "Email",
            "type": "string"
          },
          "id": {
            "format": "uuid",
            "title": "Id",
            "type": "string"
          },
          "name": {
            "title": "Name",
            "type": "string"
          },
          "role": {
            "$ref": "#/components/schemas/Role"
          },
          "user_id": {
            "format": "uuid",
            "title": "User Id",
            "type": "string"
          }
        },
        "required": [
          "id",
          "user_id",
          "email",
          "name",
          "role",
          "created_at"
        ],
        "title": "MemberOut",
        "type": "object"
      },
      "MoreVariantsOut": {
        "properties": {
          "count": {
            "title": "Count",
            "type": "integer"
          },
          "entities": {
            "title": "Entities",
            "type": "integer"
          }
        },
        "required": [
          "count",
          "entities"
        ],
        "title": "MoreVariantsOut",
        "type": "object"
      },
      "NeighborhoodProfileOut": {
        "properties": {
          "acs": {
            "anyOf": [
              {
                "$ref": "#/components/schemas/AcsFactsOut"
              },
              {
                "type": "null"
              }
            ]
          },
          "acs_source": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "title": "Acs Source"
          },
          "attribution": {
            "title": "Attribution",
            "type": "string"
          },
          "confidence": {
            "anyOf": [
              {
                "type": "number"
              },
              {
                "type": "null"
              }
            ],
            "title": "Confidence"
          },
          "geoid": {
            "title": "Geoid",
            "type": "string"
          },
          "health_access": {
            "anyOf": [
              {
                "$ref": "#/components/schemas/HealthAccessOut"
              },
              {
                "type": "null"
              }
            ]
          },
          "housing_market": {
            "anyOf": [
              {
                "$ref": "#/components/schemas/HousingMarketOut"
              },
              {
                "type": "null"
              }
            ]
          },
          "income_tax": {
            "anyOf": [
              {
                "$ref": "#/components/schemas/IncomeTaxOut"
              },
              {
                "type": "null"
              }
            ]
          },
          "level": {
            "$ref": "#/components/schemas/GeoLevel"
          },
          "local_economy": {
            "anyOf": [
              {
                "$ref": "#/components/schemas/LocalEconomyOut"
              },
              {
                "type": "null"
              }
            ]
          },
          "name": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "title": "Name"
          },
          "resolved_via": {
            "title": "Resolved Via",
            "type": "string"
          },
          "social_capital": {
            "anyOf": [
              {
                "$ref": "#/components/schemas/SocialCapitalOut"
              },
              {
                "type": "null"
              }
            ]
          },
          "vintages": {
            "additionalProperties": {
              "type": "string"
            },
            "title": "Vintages",
            "type": "object"
          },
          "vulnerability": {
            "anyOf": [
              {
                "$ref": "#/components/schemas/VulnerabilityOut"
              },
              {
                "type": "null"
              }
            ]
          }
        },
        "required": [
          "level",
          "geoid",
          "resolved_via",
          "vintages",
          "attribution"
        ],
        "title": "NeighborhoodProfileOut",
        "type": "object"
      },
      "NetworkEdgeOut": {
        "properties": {
          "inactive": {
            "title": "Inactive",
            "type": "boolean"
          },
          "role": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "title": "Role"
          },
          "source": {
            "title": "Source",
            "type": "string"
          },
          "target": {
            "title": "Target",
            "type": "string"
          }
        },
        "required": [
          "source",
          "target",
          "inactive"
        ],
        "title": "NetworkEdgeOut",
        "type": "object"
      },
      "NetworkEntityOut": {
        "properties": {
          "business_key": {
            "title": "Business Key",
            "type": "string"
          },
          "name": {
            "title": "Name",
            "type": "string"
          },
          "role": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "title": "Role"
          },
          "status": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "title": "Status"
          }
        },
        "required": [
          "business_key",
          "name"
        ],
        "title": "NetworkEntityOut",
        "type": "object"
      },
      "NetworkNodeOut": {
        "properties": {
          "business_key": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "title": "Business Key"
          },
          "hop": {
            "title": "Hop",
            "type": "integer"
          },
          "id": {
            "title": "Id",
            "type": "string"
          },
          "kind": {
            "title": "Kind",
            "type": "string"
          },
          "label": {
            "title": "Label",
            "type": "string"
          },
          "root": {
            "title": "Root",
            "type": "boolean"
          },
          "status": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "title": "Status"
          },
          "sublabel": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "title": "Sublabel"
          }
        },
        "required": [
          "id",
          "kind",
          "label",
          "hop",
          "root"
        ],
        "title": "NetworkNodeOut",
        "type": "object"
      },
      "NewFilingOut": {
        "properties": {
          "business": {
            "$ref": "#/components/schemas/BusinessSummaryOut"
          },
          "first_seen_date": {
            "anyOf": [
              {
                "format": "date",
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "title": "First Seen Date"
          }
        },
        "required": [
          "business"
        ],
        "title": "NewFilingOut",
        "type": "object"
      },
      "NewFilingPageOut": {
        "properties": {
          "has_more": {
            "title": "Has More",
            "type": "boolean"
          },
          "items": {
            "items": {
              "$ref": "#/components/schemas/NewFilingOut"
            },
            "title": "Items",
            "type": "array"
          },
          "limit": {
            "title": "Limit",
            "type": "integer"
          },
          "offset": {
            "title": "Offset",
            "type": "integer"
          }
        },
        "required": [
          "items",
          "has_more",
          "limit",
          "offset"
        ],
        "title": "NewFilingPageOut",
        "type": "object"
      },
      "OrgCreate": {
        "properties": {
          "intended_use": {
            "maxLength": 500,
            "minLength": 1,
            "title": "Intended Use",
            "type": "string"
          },
          "name": {
            "maxLength": 120,
            "minLength": 1,
            "title": "Name",
            "type": "string"
          }
        },
        "required": [
          "name",
          "intended_use"
        ],
        "title": "OrgCreate",
        "type": "object"
      },
      "OrgDomainUpdate": {
        "description": "domain=null releases the claim.",
        "properties": {
          "domain": {
            "anyOf": [
              {
                "maxLength": 253,
                "minLength": 4,
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "title": "Domain"
          }
        },
        "title": "OrgDomainUpdate",
        "type": "object"
      },
      "OrgUpdate": {
        "properties": {
          "name": {
            "maxLength": 120,
            "minLength": 1,
            "title": "Name",
            "type": "string"
          }
        },
        "required": [
          "name"
        ],
        "title": "OrgUpdate",
        "type": "object"
      },
      "OrgWithRole": {
        "properties": {
          "created_at": {
            "format": "date-time",
            "title": "Created At",
            "type": "string"
          },
          "email_domain": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "title": "Email Domain"
          },
          "id": {
            "format": "uuid",
            "title": "Id",
            "type": "string"
          },
          "name": {
            "title": "Name",
            "type": "string"
          },
          "role": {
            "$ref": "#/components/schemas/Role"
          },
          "slug": {
            "title": "Slug",
            "type": "string"
          }
        },
        "required": [
          "id",
          "name",
          "slug",
          "created_at",
          "role"
        ],
        "title": "OrgWithRole",
        "type": "object"
      },
      "OwnerType": {
        "enum": [
          "person",
          "trust",
          "llc",
          "government",
          "unknown"
        ],
        "title": "OwnerType",
        "type": "string"
      },
      "OwnershipLinkOut": {
        "properties": {
          "parcel_id": {
            "title": "Parcel Id",
            "type": "string"
          },
          "record_id": {
            "title": "Record Id",
            "type": "string"
          }
        },
        "required": [
          "record_id",
          "parcel_id"
        ],
        "title": "OwnershipLinkOut",
        "type": "object"
      },
      "OwnershipNetworkOut": {
        "properties": {
          "depth": {
            "title": "Depth",
            "type": "integer"
          },
          "edges": {
            "items": {
              "$ref": "#/components/schemas/NetworkEdgeOut"
            },
            "title": "Edges",
            "type": "array"
          },
          "entities": {
            "items": {
              "$ref": "#/components/schemas/NetworkEntityOut"
            },
            "title": "Entities",
            "type": "array"
          },
          "hidden_agents": {
            "title": "Hidden Agents",
            "type": "integer"
          },
          "nodes": {
            "items": {
              "$ref": "#/components/schemas/NetworkNodeOut"
            },
            "title": "Nodes",
            "type": "array"
          },
          "query": {
            "title": "Query",
            "type": "string"
          },
          "state": {
            "title": "State",
            "type": "string"
          },
          "stats": {
            "$ref": "#/components/schemas/OwnershipStatsOut"
          },
          "truncated": {
            "title": "Truncated",
            "type": "boolean"
          }
        },
        "required": [
          "state",
          "query",
          "depth",
          "stats",
          "nodes",
          "edges",
          "entities",
          "hidden_agents",
          "truncated"
        ],
        "title": "OwnershipNetworkOut",
        "type": "object"
      },
      "OwnershipStatsOut": {
        "properties": {
          "agent_names": {
            "title": "Agent Names",
            "type": "integer"
          },
          "businesses_with_person": {
            "title": "Businesses With Person",
            "type": "integer"
          },
          "names_on_10plus": {
            "title": "Names On 10Plus",
            "type": "integer"
          },
          "officer_rows": {
            "title": "Officer Rows",
            "type": "integer"
          }
        },
        "required": [
          "officer_rows",
          "businesses_with_person",
          "names_on_10plus",
          "agent_names"
        ],
        "title": "OwnershipStatsOut",
        "type": "object"
      },
      "ParcelOut": {
        "properties": {
          "assessed_value": {
            "anyOf": [
              {
                "type": "integer"
              },
              {
                "type": "null"
              }
            ],
            "title": "Assessed Value"
          },
          "last_sale_price": {
            "anyOf": [
              {
                "type": "integer"
              },
              {
                "type": "null"
              }
            ],
            "title": "Last Sale Price"
          },
          "last_sale_year": {
            "anyOf": [
              {
                "type": "integer"
              },
              {
                "type": "null"
              }
            ],
            "title": "Last Sale Year"
          },
          "mailing_address": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "title": "Mailing Address"
          },
          "mailing_city": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "title": "Mailing City"
          },
          "mailing_state": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "title": "Mailing State"
          },
          "mailing_zip": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "title": "Mailing Zip"
          },
          "owner_name": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "title": "Owner Name"
          },
          "owner_type": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "title": "Owner Type"
          },
          "parcel_id": {
            "title": "Parcel Id",
            "type": "string"
          },
          "situs_address": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "title": "Situs Address"
          },
          "situs_city": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "title": "Situs City"
          },
          "situs_zip": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "title": "Situs Zip"
          }
        },
        "required": [
          "parcel_id",
          "owner_name",
          "owner_type",
          "situs_address",
          "situs_city",
          "situs_zip",
          "mailing_address",
          "mailing_city",
          "mailing_state",
          "mailing_zip",
          "last_sale_year",
          "last_sale_price",
          "assessed_value"
        ],
        "title": "ParcelOut",
        "type": "object"
      },
      "PayPerHeadOut": {
        "properties": {
          "label": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "title": "Label"
          },
          "median": {
            "anyOf": [
              {
                "type": "number"
              },
              {
                "type": "null"
              }
            ],
            "title": "Median"
          },
          "n": {
            "title": "N",
            "type": "integer"
          },
          "naics2": {
            "title": "Naics2",
            "type": "string"
          }
        },
        "required": [
          "naics2",
          "label",
          "median",
          "n"
        ],
        "title": "PayPerHeadOut",
        "type": "object"
      },
      "PercentileOut": {
        "properties": {
          "state": {
            "anyOf": [
              {
                "type": "integer"
              },
              {
                "type": "null"
              }
            ],
            "title": "State"
          },
          "us": {
            "anyOf": [
              {
                "type": "integer"
              },
              {
                "type": "null"
              }
            ],
            "title": "Us"
          }
        },
        "title": "PercentileOut",
        "type": "object"
      },
      "PermitContractorOut": {
        "properties": {
          "license_number": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "title": "License Number"
          },
          "name": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "title": "Name"
          },
          "owner_builder": {
            "title": "Owner Builder",
            "type": "boolean"
          }
        },
        "required": [
          "owner_builder"
        ],
        "title": "PermitContractorOut",
        "type": "object"
      },
      "PermitPageOut": {
        "properties": {
          "items": {
            "items": {
              "$ref": "#/components/schemas/ContractorPermitOut"
            },
            "title": "Items",
            "type": "array"
          },
          "next_cursor": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "title": "Next Cursor"
          },
          "total": {
            "title": "Total",
            "type": "integer"
          }
        },
        "required": [
          "items",
          "total"
        ],
        "title": "PermitPageOut",
        "type": "object"
      },
      "PermitSummaryOut": {
        "properties": {
          "first_permit_year": {
            "anyOf": [
              {
                "type": "integer"
              },
              {
                "type": "null"
              }
            ],
            "title": "First Permit Year"
          },
          "last_permit": {
            "anyOf": [
              {
                "$ref": "#/components/schemas/LastPermitOut"
              },
              {
                "type": "null"
              }
            ]
          },
          "next_open_expiry": {
            "anyOf": [
              {
                "format": "date",
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "title": "Next Open Expiry"
          },
          "open_permits": {
            "title": "Open Permits",
            "type": "integer"
          },
          "permit_count": {
            "title": "Permit Count",
            "type": "integer"
          },
          "total_job_value": {
            "anyOf": [
              {
                "type": "number"
              },
              {
                "type": "null"
              }
            ],
            "title": "Total Job Value"
          }
        },
        "required": [
          "permit_count",
          "open_permits"
        ],
        "title": "PermitSummaryOut",
        "type": "object"
      },
      "PermitTriggerIn": {
        "properties": {
          "enabled": {
            "default": false,
            "title": "Enabled",
            "type": "boolean"
          },
          "min_job_value": {
            "anyOf": [
              {
                "minimum": 0.0,
                "type": "integer"
              },
              {
                "type": "null"
              }
            ],
            "title": "Min Job Value"
          }
        },
        "title": "PermitTriggerIn",
        "type": "object"
      },
      "PermitTriggerOut": {
        "properties": {
          "enabled": {
            "title": "Enabled",
            "type": "boolean"
          },
          "min_job_value": {
            "anyOf": [
              {
                "type": "integer"
              },
              {
                "type": "null"
              }
            ],
            "title": "Min Job Value"
          }
        },
        "required": [
          "enabled",
          "min_job_value"
        ],
        "title": "PermitTriggerOut",
        "type": "object"
      },
      "PersonAppointmentOut": {
        "properties": {
          "business": {
            "$ref": "#/components/schemas/BusinessSummaryOut"
          },
          "city": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "title": "City"
          },
          "name": {
            "title": "Name",
            "type": "string"
          },
          "role": {
            "title": "Role",
            "type": "string"
          },
          "state": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "title": "State"
          },
          "title": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "title": "Title"
          },
          "zip": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "title": "Zip"
          }
        },
        "required": [
          "name",
          "role",
          "business"
        ],
        "title": "PersonAppointmentOut",
        "type": "object"
      },
      "PersonPageOut": {
        "properties": {
          "has_more": {
            "title": "Has More",
            "type": "boolean"
          },
          "items": {
            "items": {
              "$ref": "#/components/schemas/PersonAppointmentOut"
            },
            "title": "Items",
            "type": "array"
          },
          "limit": {
            "title": "Limit",
            "type": "integer"
          },
          "offset": {
            "title": "Offset",
            "type": "integer"
          }
        },
        "required": [
          "items",
          "has_more",
          "limit",
          "offset"
        ],
        "title": "PersonPageOut",
        "type": "object"
      },
      "PlaceTypeCountOut": {
        "properties": {
          "key": {
            "title": "Key",
            "type": "string"
          },
          "residents": {
            "title": "Residents",
            "type": "integer"
          },
          "zips": {
            "title": "Zips",
            "type": "integer"
          }
        },
        "required": [
          "key",
          "zips",
          "residents"
        ],
        "title": "PlaceTypeCountOut",
        "type": "object"
      },
      "PortfolioDetailOut": {
        "properties": {
          "counters": {
            "$ref": "#/components/schemas/CountersOut"
          },
          "created_at": {
            "format": "date-time",
            "title": "Created At",
            "type": "string"
          },
          "dataset_version": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "title": "Dataset Version"
          },
          "id": {
            "format": "uuid",
            "title": "Id",
            "type": "string"
          },
          "last_checked_at": {
            "anyOf": [
              {
                "format": "date-time",
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "title": "Last Checked At"
          },
          "name": {
            "title": "Name",
            "type": "string"
          },
          "row_count": {
            "title": "Row Count",
            "type": "integer"
          },
          "source_filename": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "title": "Source Filename"
          },
          "status": {
            "enum": [
              "matching",
              "ready"
            ],
            "title": "Status",
            "type": "string"
          },
          "updated_at": {
            "format": "date-time",
            "title": "Updated At",
            "type": "string"
          }
        },
        "required": [
          "id",
          "name",
          "source_filename",
          "row_count",
          "status",
          "dataset_version",
          "last_checked_at",
          "created_at",
          "updated_at",
          "counters"
        ],
        "title": "PortfolioDetailOut",
        "type": "object"
      },
      "PortfolioListOut": {
        "properties": {
          "items": {
            "items": {
              "$ref": "#/components/schemas/PortfolioOut"
            },
            "title": "Items",
            "type": "array"
          }
        },
        "required": [
          "items"
        ],
        "title": "PortfolioListOut",
        "type": "object"
      },
      "PortfolioOut": {
        "properties": {
          "created_at": {
            "format": "date-time",
            "title": "Created At",
            "type": "string"
          },
          "dataset_version": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "title": "Dataset Version"
          },
          "id": {
            "format": "uuid",
            "title": "Id",
            "type": "string"
          },
          "last_checked_at": {
            "anyOf": [
              {
                "format": "date-time",
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "title": "Last Checked At"
          },
          "name": {
            "title": "Name",
            "type": "string"
          },
          "row_count": {
            "title": "Row Count",
            "type": "integer"
          },
          "source_filename": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "title": "Source Filename"
          },
          "status": {
            "enum": [
              "matching",
              "ready"
            ],
            "title": "Status",
            "type": "string"
          },
          "updated_at": {
            "format": "date-time",
            "title": "Updated At",
            "type": "string"
          }
        },
        "required": [
          "id",
          "name",
          "source_filename",
          "row_count",
          "status",
          "dataset_version",
          "last_checked_at",
          "created_at",
          "updated_at"
        ],
        "title": "PortfolioOut",
        "type": "object"
      },
      "PrevYearOut": {
        "properties": {
          "count": {
            "title": "Count",
            "type": "integer"
          },
          "prior": {
            "title": "Prior",
            "type": "integer"
          },
          "year": {
            "title": "Year",
            "type": "integer"
          }
        },
        "required": [
          "year",
          "count",
          "prior"
        ],
        "title": "PrevYearOut",
        "type": "object"
      },
      "PreviewOut": {
        "properties": {
          "matches_7d": {
            "title": "Matches 7D",
            "type": "integer"
          }
        },
        "required": [
          "matches_7d"
        ],
        "title": "PreviewOut",
        "type": "object"
      },
      "PrivacyRequestSubmitIn": {
        "properties": {
          "notes": {
            "anyOf": [
              {
                "maxLength": 2000,
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "title": "Notes"
          },
          "request_type": {
            "enum": [
              "access",
              "delete",
              "suppress"
            ],
            "title": "Request Type",
            "type": "string"
          },
          "requester_email": {
            "format": "email",
            "title": "Requester Email",
            "type": "string"
          },
          "requester_name": {
            "anyOf": [
              {
                "maxLength": 255,
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "title": "Requester Name"
          },
          "subject_consumer_key": {
            "anyOf": [
              {
                "maxLength": 160,
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "title": "Subject Consumer Key"
          },
          "subject_email": {
            "anyOf": [
              {
                "format": "email",
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "title": "Subject Email"
          },
          "subject_first_name": {
            "anyOf": [
              {
                "maxLength": 128,
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "title": "Subject First Name"
          },
          "subject_last_name": {
            "anyOf": [
              {
                "maxLength": 128,
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "title": "Subject Last Name"
          },
          "subject_phone": {
            "anyOf": [
              {
                "maxLength": 32,
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "title": "Subject Phone"
          }
        },
        "required": [
          "request_type",
          "requester_email"
        ],
        "title": "PrivacyRequestSubmitIn",
        "type": "object"
      },
      "PrivacyRequestSubmitOut": {
        "properties": {
          "deadline_at": {
            "anyOf": [
              {
                "format": "date-time",
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "title": "Deadline At"
          },
          "id": {
            "format": "uuid",
            "title": "Id",
            "type": "string"
          },
          "message": {
            "default": "We received your request. We may contact you to verify your identity before fulfilling it.",
            "title": "Message",
            "type": "string"
          },
          "request_type": {
            "enum": [
              "access",
              "delete",
              "suppress"
            ],
            "title": "Request Type",
            "type": "string"
          },
          "status": {
            "enum": [
              "received",
              "verified",
              "forwarded",
              "fulfilled",
              "closed",
              "rejected"
            ],
            "title": "Status",
            "type": "string"
          }
        },
        "required": [
          "id",
          "request_type",
          "status",
          "deadline_at"
        ],
        "title": "PrivacyRequestSubmitOut",
        "type": "object"
      },
      "ProgramAmountOut": {
        "properties": {
          "approved": {
            "anyOf": [
              {
                "type": "number"
              },
              {
                "type": "null"
              }
            ],
            "title": "Approved"
          },
          "key": {
            "title": "Key",
            "type": "string"
          },
          "label": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "title": "Label"
          },
          "n": {
            "title": "N",
            "type": "integer"
          }
        },
        "required": [
          "key",
          "label",
          "n",
          "approved"
        ],
        "title": "ProgramAmountOut",
        "type": "object"
      },
      "PromptState": {
        "description": "Terminal-ness matters: SUBMITTED is forever, DISMISSED is a long snooze.",
        "enum": [
          "asked",
          "dismissed",
          "submitted"
        ],
        "title": "PromptState",
        "type": "string"
      },
      "PropertyActivityOut": {
        "properties": {
          "certificates_of_use": {
            "items": {
              "$ref": "#/components/schemas/CertificateOfUseOut"
            },
            "title": "Certificates Of Use",
            "type": "array"
          },
          "code_cases": {
            "items": {
              "$ref": "#/components/schemas/CodeCaseOut"
            },
            "title": "Code Cases",
            "type": "array"
          },
          "permits": {
            "items": {
              "$ref": "#/components/schemas/app__domains__local_activity__interface__schemas__PermitOut"
            },
            "title": "Permits",
            "type": "array"
          },
          "summary": {
            "$ref": "#/components/schemas/PermitSummaryOut"
          }
        },
        "required": [
          "summary",
          "permits",
          "code_cases",
          "certificates_of_use"
        ],
        "title": "PropertyActivityOut",
        "type": "object"
      },
      "PropertyDetailOut": {
        "properties": {
          "acreage": {
            "anyOf": [
              {
                "type": "number"
              },
              {
                "type": "null"
              }
            ],
            "title": "Acreage"
          },
          "assessed_value": {
            "anyOf": [
              {
                "type": "integer"
              },
              {
                "type": "null"
              }
            ],
            "title": "Assessed Value"
          },
          "counts": {
            "$ref": "#/components/schemas/ActivityCountsOut"
          },
          "county_fips": {
            "title": "County Fips",
            "type": "string"
          },
          "county_name": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "title": "County Name"
          },
          "coverage": {
            "$ref": "#/components/schemas/ActivityCoverageOut"
          },
          "land_use": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "title": "Land Use"
          },
          "land_use_label": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "title": "Land Use Label"
          },
          "last_sale_price": {
            "anyOf": [
              {
                "type": "integer"
              },
              {
                "type": "null"
              }
            ],
            "title": "Last Sale Price"
          },
          "last_sale_year": {
            "anyOf": [
              {
                "type": "integer"
              },
              {
                "type": "null"
              }
            ],
            "title": "Last Sale Year"
          },
          "owner_name": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "title": "Owner Name"
          },
          "owner_type": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "title": "Owner Type"
          },
          "parcel_id": {
            "title": "Parcel Id",
            "type": "string"
          },
          "situs_address": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "title": "Situs Address"
          },
          "situs_city": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "title": "Situs City"
          },
          "situs_state": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "title": "Situs State"
          },
          "situs_zip": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "title": "Situs Zip"
          }
        },
        "required": [
          "parcel_id",
          "county_fips",
          "counts",
          "coverage"
        ],
        "title": "PropertyDetailOut",
        "type": "object"
      },
      "PropertyOut": {
        "properties": {
          "acreage": {
            "anyOf": [
              {
                "type": "number"
              },
              {
                "type": "null"
              }
            ],
            "title": "Acreage"
          },
          "assessed_value": {
            "anyOf": [
              {
                "type": "integer"
              },
              {
                "type": "null"
              }
            ],
            "title": "Assessed Value"
          },
          "block_group": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "title": "Block Group"
          },
          "fips_code": {
            "title": "Fips Code",
            "type": "string"
          },
          "land_use": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "title": "Land Use"
          },
          "last_sale_price": {
            "anyOf": [
              {
                "type": "integer"
              },
              {
                "type": "null"
              }
            ],
            "title": "Last Sale Price"
          },
          "last_sale_year": {
            "anyOf": [
              {
                "type": "integer"
              },
              {
                "type": "null"
              }
            ],
            "title": "Last Sale Year"
          },
          "mailing_address": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "title": "Mailing Address"
          },
          "mailing_city": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "title": "Mailing City"
          },
          "mailing_state": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "title": "Mailing State"
          },
          "mailing_zip": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "title": "Mailing Zip"
          },
          "owner_name_raw": {
            "title": "Owner Name Raw",
            "type": "string"
          },
          "owner_type": {
            "$ref": "#/components/schemas/OwnerType"
          },
          "parcel_id": {
            "title": "Parcel Id",
            "type": "string"
          },
          "refresh_date": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "title": "Refresh Date"
          },
          "situs_address": {
            "title": "Situs Address",
            "type": "string"
          },
          "situs_city": {
            "title": "Situs City",
            "type": "string"
          },
          "situs_state": {
            "title": "Situs State",
            "type": "string"
          },
          "situs_zip": {
            "title": "Situs Zip",
            "type": "string"
          }
        },
        "required": [
          "parcel_id",
          "fips_code",
          "owner_name_raw",
          "owner_type",
          "situs_address",
          "situs_city",
          "situs_state",
          "situs_zip"
        ],
        "title": "PropertyOut",
        "type": "object"
      },
      "PropertyPageOut": {
        "properties": {
          "has_more": {
            "title": "Has More",
            "type": "boolean"
          },
          "items": {
            "items": {
              "$ref": "#/components/schemas/PropertyOut"
            },
            "title": "Items",
            "type": "array"
          },
          "limit": {
            "title": "Limit",
            "type": "integer"
          },
          "links": {
            "items": {
              "$ref": "#/components/schemas/OwnershipLinkOut"
            },
            "title": "Links",
            "type": "array"
          },
          "offset": {
            "title": "Offset",
            "type": "integer"
          }
        },
        "required": [
          "items",
          "links",
          "has_more",
          "limit",
          "offset"
        ],
        "title": "PropertyPageOut",
        "type": "object"
      },
      "PublicNeighborhoodProfileOut": {
        "properties": {
          "acs": {
            "anyOf": [
              {
                "$ref": "#/components/schemas/AcsFactsOut"
              },
              {
                "type": "null"
              }
            ]
          },
          "attribution": {
            "title": "Attribution",
            "type": "string"
          },
          "geoid": {
            "title": "Geoid",
            "type": "string"
          },
          "health_access": {
            "anyOf": [
              {
                "$ref": "#/components/schemas/HealthAccessOut"
              },
              {
                "type": "null"
              }
            ]
          },
          "housing_market": {
            "anyOf": [
              {
                "$ref": "#/components/schemas/HousingMarketOut"
              },
              {
                "type": "null"
              }
            ]
          },
          "income_tax": {
            "anyOf": [
              {
                "$ref": "#/components/schemas/IncomeTaxOut"
              },
              {
                "type": "null"
              }
            ]
          },
          "level": {
            "$ref": "#/components/schemas/GeoLevel"
          },
          "local_economy": {
            "anyOf": [
              {
                "$ref": "#/components/schemas/LocalEconomyOut"
              },
              {
                "type": "null"
              }
            ]
          },
          "name": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "title": "Name"
          },
          "resolved_via": {
            "title": "Resolved Via",
            "type": "string"
          },
          "social_capital": {
            "anyOf": [
              {
                "$ref": "#/components/schemas/SocialCapitalOut"
              },
              {
                "type": "null"
              }
            ]
          },
          "vintages": {
            "additionalProperties": {
              "type": "string"
            },
            "title": "Vintages",
            "type": "object"
          },
          "vulnerability": {
            "anyOf": [
              {
                "$ref": "#/components/schemas/VulnerabilityOut"
              },
              {
                "type": "null"
              }
            ]
          }
        },
        "required": [
          "level",
          "geoid",
          "resolved_via",
          "vintages",
          "attribution"
        ],
        "title": "PublicNeighborhoodProfileOut",
        "type": "object"
      },
      "QuerySurface": {
        "description": "Channel a query arrived through \u2014 recorded, never re-derived.",
        "enum": [
          "web",
          "api",
          "public",
          "admin"
        ],
        "title": "QuerySurface",
        "type": "string"
      },
      "RaisesExploreOut": {
        "properties": {
          "available": {
            "title": "Available",
            "type": "boolean"
          },
          "by_month": {
            "items": {
              "$ref": "#/components/schemas/RaisesMonthOut"
            },
            "title": "By Month",
            "type": "array"
          },
          "headline": {
            "$ref": "#/components/schemas/RaisesHeadlineOut"
          },
          "industries": {
            "items": {
              "$ref": "#/components/schemas/RaisesIndustryOut"
            },
            "title": "Industries",
            "type": "array"
          },
          "largest": {
            "items": {
              "$ref": "#/components/schemas/RaisesLargestOut"
            },
            "title": "Largest",
            "type": "array"
          },
          "state": {
            "title": "State",
            "type": "string"
          },
          "states": {
            "items": {
              "type": "string"
            },
            "title": "States",
            "type": "array"
          },
          "structures": {
            "items": {
              "$ref": "#/components/schemas/RaisesStructureOut"
            },
            "title": "Structures",
            "type": "array"
          },
          "top_zips": {
            "items": {
              "$ref": "#/components/schemas/RaisesZipOut"
            },
            "title": "Top Zips",
            "type": "array"
          }
        },
        "required": [
          "available",
          "state",
          "states",
          "headline",
          "by_month",
          "industries",
          "structures",
          "top_zips",
          "largest"
        ],
        "title": "RaisesExploreOut",
        "type": "object"
      },
      "RaisesHeadlineOut": {
        "properties": {
          "issuers": {
            "anyOf": [
              {
                "type": "integer"
              },
              {
                "type": "null"
              }
            ],
            "title": "Issuers"
          },
          "median_raise_12m": {
            "anyOf": [
              {
                "type": "number"
              },
              {
                "type": "null"
              }
            ],
            "title": "Median Raise 12M"
          },
          "raises_12m": {
            "anyOf": [
              {
                "type": "integer"
              },
              {
                "type": "null"
              }
            ],
            "title": "Raises 12M"
          },
          "share_safe_pct": {
            "anyOf": [
              {
                "type": "number"
              },
              {
                "type": "null"
              }
            ],
            "title": "Share Safe Pct"
          },
          "sold_12m": {
            "anyOf": [
              {
                "type": "number"
              },
              {
                "type": "null"
              }
            ],
            "title": "Sold 12M"
          }
        },
        "required": [
          "issuers",
          "raises_12m",
          "sold_12m",
          "median_raise_12m",
          "share_safe_pct"
        ],
        "title": "RaisesHeadlineOut",
        "type": "object"
      },
      "RaisesIndustryOut": {
        "properties": {
          "industry": {
            "title": "Industry",
            "type": "string"
          },
          "n": {
            "title": "N",
            "type": "integer"
          },
          "sold": {
            "anyOf": [
              {
                "type": "number"
              },
              {
                "type": "null"
              }
            ],
            "title": "Sold"
          }
        },
        "required": [
          "industry",
          "n",
          "sold"
        ],
        "title": "RaisesIndustryOut",
        "type": "object"
      },
      "RaisesLargestOut": {
        "properties": {
          "amount_sold": {
            "anyOf": [
              {
                "type": "number"
              },
              {
                "type": "null"
              }
            ],
            "title": "Amount Sold"
          },
          "business_key": {
            "title": "Business Key",
            "type": "string"
          },
          "city": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "title": "City"
          },
          "industry": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "title": "Industry"
          },
          "name": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "title": "Name"
          },
          "sale_date": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "title": "Sale Date"
          },
          "state": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "title": "State"
          },
          "structure": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "title": "Structure"
          }
        },
        "required": [
          "business_key",
          "name",
          "city",
          "state",
          "industry",
          "structure",
          "amount_sold",
          "sale_date"
        ],
        "title": "RaisesLargestOut",
        "type": "object"
      },
      "RaisesMonthOut": {
        "properties": {
          "month": {
            "title": "Month",
            "type": "string"
          },
          "n": {
            "title": "N",
            "type": "integer"
          },
          "sold": {
            "anyOf": [
              {
                "type": "number"
              },
              {
                "type": "null"
              }
            ],
            "title": "Sold"
          }
        },
        "required": [
          "month",
          "n",
          "sold"
        ],
        "title": "RaisesMonthOut",
        "type": "object"
      },
      "RaisesStructureOut": {
        "properties": {
          "n": {
            "title": "N",
            "type": "integer"
          },
          "pct": {
            "anyOf": [
              {
                "type": "number"
              },
              {
                "type": "null"
              }
            ],
            "title": "Pct"
          },
          "structure": {
            "title": "Structure",
            "type": "string"
          }
        },
        "required": [
          "structure",
          "n",
          "pct"
        ],
        "title": "RaisesStructureOut",
        "type": "object"
      },
      "RaisesZipOut": {
        "properties": {
          "city": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "title": "City"
          },
          "n": {
            "title": "N",
            "type": "integer"
          },
          "sold": {
            "anyOf": [
              {
                "type": "number"
              },
              {
                "type": "null"
              }
            ],
            "title": "Sold"
          },
          "zip": {
            "title": "Zip",
            "type": "string"
          }
        },
        "required": [
          "zip",
          "city",
          "n",
          "sold"
        ],
        "title": "RaisesZipOut",
        "type": "object"
      },
      "RecentBonusOut": {
        "properties": {
          "amount": {
            "title": "Amount",
            "type": "integer"
          },
          "created_at": {
            "format": "date-time",
            "title": "Created At",
            "type": "string"
          },
          "description": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "title": "Description"
          },
          "id": {
            "format": "uuid",
            "title": "Id",
            "type": "string"
          }
        },
        "required": [
          "id",
          "amount",
          "description",
          "created_at"
        ],
        "title": "RecentBonusOut",
        "type": "object"
      },
      "RecentBusinessOut": {
        "properties": {
          "business": {
            "$ref": "#/components/schemas/BusinessSummaryOut"
          },
          "opened_at": {
            "format": "date-time",
            "title": "Opened At",
            "type": "string"
          }
        },
        "required": [
          "business",
          "opened_at"
        ],
        "title": "RecentBusinessOut",
        "type": "object"
      },
      "RecentBusinessesOut": {
        "properties": {
          "items": {
            "items": {
              "$ref": "#/components/schemas/RecentBusinessOut"
            },
            "title": "Items",
            "type": "array"
          }
        },
        "required": [
          "items"
        ],
        "title": "RecentBusinessesOut",
        "type": "object"
      },
      "RecentQueriesOut": {
        "properties": {
          "items": {
            "items": {
              "$ref": "#/components/schemas/RecentQueryOut"
            },
            "title": "Items",
            "type": "array"
          }
        },
        "required": [
          "items"
        ],
        "title": "RecentQueriesOut",
        "type": "object"
      },
      "RecentQueryOut": {
        "properties": {
          "action": {
            "title": "Action",
            "type": "string"
          },
          "created_at": {
            "format": "date-time",
            "title": "Created At",
            "type": "string"
          },
          "id": {
            "title": "Id",
            "type": "string"
          },
          "query_params": {
            "additionalProperties": true,
            "title": "Query Params",
            "type": "object"
          },
          "record_id": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "title": "Record Id"
          },
          "result_count": {
            "anyOf": [
              {
                "type": "integer"
              },
              {
                "type": "null"
              }
            ],
            "title": "Result Count"
          }
        },
        "required": [
          "id",
          "action",
          "query_params",
          "record_id",
          "result_count",
          "created_at"
        ],
        "title": "RecentQueryOut",
        "type": "object"
      },
      "RecordAccessInfoOut": {
        "properties": {
          "credit_cost": {
            "title": "Credit Cost",
            "type": "integer"
          },
          "previously_accessed": {
            "title": "Previously Accessed",
            "type": "boolean"
          }
        },
        "required": [
          "previously_accessed",
          "credit_cost"
        ],
        "title": "RecordAccessInfoOut",
        "type": "object"
      },
      "RecordDetailOut": {
        "description": "Record for the detail view. Full (unmasked) when the view was\ncredit-charged; the masked variant (`from_entity_preview`) serves both\nthe free /preview endpoint and the auto-degraded zero-credit view.",
        "properties": {
          "_meta": {
            "anyOf": [
              {
                "additionalProperties": {
                  "type": "string"
                },
                "type": "object"
              },
              {
                "type": "null"
              }
            ],
            "title": "Meta"
          },
          "addresses": {
            "items": {
              "additionalProperties": true,
              "type": "object"
            },
            "title": "Addresses",
            "type": "array"
          },
          "age": {
            "anyOf": [
              {
                "type": "integer"
              },
              {
                "type": "null"
              }
            ],
            "title": "Age"
          },
          "alternate_names": {
            "items": {
              "additionalProperties": true,
              "type": "object"
            },
            "title": "Alternate Names",
            "type": "array"
          },
          "created_at": {
            "anyOf": [
              {
                "format": "date-time",
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "title": "Created At"
          },
          "credits_charged": {
            "default": 0,
            "title": "Credits Charged",
            "type": "integer"
          },
          "date_of_birth": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "title": "Date Of Birth"
          },
          "deceased": {
            "title": "Deceased",
            "type": "boolean"
          },
          "device_ids": {
            "items": {
              "type": "string"
            },
            "title": "Device Ids",
            "type": "array"
          },
          "emails": {
            "items": {
              "additionalProperties": true,
              "type": "object"
            },
            "title": "Emails",
            "type": "array"
          },
          "first_name": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "title": "First Name"
          },
          "full_name": {
            "title": "Full Name",
            "type": "string"
          },
          "gender": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "title": "Gender"
          },
          "id": {
            "title": "Id",
            "type": "string"
          },
          "ip_addresses": {
            "items": {
              "type": "string"
            },
            "title": "Ip Addresses",
            "type": "array"
          },
          "last_name": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "title": "Last Name"
          },
          "masked": {
            "default": false,
            "title": "Masked",
            "type": "boolean"
          },
          "middle_name": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "title": "Middle Name"
          },
          "phones": {
            "items": {
              "additionalProperties": true,
              "type": "object"
            },
            "title": "Phones",
            "type": "array"
          },
          "prefix": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "title": "Prefix"
          },
          "preview": {
            "default": false,
            "title": "Preview",
            "type": "boolean"
          },
          "primary_city": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "title": "Primary City"
          },
          "primary_state": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "title": "Primary State"
          },
          "suffix": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "title": "Suffix"
          },
          "unmask": {
            "anyOf": [
              {
                "$ref": "#/components/schemas/UnmaskHintOut"
              },
              {
                "type": "null"
              }
            ]
          }
        },
        "required": [
          "id",
          "full_name",
          "prefix",
          "first_name",
          "middle_name",
          "last_name",
          "suffix",
          "gender",
          "date_of_birth",
          "age",
          "deceased",
          "alternate_names",
          "addresses",
          "phones",
          "emails",
          "ip_addresses",
          "device_ids",
          "created_at"
        ],
        "title": "RecordDetailOut",
        "type": "object"
      },
      "RecordPageOut": {
        "properties": {
          "blinded": {
            "default": false,
            "description": "True when this page is the zero-credit free preview (heavier masking).",
            "title": "Blinded",
            "type": "boolean"
          },
          "deduped": {
            "default": false,
            "description": "True when this was a free re-run of a search the actor already paid for.",
            "title": "Deduped",
            "type": "boolean"
          },
          "has_more": {
            "title": "Has More",
            "type": "boolean"
          },
          "inquiry_masked": {
            "default": false,
            "description": "Inquiry stubs are masked whenever the search was uncharged (`blinded` OR `refunded`), independent of row masking \u2014 clients must check this flag, not the phrase.",
            "title": "Inquiry Masked",
            "type": "boolean"
          },
          "inquiry_matches": {
            "description": "Inquiry-derived stubs matching the criteria (first page only). Inquiry-derived stubs are not record profiles \u2014 their ids cannot be used with next_step.url_template.",
            "items": {
              "$ref": "#/components/schemas/InquiryMatchOut"
            },
            "title": "Inquiry Matches",
            "type": "array"
          },
          "items": {
            "items": {
              "$ref": "#/components/schemas/RecordSummaryOut"
            },
            "title": "Items",
            "type": "array"
          },
          "limit": {
            "title": "Limit",
            "type": "integer"
          },
          "masked": {
            "default": false,
            "description": "Mirrors `blinded` (kept for back-compat); pairs with `unmask` as the machine-readable signal that field values carry MASK_PHRASE / nulls.",
            "title": "Masked",
            "type": "boolean"
          },
          "masking": {
            "anyOf": [
              {
                "$ref": "#/components/schemas/SearchMaskingOut"
              },
              {
                "type": "null"
              }
            ],
            "description": "Why list contact fields look masked (`teaser` vs `blinded`) and the remedy. Always populated on search responses. Branch on state/remedy, never on message text."
          },
          "match_type": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "description": "Broadest match tier among the returned rows: None when every row satisfied everything typed. Per-row tiers live on each item's match_tier.",
            "title": "Match Type"
          },
          "next_step": {
            "anyOf": [
              {
                "$ref": "#/components/schemas/SearchNextStepOut"
              },
              {
                "type": "null"
              }
            ],
            "description": "How to fetch a listed record: method, URL templates, credit_cost, free re-fetch window, and the 428 shared-access header. Always populated on search responses."
          },
          "offset": {
            "title": "Offset",
            "type": "integer"
          },
          "refunded": {
            "default": false,
            "description": "True when the search found nothing at any match tier and the credit hold was released \u2014 the caller was not charged.",
            "title": "Refunded",
            "type": "boolean"
          },
          "relaxed": {
            "description": "Typed criteria the page-level tier did not enforce as filters.",
            "items": {
              "type": "string"
            },
            "title": "Relaxed",
            "type": "array"
          },
          "tiers": {
            "description": "Distinct row tiers present, shallowest-first \u2014 lets the UI show a mixed-page banner when the cascade combined tiers.",
            "items": {
              "type": "string"
            },
            "title": "Tiers",
            "type": "array"
          },
          "unmask": {
            "anyOf": [
              {
                "$ref": "#/components/schemas/UnmaskHintOut"
              },
              {
                "type": "null"
              }
            ],
            "description": "Machine-readable hint accompanying MASK_PHRASE field values. Non-null iff `masked` is True."
          },
          "zero_reason": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "description": "Why an empty first page came back empty, when a reason is available: \"contact_unknown\" (typed email/phone not on file and the other criteria were too thin to search alone) or \"deceased_filter\" (matches exist but the deceased filter excluded all of them). None for a plain coverage gap and always None on blinded free-tier responses.",
            "title": "Zero Reason"
          }
        },
        "required": [
          "items",
          "has_more",
          "limit",
          "offset"
        ],
        "title": "RecordPageOut",
        "type": "object"
      },
      "RecordQueryAction": {
        "enum": [
          "search",
          "view",
          "preview",
          "address_lookup",
          "identity_check"
        ],
        "title": "RecordQueryAction",
        "type": "string"
      },
      "RecordSummaryOut": {
        "description": "Compact shape for the list/search view \u2014 contact fields are masked.\n\n``blinded=True`` (the zero-credit free preview) is echo-only: rows show\nthe GD- id, first name, state, and deceased flag, plus a field only when\nthe caller searched by it (``echo``). Everything else carries MASK_PHRASE\n(string fields with a value) or null, so the free tier mirrors what the\ncaller typed without leaking anything new to scrape.",
        "properties": {
          "age": {
            "anyOf": [
              {
                "type": "integer"
              },
              {
                "type": "null"
              }
            ],
            "title": "Age"
          },
          "city": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "title": "City"
          },
          "deceased": {
            "title": "Deceased",
            "type": "boolean"
          },
          "detail_url": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "description": "Absolute URL for this row's record profile (GET). Present on items[] only \u2014 not on inquiry_matches[]. A syntactic transform of org path + id.",
            "title": "Detail Url"
          },
          "email_masked": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "description": "Email at teaser fidelity (e.g. j***@example.com) when present. Always teaser fidelity on lists, even when the search was charged \u2014 the record's contact fields come from detail_url.",
            "title": "Email Masked"
          },
          "first_name": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "title": "First Name"
          },
          "full_name": {
            "title": "Full Name",
            "type": "string"
          },
          "gender": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "title": "Gender"
          },
          "id": {
            "title": "Id",
            "type": "string"
          },
          "last_name": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "title": "Last Name"
          },
          "match_confidence": {
            "anyOf": [
              {
                "type": "integer"
              },
              {
                "type": "null"
              }
            ],
            "description": "0-100 confidence against everything typed. May be null for an exact match or when no score is available.",
            "title": "Match Confidence"
          },
          "match_tier": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "description": "How this row matched (match tier). May be null for an exact match or when no score is available.",
            "title": "Match Tier"
          },
          "phone_masked": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "description": "Phone at teaser fidelity when present. Always teaser fidelity on lists, even when the search was charged \u2014 the record's contact fields come from detail_url.",
            "title": "Phone Masked"
          },
          "state": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "title": "State"
          },
          "zip": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "title": "Zip"
          }
        },
        "required": [
          "id",
          "full_name",
          "first_name",
          "last_name",
          "gender",
          "age",
          "deceased",
          "city",
          "state",
          "zip",
          "email_masked",
          "phone_masked"
        ],
        "title": "RecordSummaryOut",
        "type": "object"
      },
      "RedirectResponse": {
        "properties": {
          "url": {
            "title": "Url",
            "type": "string"
          }
        },
        "required": [
          "url"
        ],
        "title": "RedirectResponse",
        "type": "object"
      },
      "ReferralEmailRequest": {
        "properties": {
          "email": {
            "format": "email",
            "title": "Email",
            "type": "string"
          }
        },
        "required": [
          "email"
        ],
        "title": "ReferralEmailRequest",
        "type": "object"
      },
      "ReferralEmailSent": {
        "properties": {
          "status": {
            "default": "sent",
            "title": "Status",
            "type": "string"
          }
        },
        "title": "ReferralEmailSent",
        "type": "object"
      },
      "ReferralSummaryOut": {
        "properties": {
          "code": {
            "title": "Code",
            "type": "string"
          },
          "invite_bonus_cap": {
            "title": "Invite Bonus Cap",
            "type": "integer"
          },
          "invite_bonus_credits": {
            "title": "Invite Bonus Credits",
            "type": "integer"
          },
          "invite_bonuses_earned": {
            "title": "Invite Bonuses Earned",
            "type": "integer"
          },
          "org_referral_cap": {
            "title": "Org Referral Cap",
            "type": "integer"
          },
          "org_referral_credits": {
            "title": "Org Referral Credits",
            "type": "integer"
          },
          "org_referrals_paid": {
            "title": "Org Referrals Paid",
            "type": "integer"
          },
          "org_referrals_pending": {
            "title": "Org Referrals Pending",
            "type": "integer"
          },
          "recent_bonuses": {
            "items": {
              "$ref": "#/components/schemas/RecentBonusOut"
            },
            "title": "Recent Bonuses",
            "type": "array"
          }
        },
        "required": [
          "code",
          "invite_bonus_credits",
          "invite_bonus_cap",
          "invite_bonuses_earned",
          "org_referral_credits",
          "org_referral_cap",
          "org_referrals_paid",
          "org_referrals_pending",
          "recent_bonuses"
        ],
        "title": "ReferralSummaryOut",
        "type": "object"
      },
      "RegisterRequest": {
        "properties": {
          "attribution": {
            "anyOf": [
              {
                "additionalProperties": true,
                "type": "object"
              },
              {
                "type": "null"
              }
            ],
            "title": "Attribution"
          },
          "captcha_token": {
            "anyOf": [
              {
                "maxLength": 4096,
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "title": "Captcha Token"
          },
          "email": {
            "format": "email",
            "title": "Email",
            "type": "string"
          },
          "first_name": {
            "maxLength": 60,
            "minLength": 1,
            "title": "First Name",
            "type": "string"
          },
          "form_started_at": {
            "anyOf": [
              {
                "type": "integer"
              },
              {
                "type": "null"
              }
            ],
            "title": "Form Started At"
          },
          "last_name": {
            "default": "",
            "maxLength": 60,
            "title": "Last Name",
            "type": "string"
          },
          "marketing_opt_in": {
            "default": false,
            "title": "Marketing Opt In",
            "type": "boolean"
          },
          "password": {
            "maxLength": 128,
            "title": "Password",
            "type": "string"
          },
          "password_confirmation": {
            "maxLength": 128,
            "title": "Password Confirmation",
            "type": "string"
          },
          "permitted_use_accepted": {
            "title": "Permitted Use Accepted",
            "type": "boolean"
          },
          "referral_code": {
            "anyOf": [
              {
                "maxLength": 32,
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "title": "Referral Code"
          },
          "terms_accepted": {
            "title": "Terms Accepted",
            "type": "boolean"
          },
          "website": {
            "anyOf": [
              {
                "maxLength": 200,
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "title": "Website"
          }
        },
        "required": [
          "first_name",
          "email",
          "password",
          "password_confirmation",
          "terms_accepted",
          "permitted_use_accepted"
        ],
        "title": "RegisterRequest",
        "type": "object"
      },
      "RegulatedSiteOut": {
        "description": "A site registered with federal environmental programs, matched to the business.",
        "properties": {
          "address": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "title": "Address"
          },
          "city": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "title": "City"
          },
          "created_date": {
            "anyOf": [
              {
                "format": "date",
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "title": "Created Date"
          },
          "lat": {
            "anyOf": [
              {
                "type": "number"
              },
              {
                "type": "null"
              }
            ],
            "title": "Lat"
          },
          "lon": {
            "anyOf": [
              {
                "type": "number"
              },
              {
                "type": "null"
              }
            ],
            "title": "Lon"
          },
          "name": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "title": "Name"
          },
          "programs": {
            "items": {
              "type": "string"
            },
            "title": "Programs",
            "type": "array"
          },
          "registry_id": {
            "title": "Registry Id",
            "type": "string"
          },
          "site_type": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "title": "Site Type"
          },
          "state": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "title": "State"
          },
          "zip": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "title": "Zip"
          }
        },
        "required": [
          "registry_id",
          "programs"
        ],
        "title": "RegulatedSiteOut",
        "type": "object"
      },
      "ReservationOut": {
        "properties": {
          "action": {
            "$ref": "#/components/schemas/CreditAction"
          },
          "amount": {
            "title": "Amount",
            "type": "integer"
          },
          "created_at": {
            "format": "date-time",
            "title": "Created At",
            "type": "string"
          },
          "expires_at": {
            "format": "date-time",
            "title": "Expires At",
            "type": "string"
          },
          "id": {
            "format": "uuid",
            "title": "Id",
            "type": "string"
          },
          "reference": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "title": "Reference"
          },
          "status": {
            "$ref": "#/components/schemas/ReservationStatus"
          }
        },
        "required": [
          "id",
          "action",
          "amount",
          "status",
          "reference",
          "expires_at",
          "created_at"
        ],
        "title": "ReservationOut",
        "type": "object"
      },
      "ReservationStatus": {
        "enum": [
          "pending",
          "captured",
          "released",
          "expired"
        ],
        "title": "ReservationStatus",
        "type": "string"
      },
      "ResetPasswordRequest": {
        "properties": {
          "password": {
            "maxLength": 128,
            "title": "Password",
            "type": "string"
          },
          "password_confirmation": {
            "maxLength": 128,
            "title": "Password Confirmation",
            "type": "string"
          },
          "token": {
            "title": "Token",
            "type": "string"
          }
        },
        "required": [
          "token",
          "password",
          "password_confirmation"
        ],
        "title": "ResetPasswordRequest",
        "type": "object"
      },
      "Role": {
        "enum": [
          "owner",
          "admin",
          "member"
        ],
        "title": "Role",
        "type": "string"
      },
      "RoleUpdate": {
        "properties": {
          "role": {
            "$ref": "#/components/schemas/Role"
          }
        },
        "required": [
          "role"
        ],
        "title": "RoleUpdate",
        "type": "object"
      },
      "RowIn": {
        "properties": {
          "name": {
            "maxLength": 200,
            "minLength": 1,
            "title": "Name",
            "type": "string"
          },
          "reference": {
            "anyOf": [
              {
                "maxLength": 100,
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "title": "Reference"
          },
          "state": {
            "anyOf": [
              {
                "pattern": "^[A-Za-z]{2}$",
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "title": "State"
          },
          "zip": {
            "anyOf": [
              {
                "pattern": "^\\d{5}$",
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "title": "Zip"
          }
        },
        "required": [
          "name"
        ],
        "title": "RowIn",
        "type": "object"
      },
      "RowListOut": {
        "properties": {
          "has_more": {
            "title": "Has More",
            "type": "boolean"
          },
          "items": {
            "items": {
              "$ref": "#/components/schemas/RowOut"
            },
            "title": "Items",
            "type": "array"
          }
        },
        "required": [
          "items",
          "has_more"
        ],
        "title": "RowListOut",
        "type": "object"
      },
      "RowOut": {
        "properties": {
          "business_key": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "title": "Business Key"
          },
          "candidates": {
            "items": {
              "$ref": "#/components/schemas/CandidateOut"
            },
            "title": "Candidates",
            "type": "array"
          },
          "confidence": {
            "anyOf": [
              {
                "type": "number"
              },
              {
                "type": "null"
              }
            ],
            "title": "Confidence"
          },
          "id": {
            "format": "uuid",
            "title": "Id",
            "type": "string"
          },
          "input_name": {
            "title": "Input Name",
            "type": "string"
          },
          "input_reference": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "title": "Input Reference"
          },
          "input_state": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "title": "Input State"
          },
          "input_zip": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "title": "Input Zip"
          },
          "match_status": {
            "enum": [
              "pending",
              "matched",
              "review",
              "none"
            ],
            "title": "Match Status",
            "type": "string"
          },
          "matched_at": {
            "anyOf": [
              {
                "format": "date-time",
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "title": "Matched At"
          },
          "row_no": {
            "title": "Row No",
            "type": "integer"
          },
          "snapshot": {
            "anyOf": [
              {
                "$ref": "#/components/schemas/SnapshotOut"
              },
              {
                "type": "null"
              }
            ]
          },
          "updated_at": {
            "format": "date-time",
            "title": "Updated At",
            "type": "string"
          }
        },
        "required": [
          "id",
          "row_no",
          "input_name",
          "input_state",
          "input_zip",
          "input_reference",
          "match_status",
          "business_key",
          "candidates",
          "confidence",
          "snapshot",
          "matched_at",
          "updated_at"
        ],
        "title": "RowOut",
        "type": "object"
      },
      "SavedListIn": {
        "properties": {
          "filters": {
            "$ref": "#/components/schemas/EventsQueryIn"
          },
          "name": {
            "maxLength": 80,
            "minLength": 1,
            "title": "Name",
            "type": "string"
          }
        },
        "required": [
          "name",
          "filters"
        ],
        "title": "SavedListIn",
        "type": "object"
      },
      "SavedListListOut": {
        "properties": {
          "items": {
            "items": {
              "$ref": "#/components/schemas/SavedListOut"
            },
            "title": "Items",
            "type": "array"
          }
        },
        "required": [
          "items"
        ],
        "title": "SavedListListOut",
        "type": "object"
      },
      "SavedListOut": {
        "properties": {
          "created_at": {
            "format": "date-time",
            "title": "Created At",
            "type": "string"
          },
          "created_by_user_id": {
            "anyOf": [
              {
                "format": "uuid",
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "title": "Created By User Id"
          },
          "filters": {
            "additionalProperties": true,
            "title": "Filters",
            "type": "object"
          },
          "id": {
            "format": "uuid",
            "title": "Id",
            "type": "string"
          },
          "last_count": {
            "anyOf": [
              {
                "type": "integer"
              },
              {
                "type": "null"
              }
            ],
            "title": "Last Count"
          },
          "last_run_at": {
            "anyOf": [
              {
                "format": "date-time",
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "title": "Last Run At"
          },
          "name": {
            "title": "Name",
            "type": "string"
          },
          "updated_at": {
            "format": "date-time",
            "title": "Updated At",
            "type": "string"
          }
        },
        "required": [
          "id",
          "name",
          "filters",
          "created_at",
          "updated_at"
        ],
        "title": "SavedListOut",
        "type": "object"
      },
      "SavedListPatch": {
        "properties": {
          "filters": {
            "anyOf": [
              {
                "$ref": "#/components/schemas/EventsQueryIn"
              },
              {
                "type": "null"
              }
            ]
          },
          "last_count": {
            "anyOf": [
              {
                "minimum": 0.0,
                "type": "integer"
              },
              {
                "type": "null"
              }
            ],
            "title": "Last Count"
          },
          "name": {
            "anyOf": [
              {
                "maxLength": 80,
                "minLength": 1,
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "title": "Name"
          }
        },
        "title": "SavedListPatch",
        "type": "object"
      },
      "SearchMaskingOut": {
        "description": "Why list contact fields look masked, and the remedy. Distinguishes\nteaser (always on lists) from blinded (zero-credit echo-only rows).",
        "properties": {
          "message": {
            "description": "Human-readable guidance. Clients must branch on state / remedy, never parse this text.",
            "title": "Message",
            "type": "string"
          },
          "remedy": {
            "description": "How to obtain non-teaser data: \"fetch_record\" (use detail_url / next_step) or \"buy_credits\" (fund the org and re-run the search).",
            "title": "Remedy",
            "type": "string"
          },
          "state": {
            "description": "Masking layer on this page: \"teaser\" (charged list) or \"blinded\" (free preview).",
            "title": "State",
            "type": "string"
          },
          "teaser_fields": {
            "description": "List fields that always ship at teaser fidelity, even on charged searches.",
            "items": {
              "type": "string"
            },
            "title": "Teaser Fields",
            "type": "array"
          }
        },
        "required": [
          "state",
          "remedy",
          "message"
        ],
        "title": "SearchMaskingOut",
        "type": "object"
      },
      "SearchNextStepOut": {
        "description": "How to fetch a listed record's profile \u2014 cost, free re-fetch window,\nand the 428 shared-access confirmation header. Pure guidance from\nsettings + static credit costs; never per-record state.",
        "properties": {
          "access_info_url_template": {
            "description": "Absolute URL template for access-info (credit cost and whether this org already accessed the record).",
            "title": "Access Info Url Template",
            "type": "string"
          },
          "action": {
            "default": "fetch_record",
            "description": "Machine-readable next action for items[] rows: always fetch_record.",
            "title": "Action",
            "type": "string"
          },
          "confirm_shared_access_header": {
            "default": "X-Confirm-Shared-Access",
            "description": "Header name to resend on HTTP 428: the record was first unlocked by another organization. Set to any value to confirm and retry.",
            "title": "Confirm Shared Access Header",
            "type": "string"
          },
          "credit_cost": {
            "description": "Credits charged for a first-time record retrieval (fixed ACTION cost).",
            "title": "Credit Cost",
            "type": "integer"
          },
          "free_refetch_minutes": {
            "default": 10,
            "description": "Re-fetching the same record within this many minutes is not re-charged (matches RECORD_VIEW_DEDUP).",
            "title": "Free Refetch Minutes",
            "type": "integer"
          },
          "message": {
            "default": "To retrieve a record, GET its detail_url \u2014 or substitute an items[].id into url_template. Each retrieval charges credit_cost credits and returns the contact fields the record holds; re-fetching the same record within free_refetch_minutes minutes is not re-charged. A 428 response means the record was first unlocked by another organization: retry with the X-Confirm-Shared-Access header set to any value. Applies to items[] only \u2014 inquiry_matches[] are search-activity stubs with no detail endpoint.",
            "description": "Human-readable guidance. Clients must branch on structured fields (action, credit_cost, confirm_shared_access_header), never parse this text.",
            "title": "Message",
            "type": "string"
          },
          "method": {
            "default": "GET",
            "description": "HTTP method for url_template / detail_url.",
            "title": "Method",
            "type": "string"
          },
          "preview_url_template": {
            "description": "Absolute URL template for the free masked preview of a record.",
            "title": "Preview Url Template",
            "type": "string"
          },
          "url_template": {
            "description": "Absolute URL template for a record profile; substitute an items[].id for {record_id}. Prefer the per-row detail_url when present.",
            "title": "Url Template",
            "type": "string"
          }
        },
        "required": [
          "url_template",
          "credit_cost",
          "preview_url_template",
          "access_info_url_template"
        ],
        "title": "SearchNextStepOut",
        "type": "object"
      },
      "SectorCountOut": {
        "properties": {
          "label": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "title": "Label"
          },
          "median": {
            "anyOf": [
              {
                "type": "number"
              },
              {
                "type": "null"
              }
            ],
            "title": "Median"
          },
          "n": {
            "title": "N",
            "type": "integer"
          },
          "naics2": {
            "title": "Naics2",
            "type": "string"
          }
        },
        "required": [
          "naics2",
          "label",
          "n",
          "median"
        ],
        "title": "SectorCountOut",
        "type": "object"
      },
      "SectorOptionOut": {
        "properties": {
          "label": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "title": "Label"
          },
          "n": {
            "title": "N",
            "type": "integer"
          },
          "naics2": {
            "title": "Naics2",
            "type": "string"
          }
        },
        "required": [
          "naics2",
          "label",
          "n"
        ],
        "title": "SectorOptionOut",
        "type": "object"
      },
      "SessionResponse": {
        "properties": {
          "access_token": {
            "title": "Access Token",
            "type": "string"
          },
          "token_type": {
            "default": "bearer",
            "title": "Token Type",
            "type": "string"
          },
          "user": {
            "$ref": "#/components/schemas/UserOut"
          }
        },
        "required": [
          "access_token",
          "user"
        ],
        "title": "SessionResponse",
        "type": "object"
      },
      "SetRowMatchIn": {
        "properties": {
          "business_key": {
            "anyOf": [
              {
                "maxLength": 128,
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "title": "Business Key"
          }
        },
        "required": [
          "business_key"
        ],
        "title": "SetRowMatchIn",
        "type": "object"
      },
      "SignalLinkOut": {
        "properties": {
          "ref": {
            "title": "Ref",
            "type": "string"
          },
          "type": {
            "title": "Type",
            "type": "string"
          }
        },
        "required": [
          "type",
          "ref"
        ],
        "title": "SignalLinkOut",
        "type": "object"
      },
      "SignupConfigOut": {
        "description": "Public sign-up form config. `turnstile_site_key` is null when the\nserver won't verify CAPTCHA tokens (the form then shows no widget).",
        "properties": {
          "turnstile_site_key": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "title": "Turnstile Site Key"
          }
        },
        "title": "SignupConfigOut",
        "type": "object"
      },
      "SimilarFactsOut": {
        "properties": {
          "city": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "title": "City"
          },
          "entity_type": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "title": "Entity Type"
          },
          "formed_year": {
            "anyOf": [
              {
                "type": "integer"
              },
              {
                "type": "null"
              }
            ],
            "title": "Formed Year"
          },
          "license_types": {
            "items": {
              "type": "string"
            },
            "title": "License Types",
            "type": "array"
          },
          "size_band": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "title": "Size Band"
          }
        },
        "required": [
          "license_types"
        ],
        "title": "SimilarFactsOut",
        "type": "object"
      },
      "SimilarItemOut": {
        "properties": {
          "business": {
            "$ref": "#/components/schemas/BusinessSummaryOut"
          },
          "shares": {
            "items": {
              "type": "string"
            },
            "title": "Shares",
            "type": "array"
          }
        },
        "required": [
          "business",
          "shares"
        ],
        "title": "SimilarItemOut",
        "type": "object"
      },
      "SimilarPageOut": {
        "description": "Businesses that share the seed's selected facts. ``total`` is capped at 1,000.",
        "properties": {
          "applied_on": {
            "items": {
              "type": "string"
            },
            "title": "Applied On",
            "type": "array"
          },
          "has_more": {
            "title": "Has More",
            "type": "boolean"
          },
          "items": {
            "items": {
              "$ref": "#/components/schemas/SimilarItemOut"
            },
            "title": "Items",
            "type": "array"
          },
          "seed": {
            "$ref": "#/components/schemas/SimilarSeedOut"
          },
          "total": {
            "title": "Total",
            "type": "integer"
          }
        },
        "required": [
          "seed",
          "items",
          "total",
          "has_more",
          "applied_on"
        ],
        "title": "SimilarPageOut",
        "type": "object"
      },
      "SimilarSeedOut": {
        "properties": {
          "business": {
            "$ref": "#/components/schemas/BusinessSummaryOut"
          },
          "facts": {
            "$ref": "#/components/schemas/SimilarFactsOut"
          }
        },
        "required": [
          "business",
          "facts"
        ],
        "title": "SimilarSeedOut",
        "type": "object"
      },
      "SiteYearOut": {
        "properties": {
          "n": {
            "title": "N",
            "type": "integer"
          },
          "partial": {
            "title": "Partial",
            "type": "boolean"
          },
          "year": {
            "title": "Year",
            "type": "integer"
          }
        },
        "required": [
          "year",
          "n",
          "partial"
        ],
        "title": "SiteYearOut",
        "type": "object"
      },
      "SiteZipCountOut": {
        "properties": {
          "city": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "title": "City"
          },
          "n": {
            "title": "N",
            "type": "integer"
          },
          "zip": {
            "title": "Zip",
            "type": "string"
          }
        },
        "required": [
          "zip",
          "city",
          "n"
        ],
        "title": "SiteZipCountOut",
        "type": "object"
      },
      "SiteZipOut": {
        "properties": {
          "city": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "title": "City"
          },
          "lat": {
            "anyOf": [
              {
                "type": "number"
              },
              {
                "type": "null"
              }
            ],
            "title": "Lat"
          },
          "lon": {
            "anyOf": [
              {
                "type": "number"
              },
              {
                "type": "null"
              }
            ],
            "title": "Lon"
          },
          "n": {
            "title": "N",
            "type": "integer"
          },
          "zip": {
            "title": "Zip",
            "type": "string"
          }
        },
        "required": [
          "zip",
          "city",
          "n",
          "lat",
          "lon"
        ],
        "title": "SiteZipOut",
        "type": "object"
      },
      "SizeBandOut": {
        "properties": {
          "band": {
            "title": "Band",
            "type": "string"
          },
          "n": {
            "title": "N",
            "type": "integer"
          },
          "pct": {
            "anyOf": [
              {
                "type": "number"
              },
              {
                "type": "null"
              }
            ],
            "title": "Pct"
          }
        },
        "required": [
          "band",
          "n",
          "pct"
        ],
        "title": "SizeBandOut",
        "type": "object"
      },
      "SnapshotOut": {
        "properties": {
          "address": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "title": "Address"
          },
          "city": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "title": "City"
          },
          "dataset_version": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "title": "Dataset Version"
          },
          "last_activity_date": {
            "anyOf": [
              {
                "format": "date",
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "title": "Last Activity Date"
          },
          "name": {
            "title": "Name",
            "type": "string"
          },
          "state": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "title": "State"
          },
          "status": {
            "title": "Status",
            "type": "string"
          },
          "zip": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "title": "Zip"
          }
        },
        "required": [
          "name",
          "status",
          "address",
          "city",
          "state",
          "zip",
          "last_activity_date",
          "dataset_version"
        ],
        "title": "SnapshotOut",
        "type": "object"
      },
      "SocialCapitalOut": {
        "properties": {
          "civic_organizations": {
            "anyOf": [
              {
                "type": "number"
              },
              {
                "type": "null"
              }
            ],
            "title": "Civic Organizations"
          },
          "clustering": {
            "anyOf": [
              {
                "type": "number"
              },
              {
                "type": "null"
              }
            ],
            "title": "Clustering"
          },
          "economic_connectedness": {
            "anyOf": [
              {
                "type": "number"
              },
              {
                "type": "null"
              }
            ],
            "title": "Economic Connectedness"
          },
          "support_ratio": {
            "anyOf": [
              {
                "type": "number"
              },
              {
                "type": "null"
              }
            ],
            "title": "Support Ratio"
          },
          "volunteering_rate": {
            "anyOf": [
              {
                "type": "number"
              },
              {
                "type": "null"
              }
            ],
            "title": "Volunteering Rate"
          }
        },
        "title": "SocialCapitalOut",
        "type": "object"
      },
      "StatusCountOut": {
        "properties": {
          "count": {
            "title": "Count",
            "type": "integer"
          },
          "status": {
            "title": "Status",
            "type": "string"
          }
        },
        "required": [
          "status",
          "count"
        ],
        "title": "StatusCountOut",
        "type": "object"
      },
      "TaxReceiptRefOut": {
        "properties": {
          "jurisdiction_label": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "title": "Jurisdiction Label"
          },
          "renewed_date": {
            "anyOf": [
              {
                "format": "date",
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "title": "Renewed Date"
          }
        },
        "title": "TaxReceiptRefOut",
        "type": "object"
      },
      "TimelineAddressOut": {
        "properties": {
          "address": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "title": "Address"
          },
          "city": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "title": "City"
          },
          "kind": {
            "title": "Kind",
            "type": "string"
          },
          "since": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "title": "Since"
          },
          "state": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "title": "State"
          },
          "zip": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "title": "Zip"
          }
        },
        "required": [
          "kind"
        ],
        "title": "TimelineAddressOut",
        "type": "object"
      },
      "TimelineCountsOut": {
        "properties": {
          "addresses": {
            "title": "Addresses",
            "type": "integer"
          },
          "events": {
            "title": "Events",
            "type": "integer"
          },
          "names": {
            "title": "Names",
            "type": "integer"
          },
          "years_on_file": {
            "anyOf": [
              {
                "type": "integer"
              },
              {
                "type": "null"
              }
            ],
            "title": "Years On File"
          }
        },
        "required": [
          "events",
          "addresses",
          "names"
        ],
        "title": "TimelineCountsOut",
        "type": "object"
      },
      "TimelineEventOut": {
        "properties": {
          "date": {
            "title": "Date",
            "type": "string"
          },
          "detail": {
            "title": "Detail",
            "type": "string"
          },
          "kind": {
            "title": "Kind",
            "type": "string"
          },
          "label": {
            "title": "Label",
            "type": "string"
          }
        },
        "required": [
          "date",
          "kind",
          "label",
          "detail"
        ],
        "title": "TimelineEventOut",
        "type": "object"
      },
      "TimelineNameOut": {
        "properties": {
          "kind": {
            "title": "Kind",
            "type": "string"
          },
          "name": {
            "title": "Name",
            "type": "string"
          },
          "since": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "title": "Since"
          }
        },
        "required": [
          "name",
          "kind"
        ],
        "title": "TimelineNameOut",
        "type": "object"
      },
      "TimelinePersonOut": {
        "properties": {
          "name": {
            "title": "Name",
            "type": "string"
          },
          "role": {
            "title": "Role",
            "type": "string"
          },
          "title": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "title": "Title"
          }
        },
        "required": [
          "name",
          "role"
        ],
        "title": "TimelinePersonOut",
        "type": "object"
      },
      "TokenResponse": {
        "properties": {
          "access_token": {
            "title": "Access Token",
            "type": "string"
          },
          "token_type": {
            "default": "bearer",
            "title": "Token Type",
            "type": "string"
          }
        },
        "required": [
          "access_token"
        ],
        "title": "TokenResponse",
        "type": "object"
      },
      "TopAgentOut": {
        "properties": {
          "address": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "title": "Address"
          },
          "count": {
            "title": "Count",
            "type": "integer"
          },
          "total": {
            "title": "Total",
            "type": "integer"
          },
          "zip5": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "title": "Zip5"
          }
        },
        "required": [
          "address",
          "zip5",
          "count",
          "total"
        ],
        "title": "TopAgentOut",
        "type": "object"
      },
      "TopContractorOut": {
        "properties": {
          "license_number": {
            "title": "License Number",
            "type": "string"
          },
          "main_work": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "title": "Main Work"
          },
          "name": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "title": "Name"
          },
          "permits": {
            "title": "Permits",
            "type": "integer"
          }
        },
        "required": [
          "license_number",
          "permits"
        ],
        "title": "TopContractorOut",
        "type": "object"
      },
      "TopZipOut": {
        "properties": {
          "city": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "title": "City"
          },
          "count": {
            "title": "Count",
            "type": "integer"
          },
          "zip5": {
            "title": "Zip5",
            "type": "string"
          }
        },
        "required": [
          "zip5",
          "city",
          "count"
        ],
        "title": "TopZipOut",
        "type": "object"
      },
      "TourSeenIn": {
        "properties": {
          "status": {
            "enum": [
              "completed",
              "skipped"
            ],
            "title": "Status",
            "type": "string"
          }
        },
        "required": [
          "status"
        ],
        "title": "TourSeenIn",
        "type": "object"
      },
      "TradeNameMatchOut": {
        "description": "A trading-name match and its legal entity.",
        "properties": {
          "business": {
            "$ref": "#/components/schemas/BusinessSummaryOut"
          },
          "city": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "title": "City"
          },
          "state": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "title": "State"
          },
          "trade_name": {
            "title": "Trade Name",
            "type": "string"
          },
          "zip": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "title": "Zip"
          }
        },
        "required": [
          "trade_name",
          "business"
        ],
        "title": "TradeNameMatchOut",
        "type": "object"
      },
      "TradeNameOut": {
        "description": "A registered trade name used by the business.",
        "properties": {
          "city": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "title": "City"
          },
          "county": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "title": "County"
          },
          "document_number": {
            "title": "Document Number",
            "type": "string"
          },
          "expires_date": {
            "anyOf": [
              {
                "format": "date",
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "title": "Expires Date"
          },
          "filed_date": {
            "anyOf": [
              {
                "format": "date",
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "title": "Filed Date"
          },
          "name": {
            "title": "Name",
            "type": "string"
          },
          "state": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "title": "State"
          },
          "zip": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "title": "Zip"
          }
        },
        "required": [
          "document_number",
          "name"
        ],
        "title": "TradeNameOut",
        "type": "object"
      },
      "TransactionOut": {
        "properties": {
          "action": {
            "anyOf": [
              {
                "$ref": "#/components/schemas/CreditAction"
              },
              {
                "type": "null"
              }
            ]
          },
          "amount": {
            "title": "Amount",
            "type": "integer"
          },
          "api_key_name": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "title": "Api Key Name"
          },
          "balance_after": {
            "title": "Balance After",
            "type": "integer"
          },
          "created_at": {
            "format": "date-time",
            "title": "Created At",
            "type": "string"
          },
          "description": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "title": "Description"
          },
          "id": {
            "format": "uuid",
            "title": "Id",
            "type": "string"
          },
          "reservation_status": {
            "anyOf": [
              {
                "$ref": "#/components/schemas/ReservationStatus"
              },
              {
                "type": "null"
              }
            ]
          },
          "type": {
            "$ref": "#/components/schemas/TransactionType"
          },
          "user_email": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "title": "User Email"
          }
        },
        "required": [
          "id",
          "type",
          "action",
          "amount",
          "balance_after",
          "description",
          "user_email",
          "reservation_status",
          "created_at"
        ],
        "title": "TransactionOut",
        "type": "object"
      },
      "TransactionType": {
        "enum": [
          "grant",
          "hold",
          "release",
          "expire",
          "adjustment"
        ],
        "title": "TransactionType",
        "type": "string"
      },
      "TriggersIn": {
        "properties": {
          "code_cases": {
            "default": false,
            "title": "Code Cases",
            "type": "boolean"
          },
          "license_changes": {
            "default": false,
            "title": "License Changes",
            "type": "boolean"
          },
          "new_businesses": {
            "default": false,
            "title": "New Businesses",
            "type": "boolean"
          },
          "new_permits": {
            "$ref": "#/components/schemas/PermitTriggerIn"
          },
          "str_registrations": {
            "default": false,
            "title": "Str Registrations",
            "type": "boolean"
          }
        },
        "title": "TriggersIn",
        "type": "object"
      },
      "TriggersOut": {
        "properties": {
          "code_cases": {
            "title": "Code Cases",
            "type": "boolean"
          },
          "license_changes": {
            "title": "License Changes",
            "type": "boolean"
          },
          "new_businesses": {
            "title": "New Businesses",
            "type": "boolean"
          },
          "new_permits": {
            "$ref": "#/components/schemas/PermitTriggerOut"
          },
          "str_registrations": {
            "title": "Str Registrations",
            "type": "boolean"
          }
        },
        "required": [
          "new_businesses",
          "new_permits",
          "code_cases",
          "str_registrations",
          "license_changes"
        ],
        "title": "TriggersOut",
        "type": "object"
      },
      "UnclassifiedCountOut": {
        "properties": {
          "residents": {
            "title": "Residents",
            "type": "integer"
          },
          "zips": {
            "title": "Zips",
            "type": "integer"
          }
        },
        "required": [
          "zips",
          "residents"
        ],
        "title": "UnclassifiedCountOut",
        "type": "object"
      },
      "UnmaskHintOut": {
        "description": "Machine-readable companion to MASK_PHRASE: how to unmask this\nresponse. Present iff the top-level `masked` flag is True.",
        "properties": {
          "credit_cost": {
            "title": "Credit Cost",
            "type": "integer"
          },
          "message": {
            "default": "Buy credits to unmask.",
            "title": "Message",
            "type": "string"
          },
          "purchase_url": {
            "default": "/billing",
            "title": "Purchase Url",
            "type": "string"
          }
        },
        "required": [
          "credit_cost"
        ],
        "title": "UnmaskHintOut",
        "type": "object"
      },
      "UpdateMeRequest": {
        "description": "Partial update \u2014 only the provided fields change.",
        "properties": {
          "first_name": {
            "anyOf": [
              {
                "maxLength": 60,
                "minLength": 1,
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "title": "First Name"
          },
          "last_name": {
            "anyOf": [
              {
                "maxLength": 60,
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "title": "Last Name"
          },
          "marketing_opt_in": {
            "anyOf": [
              {
                "type": "boolean"
              },
              {
                "type": "null"
              }
            ],
            "title": "Marketing Opt In"
          }
        },
        "title": "UpdateMeRequest",
        "type": "object"
      },
      "UsageActionOut": {
        "properties": {
          "action": {
            "$ref": "#/components/schemas/CreditAction"
          },
          "count": {
            "title": "Count",
            "type": "integer"
          },
          "credits": {
            "title": "Credits",
            "type": "integer"
          }
        },
        "required": [
          "action",
          "count",
          "credits"
        ],
        "title": "UsageActionOut",
        "type": "object"
      },
      "UsageActorOut": {
        "properties": {
          "actions": {
            "items": {
              "$ref": "#/components/schemas/UsageActionOut"
            },
            "title": "Actions",
            "type": "array"
          },
          "api_key_id": {
            "anyOf": [
              {
                "format": "uuid",
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "title": "Api Key Id"
          },
          "api_key_name": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "title": "Api Key Name"
          },
          "count": {
            "title": "Count",
            "type": "integer"
          },
          "credits": {
            "title": "Credits",
            "type": "integer"
          },
          "limit": {
            "anyOf": [
              {
                "type": "integer"
              },
              {
                "type": "null"
              }
            ],
            "title": "Limit"
          },
          "user_email": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "title": "User Email"
          },
          "user_id": {
            "anyOf": [
              {
                "format": "uuid",
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "title": "User Id"
          },
          "user_name": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "title": "User Name"
          }
        },
        "required": [
          "user_id",
          "user_email",
          "user_name",
          "api_key_id",
          "api_key_name",
          "credits",
          "count",
          "limit",
          "actions"
        ],
        "title": "UsageActorOut",
        "type": "object"
      },
      "UsageOut": {
        "properties": {
          "items": {
            "items": {
              "$ref": "#/components/schemas/UsageActorOut"
            },
            "title": "Items",
            "type": "array"
          },
          "period": {
            "title": "Period",
            "type": "string"
          },
          "total_actors": {
            "title": "Total Actors",
            "type": "integer"
          },
          "total_credits": {
            "title": "Total Credits",
            "type": "integer"
          }
        },
        "required": [
          "period",
          "items",
          "total_actors",
          "total_credits"
        ],
        "title": "UsageOut",
        "type": "object"
      },
      "UserOut": {
        "properties": {
          "acquisition_channel": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "title": "Acquisition Channel"
          },
          "channel_group": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "title": "Channel Group"
          },
          "created_at": {
            "format": "date-time",
            "title": "Created At",
            "type": "string"
          },
          "email": {
            "title": "Email",
            "type": "string"
          },
          "email_verified": {
            "title": "Email Verified",
            "type": "boolean"
          },
          "first_name": {
            "title": "First Name",
            "type": "string"
          },
          "id": {
            "format": "uuid",
            "title": "Id",
            "type": "string"
          },
          "is_superuser": {
            "title": "Is Superuser",
            "type": "boolean"
          },
          "last_name": {
            "title": "Last Name",
            "type": "string"
          },
          "marketing_opt_in": {
            "title": "Marketing Opt In",
            "type": "boolean"
          },
          "name": {
            "title": "Name",
            "type": "string"
          }
        },
        "required": [
          "id",
          "email",
          "first_name",
          "last_name",
          "name",
          "is_superuser",
          "marketing_opt_in",
          "email_verified",
          "created_at"
        ],
        "title": "UserOut",
        "type": "object"
      },
      "ValidationError": {
        "properties": {
          "ctx": {
            "title": "Context",
            "type": "object"
          },
          "input": {
            "title": "Input"
          },
          "loc": {
            "items": {
              "anyOf": [
                {
                  "type": "string"
                },
                {
                  "type": "integer"
                }
              ]
            },
            "title": "Location",
            "type": "array"
          },
          "msg": {
            "title": "Message",
            "type": "string"
          },
          "type": {
            "title": "Error Type",
            "type": "string"
          }
        },
        "required": [
          "loc",
          "msg",
          "type"
        ],
        "title": "ValidationError",
        "type": "object"
      },
      "VerifyEmailRequest": {
        "properties": {
          "token": {
            "title": "Token",
            "type": "string"
          }
        },
        "required": [
          "token"
        ],
        "title": "VerifyEmailRequest",
        "type": "object"
      },
      "VulnerabilityOut": {
        "properties": {
          "svi_household": {
            "anyOf": [
              {
                "type": "number"
              },
              {
                "type": "null"
              }
            ],
            "title": "Svi Household"
          },
          "svi_housing_transport": {
            "anyOf": [
              {
                "type": "number"
              },
              {
                "type": "null"
              }
            ],
            "title": "Svi Housing Transport"
          },
          "svi_pct_no_hs": {
            "anyOf": [
              {
                "type": "number"
              },
              {
                "type": "null"
              }
            ],
            "title": "Svi Pct No Hs"
          },
          "svi_pct_pov150": {
            "anyOf": [
              {
                "type": "number"
              },
              {
                "type": "null"
              }
            ],
            "title": "Svi Pct Pov150"
          },
          "svi_pct_unemp": {
            "anyOf": [
              {
                "type": "number"
              },
              {
                "type": "null"
              }
            ],
            "title": "Svi Pct Unemp"
          },
          "svi_pct_uninsured": {
            "anyOf": [
              {
                "type": "number"
              },
              {
                "type": "null"
              }
            ],
            "title": "Svi Pct Uninsured"
          },
          "svi_socioeconomic": {
            "anyOf": [
              {
                "type": "number"
              },
              {
                "type": "null"
              }
            ],
            "title": "Svi Socioeconomic"
          }
        },
        "title": "VulnerabilityOut",
        "type": "object"
      },
      "WalletOut": {
        "properties": {
          "allowance_period": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "title": "Allowance Period"
          },
          "balance": {
            "title": "Balance",
            "type": "integer"
          },
          "monthly_allowance": {
            "title": "Monthly Allowance",
            "type": "integer"
          },
          "pending_holds": {
            "items": {
              "$ref": "#/components/schemas/ReservationOut"
            },
            "title": "Pending Holds",
            "type": "array"
          },
          "reserved": {
            "title": "Reserved",
            "type": "integer"
          },
          "unlimited": {
            "default": false,
            "title": "Unlimited",
            "type": "boolean"
          },
          "unlimited_until": {
            "anyOf": [
              {
                "format": "date-time",
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "title": "Unlimited Until"
          }
        },
        "required": [
          "balance",
          "reserved",
          "monthly_allowance",
          "allowance_period",
          "pending_holds"
        ],
        "title": "WalletOut",
        "type": "object"
      },
      "WatchIn": {
        "properties": {
          "name": {
            "default": "",
            "maxLength": 200,
            "title": "Name",
            "type": "string"
          },
          "triggers": {
            "$ref": "#/components/schemas/TriggersIn"
          },
          "where_kind": {
            "maxLength": 16,
            "title": "Where Kind",
            "type": "string"
          },
          "where_values": {
            "items": {
              "maxLength": 120,
              "type": "string"
            },
            "maxItems": 200,
            "title": "Where Values",
            "type": "array"
          }
        },
        "required": [
          "where_kind"
        ],
        "title": "WatchIn",
        "type": "object"
      },
      "WatchListOut": {
        "properties": {
          "items": {
            "items": {
              "$ref": "#/components/schemas/WatchOut"
            },
            "title": "Items",
            "type": "array"
          },
          "limit": {
            "default": 50,
            "title": "Limit",
            "type": "integer"
          }
        },
        "required": [
          "items"
        ],
        "title": "WatchListOut",
        "type": "object"
      },
      "WatchOut": {
        "properties": {
          "created_at": {
            "format": "date-time",
            "title": "Created At",
            "type": "string"
          },
          "created_by": {
            "anyOf": [
              {
                "format": "uuid",
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "title": "Created By"
          },
          "hits_7d": {
            "title": "Hits 7D",
            "type": "integer"
          },
          "id": {
            "format": "uuid",
            "title": "Id",
            "type": "string"
          },
          "matched_through": {
            "anyOf": [
              {
                "format": "date",
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "title": "Matched Through"
          },
          "name": {
            "title": "Name",
            "type": "string"
          },
          "status": {
            "enum": [
              "active",
              "paused"
            ],
            "title": "Status",
            "type": "string"
          },
          "triggers": {
            "$ref": "#/components/schemas/TriggersOut"
          },
          "updated_at": {
            "format": "date-time",
            "title": "Updated At",
            "type": "string"
          },
          "where_kind": {
            "title": "Where Kind",
            "type": "string"
          },
          "where_values": {
            "items": {
              "type": "string"
            },
            "title": "Where Values",
            "type": "array"
          }
        },
        "required": [
          "id",
          "name",
          "where_kind",
          "where_values",
          "triggers",
          "status",
          "matched_through",
          "created_by",
          "created_at",
          "updated_at",
          "hits_7d"
        ],
        "title": "WatchOut",
        "type": "object"
      },
      "WatchPatchIn": {
        "properties": {
          "name": {
            "anyOf": [
              {
                "maxLength": 200,
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "title": "Name"
          },
          "status": {
            "anyOf": [
              {
                "enum": [
                  "active",
                  "paused"
                ],
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "title": "Status"
          },
          "triggers": {
            "anyOf": [
              {
                "$ref": "#/components/schemas/TriggersIn"
              },
              {
                "type": "null"
              }
            ]
          },
          "where_kind": {
            "anyOf": [
              {
                "maxLength": 16,
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "title": "Where Kind"
          },
          "where_values": {
            "anyOf": [
              {
                "items": {
                  "maxLength": 120,
                  "type": "string"
                },
                "maxItems": 200,
                "type": "array"
              },
              {
                "type": "null"
              }
            ],
            "title": "Where Values"
          }
        },
        "title": "WatchPatchIn",
        "type": "object"
      },
      "WorkMixOut": {
        "properties": {
          "label": {
            "title": "Label",
            "type": "string"
          },
          "permits": {
            "title": "Permits",
            "type": "integer"
          },
          "share": {
            "title": "Share",
            "type": "number"
          },
          "work_class": {
            "title": "Work Class",
            "type": "string"
          }
        },
        "required": [
          "work_class",
          "label",
          "permits",
          "share"
        ],
        "title": "WorkMixOut",
        "type": "object"
      },
      "YtdOut": {
        "properties": {
          "count": {
            "title": "Count",
            "type": "integer"
          },
          "prior": {
            "title": "Prior",
            "type": "integer"
          },
          "through": {
            "title": "Through",
            "type": "string"
          },
          "year": {
            "title": "Year",
            "type": "integer"
          }
        },
        "required": [
          "year",
          "count",
          "prior",
          "through"
        ],
        "title": "YtdOut",
        "type": "object"
      },
      "ZipActivityDetailOut": {
        "properties": {
          "has_feed": {
            "title": "Has Feed",
            "type": "boolean"
          },
          "job_value_12m": {
            "anyOf": [
              {
                "type": "number"
              },
              {
                "type": "null"
              }
            ],
            "title": "Job Value 12M"
          },
          "monthly": {
            "items": {
              "$ref": "#/components/schemas/app__domains__local_activity__interface__schemas__MonthCountOut"
            },
            "title": "Monthly",
            "type": "array"
          },
          "new_tax_receipts_12m": {
            "title": "New Tax Receipts 12M",
            "type": "integer"
          },
          "open_code_cases": {
            "title": "Open Code Cases",
            "type": "integer"
          },
          "permits_12m": {
            "title": "Permits 12M",
            "type": "integer"
          },
          "permits_yoy": {
            "anyOf": [
              {
                "type": "number"
              },
              {
                "type": "null"
              }
            ],
            "title": "Permits Yoy"
          },
          "quintile": {
            "anyOf": [
              {
                "type": "integer"
              },
              {
                "type": "null"
              }
            ],
            "title": "Quintile"
          },
          "top_contractors": {
            "items": {
              "$ref": "#/components/schemas/TopContractorOut"
            },
            "title": "Top Contractors",
            "type": "array"
          },
          "work_mix": {
            "items": {
              "$ref": "#/components/schemas/ZipWorkShareOut"
            },
            "title": "Work Mix",
            "type": "array"
          },
          "zip5": {
            "title": "Zip5",
            "type": "string"
          }
        },
        "required": [
          "zip5",
          "has_feed",
          "permits_12m",
          "new_tax_receipts_12m",
          "open_code_cases",
          "monthly",
          "work_mix",
          "top_contractors"
        ],
        "title": "ZipActivityDetailOut",
        "type": "object"
      },
      "ZipActivityListOut": {
        "properties": {
          "breaks": {
            "items": {
              "type": "number"
            },
            "title": "Breaks",
            "type": "array"
          },
          "items": {
            "items": {
              "$ref": "#/components/schemas/ZipActivityPointOut"
            },
            "title": "Items",
            "type": "array"
          }
        },
        "required": [
          "breaks",
          "items"
        ],
        "title": "ZipActivityListOut",
        "type": "object"
      },
      "ZipActivityPointOut": {
        "properties": {
          "has_feed": {
            "title": "Has Feed",
            "type": "boolean"
          },
          "permits_12m": {
            "title": "Permits 12M",
            "type": "integer"
          },
          "permits_per_1k": {
            "anyOf": [
              {
                "type": "number"
              },
              {
                "type": "null"
              }
            ],
            "title": "Permits Per 1K"
          },
          "quintile": {
            "anyOf": [
              {
                "type": "integer"
              },
              {
                "type": "null"
              }
            ],
            "title": "Quintile"
          },
          "zip5": {
            "title": "Zip5",
            "type": "string"
          }
        },
        "required": [
          "zip5",
          "permits_12m",
          "has_feed"
        ],
        "title": "ZipActivityPointOut",
        "type": "object"
      },
      "ZipCountOut": {
        "properties": {
          "n": {
            "title": "N",
            "type": "integer"
          },
          "zip": {
            "title": "Zip",
            "type": "string"
          }
        },
        "required": [
          "zip",
          "n"
        ],
        "title": "ZipCountOut",
        "type": "object"
      },
      "ZipDistributionOut": {
        "properties": {
          "bins": {
            "items": {
              "$ref": "#/components/schemas/DistributionBinOut"
            },
            "title": "Bins",
            "type": "array"
          },
          "metric": {
            "title": "Metric",
            "type": "string"
          },
          "state": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "title": "State"
          },
          "total": {
            "title": "Total",
            "type": "integer"
          }
        },
        "required": [
          "metric",
          "total",
          "bins"
        ],
        "title": "ZipDistributionOut",
        "type": "object"
      },
      "ZipListOut": {
        "properties": {
          "dataset": {
            "title": "Dataset",
            "type": "string"
          },
          "extended": {
            "title": "Extended",
            "type": "boolean"
          },
          "rows": {
            "items": {
              "$ref": "#/components/schemas/ZipListRowOut"
            },
            "title": "Rows",
            "type": "array"
          },
          "total": {
            "title": "Total",
            "type": "integer"
          }
        },
        "required": [
          "total",
          "extended",
          "dataset",
          "rows"
        ],
        "title": "ZipListOut",
        "type": "object"
      },
      "ZipListRowOut": {
        "properties": {
          "acs_source": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "title": "Acs Source"
          },
          "city": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "title": "City"
          },
          "hpi_1y_change": {
            "anyOf": [
              {
                "type": "number"
              },
              {
                "type": "null"
              }
            ],
            "title": "Hpi 1Y Change"
          },
          "hpi_5y_change": {
            "anyOf": [
              {
                "type": "number"
              },
              {
                "type": "null"
              }
            ],
            "title": "Hpi 5Y Change"
          },
          "median_hh_income": {
            "anyOf": [
              {
                "type": "integer"
              },
              {
                "type": "null"
              }
            ],
            "title": "Median Hh Income"
          },
          "median_home_value": {
            "anyOf": [
              {
                "type": "integer"
              },
              {
                "type": "null"
              }
            ],
            "title": "Median Home Value"
          },
          "place_type": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "title": "Place Type"
          },
          "sort_value": {
            "anyOf": [
              {
                "type": "number"
              },
              {
                "type": "null"
              }
            ],
            "title": "Sort Value"
          },
          "state": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "title": "State"
          },
          "total_pop": {
            "anyOf": [
              {
                "type": "integer"
              },
              {
                "type": "null"
              }
            ],
            "title": "Total Pop"
          },
          "zip5": {
            "title": "Zip5",
            "type": "string"
          }
        },
        "required": [
          "zip5"
        ],
        "title": "ZipListRowOut",
        "type": "object"
      },
      "ZipPlaceOut": {
        "properties": {
          "city": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "title": "City"
          },
          "density": {
            "anyOf": [
              {
                "type": "number"
              },
              {
                "type": "null"
              }
            ],
            "title": "Density"
          },
          "density_rank": {
            "anyOf": [
              {
                "$ref": "#/components/schemas/DensityRankOut"
              },
              {
                "type": "null"
              }
            ]
          },
          "land_sqmi": {
            "anyOf": [
              {
                "type": "number"
              },
              {
                "type": "null"
              }
            ],
            "title": "Land Sqmi"
          },
          "lat": {
            "anyOf": [
              {
                "type": "number"
              },
              {
                "type": "null"
              }
            ],
            "title": "Lat"
          },
          "lon": {
            "anyOf": [
              {
                "type": "number"
              },
              {
                "type": "null"
              }
            ],
            "title": "Lon"
          },
          "place_type": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "title": "Place Type"
          },
          "state": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "title": "State"
          }
        },
        "title": "ZipPlaceOut",
        "type": "object"
      },
      "ZipPlaceTypesOut": {
        "properties": {
          "dataset": {
            "title": "Dataset",
            "type": "string"
          },
          "min_pop": {
            "title": "Min Pop",
            "type": "integer"
          },
          "state": {
            "title": "State",
            "type": "string"
          },
          "types": {
            "items": {
              "$ref": "#/components/schemas/PlaceTypeCountOut"
            },
            "title": "Types",
            "type": "array"
          },
          "unclassified": {
            "$ref": "#/components/schemas/UnclassifiedCountOut"
          }
        },
        "required": [
          "state",
          "min_pop",
          "dataset",
          "types",
          "unclassified"
        ],
        "title": "ZipPlaceTypesOut",
        "type": "object"
      },
      "ZipPointOut": {
        "properties": {
          "city": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "title": "City"
          },
          "lat": {
            "title": "Lat",
            "type": "number"
          },
          "lon": {
            "title": "Lon",
            "type": "number"
          },
          "place_type": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "title": "Place Type"
          },
          "total_pop": {
            "anyOf": [
              {
                "type": "integer"
              },
              {
                "type": "null"
              }
            ],
            "title": "Total Pop"
          },
          "x": {
            "title": "X",
            "type": "number"
          },
          "y": {
            "anyOf": [
              {
                "type": "number"
              },
              {
                "type": "null"
              }
            ],
            "title": "Y"
          },
          "zip5": {
            "title": "Zip5",
            "type": "string"
          }
        },
        "required": [
          "zip5",
          "lat",
          "lon",
          "x"
        ],
        "title": "ZipPointOut",
        "type": "object"
      },
      "ZipPointsOut": {
        "properties": {
          "breaks": {
            "items": {
              "type": "number"
            },
            "title": "Breaks",
            "type": "array"
          },
          "extended": {
            "title": "Extended",
            "type": "boolean"
          },
          "missing": {
            "title": "Missing",
            "type": "integer"
          },
          "points": {
            "items": {
              "$ref": "#/components/schemas/ZipPointOut"
            },
            "title": "Points",
            "type": "array"
          },
          "state": {
            "title": "State",
            "type": "string"
          },
          "x": {
            "title": "X",
            "type": "string"
          },
          "y": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "title": "Y"
          }
        },
        "required": [
          "state",
          "x",
          "extended",
          "breaks",
          "points",
          "missing"
        ],
        "title": "ZipPointsOut",
        "type": "object"
      },
      "ZipProfileOut": {
        "properties": {
          "dataset": {
            "title": "Dataset",
            "type": "string"
          },
          "extended": {
            "title": "Extended",
            "type": "boolean"
          },
          "percentiles": {
            "additionalProperties": {
              "anyOf": [
                {
                  "$ref": "#/components/schemas/PercentileOut"
                },
                {
                  "type": "null"
                }
              ]
            },
            "title": "Percentiles",
            "type": "object"
          },
          "place": {
            "$ref": "#/components/schemas/ZipPlaceOut"
          },
          "profile": {
            "$ref": "#/components/schemas/NeighborhoodProfileOut"
          },
          "resolution": {
            "$ref": "#/components/schemas/ZipResolutionOut"
          }
        },
        "required": [
          "extended",
          "dataset",
          "profile",
          "place",
          "resolution",
          "percentiles"
        ],
        "title": "ZipProfileOut",
        "type": "object"
      },
      "ZipResolutionOut": {
        "properties": {
          "acs_source": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "title": "Acs Source"
          },
          "dominant_tract": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "title": "Dominant Tract"
          },
          "dominant_tract_res_ratio": {
            "anyOf": [
              {
                "type": "number"
              },
              {
                "type": "null"
              }
            ],
            "title": "Dominant Tract Res Ratio"
          },
          "hud_quarter": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "title": "Hud Quarter"
          },
          "weight_basis": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "title": "Weight Basis"
          },
          "weighted_tracts": {
            "anyOf": [
              {
                "type": "integer"
              },
              {
                "type": "null"
              }
            ],
            "title": "Weighted Tracts"
          }
        },
        "title": "ZipResolutionOut",
        "type": "object"
      },
      "ZipWorkShareOut": {
        "properties": {
          "label": {
            "title": "Label",
            "type": "string"
          },
          "share": {
            "title": "Share",
            "type": "number"
          },
          "work_class": {
            "title": "Work Class",
            "type": "string"
          }
        },
        "required": [
          "work_class",
          "label",
          "share"
        ],
        "title": "ZipWorkShareOut",
        "type": "object"
      },
      "app__domains__address_checks__interface__schemas__CoverageOut": {
        "properties": {
          "refresh_date": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "title": "Refresh Date"
          },
          "source": {
            "default": "Florida Department of Revenue parcel rolls",
            "title": "Source",
            "type": "string"
          }
        },
        "title": "CoverageOut",
        "type": "object"
      },
      "app__domains__address_checks__interface__schemas__SignalOut": {
        "properties": {
          "code": {
            "title": "Code",
            "type": "string"
          },
          "evidence": {
            "additionalProperties": {
              "anyOf": [
                {
                  "type": "string"
                },
                {
                  "type": "integer"
                },
                {
                  "type": "null"
                }
              ]
            },
            "title": "Evidence",
            "type": "object"
          },
          "message": {
            "title": "Message",
            "type": "string"
          },
          "severity": {
            "enum": [
              "stale",
              "warning",
              "info",
              "current"
            ],
            "title": "Severity",
            "type": "string"
          }
        },
        "required": [
          "code",
          "severity",
          "message",
          "evidence"
        ],
        "title": "SignalOut",
        "type": "object"
      },
      "app__domains__businesses__interface__explore_schemas__MonthCountOut": {
        "properties": {
          "count": {
            "title": "Count",
            "type": "integer"
          },
          "month": {
            "title": "Month",
            "type": "string"
          }
        },
        "required": [
          "month",
          "count"
        ],
        "title": "MonthCountOut",
        "type": "object"
      },
      "app__domains__businesses__interface__schemas__CheckOut": {
        "properties": {
          "as_of": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "title": "As Of"
          },
          "detail": {
            "title": "Detail",
            "type": "string"
          },
          "key": {
            "title": "Key",
            "type": "string"
          },
          "label": {
            "title": "Label",
            "type": "string"
          },
          "result": {
            "title": "Result",
            "type": "string"
          }
        },
        "required": [
          "key",
          "label",
          "result",
          "detail"
        ],
        "title": "CheckOut",
        "type": "object"
      },
      "app__domains__businesses__interface__schemas__PermitOut": {
        "description": "A permit on file for the business.",
        "properties": {
          "address": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "title": "Address"
          },
          "city": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "title": "City"
          },
          "ended_date": {
            "anyOf": [
              {
                "format": "date",
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "title": "Ended Date"
          },
          "expires_date": {
            "anyOf": [
              {
                "format": "date",
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "title": "Expires Date"
          },
          "holder_name": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "title": "Holder Name"
          },
          "issued_date": {
            "anyOf": [
              {
                "format": "date",
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "title": "Issued Date"
          },
          "permit_number": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "title": "Permit Number"
          },
          "permit_subtype": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "title": "Permit Subtype"
          },
          "permit_type": {
            "title": "Permit Type",
            "type": "string"
          },
          "state": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "title": "State"
          },
          "status": {
            "title": "Status",
            "type": "string"
          },
          "zip": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "title": "Zip"
          }
        },
        "required": [
          "permit_type",
          "status"
        ],
        "title": "PermitOut",
        "type": "object"
      },
      "app__domains__local_activity__interface__schemas__MonthCountOut": {
        "properties": {
          "month": {
            "title": "Month",
            "type": "string"
          },
          "permits": {
            "title": "Permits",
            "type": "integer"
          }
        },
        "required": [
          "month",
          "permits"
        ],
        "title": "MonthCountOut",
        "type": "object"
      },
      "app__domains__local_activity__interface__schemas__PermitOut": {
        "properties": {
          "contractor": {
            "$ref": "#/components/schemas/PermitContractorOut"
          },
          "expires_date": {
            "anyOf": [
              {
                "format": "date",
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "title": "Expires Date"
          },
          "final_date": {
            "anyOf": [
              {
                "format": "date",
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "title": "Final Date"
          },
          "issued_date": {
            "format": "date",
            "title": "Issued Date",
            "type": "string"
          },
          "job_value": {
            "anyOf": [
              {
                "type": "number"
              },
              {
                "type": "null"
              }
            ],
            "title": "Job Value"
          },
          "permit_key": {
            "title": "Permit Key",
            "type": "string"
          },
          "permit_number": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "title": "Permit Number"
          },
          "status": {
            "title": "Status",
            "type": "string"
          },
          "work_class": {
            "title": "Work Class",
            "type": "string"
          },
          "work_description": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "title": "Work Description"
          }
        },
        "required": [
          "permit_key",
          "issued_date",
          "work_class",
          "status",
          "contractor"
        ],
        "title": "PermitOut",
        "type": "object"
      },
      "app__domains__local_activity__interface__schemas__SignalOut": {
        "properties": {
          "date": {
            "format": "date",
            "title": "Date",
            "type": "string"
          },
          "detail": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "title": "Detail"
          },
          "kind": {
            "title": "Kind",
            "type": "string"
          },
          "label": {
            "title": "Label",
            "type": "string"
          },
          "link": {
            "anyOf": [
              {
                "$ref": "#/components/schemas/SignalLinkOut"
              },
              {
                "type": "null"
              }
            ]
          },
          "where": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "title": "Where"
          }
        },
        "required": [
          "date",
          "kind",
          "label"
        ],
        "title": "SignalOut",
        "type": "object"
      },
      "app__domains__portfolios__interface__schemas__CheckOut": {
        "properties": {
          "changes": {
            "title": "Changes",
            "type": "integer"
          }
        },
        "required": [
          "changes"
        ],
        "title": "CheckOut",
        "type": "object"
      },
      "app__domains__properties__interface__schemas__CoverageOut": {
        "properties": {
          "county_count": {
            "title": "County Count",
            "type": "integer"
          },
          "fips_codes": {
            "items": {
              "type": "string"
            },
            "title": "Fips Codes",
            "type": "array"
          }
        },
        "required": [
          "fips_codes",
          "county_count"
        ],
        "title": "CoverageOut",
        "type": "object"
      }
    },
    "securitySchemes": {
      "HTTPBearer": {
        "scheme": "bearer",
        "type": "http"
      }
    }
  },
  "info": {
    "description": "Best-effort schema reference \u2014 /docs/api.md is normative. Masked (zero-credit) responses reuse the same models with `masked: true` + an `unmask` hint; errors are RFC 9457 problem+json.",
    "title": "CoverFi",
    "version": "1.0.0"
  },
  "openapi": "3.1.0",
  "paths": {
    "/api/auth/change-password": {
      "post": {
        "description": "Change password while signed in. Revokes every other session.",
        "operationId": "change_password_api_auth_change_password_post",
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/ChangePasswordRequest"
              }
            }
          },
          "required": true
        },
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/TokenResponse"
                }
              }
            },
            "description": "Successful Response"
          },
          "422": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/HTTPValidationError"
                }
              }
            },
            "description": "Validation Error"
          }
        },
        "security": [
          {
            "HTTPBearer": []
          }
        ],
        "summary": "Change Password",
        "tags": [
          "auth"
        ]
      }
    },
    "/api/auth/forgot-password": {
      "post": {
        "description": "Always 204 \u2014 whether the account exists is never revealed.",
        "operationId": "forgot_password_api_auth_forgot_password_post",
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/ForgotPasswordRequest"
              }
            }
          },
          "required": true
        },
        "responses": {
          "204": {
            "description": "Successful Response"
          },
          "422": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/HTTPValidationError"
                }
              }
            },
            "description": "Validation Error"
          }
        },
        "summary": "Forgot Password",
        "tags": [
          "auth"
        ]
      }
    },
    "/api/auth/login": {
      "post": {
        "operationId": "login_api_auth_login_post",
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/LoginRequest"
              }
            }
          },
          "required": true
        },
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/SessionResponse"
                }
              }
            },
            "description": "Successful Response"
          },
          "422": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/HTTPValidationError"
                }
              }
            },
            "description": "Validation Error"
          }
        },
        "summary": "Login",
        "tags": [
          "auth"
        ]
      }
    },
    "/api/auth/logout": {
      "post": {
        "operationId": "logout_api_auth_logout_post",
        "responses": {
          "204": {
            "description": "Successful Response"
          }
        },
        "summary": "Logout",
        "tags": [
          "auth"
        ]
      }
    },
    "/api/auth/me": {
      "get": {
        "operationId": "me_api_auth_me_get",
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/UserOut"
                }
              }
            },
            "description": "Successful Response"
          }
        },
        "security": [
          {
            "HTTPBearer": []
          }
        ],
        "summary": "Me",
        "tags": [
          "auth"
        ]
      },
      "patch": {
        "description": "Partial profile update (name, marketing consent \u2014 only provided fields).",
        "operationId": "update_me_api_auth_me_patch",
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/UpdateMeRequest"
              }
            }
          },
          "required": true
        },
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/UserOut"
                }
              }
            },
            "description": "Successful Response"
          },
          "422": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/HTTPValidationError"
                }
              }
            },
            "description": "Validation Error"
          }
        },
        "security": [
          {
            "HTTPBearer": []
          }
        ],
        "summary": "Update Me",
        "tags": [
          "auth"
        ]
      }
    },
    "/api/auth/refresh": {
      "post": {
        "operationId": "refresh_api_auth_refresh_post",
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/TokenResponse"
                }
              }
            },
            "description": "Successful Response"
          }
        },
        "summary": "Refresh",
        "tags": [
          "auth"
        ]
      }
    },
    "/api/auth/register": {
      "post": {
        "operationId": "register_api_auth_register_post",
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/RegisterRequest"
              }
            }
          },
          "required": true
        },
        "responses": {
          "201": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/UserOut"
                }
              }
            },
            "description": "Successful Response"
          },
          "422": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/HTTPValidationError"
                }
              }
            },
            "description": "Validation Error"
          }
        },
        "summary": "Register",
        "tags": [
          "auth"
        ]
      }
    },
    "/api/auth/resend-verification": {
      "post": {
        "operationId": "resend_verification_api_auth_resend_verification_post",
        "responses": {
          "204": {
            "description": "Successful Response"
          }
        },
        "security": [
          {
            "HTTPBearer": []
          }
        ],
        "summary": "Resend Verification",
        "tags": [
          "auth"
        ]
      }
    },
    "/api/auth/reset-password": {
      "post": {
        "operationId": "reset_password_api_auth_reset_password_post",
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/ResetPasswordRequest"
              }
            }
          },
          "required": true
        },
        "responses": {
          "204": {
            "description": "Successful Response"
          },
          "422": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/HTTPValidationError"
                }
              }
            },
            "description": "Validation Error"
          }
        },
        "summary": "Reset Password",
        "tags": [
          "auth"
        ]
      }
    },
    "/api/auth/signup-config": {
      "get": {
        "description": "Public config for the sign-up form (CAPTCHA site key, if enabled).",
        "operationId": "signup_config_api_auth_signup_config_get",
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/SignupConfigOut"
                }
              }
            },
            "description": "Successful Response"
          }
        },
        "summary": "Signup Config",
        "tags": [
          "auth"
        ]
      }
    },
    "/api/auth/verify-email": {
      "post": {
        "operationId": "verify_email_api_auth_verify_email_post",
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/VerifyEmailRequest"
              }
            }
          },
          "required": true
        },
        "responses": {
          "204": {
            "description": "Successful Response"
          },
          "422": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/HTTPValidationError"
                }
              }
            },
            "description": "Validation Error"
          }
        },
        "summary": "Verify Email",
        "tags": [
          "auth"
        ]
      }
    },
    "/api/billing/credits/packs": {
      "get": {
        "operationId": "list_credit_packs_api_billing_credits_packs_get",
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "items": {
                    "$ref": "#/components/schemas/CreditPackOut"
                  },
                  "title": "Response List Credit Packs Api Billing Credits Packs Get",
                  "type": "array"
                }
              }
            },
            "description": "Successful Response"
          }
        },
        "summary": "List Credit Packs",
        "tags": [
          "billing"
        ]
      }
    },
    "/api/consent": {
      "get": {
        "operationId": "current_consent_api_consent_get",
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "anyOf": [
                    {
                      "$ref": "#/components/schemas/ConsentOut"
                    },
                    {
                      "type": "null"
                    }
                  ],
                  "title": "Response Current Consent Api Consent Get"
                }
              }
            },
            "description": "Successful Response"
          }
        },
        "security": [
          {
            "HTTPBearer": []
          }
        ],
        "summary": "Current Consent",
        "tags": [
          "consent"
        ]
      },
      "post": {
        "operationId": "record_consent_api_consent_post",
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/ConsentIn"
              }
            }
          },
          "required": true
        },
        "responses": {
          "201": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ConsentOut"
                }
              }
            },
            "description": "Successful Response"
          },
          "422": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/HTTPValidationError"
                }
              }
            },
            "description": "Validation Error"
          }
        },
        "security": [
          {
            "HTTPBearer": []
          }
        ],
        "summary": "Record Consent",
        "tags": [
          "consent"
        ]
      }
    },
    "/api/credits/actions": {
      "get": {
        "operationId": "list_action_costs_api_credits_actions_get",
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "items": {
                    "$ref": "#/components/schemas/ActionCostOut"
                  },
                  "title": "Response List Action Costs Api Credits Actions Get",
                  "type": "array"
                }
              }
            },
            "description": "Successful Response"
          }
        },
        "summary": "List Action Costs",
        "tags": [
          "credits"
        ]
      }
    },
    "/api/feedback": {
      "post": {
        "operationId": "submit_feedback_api_feedback_post",
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/FeedbackIn"
              }
            }
          },
          "required": true
        },
        "responses": {
          "201": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/FeedbackOut"
                }
              }
            },
            "description": "Successful Response"
          },
          "422": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/HTTPValidationError"
                }
              }
            },
            "description": "Validation Error"
          }
        },
        "security": [
          {
            "HTTPBearer": []
          }
        ],
        "summary": "Submit Feedback",
        "tags": [
          "feedback"
        ]
      }
    },
    "/api/health": {
      "get": {
        "description": "Readiness probe \u2014 gates zero-downtime deploys, so it must verify the DB.",
        "operationId": "health_api_health_get",
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "additionalProperties": {
                    "type": "string"
                  },
                  "title": "Response Health Api Health Get",
                  "type": "object"
                }
              }
            },
            "description": "Successful Response"
          }
        },
        "summary": "Health",
        "tags": [
          "health"
        ]
      }
    },
    "/api/invitations/accept": {
      "post": {
        "operationId": "accept_invitation_api_invitations_accept_post",
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/AcceptInviteRequest"
              }
            }
          },
          "required": true
        },
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/OrgWithRole"
                }
              }
            },
            "description": "Successful Response"
          },
          "422": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/HTTPValidationError"
                }
              }
            },
            "description": "Validation Error"
          }
        },
        "security": [
          {
            "HTTPBearer": []
          }
        ],
        "summary": "Accept Invitation",
        "tags": [
          "organizations"
        ]
      }
    },
    "/api/me/feedback-prompt": {
      "delete": {
        "description": "Clear prompt state so the popup can be demoed or re-tested.",
        "operationId": "reset_prompt_state_api_me_feedback_prompt_delete",
        "responses": {
          "204": {
            "description": "Successful Response"
          }
        },
        "security": [
          {
            "HTTPBearer": []
          }
        ],
        "summary": "Reset Prompt State",
        "tags": [
          "feedback"
        ]
      },
      "get": {
        "operationId": "read_prompt_state_api_me_feedback_prompt_get",
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/FeedbackPromptOut"
                }
              }
            },
            "description": "Successful Response"
          }
        },
        "security": [
          {
            "HTTPBearer": []
          }
        ],
        "summary": "Read Prompt State",
        "tags": [
          "feedback"
        ]
      },
      "put": {
        "operationId": "record_prompt_decision_api_me_feedback_prompt_put",
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/FeedbackPromptIn"
              }
            }
          },
          "required": true
        },
        "responses": {
          "204": {
            "description": "Successful Response"
          },
          "422": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/HTTPValidationError"
                }
              }
            },
            "description": "Validation Error"
          }
        },
        "security": [
          {
            "HTTPBearer": []
          }
        ],
        "summary": "Record Prompt Decision",
        "tags": [
          "feedback"
        ]
      }
    },
    "/api/me/tours": {
      "get": {
        "operationId": "list_seen_tours_api_me_tours_get",
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "additionalProperties": {
                    "type": "string"
                  },
                  "title": "Response List Seen Tours Api Me Tours Get",
                  "type": "object"
                }
              }
            },
            "description": "Successful Response"
          }
        },
        "security": [
          {
            "HTTPBearer": []
          }
        ],
        "summary": "List Seen Tours",
        "tags": [
          "onboarding"
        ]
      }
    },
    "/api/me/tours/{tour_key}": {
      "delete": {
        "operationId": "reset_tour_api_me_tours__tour_key__delete",
        "parameters": [
          {
            "in": "path",
            "name": "tour_key",
            "required": true,
            "schema": {
              "maxLength": 64,
              "minLength": 1,
              "pattern": "^[a-z0-9:_-]+$",
              "title": "Tour Key",
              "type": "string"
            }
          }
        ],
        "responses": {
          "204": {
            "description": "Successful Response"
          },
          "422": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/HTTPValidationError"
                }
              }
            },
            "description": "Validation Error"
          }
        },
        "security": [
          {
            "HTTPBearer": []
          }
        ],
        "summary": "Reset Tour",
        "tags": [
          "onboarding"
        ]
      },
      "put": {
        "operationId": "mark_tour_seen_api_me_tours__tour_key__put",
        "parameters": [
          {
            "in": "path",
            "name": "tour_key",
            "required": true,
            "schema": {
              "maxLength": 64,
              "minLength": 1,
              "pattern": "^[a-z0-9:_-]+$",
              "title": "Tour Key",
              "type": "string"
            }
          }
        ],
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/TourSeenIn"
              }
            }
          },
          "required": true
        },
        "responses": {
          "204": {
            "description": "Successful Response"
          },
          "422": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/HTTPValidationError"
                }
              }
            },
            "description": "Validation Error"
          }
        },
        "security": [
          {
            "HTTPBearer": []
          }
        ],
        "summary": "Mark Tour Seen",
        "tags": [
          "onboarding"
        ]
      }
    },
    "/api/orgs": {
      "get": {
        "operationId": "list_my_orgs_api_orgs_get",
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "items": {
                    "$ref": "#/components/schemas/OrgWithRole"
                  },
                  "title": "Response List My Orgs Api Orgs Get",
                  "type": "array"
                }
              }
            },
            "description": "Successful Response"
          }
        },
        "security": [
          {
            "HTTPBearer": []
          }
        ],
        "summary": "List My Orgs",
        "tags": [
          "organizations"
        ]
      },
      "post": {
        "operationId": "create_org_api_orgs_post",
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/OrgCreate"
              }
            }
          },
          "required": true
        },
        "responses": {
          "201": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/OrgWithRole"
                }
              }
            },
            "description": "Successful Response"
          },
          "422": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/HTTPValidationError"
                }
              }
            },
            "description": "Validation Error"
          }
        },
        "security": [
          {
            "HTTPBearer": []
          }
        ],
        "summary": "Create Org",
        "tags": [
          "organizations"
        ]
      }
    },
    "/api/orgs/{org_id}": {
      "delete": {
        "operationId": "delete_org_api_orgs__org_id__delete",
        "parameters": [
          {
            "in": "path",
            "name": "org_id",
            "required": true,
            "schema": {
              "format": "uuid",
              "title": "Org Id",
              "type": "string"
            }
          }
        ],
        "responses": {
          "204": {
            "description": "Successful Response"
          },
          "422": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/HTTPValidationError"
                }
              }
            },
            "description": "Validation Error"
          }
        },
        "security": [
          {
            "HTTPBearer": []
          }
        ],
        "summary": "Delete Org",
        "tags": [
          "organizations"
        ]
      },
      "get": {
        "operationId": "get_org_api_orgs__org_id__get",
        "parameters": [
          {
            "in": "path",
            "name": "org_id",
            "required": true,
            "schema": {
              "format": "uuid",
              "title": "Org Id",
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/OrgWithRole"
                }
              }
            },
            "description": "Successful Response"
          },
          "422": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/HTTPValidationError"
                }
              }
            },
            "description": "Validation Error"
          }
        },
        "security": [
          {
            "HTTPBearer": []
          }
        ],
        "summary": "Get Org",
        "tags": [
          "organizations"
        ]
      },
      "patch": {
        "operationId": "update_org_api_orgs__org_id__patch",
        "parameters": [
          {
            "in": "path",
            "name": "org_id",
            "required": true,
            "schema": {
              "format": "uuid",
              "title": "Org Id",
              "type": "string"
            }
          }
        ],
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/OrgUpdate"
              }
            }
          },
          "required": true
        },
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/OrgWithRole"
                }
              }
            },
            "description": "Successful Response"
          },
          "422": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/HTTPValidationError"
                }
              }
            },
            "description": "Validation Error"
          }
        },
        "security": [
          {
            "HTTPBearer": []
          }
        ],
        "summary": "Update Org",
        "tags": [
          "organizations"
        ]
      }
    },
    "/api/orgs/{org_id}/api-keys": {
      "get": {
        "operationId": "list_api_keys_api_orgs__org_id__api_keys_get",
        "parameters": [
          {
            "in": "path",
            "name": "org_id",
            "required": true,
            "schema": {
              "format": "uuid",
              "title": "Org Id",
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "items": {
                    "$ref": "#/components/schemas/ApiKeyOut"
                  },
                  "title": "Response List Api Keys Api Orgs  Org Id  Api Keys Get",
                  "type": "array"
                }
              }
            },
            "description": "Successful Response"
          },
          "422": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/HTTPValidationError"
                }
              }
            },
            "description": "Validation Error"
          }
        },
        "security": [
          {
            "HTTPBearer": []
          }
        ],
        "summary": "List Api Keys",
        "tags": [
          "api-keys"
        ]
      },
      "post": {
        "operationId": "create_api_key_api_orgs__org_id__api_keys_post",
        "parameters": [
          {
            "in": "path",
            "name": "org_id",
            "required": true,
            "schema": {
              "format": "uuid",
              "title": "Org Id",
              "type": "string"
            }
          }
        ],
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/ApiKeyCreate"
              }
            }
          },
          "required": true
        },
        "responses": {
          "201": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ApiKeyCreated"
                }
              }
            },
            "description": "Successful Response"
          },
          "422": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/HTTPValidationError"
                }
              }
            },
            "description": "Validation Error"
          }
        },
        "security": [
          {
            "HTTPBearer": []
          }
        ],
        "summary": "Create Api Key",
        "tags": [
          "api-keys"
        ]
      }
    },
    "/api/orgs/{org_id}/api-keys/{key_id}": {
      "delete": {
        "operationId": "revoke_api_key_api_orgs__org_id__api_keys__key_id__delete",
        "parameters": [
          {
            "in": "path",
            "name": "org_id",
            "required": true,
            "schema": {
              "format": "uuid",
              "title": "Org Id",
              "type": "string"
            }
          },
          {
            "in": "path",
            "name": "key_id",
            "required": true,
            "schema": {
              "format": "uuid",
              "title": "Key Id",
              "type": "string"
            }
          }
        ],
        "responses": {
          "204": {
            "description": "Successful Response"
          },
          "422": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/HTTPValidationError"
                }
              }
            },
            "description": "Validation Error"
          }
        },
        "security": [
          {
            "HTTPBearer": []
          }
        ],
        "summary": "Revoke Api Key",
        "tags": [
          "api-keys"
        ]
      }
    },
    "/api/orgs/{org_id}/billing": {
      "get": {
        "operationId": "get_billing_api_orgs__org_id__billing_get",
        "parameters": [
          {
            "in": "path",
            "name": "org_id",
            "required": true,
            "schema": {
              "format": "uuid",
              "title": "Org Id",
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/BillingAccountOut"
                }
              }
            },
            "description": "Successful Response"
          },
          "422": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/HTTPValidationError"
                }
              }
            },
            "description": "Validation Error"
          }
        },
        "security": [
          {
            "HTTPBearer": []
          }
        ],
        "summary": "Get Billing",
        "tags": [
          "billing"
        ]
      }
    },
    "/api/orgs/{org_id}/billing/credits/checkout": {
      "post": {
        "operationId": "create_credit_pack_checkout_api_orgs__org_id__billing_credits_checkout_post",
        "parameters": [
          {
            "in": "path",
            "name": "org_id",
            "required": true,
            "schema": {
              "format": "uuid",
              "title": "Org Id",
              "type": "string"
            }
          }
        ],
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/CreditPackCheckoutRequest"
              }
            }
          },
          "required": true
        },
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/RedirectResponse"
                }
              }
            },
            "description": "Successful Response"
          },
          "422": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/HTTPValidationError"
                }
              }
            },
            "description": "Validation Error"
          }
        },
        "security": [
          {
            "HTTPBearer": []
          }
        ],
        "summary": "Create Credit Pack Checkout",
        "tags": [
          "billing"
        ]
      }
    },
    "/api/orgs/{org_id}/billing/invoices": {
      "get": {
        "operationId": "list_invoices_api_orgs__org_id__billing_invoices_get",
        "parameters": [
          {
            "in": "path",
            "name": "org_id",
            "required": true,
            "schema": {
              "format": "uuid",
              "title": "Org Id",
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "items": {
                    "$ref": "#/components/schemas/InvoiceOut"
                  },
                  "title": "Response List Invoices Api Orgs  Org Id  Billing Invoices Get",
                  "type": "array"
                }
              }
            },
            "description": "Successful Response"
          },
          "422": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/HTTPValidationError"
                }
              }
            },
            "description": "Validation Error"
          }
        },
        "security": [
          {
            "HTTPBearer": []
          }
        ],
        "summary": "List Invoices",
        "tags": [
          "billing"
        ]
      }
    },
    "/api/orgs/{org_id}/billing/portal": {
      "post": {
        "operationId": "create_portal_api_orgs__org_id__billing_portal_post",
        "parameters": [
          {
            "in": "path",
            "name": "org_id",
            "required": true,
            "schema": {
              "format": "uuid",
              "title": "Org Id",
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/RedirectResponse"
                }
              }
            },
            "description": "Successful Response"
          },
          "422": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/HTTPValidationError"
                }
              }
            },
            "description": "Validation Error"
          }
        },
        "security": [
          {
            "HTTPBearer": []
          }
        ],
        "summary": "Create Portal",
        "tags": [
          "billing"
        ]
      }
    },
    "/api/orgs/{org_id}/businesses": {
      "get": {
        "description": "Businesses whose name starts with ``name`` (legal designators ignored).",
        "operationId": "search_businesses_api_orgs__org_id__businesses_get",
        "parameters": [
          {
            "in": "path",
            "name": "org_id",
            "required": true,
            "schema": {
              "format": "uuid",
              "title": "Org Id",
              "type": "string"
            }
          },
          {
            "in": "query",
            "name": "name",
            "required": true,
            "schema": {
              "maxLength": 192,
              "minLength": 2,
              "title": "Name",
              "type": "string"
            }
          },
          {
            "in": "query",
            "name": "state",
            "required": false,
            "schema": {
              "anyOf": [
                {
                  "maxLength": 2,
                  "type": "string"
                },
                {
                  "type": "null"
                }
              ],
              "title": "State"
            }
          },
          {
            "in": "query",
            "name": "city",
            "required": false,
            "schema": {
              "anyOf": [
                {
                  "maxLength": 64,
                  "type": "string"
                },
                {
                  "type": "null"
                }
              ],
              "title": "City"
            }
          },
          {
            "in": "query",
            "name": "zip",
            "required": false,
            "schema": {
              "anyOf": [
                {
                  "pattern": "^\\d{5}$",
                  "type": "string"
                },
                {
                  "type": "null"
                }
              ],
              "title": "Zip"
            }
          },
          {
            "in": "query",
            "name": "status",
            "required": false,
            "schema": {
              "anyOf": [
                {
                  "pattern": "^[a-z_]{3,16}$",
                  "type": "string"
                },
                {
                  "type": "null"
                }
              ],
              "title": "Status"
            }
          },
          {
            "in": "query",
            "name": "source",
            "required": false,
            "schema": {
              "anyOf": [
                {
                  "pattern": "^[a-z0-9_]{2,16}$",
                  "type": "string"
                },
                {
                  "type": "null"
                }
              ],
              "title": "Source"
            }
          },
          {
            "in": "query",
            "name": "limit",
            "required": false,
            "schema": {
              "default": 25,
              "maximum": 25,
              "minimum": 1,
              "title": "Limit",
              "type": "integer"
            }
          },
          {
            "in": "query",
            "name": "offset",
            "required": false,
            "schema": {
              "default": 0,
              "maximum": 10000,
              "minimum": 0,
              "title": "Offset",
              "type": "integer"
            }
          }
        ],
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/BusinessPageOut"
                }
              }
            },
            "description": "Successful Response"
          },
          "422": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/HTTPValidationError"
                }
              }
            },
            "description": "Validation Error"
          }
        },
        "security": [
          {
            "HTTPBearer": []
          }
        ],
        "summary": "Search Businesses",
        "tags": [
          "businesses"
        ]
      }
    },
    "/api/orgs/{org_id}/businesses/coverage": {
      "get": {
        "description": "Coverage figures for the Businesses page.",
        "operationId": "business_coverage_api_orgs__org_id__businesses_coverage_get",
        "parameters": [
          {
            "in": "path",
            "name": "org_id",
            "required": true,
            "schema": {
              "format": "uuid",
              "title": "Org Id",
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/BusinessCoverageOut"
                }
              }
            },
            "description": "Successful Response"
          },
          "422": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/HTTPValidationError"
                }
              }
            },
            "description": "Validation Error"
          }
        },
        "security": [
          {
            "HTTPBearer": []
          }
        ],
        "summary": "Business Coverage",
        "tags": [
          "businesses"
        ]
      }
    },
    "/api/orgs/{org_id}/businesses/events": {
      "get": {
        "description": "State filings, licence grants, federal loans, and capital raises in the window.",
        "operationId": "business_events_api_orgs__org_id__businesses_events_get",
        "parameters": [
          {
            "in": "path",
            "name": "org_id",
            "required": true,
            "schema": {
              "format": "uuid",
              "title": "Org Id",
              "type": "string"
            }
          },
          {
            "in": "query",
            "name": "state",
            "required": true,
            "schema": {
              "maxLength": 2,
              "minLength": 2,
              "pattern": "^[A-Za-z]{2}$",
              "title": "State",
              "type": "string"
            }
          },
          {
            "in": "query",
            "name": "kinds",
            "required": false,
            "schema": {
              "anyOf": [
                {
                  "maxLength": 80,
                  "type": "string"
                },
                {
                  "type": "null"
                }
              ],
              "title": "Kinds"
            }
          },
          {
            "in": "query",
            "name": "city",
            "required": false,
            "schema": {
              "anyOf": [
                {
                  "maxLength": 64,
                  "type": "string"
                },
                {
                  "type": "null"
                }
              ],
              "title": "City"
            }
          },
          {
            "in": "query",
            "name": "zip",
            "required": false,
            "schema": {
              "anyOf": [
                {
                  "pattern": "^\\d{5}$",
                  "type": "string"
                },
                {
                  "type": "null"
                }
              ],
              "title": "Zip"
            }
          },
          {
            "in": "query",
            "name": "entity_type",
            "required": false,
            "schema": {
              "anyOf": [
                {
                  "pattern": "^[a-z_]{2,24}$",
                  "type": "string"
                },
                {
                  "type": "null"
                }
              ],
              "title": "Entity Type"
            }
          },
          {
            "in": "query",
            "name": "days",
            "required": false,
            "schema": {
              "default": 30,
              "maximum": 90,
              "minimum": 1,
              "title": "Days",
              "type": "integer"
            }
          },
          {
            "in": "query",
            "name": "limit",
            "required": false,
            "schema": {
              "default": 25,
              "maximum": 25,
              "minimum": 1,
              "title": "Limit",
              "type": "integer"
            }
          },
          {
            "in": "query",
            "name": "offset",
            "required": false,
            "schema": {
              "default": 0,
              "maximum": 10000,
              "minimum": 0,
              "title": "Offset",
              "type": "integer"
            }
          }
        ],
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/EventsPageOut"
                }
              }
            },
            "description": "Successful Response"
          },
          "422": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/HTTPValidationError"
                }
              }
            },
            "description": "Validation Error"
          }
        },
        "security": [
          {
            "HTTPBearer": []
          }
        ],
        "summary": "Business Events",
        "tags": [
          "businesses"
        ]
      }
    },
    "/api/orgs/{org_id}/businesses/events/export.csv": {
      "get": {
        "description": "CSV of the events feed (at most 5,000 rows). Same filters as the list.",
        "operationId": "export_business_events_api_orgs__org_id__businesses_events_export_csv_get",
        "parameters": [
          {
            "in": "path",
            "name": "org_id",
            "required": true,
            "schema": {
              "format": "uuid",
              "title": "Org Id",
              "type": "string"
            }
          },
          {
            "in": "query",
            "name": "state",
            "required": true,
            "schema": {
              "maxLength": 2,
              "minLength": 2,
              "pattern": "^[A-Za-z]{2}$",
              "title": "State",
              "type": "string"
            }
          },
          {
            "in": "query",
            "name": "kinds",
            "required": false,
            "schema": {
              "anyOf": [
                {
                  "maxLength": 80,
                  "type": "string"
                },
                {
                  "type": "null"
                }
              ],
              "title": "Kinds"
            }
          },
          {
            "in": "query",
            "name": "city",
            "required": false,
            "schema": {
              "anyOf": [
                {
                  "maxLength": 64,
                  "type": "string"
                },
                {
                  "type": "null"
                }
              ],
              "title": "City"
            }
          },
          {
            "in": "query",
            "name": "zip",
            "required": false,
            "schema": {
              "anyOf": [
                {
                  "pattern": "^\\d{5}$",
                  "type": "string"
                },
                {
                  "type": "null"
                }
              ],
              "title": "Zip"
            }
          },
          {
            "in": "query",
            "name": "entity_type",
            "required": false,
            "schema": {
              "anyOf": [
                {
                  "pattern": "^[a-z_]{2,24}$",
                  "type": "string"
                },
                {
                  "type": "null"
                }
              ],
              "title": "Entity Type"
            }
          },
          {
            "in": "query",
            "name": "days",
            "required": false,
            "schema": {
              "default": 30,
              "maximum": 90,
              "minimum": 1,
              "title": "Days",
              "type": "integer"
            }
          }
        ],
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {}
              }
            },
            "description": "Successful Response"
          },
          "422": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/HTTPValidationError"
                }
              }
            },
            "description": "Validation Error"
          }
        },
        "security": [
          {
            "HTTPBearer": []
          }
        ],
        "summary": "Export Business Events",
        "tags": [
          "businesses"
        ]
      }
    },
    "/api/orgs/{org_id}/businesses/explore/addresses": {
      "get": {
        "description": "Street addresses shared by many registry entities (unit numbers merged).",
        "operationId": "explore_addresses_api_orgs__org_id__businesses_explore_addresses_get",
        "parameters": [
          {
            "in": "path",
            "name": "org_id",
            "required": true,
            "schema": {
              "format": "uuid",
              "title": "Org Id",
              "type": "string"
            }
          },
          {
            "in": "query",
            "name": "state",
            "required": false,
            "schema": {
              "default": "FL",
              "pattern": "^[A-Za-z]{2}$",
              "title": "State",
              "type": "string"
            }
          },
          {
            "in": "query",
            "name": "min_entities",
            "required": false,
            "schema": {
              "default": 100,
              "maximum": 1000,
              "minimum": 10,
              "title": "Min Entities",
              "type": "integer"
            }
          },
          {
            "in": "query",
            "name": "sort",
            "required": false,
            "schema": {
              "default": "entities",
              "enum": [
                "entities",
                "active",
                "last_12m"
              ],
              "title": "Sort",
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/AddressListOut"
                }
              }
            },
            "description": "Successful Response"
          },
          "422": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/HTTPValidationError"
                }
              }
            },
            "description": "Validation Error"
          }
        },
        "security": [
          {
            "HTTPBearer": []
          }
        ],
        "summary": "Explore Addresses",
        "tags": [
          "businesses"
        ]
      }
    },
    "/api/orgs/{org_id}/businesses/explore/addresses/detail": {
      "get": {
        "description": "One merged address: totals plus its most common as-filed spellings.\n404 ERR_BIZ_001 when no registry entity is filed there.",
        "operationId": "explore_address_detail_api_orgs__org_id__businesses_explore_addresses_detail_get",
        "parameters": [
          {
            "in": "path",
            "name": "org_id",
            "required": true,
            "schema": {
              "format": "uuid",
              "title": "Org Id",
              "type": "string"
            }
          },
          {
            "in": "query",
            "name": "zip5",
            "required": true,
            "schema": {
              "pattern": "^[0-9]{5}$",
              "title": "Zip5",
              "type": "string"
            }
          },
          {
            "in": "query",
            "name": "address_key",
            "required": true,
            "schema": {
              "maxLength": 200,
              "minLength": 1,
              "title": "Address Key",
              "type": "string"
            }
          },
          {
            "in": "query",
            "name": "state",
            "required": false,
            "schema": {
              "default": "FL",
              "pattern": "^[A-Za-z]{2}$",
              "title": "State",
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/AddressDetailOut"
                }
              }
            },
            "description": "Successful Response"
          },
          "422": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/HTTPValidationError"
                }
              }
            },
            "description": "Validation Error"
          }
        },
        "security": [
          {
            "HTTPBearer": []
          }
        ],
        "summary": "Explore Address Detail",
        "tags": [
          "businesses"
        ]
      }
    },
    "/api/orgs/{org_id}/businesses/explore/density": {
      "get": {
        "description": "Registry entities per 1,000 residents and per employer site, by ZIP.",
        "operationId": "explore_density_api_orgs__org_id__businesses_explore_density_get",
        "parameters": [
          {
            "in": "path",
            "name": "org_id",
            "required": true,
            "schema": {
              "format": "uuid",
              "title": "Org Id",
              "type": "string"
            }
          },
          {
            "in": "query",
            "name": "state",
            "required": false,
            "schema": {
              "default": "FL",
              "pattern": "^[A-Za-z]{2}$",
              "title": "State",
              "type": "string"
            }
          },
          {
            "in": "query",
            "name": "min_residents",
            "required": false,
            "schema": {
              "default": 10000,
              "maximum": 1000000,
              "minimum": 0,
              "title": "Min Residents",
              "type": "integer"
            }
          },
          {
            "in": "query",
            "name": "include_agents",
            "required": false,
            "schema": {
              "default": false,
              "title": "Include Agents",
              "type": "boolean"
            }
          },
          {
            "in": "query",
            "name": "sort",
            "required": false,
            "schema": {
              "default": "per_1k",
              "enum": [
                "per_1k",
                "ratio",
                "entities"
              ],
              "title": "Sort",
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/DensityOut"
                }
              }
            },
            "description": "Successful Response"
          },
          "422": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/HTTPValidationError"
                }
              }
            },
            "description": "Validation Error"
          }
        },
        "security": [
          {
            "HTTPBearer": []
          }
        ],
        "summary": "Explore Density",
        "tags": [
          "businesses"
        ]
      }
    },
    "/api/orgs/{org_id}/businesses/explore/employers": {
      "get": {
        "description": "Employer sizes from federal filings: size bands, sectors, business age,\nchange since 2020, ZIP clusters, pay per employee and the largest\nemployers, optionally narrowed by sector and size. ``available`` is false\n(empty lists) when no employer data is available;\n``filters_available`` is false when sector/size filtering is not\nsupported.",
        "operationId": "explore_employers_api_orgs__org_id__businesses_explore_employers_get",
        "parameters": [
          {
            "in": "path",
            "name": "org_id",
            "required": true,
            "schema": {
              "format": "uuid",
              "title": "Org Id",
              "type": "string"
            }
          },
          {
            "in": "query",
            "name": "state",
            "required": false,
            "schema": {
              "default": "ALL",
              "pattern": "^[A-Za-z]{2}$|^ALL$|^all$",
              "title": "State",
              "type": "string"
            }
          },
          {
            "description": "ALL or a 2-digit NAICS sector",
            "in": "query",
            "name": "sector",
            "required": false,
            "schema": {
              "default": "ALL",
              "description": "ALL or a 2-digit NAICS sector",
              "pattern": "^[0-9]{2}$|^ALL$|^all$",
              "title": "Sector",
              "type": "string"
            }
          },
          {
            "description": "ALL, 1-9, 10-49, 50-249 or 250+ employees",
            "in": "query",
            "name": "size",
            "required": false,
            "schema": {
              "default": "ALL",
              "description": "ALL, 1-9, 10-49, 50-249 or 250+ employees",
              "pattern": "^(ALL|all|1-9|10-49|50-249|250\\+)$",
              "title": "Size",
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/EmployerExploreOut"
                }
              }
            },
            "description": "Successful Response"
          },
          "422": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/HTTPValidationError"
                }
              }
            },
            "description": "Validation Error"
          }
        },
        "security": [
          {
            "HTTPBearer": []
          }
        ],
        "summary": "Explore Employers",
        "tags": [
          "businesses"
        ]
      }
    },
    "/api/orgs/{org_id}/businesses/explore/facilities": {
      "get": {
        "description": "Federal environmental registrations: regulated sites by program,\nregistration year, industry and ZIP. ``available`` is false (empty lists)\nwhen no site data is available. A bad state answers ERR_BIZ_002.",
        "operationId": "explore_facilities_api_orgs__org_id__businesses_explore_facilities_get",
        "parameters": [
          {
            "in": "path",
            "name": "org_id",
            "required": true,
            "schema": {
              "format": "uuid",
              "title": "Org Id",
              "type": "string"
            }
          },
          {
            "in": "query",
            "name": "state",
            "required": false,
            "schema": {
              "default": "FL",
              "maxLength": 16,
              "title": "State",
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/FacilityExploreOut"
                }
              }
            },
            "description": "Successful Response"
          },
          "422": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/HTTPValidationError"
                }
              }
            },
            "description": "Validation Error"
          }
        },
        "security": [
          {
            "HTTPBearer": []
          }
        ],
        "summary": "Explore Facilities",
        "tags": [
          "businesses"
        ]
      }
    },
    "/api/orgs/{org_id}/businesses/explore/formations": {
      "get": {
        "description": "New registry filings: KPIs, 24-month trend, entity mix and ZIP spread.",
        "operationId": "explore_formations_api_orgs__org_id__businesses_explore_formations_get",
        "parameters": [
          {
            "in": "path",
            "name": "org_id",
            "required": true,
            "schema": {
              "format": "uuid",
              "title": "Org Id",
              "type": "string"
            }
          },
          {
            "in": "query",
            "name": "state",
            "required": false,
            "schema": {
              "default": "FL",
              "pattern": "^[A-Za-z]{2}$",
              "title": "State",
              "type": "string"
            }
          },
          {
            "in": "query",
            "name": "entity_type",
            "required": false,
            "schema": {
              "default": "all",
              "enum": [
                "all",
                "llc",
                "corporation",
                "other"
              ],
              "title": "Entity Type",
              "type": "string"
            }
          },
          {
            "in": "query",
            "name": "include_agents",
            "required": false,
            "schema": {
              "default": false,
              "title": "Include Agents",
              "type": "boolean"
            }
          }
        ],
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/FormationsOut"
                }
              }
            },
            "description": "Successful Response"
          },
          "422": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/HTTPValidationError"
                }
              }
            },
            "description": "Validation Error"
          }
        },
        "security": [
          {
            "HTTPBearer": []
          }
        ],
        "summary": "Explore Formations",
        "tags": [
          "businesses"
        ]
      }
    },
    "/api/orgs/{org_id}/businesses/explore/lending": {
      "get": {
        "description": "Federal small-business lending: volume by fiscal year, program, loan\nsize, state and industry. ``available`` is false (empty lists) when\nno lending data is available. A bad state answers ERR_BIZ_002.",
        "operationId": "explore_lending_api_orgs__org_id__businesses_explore_lending_get",
        "parameters": [
          {
            "in": "path",
            "name": "org_id",
            "required": true,
            "schema": {
              "format": "uuid",
              "title": "Org Id",
              "type": "string"
            }
          },
          {
            "in": "query",
            "name": "state",
            "required": false,
            "schema": {
              "default": "ALL",
              "maxLength": 16,
              "title": "State",
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/LendingExploreOut"
                }
              }
            },
            "description": "Successful Response"
          },
          "422": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/HTTPValidationError"
                }
              }
            },
            "description": "Validation Error"
          }
        },
        "security": [
          {
            "HTTPBearer": []
          }
        ],
        "summary": "Explore Lending",
        "tags": [
          "businesses"
        ]
      }
    },
    "/api/orgs/{org_id}/businesses/explore/licenses": {
      "get": {
        "description": "Professional/board license counts by board and status, plus upcoming\nexpirations. States without license boards answer with zeros.",
        "operationId": "explore_licenses_api_orgs__org_id__businesses_explore_licenses_get",
        "parameters": [
          {
            "in": "path",
            "name": "org_id",
            "required": true,
            "schema": {
              "format": "uuid",
              "title": "Org Id",
              "type": "string"
            }
          },
          {
            "in": "query",
            "name": "state",
            "required": false,
            "schema": {
              "default": "FL",
              "pattern": "^[A-Za-z]{2}$",
              "title": "State",
              "type": "string"
            }
          },
          {
            "in": "query",
            "name": "board",
            "required": false,
            "schema": {
              "anyOf": [
                {
                  "maxLength": 120,
                  "type": "string"
                },
                {
                  "type": "null"
                }
              ],
              "title": "Board"
            }
          },
          {
            "in": "query",
            "name": "status",
            "required": false,
            "schema": {
              "default": "all",
              "enum": [
                "all",
                "active",
                "inactive",
                "delinquent"
              ],
              "title": "Status",
              "type": "string"
            }
          },
          {
            "in": "query",
            "name": "months",
            "required": false,
            "schema": {
              "default": 6,
              "maximum": 24,
              "minimum": 1,
              "title": "Months",
              "type": "integer"
            }
          }
        ],
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/LicenseStatsOut"
                }
              }
            },
            "description": "Successful Response"
          },
          "422": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/HTTPValidationError"
                }
              }
            },
            "description": "Validation Error"
          }
        },
        "security": [
          {
            "HTTPBearer": []
          }
        ],
        "summary": "Explore Licenses",
        "tags": [
          "businesses"
        ]
      }
    },
    "/api/orgs/{org_id}/businesses/explore/lifecycle": {
      "get": {
        "description": "Entities formed per year and how many of them are still active.",
        "operationId": "explore_lifecycle_api_orgs__org_id__businesses_explore_lifecycle_get",
        "parameters": [
          {
            "in": "path",
            "name": "org_id",
            "required": true,
            "schema": {
              "format": "uuid",
              "title": "Org Id",
              "type": "string"
            }
          },
          {
            "in": "query",
            "name": "state",
            "required": false,
            "schema": {
              "default": "FL",
              "pattern": "^[A-Za-z]{2}$",
              "title": "State",
              "type": "string"
            }
          },
          {
            "in": "query",
            "name": "entity_type",
            "required": false,
            "schema": {
              "default": "all",
              "enum": [
                "all",
                "llc",
                "corporation",
                "other"
              ],
              "title": "Entity Type",
              "type": "string"
            }
          },
          {
            "in": "query",
            "name": "from_year",
            "required": false,
            "schema": {
              "default": 2012,
              "maximum": 2100,
              "minimum": 1900,
              "title": "From Year",
              "type": "integer"
            }
          },
          {
            "in": "query",
            "name": "to_year",
            "required": false,
            "schema": {
              "default": 2025,
              "maximum": 2100,
              "minimum": 1900,
              "title": "To Year",
              "type": "integer"
            }
          }
        ],
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/LifecycleOut"
                }
              }
            },
            "description": "Successful Response"
          },
          "422": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/HTTPValidationError"
                }
              }
            },
            "description": "Validation Error"
          }
        },
        "security": [
          {
            "HTTPBearer": []
          }
        ],
        "summary": "Explore Lifecycle",
        "tags": [
          "businesses"
        ]
      }
    },
    "/api/orgs/{org_id}/businesses/explore/ownership": {
      "get": {
        "description": "A person's business network in one state. Charged (1 credit); no match -> 404.",
        "operationId": "ownership_network_api_orgs__org_id__businesses_explore_ownership_get",
        "parameters": [
          {
            "in": "path",
            "name": "org_id",
            "required": true,
            "schema": {
              "format": "uuid",
              "title": "Org Id",
              "type": "string"
            }
          },
          {
            "in": "query",
            "name": "name",
            "required": true,
            "schema": {
              "maxLength": 100,
              "minLength": 3,
              "title": "Name",
              "type": "string"
            }
          },
          {
            "in": "query",
            "name": "state",
            "required": false,
            "schema": {
              "default": "FL",
              "pattern": "^[A-Za-z]{2}$",
              "title": "State",
              "type": "string"
            }
          },
          {
            "in": "query",
            "name": "depth",
            "required": false,
            "schema": {
              "default": 1,
              "maximum": 2,
              "minimum": 1,
              "title": "Depth",
              "type": "integer"
            }
          },
          {
            "in": "query",
            "name": "include_bulk_agents",
            "required": false,
            "schema": {
              "default": false,
              "title": "Include Bulk Agents",
              "type": "boolean"
            }
          }
        ],
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/OwnershipNetworkOut"
                }
              }
            },
            "description": "Successful Response"
          },
          "422": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/HTTPValidationError"
                }
              }
            },
            "description": "Validation Error"
          }
        },
        "security": [
          {
            "HTTPBearer": []
          }
        ],
        "summary": "Ownership Network",
        "tags": [
          "businesses"
        ]
      }
    },
    "/api/orgs/{org_id}/businesses/explore/raises": {
      "get": {
        "description": "Private capital raises from SEC Form D filings (operating companies;\npooled funds excluded): 12-month headline, 24-month trend, industries,\nsecurity structures, ZIP clusters and the largest raises. A state with no\nissuers answers ALL; ``available`` is false (empty lists) when\nno Form D data is available.",
        "operationId": "explore_raises_api_orgs__org_id__businesses_explore_raises_get",
        "parameters": [
          {
            "in": "path",
            "name": "org_id",
            "required": true,
            "schema": {
              "format": "uuid",
              "title": "Org Id",
              "type": "string"
            }
          },
          {
            "in": "query",
            "name": "state",
            "required": false,
            "schema": {
              "default": "ALL",
              "pattern": "^[A-Za-z]{2}$|^ALL$|^all$",
              "title": "State",
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/RaisesExploreOut"
                }
              }
            },
            "description": "Successful Response"
          },
          "422": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/HTTPValidationError"
                }
              }
            },
            "description": "Validation Error"
          }
        },
        "security": [
          {
            "HTTPBearer": []
          }
        ],
        "summary": "Explore Raises",
        "tags": [
          "businesses"
        ]
      }
    },
    "/api/orgs/{org_id}/businesses/lists": {
      "get": {
        "description": "The organization's saved lists, most recently updated first.",
        "operationId": "list_saved_lists_api_orgs__org_id__businesses_lists_get",
        "parameters": [
          {
            "in": "path",
            "name": "org_id",
            "required": true,
            "schema": {
              "format": "uuid",
              "title": "Org Id",
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/SavedListListOut"
                }
              }
            },
            "description": "Successful Response"
          },
          "422": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/HTTPValidationError"
                }
              }
            },
            "description": "Validation Error"
          }
        },
        "security": [
          {
            "HTTPBearer": []
          }
        ],
        "summary": "List Saved Lists",
        "tags": [
          "businesses"
        ]
      },
      "post": {
        "description": "Save an events-feed filter. 409 when the organization already has 50.",
        "operationId": "create_saved_list_api_orgs__org_id__businesses_lists_post",
        "parameters": [
          {
            "in": "path",
            "name": "org_id",
            "required": true,
            "schema": {
              "format": "uuid",
              "title": "Org Id",
              "type": "string"
            }
          }
        ],
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/SavedListIn"
              }
            }
          },
          "required": true
        },
        "responses": {
          "201": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/SavedListOut"
                }
              }
            },
            "description": "Successful Response"
          },
          "422": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/HTTPValidationError"
                }
              }
            },
            "description": "Validation Error"
          }
        },
        "security": [
          {
            "HTTPBearer": []
          }
        ],
        "summary": "Create Saved List",
        "tags": [
          "businesses"
        ]
      }
    },
    "/api/orgs/{org_id}/businesses/lists/{list_id}": {
      "delete": {
        "description": "Delete one saved list. Unknown in this organization is 404.",
        "operationId": "delete_saved_list_api_orgs__org_id__businesses_lists__list_id__delete",
        "parameters": [
          {
            "in": "path",
            "name": "list_id",
            "required": true,
            "schema": {
              "format": "uuid",
              "title": "List Id",
              "type": "string"
            }
          },
          {
            "in": "path",
            "name": "org_id",
            "required": true,
            "schema": {
              "format": "uuid",
              "title": "Org Id",
              "type": "string"
            }
          }
        ],
        "responses": {
          "204": {
            "description": "Successful Response"
          },
          "422": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/HTTPValidationError"
                }
              }
            },
            "description": "Validation Error"
          }
        },
        "security": [
          {
            "HTTPBearer": []
          }
        ],
        "summary": "Delete Saved List",
        "tags": [
          "businesses"
        ]
      },
      "patch": {
        "description": "Rename, replace filters, or record a run (``last_count`` sets ``last_run_at``).",
        "operationId": "update_saved_list_api_orgs__org_id__businesses_lists__list_id__patch",
        "parameters": [
          {
            "in": "path",
            "name": "list_id",
            "required": true,
            "schema": {
              "format": "uuid",
              "title": "List Id",
              "type": "string"
            }
          },
          {
            "in": "path",
            "name": "org_id",
            "required": true,
            "schema": {
              "format": "uuid",
              "title": "Org Id",
              "type": "string"
            }
          }
        ],
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/SavedListPatch"
              }
            }
          },
          "required": true
        },
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/SavedListOut"
                }
              }
            },
            "description": "Successful Response"
          },
          "422": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/HTTPValidationError"
                }
              }
            },
            "description": "Validation Error"
          }
        },
        "security": [
          {
            "HTTPBearer": []
          }
        ],
        "summary": "Update Saved List",
        "tags": [
          "businesses"
        ]
      }
    },
    "/api/orgs/{org_id}/businesses/new-filings": {
      "get": {
        "description": "Filings first recorded by a state registry in the last ``days`` days (FL: the day Sunbiz\npublished; other states: filings dated within the monthly snapshot window).",
        "operationId": "new_business_filings_api_orgs__org_id__businesses_new_filings_get",
        "parameters": [
          {
            "in": "path",
            "name": "org_id",
            "required": true,
            "schema": {
              "format": "uuid",
              "title": "Org Id",
              "type": "string"
            }
          },
          {
            "in": "query",
            "name": "days",
            "required": false,
            "schema": {
              "default": 7,
              "maximum": 30,
              "minimum": 1,
              "title": "Days",
              "type": "integer"
            }
          },
          {
            "in": "query",
            "name": "state",
            "required": false,
            "schema": {
              "anyOf": [
                {
                  "maxLength": 2,
                  "type": "string"
                },
                {
                  "type": "null"
                }
              ],
              "title": "State"
            }
          },
          {
            "in": "query",
            "name": "city",
            "required": false,
            "schema": {
              "anyOf": [
                {
                  "maxLength": 64,
                  "type": "string"
                },
                {
                  "type": "null"
                }
              ],
              "title": "City"
            }
          },
          {
            "in": "query",
            "name": "zip",
            "required": false,
            "schema": {
              "anyOf": [
                {
                  "pattern": "^\\d{5}$",
                  "type": "string"
                },
                {
                  "type": "null"
                }
              ],
              "title": "Zip"
            }
          },
          {
            "in": "query",
            "name": "entity_type",
            "required": false,
            "schema": {
              "anyOf": [
                {
                  "pattern": "^[a-z_]{2,24}$",
                  "type": "string"
                },
                {
                  "type": "null"
                }
              ],
              "title": "Entity Type"
            }
          },
          {
            "in": "query",
            "name": "limit",
            "required": false,
            "schema": {
              "default": 25,
              "maximum": 25,
              "minimum": 1,
              "title": "Limit",
              "type": "integer"
            }
          },
          {
            "in": "query",
            "name": "offset",
            "required": false,
            "schema": {
              "default": 0,
              "maximum": 10000,
              "minimum": 0,
              "title": "Offset",
              "type": "integer"
            }
          }
        ],
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/NewFilingPageOut"
                }
              }
            },
            "description": "Successful Response"
          },
          "422": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/HTTPValidationError"
                }
              }
            },
            "description": "Validation Error"
          }
        },
        "security": [
          {
            "HTTPBearer": []
          }
        ],
        "summary": "New Business Filings",
        "tags": [
          "businesses"
        ]
      }
    },
    "/api/orgs/{org_id}/businesses/people": {
      "get": {
        "description": "Businesses where a named person is an officer, agent, or official.",
        "operationId": "search_business_people_api_orgs__org_id__businesses_people_get",
        "parameters": [
          {
            "in": "path",
            "name": "org_id",
            "required": true,
            "schema": {
              "format": "uuid",
              "title": "Org Id",
              "type": "string"
            }
          },
          {
            "in": "query",
            "name": "last_name",
            "required": true,
            "schema": {
              "maxLength": 64,
              "minLength": 2,
              "title": "Last Name",
              "type": "string"
            }
          },
          {
            "in": "query",
            "name": "first_name",
            "required": false,
            "schema": {
              "anyOf": [
                {
                  "maxLength": 64,
                  "type": "string"
                },
                {
                  "type": "null"
                }
              ],
              "title": "First Name"
            }
          },
          {
            "in": "query",
            "name": "state",
            "required": false,
            "schema": {
              "anyOf": [
                {
                  "maxLength": 2,
                  "type": "string"
                },
                {
                  "type": "null"
                }
              ],
              "title": "State"
            }
          },
          {
            "in": "query",
            "name": "limit",
            "required": false,
            "schema": {
              "default": 25,
              "maximum": 25,
              "minimum": 1,
              "title": "Limit",
              "type": "integer"
            }
          },
          {
            "in": "query",
            "name": "offset",
            "required": false,
            "schema": {
              "default": 0,
              "maximum": 10000,
              "minimum": 0,
              "title": "Offset",
              "type": "integer"
            }
          }
        ],
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/PersonPageOut"
                }
              }
            },
            "description": "Successful Response"
          },
          "422": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/HTTPValidationError"
                }
              }
            },
            "description": "Validation Error"
          }
        },
        "security": [
          {
            "HTTPBearer": []
          }
        ],
        "summary": "Search Business People",
        "tags": [
          "businesses"
        ]
      }
    },
    "/api/orgs/{org_id}/businesses/recent": {
      "get": {
        "description": "Businesses this org opened most recently (from the audit trail). Free.",
        "operationId": "recent_businesses_api_orgs__org_id__businesses_recent_get",
        "parameters": [
          {
            "in": "path",
            "name": "org_id",
            "required": true,
            "schema": {
              "format": "uuid",
              "title": "Org Id",
              "type": "string"
            }
          },
          {
            "in": "query",
            "name": "limit",
            "required": false,
            "schema": {
              "default": 10,
              "maximum": 25,
              "minimum": 1,
              "title": "Limit",
              "type": "integer"
            }
          }
        ],
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/RecentBusinessesOut"
                }
              }
            },
            "description": "Successful Response"
          },
          "422": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/HTTPValidationError"
                }
              }
            },
            "description": "Validation Error"
          }
        },
        "security": [
          {
            "HTTPBearer": []
          }
        ],
        "summary": "Recent Businesses",
        "tags": [
          "businesses"
        ]
      }
    },
    "/api/orgs/{org_id}/businesses/{business_key}": {
      "get": {
        "description": "One business: filing facts, people, licenses, carrier data, linked records.",
        "operationId": "get_business_api_orgs__org_id__businesses__business_key__get",
        "parameters": [
          {
            "in": "path",
            "name": "business_key",
            "required": true,
            "schema": {
              "title": "Business Key",
              "type": "string"
            }
          },
          {
            "in": "path",
            "name": "org_id",
            "required": true,
            "schema": {
              "format": "uuid",
              "title": "Org Id",
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/BusinessDetailOut"
                }
              }
            },
            "description": "Successful Response"
          },
          "422": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/HTTPValidationError"
                }
              }
            },
            "description": "Validation Error"
          }
        },
        "security": [
          {
            "HTTPBearer": []
          }
        ],
        "summary": "Get Business",
        "tags": [
          "businesses"
        ]
      }
    },
    "/api/orgs/{org_id}/businesses/{business_key}/neighborhood": {
      "get": {
        "description": "Neighborhood context for a business, resolved from its principal-address ZIP\n(ZIP row, else the ZIP's dominant tract). Free. 403 ERR_NBHD_004 until the org\nhas viewed (paid for) the business; 404 ERR_NBHD_002 when unknown or unmatched.",
        "operationId": "neighborhood_for_business_api_orgs__org_id__businesses__business_key__neighborhood_get",
        "parameters": [
          {
            "in": "path",
            "name": "org_id",
            "required": true,
            "schema": {
              "format": "uuid",
              "title": "Org Id",
              "type": "string"
            }
          },
          {
            "in": "path",
            "name": "business_key",
            "required": true,
            "schema": {
              "title": "Business Key",
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/PublicNeighborhoodProfileOut"
                }
              }
            },
            "description": "Successful Response"
          },
          "422": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/HTTPValidationError"
                }
              }
            },
            "description": "Validation Error"
          }
        },
        "security": [
          {
            "HTTPBearer": []
          }
        ],
        "summary": "Neighborhood For Business",
        "tags": [
          "neighborhoods"
        ]
      }
    },
    "/api/orgs/{org_id}/businesses/{business_key}/raises": {
      "get": {
        "description": "Capital raised: SEC Form D offerings filed by the business (or the\nForm D issuer it is linked to), as filed, each with its SEC filing link.\nFree (not metered, no audit row). ``available`` is false when there are\nnone. 404 ERR_BIZ_001 for an unknown business.",
        "operationId": "business_capital_raises_api_orgs__org_id__businesses__business_key__raises_get",
        "parameters": [
          {
            "in": "path",
            "name": "business_key",
            "required": true,
            "schema": {
              "title": "Business Key",
              "type": "string"
            }
          },
          {
            "in": "path",
            "name": "org_id",
            "required": true,
            "schema": {
              "format": "uuid",
              "title": "Org Id",
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/CapitalRaisesOut"
                }
              }
            },
            "description": "Successful Response"
          },
          "422": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/HTTPValidationError"
                }
              }
            },
            "description": "Validation Error"
          }
        },
        "security": [
          {
            "HTTPBearer": []
          }
        ],
        "summary": "Business Capital Raises",
        "tags": [
          "businesses"
        ]
      }
    },
    "/api/orgs/{org_id}/businesses/{business_key}/signals": {
      "get": {
        "description": "Local records showing a business is operating (tax receipts, permits,\ncertificates of use, inspections, licence renewals), last 36 months.",
        "operationId": "business_signals_api_orgs__org_id__businesses__business_key__signals_get",
        "parameters": [
          {
            "in": "path",
            "name": "business_key",
            "required": true,
            "schema": {
              "maxLength": 96,
              "minLength": 3,
              "title": "Business Key",
              "type": "string"
            }
          },
          {
            "in": "path",
            "name": "org_id",
            "required": true,
            "schema": {
              "format": "uuid",
              "title": "Org Id",
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/BusinessSignalsOut"
                }
              }
            },
            "description": "Successful Response"
          },
          "422": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/HTTPValidationError"
                }
              }
            },
            "description": "Validation Error"
          }
        },
        "security": [
          {
            "HTTPBearer": []
          }
        ],
        "summary": "Business Signals",
        "tags": [
          "local-activity"
        ]
      }
    },
    "/api/orgs/{org_id}/businesses/{business_key}/similar": {
      "get": {
        "description": "Businesses on file that share the selected facts with this one.\n\non is a comma list of city, entity_type, formed_within, license_type,\nand size_band. Omitted, the default is city, entity_type, formed_within,\nplus license_type when this business has at least one licence type on\nfile. An explicit on is used as given. years is how far the formation\nyear may sit from this business (default 5). status is active (default)\nor any. A shared ZIP is listed on the match when it also lines up, and\na shared licence type or size band is listed even when not selected.\nDescriptive only: what is on file. Unknown business is 404. Charged\n(1 credit).",
        "operationId": "similar_businesses_api_orgs__org_id__businesses__business_key__similar_get",
        "parameters": [
          {
            "in": "path",
            "name": "business_key",
            "required": true,
            "schema": {
              "title": "Business Key",
              "type": "string"
            }
          },
          {
            "in": "path",
            "name": "org_id",
            "required": true,
            "schema": {
              "format": "uuid",
              "title": "Org Id",
              "type": "string"
            }
          },
          {
            "in": "query",
            "name": "on",
            "required": false,
            "schema": {
              "anyOf": [
                {
                  "pattern": "^(city|entity_type|formed_within|license_type|size_band)(,(city|entity_type|formed_within|license_type|size_band))*$",
                  "type": "string"
                },
                {
                  "type": "null"
                }
              ],
              "title": "On"
            }
          },
          {
            "in": "query",
            "name": "years",
            "required": false,
            "schema": {
              "default": 5,
              "maximum": 20,
              "minimum": 1,
              "title": "Years",
              "type": "integer"
            }
          },
          {
            "in": "query",
            "name": "status",
            "required": false,
            "schema": {
              "default": "active",
              "pattern": "^(active|any)$",
              "title": "Status",
              "type": "string"
            }
          },
          {
            "in": "query",
            "name": "limit",
            "required": false,
            "schema": {
              "default": 25,
              "maximum": 25,
              "minimum": 1,
              "title": "Limit",
              "type": "integer"
            }
          },
          {
            "in": "query",
            "name": "offset",
            "required": false,
            "schema": {
              "default": 0,
              "maximum": 1000,
              "minimum": 0,
              "title": "Offset",
              "type": "integer"
            }
          }
        ],
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/SimilarPageOut"
                }
              }
            },
            "description": "Successful Response"
          },
          "422": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/HTTPValidationError"
                }
              }
            },
            "description": "Validation Error"
          }
        },
        "security": [
          {
            "HTTPBearer": []
          }
        ],
        "summary": "Similar Businesses",
        "tags": [
          "businesses"
        ]
      }
    },
    "/api/orgs/{org_id}/businesses/{business_key}/snapshot": {
      "get": {
        "description": "Filing checks for one business. 2 credits. 404 when the key is unknown.",
        "operationId": "business_snapshot_api_orgs__org_id__businesses__business_key__snapshot_get",
        "parameters": [
          {
            "in": "path",
            "name": "business_key",
            "required": true,
            "schema": {
              "title": "Business Key",
              "type": "string"
            }
          },
          {
            "in": "path",
            "name": "org_id",
            "required": true,
            "schema": {
              "format": "uuid",
              "title": "Org Id",
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/BusinessSnapshotOut"
                }
              }
            },
            "description": "Successful Response"
          },
          "422": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/HTTPValidationError"
                }
              }
            },
            "description": "Validation Error"
          }
        },
        "security": [
          {
            "HTTPBearer": []
          }
        ],
        "summary": "Business Snapshot",
        "tags": [
          "businesses"
        ]
      }
    },
    "/api/orgs/{org_id}/businesses/{business_key}/timeline": {
      "get": {
        "description": "Dated events, names, addresses, and people for one business. 2 credits.",
        "operationId": "business_timeline_api_orgs__org_id__businesses__business_key__timeline_get",
        "parameters": [
          {
            "in": "path",
            "name": "business_key",
            "required": true,
            "schema": {
              "title": "Business Key",
              "type": "string"
            }
          },
          {
            "in": "path",
            "name": "org_id",
            "required": true,
            "schema": {
              "format": "uuid",
              "title": "Org Id",
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/BusinessTimelineOut"
                }
              }
            },
            "description": "Successful Response"
          },
          "422": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/HTTPValidationError"
                }
              }
            },
            "description": "Validation Error"
          }
        },
        "security": [
          {
            "HTTPBearer": []
          }
        ],
        "summary": "Business Timeline",
        "tags": [
          "businesses"
        ]
      }
    },
    "/api/orgs/{org_id}/contractors/{license_number}": {
      "get": {
        "description": "Licensed contractor: licence facts, 36-month permit activity, work mix,\ncounties, recent permits, linked business filing and tax receipt.",
        "operationId": "contractor_profile_api_orgs__org_id__contractors__license_number__get",
        "parameters": [
          {
            "in": "path",
            "name": "license_number",
            "required": true,
            "schema": {
              "maxLength": 32,
              "minLength": 3,
              "title": "License Number",
              "type": "string"
            }
          },
          {
            "in": "path",
            "name": "org_id",
            "required": true,
            "schema": {
              "format": "uuid",
              "title": "Org Id",
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ContractorProfileOut"
                }
              }
            },
            "description": "Successful Response"
          },
          "422": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/HTTPValidationError"
                }
              }
            },
            "description": "Validation Error"
          }
        },
        "security": [
          {
            "HTTPBearer": []
          }
        ],
        "summary": "Contractor Profile",
        "tags": [
          "local-activity"
        ]
      }
    },
    "/api/orgs/{org_id}/contractors/{license_number}/permits": {
      "get": {
        "description": "Permits where this licence is the contractor of record, newest first.\n``cursor`` = ``next_cursor`` of the previous page.",
        "operationId": "contractor_permits_api_orgs__org_id__contractors__license_number__permits_get",
        "parameters": [
          {
            "in": "path",
            "name": "license_number",
            "required": true,
            "schema": {
              "maxLength": 32,
              "minLength": 3,
              "title": "License Number",
              "type": "string"
            }
          },
          {
            "in": "path",
            "name": "org_id",
            "required": true,
            "schema": {
              "format": "uuid",
              "title": "Org Id",
              "type": "string"
            }
          },
          {
            "in": "query",
            "name": "cursor",
            "required": false,
            "schema": {
              "anyOf": [
                {
                  "maxLength": 256,
                  "type": "string"
                },
                {
                  "type": "null"
                }
              ],
              "title": "Cursor"
            }
          },
          {
            "in": "query",
            "name": "limit",
            "required": false,
            "schema": {
              "default": 25,
              "maximum": 25,
              "minimum": 1,
              "title": "Limit",
              "type": "integer"
            }
          }
        ],
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/PermitPageOut"
                }
              }
            },
            "description": "Successful Response"
          },
          "422": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/HTTPValidationError"
                }
              }
            },
            "description": "Validation Error"
          }
        },
        "security": [
          {
            "HTTPBearer": []
          }
        ],
        "summary": "Contractor Permits",
        "tags": [
          "local-activity"
        ]
      }
    },
    "/api/orgs/{org_id}/credits": {
      "get": {
        "operationId": "get_wallet_api_orgs__org_id__credits_get",
        "parameters": [
          {
            "in": "path",
            "name": "org_id",
            "required": true,
            "schema": {
              "format": "uuid",
              "title": "Org Id",
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/WalletOut"
                }
              }
            },
            "description": "Successful Response"
          },
          "422": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/HTTPValidationError"
                }
              }
            },
            "description": "Validation Error"
          }
        },
        "security": [
          {
            "HTTPBearer": []
          }
        ],
        "summary": "Get Wallet",
        "tags": [
          "credits"
        ]
      }
    },
    "/api/orgs/{org_id}/credits/history": {
      "get": {
        "operationId": "get_history_api_orgs__org_id__credits_history_get",
        "parameters": [
          {
            "in": "path",
            "name": "org_id",
            "required": true,
            "schema": {
              "format": "uuid",
              "title": "Org Id",
              "type": "string"
            }
          },
          {
            "in": "query",
            "name": "limit",
            "required": false,
            "schema": {
              "default": 50,
              "maximum": 200,
              "minimum": 1,
              "title": "Limit",
              "type": "integer"
            }
          },
          {
            "in": "query",
            "name": "offset",
            "required": false,
            "schema": {
              "default": 0,
              "minimum": 0,
              "title": "Offset",
              "type": "integer"
            }
          }
        ],
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/HistoryOut"
                }
              }
            },
            "description": "Successful Response"
          },
          "422": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/HTTPValidationError"
                }
              }
            },
            "description": "Validation Error"
          }
        },
        "security": [
          {
            "HTTPBearer": []
          }
        ],
        "summary": "Get History",
        "tags": [
          "credits"
        ]
      }
    },
    "/api/orgs/{org_id}/credits/member-limits": {
      "get": {
        "operationId": "list_member_limits_api_orgs__org_id__credits_member_limits_get",
        "parameters": [
          {
            "in": "path",
            "name": "org_id",
            "required": true,
            "schema": {
              "format": "uuid",
              "title": "Org Id",
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "items": {
                    "$ref": "#/components/schemas/MemberLimitOut"
                  },
                  "title": "Response List Member Limits Api Orgs  Org Id  Credits Member Limits Get",
                  "type": "array"
                }
              }
            },
            "description": "Successful Response"
          },
          "422": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/HTTPValidationError"
                }
              }
            },
            "description": "Validation Error"
          }
        },
        "security": [
          {
            "HTTPBearer": []
          }
        ],
        "summary": "List Member Limits",
        "tags": [
          "credits"
        ]
      }
    },
    "/api/orgs/{org_id}/credits/member-limits/{user_id}": {
      "delete": {
        "operationId": "clear_member_limit_api_orgs__org_id__credits_member_limits__user_id__delete",
        "parameters": [
          {
            "in": "path",
            "name": "user_id",
            "required": true,
            "schema": {
              "format": "uuid",
              "title": "User Id",
              "type": "string"
            }
          },
          {
            "in": "path",
            "name": "org_id",
            "required": true,
            "schema": {
              "format": "uuid",
              "title": "Org Id",
              "type": "string"
            }
          }
        ],
        "responses": {
          "204": {
            "description": "Successful Response"
          },
          "422": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/HTTPValidationError"
                }
              }
            },
            "description": "Validation Error"
          }
        },
        "security": [
          {
            "HTTPBearer": []
          }
        ],
        "summary": "Clear Member Limit",
        "tags": [
          "credits"
        ]
      },
      "put": {
        "operationId": "set_member_limit_api_orgs__org_id__credits_member_limits__user_id__put",
        "parameters": [
          {
            "in": "path",
            "name": "user_id",
            "required": true,
            "schema": {
              "format": "uuid",
              "title": "User Id",
              "type": "string"
            }
          },
          {
            "in": "path",
            "name": "org_id",
            "required": true,
            "schema": {
              "format": "uuid",
              "title": "Org Id",
              "type": "string"
            }
          }
        ],
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/MemberLimitIn"
              }
            }
          },
          "required": true
        },
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/MemberLimitOut"
                }
              }
            },
            "description": "Successful Response"
          },
          "422": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/HTTPValidationError"
                }
              }
            },
            "description": "Validation Error"
          }
        },
        "security": [
          {
            "HTTPBearer": []
          }
        ],
        "summary": "Set Member Limit",
        "tags": [
          "credits"
        ]
      }
    },
    "/api/orgs/{org_id}/credits/usage": {
      "get": {
        "description": "Credits spent this period, grouped by actor (member or API key).\n\nMember-visible: /credits/history already exposes per-user emails and\namounts to every member, and members should see their own limit progress.",
        "operationId": "get_usage_api_orgs__org_id__credits_usage_get",
        "parameters": [
          {
            "in": "path",
            "name": "org_id",
            "required": true,
            "schema": {
              "format": "uuid",
              "title": "Org Id",
              "type": "string"
            }
          },
          {
            "in": "query",
            "name": "period",
            "required": false,
            "schema": {
              "anyOf": [
                {
                  "pattern": "^\\d{4}-(0[1-9]|1[0-2])$",
                  "type": "string"
                },
                {
                  "type": "null"
                }
              ],
              "title": "Period"
            }
          },
          {
            "in": "query",
            "name": "limit",
            "required": false,
            "schema": {
              "default": 50,
              "maximum": 200,
              "minimum": 1,
              "title": "Limit",
              "type": "integer"
            }
          },
          {
            "in": "query",
            "name": "offset",
            "required": false,
            "schema": {
              "default": 0,
              "minimum": 0,
              "title": "Offset",
              "type": "integer"
            }
          }
        ],
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/UsageOut"
                }
              }
            },
            "description": "Successful Response"
          },
          "422": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/HTTPValidationError"
                }
              }
            },
            "description": "Validation Error"
          }
        },
        "security": [
          {
            "HTTPBearer": []
          }
        ],
        "summary": "Get Usage",
        "tags": [
          "credits"
        ]
      }
    },
    "/api/orgs/{org_id}/domain": {
      "put": {
        "operationId": "set_org_domain_api_orgs__org_id__domain_put",
        "parameters": [
          {
            "in": "path",
            "name": "org_id",
            "required": true,
            "schema": {
              "format": "uuid",
              "title": "Org Id",
              "type": "string"
            }
          }
        ],
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/OrgDomainUpdate"
              }
            }
          },
          "required": true
        },
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/OrgWithRole"
                }
              }
            },
            "description": "Successful Response"
          },
          "422": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/HTTPValidationError"
                }
              }
            },
            "description": "Validation Error"
          }
        },
        "security": [
          {
            "HTTPBearer": []
          }
        ],
        "summary": "Set Org Domain",
        "tags": [
          "organizations"
        ]
      }
    },
    "/api/orgs/{org_id}/generations": {
      "get": {
        "operationId": "list_generations_api_orgs__org_id__generations_get",
        "parameters": [
          {
            "in": "path",
            "name": "org_id",
            "required": true,
            "schema": {
              "format": "uuid",
              "title": "Org Id",
              "type": "string"
            }
          },
          {
            "in": "query",
            "name": "limit",
            "required": false,
            "schema": {
              "default": 20,
              "maximum": 100,
              "minimum": 1,
              "title": "Limit",
              "type": "integer"
            }
          },
          {
            "in": "query",
            "name": "offset",
            "required": false,
            "schema": {
              "default": 0,
              "minimum": 0,
              "title": "Offset",
              "type": "integer"
            }
          }
        ],
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "items": {
                    "$ref": "#/components/schemas/GenerationOut"
                  },
                  "title": "Response List Generations Api Orgs  Org Id  Generations Get",
                  "type": "array"
                }
              }
            },
            "description": "Successful Response"
          },
          "422": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/HTTPValidationError"
                }
              }
            },
            "description": "Validation Error"
          }
        },
        "security": [
          {
            "HTTPBearer": []
          }
        ],
        "summary": "List Generations",
        "tags": [
          "generations"
        ]
      },
      "post": {
        "operationId": "create_generation_api_orgs__org_id__generations_post",
        "parameters": [
          {
            "in": "path",
            "name": "org_id",
            "required": true,
            "schema": {
              "format": "uuid",
              "title": "Org Id",
              "type": "string"
            }
          }
        ],
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/CreateGenerationRequest"
              }
            }
          },
          "required": true
        },
        "responses": {
          "202": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/GenerationOut"
                }
              }
            },
            "description": "Successful Response"
          },
          "422": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/HTTPValidationError"
                }
              }
            },
            "description": "Validation Error"
          }
        },
        "security": [
          {
            "HTTPBearer": []
          }
        ],
        "summary": "Create Generation",
        "tags": [
          "generations"
        ]
      }
    },
    "/api/orgs/{org_id}/generations/{generation_id}": {
      "delete": {
        "operationId": "delete_generation_api_orgs__org_id__generations__generation_id__delete",
        "parameters": [
          {
            "in": "path",
            "name": "generation_id",
            "required": true,
            "schema": {
              "format": "uuid",
              "title": "Generation Id",
              "type": "string"
            }
          },
          {
            "in": "path",
            "name": "org_id",
            "required": true,
            "schema": {
              "format": "uuid",
              "title": "Org Id",
              "type": "string"
            }
          }
        ],
        "responses": {
          "204": {
            "description": "Successful Response"
          },
          "422": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/HTTPValidationError"
                }
              }
            },
            "description": "Validation Error"
          }
        },
        "security": [
          {
            "HTTPBearer": []
          }
        ],
        "summary": "Delete Generation",
        "tags": [
          "generations"
        ]
      },
      "get": {
        "operationId": "get_generation_api_orgs__org_id__generations__generation_id__get",
        "parameters": [
          {
            "in": "path",
            "name": "generation_id",
            "required": true,
            "schema": {
              "format": "uuid",
              "title": "Generation Id",
              "type": "string"
            }
          },
          {
            "in": "path",
            "name": "org_id",
            "required": true,
            "schema": {
              "format": "uuid",
              "title": "Org Id",
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/GenerationOut"
                }
              }
            },
            "description": "Successful Response"
          },
          "422": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/HTTPValidationError"
                }
              }
            },
            "description": "Validation Error"
          }
        },
        "security": [
          {
            "HTTPBearer": []
          }
        ],
        "summary": "Get Generation",
        "tags": [
          "generations"
        ]
      }
    },
    "/api/orgs/{org_id}/generations/{generation_id}/cancel": {
      "post": {
        "operationId": "cancel_generation_api_orgs__org_id__generations__generation_id__cancel_post",
        "parameters": [
          {
            "in": "path",
            "name": "generation_id",
            "required": true,
            "schema": {
              "format": "uuid",
              "title": "Generation Id",
              "type": "string"
            }
          },
          {
            "in": "path",
            "name": "org_id",
            "required": true,
            "schema": {
              "format": "uuid",
              "title": "Org Id",
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/GenerationOut"
                }
              }
            },
            "description": "Successful Response"
          },
          "422": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/HTTPValidationError"
                }
              }
            },
            "description": "Validation Error"
          }
        },
        "security": [
          {
            "HTTPBearer": []
          }
        ],
        "summary": "Cancel Generation",
        "tags": [
          "generations"
        ]
      }
    },
    "/api/orgs/{org_id}/generations/{generation_id}/file": {
      "get": {
        "operationId": "download_generation_api_orgs__org_id__generations__generation_id__file_get",
        "parameters": [
          {
            "in": "path",
            "name": "generation_id",
            "required": true,
            "schema": {
              "format": "uuid",
              "title": "Generation Id",
              "type": "string"
            }
          },
          {
            "in": "path",
            "name": "org_id",
            "required": true,
            "schema": {
              "format": "uuid",
              "title": "Org Id",
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {}
              }
            },
            "description": "Successful Response"
          },
          "422": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/HTTPValidationError"
                }
              }
            },
            "description": "Validation Error"
          }
        },
        "security": [
          {
            "HTTPBearer": []
          }
        ],
        "summary": "Download Generation",
        "tags": [
          "generations"
        ]
      }
    },
    "/api/orgs/{org_id}/invitations": {
      "get": {
        "operationId": "list_invitations_api_orgs__org_id__invitations_get",
        "parameters": [
          {
            "in": "path",
            "name": "org_id",
            "required": true,
            "schema": {
              "format": "uuid",
              "title": "Org Id",
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "items": {
                    "$ref": "#/components/schemas/InvitationOut"
                  },
                  "title": "Response List Invitations Api Orgs  Org Id  Invitations Get",
                  "type": "array"
                }
              }
            },
            "description": "Successful Response"
          },
          "422": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/HTTPValidationError"
                }
              }
            },
            "description": "Validation Error"
          }
        },
        "security": [
          {
            "HTTPBearer": []
          }
        ],
        "summary": "List Invitations",
        "tags": [
          "organizations"
        ]
      },
      "post": {
        "operationId": "create_invitation_api_orgs__org_id__invitations_post",
        "parameters": [
          {
            "in": "path",
            "name": "org_id",
            "required": true,
            "schema": {
              "format": "uuid",
              "title": "Org Id",
              "type": "string"
            }
          }
        ],
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/InviteCreate"
              }
            }
          },
          "required": true
        },
        "responses": {
          "201": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/InvitationOut"
                }
              }
            },
            "description": "Successful Response"
          },
          "422": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/HTTPValidationError"
                }
              }
            },
            "description": "Validation Error"
          }
        },
        "security": [
          {
            "HTTPBearer": []
          }
        ],
        "summary": "Create Invitation",
        "tags": [
          "organizations"
        ]
      }
    },
    "/api/orgs/{org_id}/invitations/{invitation_id}": {
      "delete": {
        "operationId": "revoke_invitation_api_orgs__org_id__invitations__invitation_id__delete",
        "parameters": [
          {
            "in": "path",
            "name": "invitation_id",
            "required": true,
            "schema": {
              "format": "uuid",
              "title": "Invitation Id",
              "type": "string"
            }
          },
          {
            "in": "path",
            "name": "org_id",
            "required": true,
            "schema": {
              "format": "uuid",
              "title": "Org Id",
              "type": "string"
            }
          }
        ],
        "responses": {
          "204": {
            "description": "Successful Response"
          },
          "422": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/HTTPValidationError"
                }
              }
            },
            "description": "Validation Error"
          }
        },
        "security": [
          {
            "HTTPBearer": []
          }
        ],
        "summary": "Revoke Invitation",
        "tags": [
          "organizations"
        ]
      }
    },
    "/api/orgs/{org_id}/llm/calls": {
      "get": {
        "operationId": "list_llm_calls_api_orgs__org_id__llm_calls_get",
        "parameters": [
          {
            "in": "path",
            "name": "org_id",
            "required": true,
            "schema": {
              "format": "uuid",
              "title": "Org Id",
              "type": "string"
            }
          },
          {
            "in": "query",
            "name": "limit",
            "required": false,
            "schema": {
              "default": 20,
              "maximum": 100,
              "minimum": 1,
              "title": "Limit",
              "type": "integer"
            }
          },
          {
            "in": "query",
            "name": "offset",
            "required": false,
            "schema": {
              "default": 0,
              "minimum": 0,
              "title": "Offset",
              "type": "integer"
            }
          }
        ],
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "items": {
                    "$ref": "#/components/schemas/LlmCallOut"
                  },
                  "title": "Response List Llm Calls Api Orgs  Org Id  Llm Calls Get",
                  "type": "array"
                }
              }
            },
            "description": "Successful Response"
          },
          "422": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/HTTPValidationError"
                }
              }
            },
            "description": "Validation Error"
          }
        },
        "security": [
          {
            "HTTPBearer": []
          }
        ],
        "summary": "List Llm Calls",
        "tags": [
          "llm"
        ]
      }
    },
    "/api/orgs/{org_id}/llm/calls/{call_id}": {
      "get": {
        "operationId": "get_llm_call_api_orgs__org_id__llm_calls__call_id__get",
        "parameters": [
          {
            "in": "path",
            "name": "call_id",
            "required": true,
            "schema": {
              "format": "uuid",
              "title": "Call Id",
              "type": "string"
            }
          },
          {
            "in": "path",
            "name": "org_id",
            "required": true,
            "schema": {
              "format": "uuid",
              "title": "Org Id",
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/LlmCallOut"
                }
              }
            },
            "description": "Successful Response"
          },
          "422": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/HTTPValidationError"
                }
              }
            },
            "description": "Validation Error"
          }
        },
        "security": [
          {
            "HTTPBearer": []
          }
        ],
        "summary": "Get Llm Call",
        "tags": [
          "llm"
        ]
      }
    },
    "/api/orgs/{org_id}/llm/complete": {
      "post": {
        "operationId": "complete_text_api_orgs__org_id__llm_complete_post",
        "parameters": [
          {
            "in": "path",
            "name": "org_id",
            "required": true,
            "schema": {
              "format": "uuid",
              "title": "Org Id",
              "type": "string"
            }
          }
        ],
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/CompleteRequest"
              }
            }
          },
          "required": true
        },
        "responses": {
          "202": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/LlmCallOut"
                }
              }
            },
            "description": "Successful Response"
          },
          "422": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/HTTPValidationError"
                }
              }
            },
            "description": "Validation Error"
          }
        },
        "security": [
          {
            "HTTPBearer": []
          }
        ],
        "summary": "Complete Text",
        "tags": [
          "llm"
        ]
      }
    },
    "/api/orgs/{org_id}/local-activity/zips": {
      "get": {
        "description": "Every ZIP's 12-month permit count, rate per 1,000 parcels and quintile.\nNo coordinates \u2014 the client joins onto the explorer's ZIP points. Free.",
        "operationId": "list_zip_activity_api_orgs__org_id__local_activity_zips_get",
        "parameters": [
          {
            "in": "path",
            "name": "org_id",
            "required": true,
            "schema": {
              "format": "uuid",
              "title": "Org Id",
              "type": "string"
            }
          },
          {
            "in": "query",
            "name": "state",
            "required": false,
            "schema": {
              "default": "FL",
              "pattern": "^[A-Za-z]{2}$",
              "title": "State",
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ZipActivityListOut"
                }
              }
            },
            "description": "Successful Response"
          },
          "422": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/HTTPValidationError"
                }
              }
            },
            "description": "Validation Error"
          }
        },
        "security": [
          {
            "HTTPBearer": []
          }
        ],
        "summary": "List Zip Activity",
        "tags": [
          "local-activity"
        ]
      }
    },
    "/api/orgs/{org_id}/local-activity/zips/{zip5}": {
      "get": {
        "description": "One ZIP's activity panel: 12-month figures, 24 months of permits,\nwork mix and the most active contractors. Free.",
        "operationId": "zip_activity_api_orgs__org_id__local_activity_zips__zip5__get",
        "parameters": [
          {
            "in": "path",
            "name": "zip5",
            "required": true,
            "schema": {
              "pattern": "^\\d{5}$",
              "title": "Zip5",
              "type": "string"
            }
          },
          {
            "in": "path",
            "name": "org_id",
            "required": true,
            "schema": {
              "format": "uuid",
              "title": "Org Id",
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ZipActivityDetailOut"
                }
              }
            },
            "description": "Successful Response"
          },
          "422": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/HTTPValidationError"
                }
              }
            },
            "description": "Validation Error"
          }
        },
        "security": [
          {
            "HTTPBearer": []
          }
        ],
        "summary": "Zip Activity",
        "tags": [
          "local-activity"
        ]
      }
    },
    "/api/orgs/{org_id}/members": {
      "get": {
        "operationId": "list_members_api_orgs__org_id__members_get",
        "parameters": [
          {
            "in": "path",
            "name": "org_id",
            "required": true,
            "schema": {
              "format": "uuid",
              "title": "Org Id",
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "items": {
                    "$ref": "#/components/schemas/MemberOut"
                  },
                  "title": "Response List Members Api Orgs  Org Id  Members Get",
                  "type": "array"
                }
              }
            },
            "description": "Successful Response"
          },
          "422": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/HTTPValidationError"
                }
              }
            },
            "description": "Validation Error"
          }
        },
        "security": [
          {
            "HTTPBearer": []
          }
        ],
        "summary": "List Members",
        "tags": [
          "organizations"
        ]
      }
    },
    "/api/orgs/{org_id}/members/{membership_id}": {
      "delete": {
        "operationId": "remove_member_api_orgs__org_id__members__membership_id__delete",
        "parameters": [
          {
            "in": "path",
            "name": "membership_id",
            "required": true,
            "schema": {
              "format": "uuid",
              "title": "Membership Id",
              "type": "string"
            }
          },
          {
            "in": "path",
            "name": "org_id",
            "required": true,
            "schema": {
              "format": "uuid",
              "title": "Org Id",
              "type": "string"
            }
          }
        ],
        "responses": {
          "204": {
            "description": "Successful Response"
          },
          "422": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/HTTPValidationError"
                }
              }
            },
            "description": "Validation Error"
          }
        },
        "security": [
          {
            "HTTPBearer": []
          }
        ],
        "summary": "Remove Member",
        "tags": [
          "organizations"
        ]
      },
      "patch": {
        "operationId": "change_member_role_api_orgs__org_id__members__membership_id__patch",
        "parameters": [
          {
            "in": "path",
            "name": "membership_id",
            "required": true,
            "schema": {
              "format": "uuid",
              "title": "Membership Id",
              "type": "string"
            }
          },
          {
            "in": "path",
            "name": "org_id",
            "required": true,
            "schema": {
              "format": "uuid",
              "title": "Org Id",
              "type": "string"
            }
          }
        ],
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/RoleUpdate"
              }
            }
          },
          "required": true
        },
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/MemberOut"
                }
              }
            },
            "description": "Successful Response"
          },
          "422": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/HTTPValidationError"
                }
              }
            },
            "description": "Validation Error"
          }
        },
        "security": [
          {
            "HTTPBearer": []
          }
        ],
        "summary": "Change Member Role",
        "tags": [
          "organizations"
        ]
      }
    },
    "/api/orgs/{org_id}/neighborhoods/by-geo": {
      "get": {
        "description": "Area profile for a block group (12), tract (11), ZIP (5) or county (5) geoid.",
        "operationId": "neighborhood_by_geo_api_orgs__org_id__neighborhoods_by_geo_get",
        "parameters": [
          {
            "in": "path",
            "name": "org_id",
            "required": true,
            "schema": {
              "format": "uuid",
              "title": "Org Id",
              "type": "string"
            }
          },
          {
            "in": "query",
            "name": "level",
            "required": true,
            "schema": {
              "$ref": "#/components/schemas/GeoLevel"
            }
          },
          {
            "in": "query",
            "name": "geoid",
            "required": true,
            "schema": {
              "maxLength": 12,
              "minLength": 5,
              "pattern": "^[0-9]+$",
              "title": "Geoid",
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/PublicNeighborhoodProfileOut"
                }
              }
            },
            "description": "Successful Response"
          },
          "422": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/HTTPValidationError"
                }
              }
            },
            "description": "Validation Error"
          }
        },
        "security": [
          {
            "HTTPBearer": []
          }
        ],
        "summary": "Neighborhood By Geo",
        "tags": [
          "neighborhoods"
        ]
      }
    },
    "/api/orgs/{org_id}/neighborhoods/zips": {
      "get": {
        "description": "ZIPs with facts, filtered/sorted; NULLs always sort last.",
        "operationId": "list_zips_api_orgs__org_id__neighborhoods_zips_get",
        "parameters": [
          {
            "in": "path",
            "name": "org_id",
            "required": true,
            "schema": {
              "format": "uuid",
              "title": "Org Id",
              "type": "string"
            }
          },
          {
            "in": "query",
            "name": "state",
            "required": false,
            "schema": {
              "anyOf": [
                {
                  "pattern": "^[A-Za-z]{2}$",
                  "type": "string"
                },
                {
                  "type": "null"
                }
              ],
              "title": "State"
            }
          },
          {
            "in": "query",
            "name": "q",
            "required": false,
            "schema": {
              "anyOf": [
                {
                  "maxLength": 100,
                  "type": "string"
                },
                {
                  "type": "null"
                }
              ],
              "title": "Q"
            }
          },
          {
            "in": "query",
            "name": "min_pop",
            "required": false,
            "schema": {
              "default": 0,
              "minimum": 0,
              "title": "Min Pop",
              "type": "integer"
            }
          },
          {
            "in": "query",
            "name": "sort",
            "required": false,
            "schema": {
              "default": "zip5",
              "enum": [
                "zip5",
                "total_pop",
                "households",
                "median_age",
                "median_hh_income",
                "per_capita_income",
                "mean_agi",
                "share_agi_200k_plus",
                "share_eitc",
                "poverty_rate",
                "share_bachelors_plus",
                "owner_share",
                "median_home_value",
                "median_gross_rent",
                "vacancy_rate",
                "share_built_pre_1980",
                "share_no_vehicle",
                "share_no_internet",
                "hpi_1y_change",
                "hpi_5y_change",
                "zbp_establishments",
                "zbp_employees",
                "svi_socioeconomic",
                "svi_household",
                "svi_housing_transport",
                "share_uninsured_18_64",
                "share_fair_poor_health",
                "economic_connectedness"
              ],
              "title": "Sort",
              "type": "string"
            }
          },
          {
            "in": "query",
            "name": "order",
            "required": false,
            "schema": {
              "default": "asc",
              "enum": [
                "asc",
                "desc"
              ],
              "title": "Order",
              "type": "string"
            }
          },
          {
            "in": "query",
            "name": "limit",
            "required": false,
            "schema": {
              "default": 50,
              "maximum": 100,
              "minimum": 1,
              "title": "Limit",
              "type": "integer"
            }
          },
          {
            "in": "query",
            "name": "offset",
            "required": false,
            "schema": {
              "default": 0,
              "minimum": 0,
              "title": "Offset",
              "type": "integer"
            }
          },
          {
            "in": "query",
            "name": "place_type",
            "required": false,
            "schema": {
              "anyOf": [
                {
                  "enum": [
                    "rural",
                    "small_town",
                    "suburban",
                    "urban_core"
                  ],
                  "type": "string"
                },
                {
                  "type": "null"
                }
              ],
              "title": "Place Type"
            }
          }
        ],
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ZipListOut"
                }
              }
            },
            "description": "Successful Response"
          },
          "422": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/HTTPValidationError"
                }
              }
            },
            "description": "Validation Error"
          }
        },
        "security": [
          {
            "HTTPBearer": []
          }
        ],
        "summary": "List Zips",
        "tags": [
          "neighborhoods"
        ]
      }
    },
    "/api/orgs/{org_id}/neighborhoods/zips/distribution": {
      "get": {
        "description": "Equal-width histogram between the 1st and 99th percentile (outliers clamp).",
        "operationId": "zip_distribution_api_orgs__org_id__neighborhoods_zips_distribution_get",
        "parameters": [
          {
            "in": "path",
            "name": "org_id",
            "required": true,
            "schema": {
              "format": "uuid",
              "title": "Org Id",
              "type": "string"
            }
          },
          {
            "in": "query",
            "name": "metric",
            "required": true,
            "schema": {
              "enum": [
                "total_pop",
                "households",
                "median_age",
                "median_hh_income",
                "per_capita_income",
                "mean_agi",
                "share_agi_200k_plus",
                "share_eitc",
                "poverty_rate",
                "share_bachelors_plus",
                "owner_share",
                "median_home_value",
                "median_gross_rent",
                "vacancy_rate",
                "share_built_pre_1980",
                "share_no_vehicle",
                "share_no_internet",
                "hpi_1y_change",
                "hpi_5y_change",
                "zbp_establishments",
                "zbp_employees",
                "svi_socioeconomic",
                "svi_household",
                "svi_housing_transport",
                "share_uninsured_18_64",
                "share_fair_poor_health",
                "economic_connectedness"
              ],
              "title": "Metric",
              "type": "string"
            }
          },
          {
            "in": "query",
            "name": "state",
            "required": false,
            "schema": {
              "anyOf": [
                {
                  "pattern": "^[A-Za-z]{2}$",
                  "type": "string"
                },
                {
                  "type": "null"
                }
              ],
              "title": "State"
            }
          },
          {
            "in": "query",
            "name": "bins",
            "required": false,
            "schema": {
              "default": 26,
              "maximum": 40,
              "minimum": 10,
              "title": "Bins",
              "type": "integer"
            }
          }
        ],
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ZipDistributionOut"
                }
              }
            },
            "description": "Successful Response"
          },
          "422": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/HTTPValidationError"
                }
              }
            },
            "description": "Validation Error"
          }
        },
        "security": [
          {
            "HTTPBearer": []
          }
        ],
        "summary": "Zip Distribution",
        "tags": [
          "neighborhoods"
        ]
      }
    },
    "/api/orgs/{org_id}/neighborhoods/zips/place-types": {
      "get": {
        "description": "ZIP count + residents per place type (density) for one state, over the\nsame rows the ZIP list counts; ZIPs without a density are `unclassified`.",
        "operationId": "zip_place_types_api_orgs__org_id__neighborhoods_zips_place_types_get",
        "parameters": [
          {
            "in": "path",
            "name": "org_id",
            "required": true,
            "schema": {
              "format": "uuid",
              "title": "Org Id",
              "type": "string"
            }
          },
          {
            "in": "query",
            "name": "state",
            "required": true,
            "schema": {
              "pattern": "^[A-Za-z]{2}$",
              "title": "State",
              "type": "string"
            }
          },
          {
            "in": "query",
            "name": "min_pop",
            "required": false,
            "schema": {
              "default": 0,
              "minimum": 0,
              "title": "Min Pop",
              "type": "integer"
            }
          }
        ],
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ZipPlaceTypesOut"
                }
              }
            },
            "description": "Successful Response"
          },
          "422": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/HTTPValidationError"
                }
              }
            },
            "description": "Validation Error"
          }
        },
        "security": [
          {
            "HTTPBearer": []
          }
        ],
        "summary": "Zip Place Types",
        "tags": [
          "neighborhoods"
        ]
      }
    },
    "/api/orgs/{org_id}/neighborhoods/zips/points": {
      "get": {
        "description": "Centroid points of one state's ZIPs with non-null lat/lon and x (and y).",
        "operationId": "zip_points_api_orgs__org_id__neighborhoods_zips_points_get",
        "parameters": [
          {
            "in": "path",
            "name": "org_id",
            "required": true,
            "schema": {
              "format": "uuid",
              "title": "Org Id",
              "type": "string"
            }
          },
          {
            "in": "query",
            "name": "state",
            "required": true,
            "schema": {
              "pattern": "^[A-Za-z]{2}$",
              "title": "State",
              "type": "string"
            }
          },
          {
            "in": "query",
            "name": "x",
            "required": true,
            "schema": {
              "enum": [
                "total_pop",
                "households",
                "median_age",
                "median_hh_income",
                "per_capita_income",
                "mean_agi",
                "share_agi_200k_plus",
                "share_eitc",
                "poverty_rate",
                "share_bachelors_plus",
                "owner_share",
                "median_home_value",
                "median_gross_rent",
                "vacancy_rate",
                "share_built_pre_1980",
                "share_no_vehicle",
                "share_no_internet",
                "hpi_1y_change",
                "hpi_5y_change",
                "zbp_establishments",
                "zbp_employees",
                "svi_socioeconomic",
                "svi_household",
                "svi_housing_transport",
                "share_uninsured_18_64",
                "share_fair_poor_health",
                "economic_connectedness"
              ],
              "title": "X",
              "type": "string"
            }
          },
          {
            "in": "query",
            "name": "y",
            "required": false,
            "schema": {
              "anyOf": [
                {
                  "enum": [
                    "total_pop",
                    "households",
                    "median_age",
                    "median_hh_income",
                    "per_capita_income",
                    "mean_agi",
                    "share_agi_200k_plus",
                    "share_eitc",
                    "poverty_rate",
                    "share_bachelors_plus",
                    "owner_share",
                    "median_home_value",
                    "median_gross_rent",
                    "vacancy_rate",
                    "share_built_pre_1980",
                    "share_no_vehicle",
                    "share_no_internet",
                    "hpi_1y_change",
                    "hpi_5y_change",
                    "zbp_establishments",
                    "zbp_employees",
                    "svi_socioeconomic",
                    "svi_household",
                    "svi_housing_transport",
                    "share_uninsured_18_64",
                    "share_fair_poor_health",
                    "economic_connectedness"
                  ],
                  "type": "string"
                },
                {
                  "type": "null"
                }
              ],
              "title": "Y"
            }
          },
          {
            "in": "query",
            "name": "min_pop",
            "required": false,
            "schema": {
              "default": 0,
              "minimum": 0,
              "title": "Min Pop",
              "type": "integer"
            }
          },
          {
            "in": "query",
            "name": "place_type",
            "required": false,
            "schema": {
              "anyOf": [
                {
                  "enum": [
                    "rural",
                    "small_town",
                    "suburban",
                    "urban_core"
                  ],
                  "type": "string"
                },
                {
                  "type": "null"
                }
              ],
              "title": "Place Type"
            }
          }
        ],
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ZipPointsOut"
                }
              }
            },
            "description": "Successful Response"
          },
          "422": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/HTTPValidationError"
                }
              }
            },
            "description": "Validation Error"
          }
        },
        "security": [
          {
            "HTTPBearer": []
          }
        ],
        "summary": "Zip Points",
        "tags": [
          "neighborhoods"
        ]
      }
    },
    "/api/orgs/{org_id}/neighborhoods/zips/{zip5}": {
      "get": {
        "description": "ZIP profile + place + resolution + percentile ranks of every visible metric.\n404 ERR_NBHD_002 when the ZIP has no row or no facts.",
        "operationId": "zip_profile_api_orgs__org_id__neighborhoods_zips__zip5__get",
        "parameters": [
          {
            "in": "path",
            "name": "zip5",
            "required": true,
            "schema": {
              "pattern": "^[0-9]{5}$",
              "title": "Zip5",
              "type": "string"
            }
          },
          {
            "in": "path",
            "name": "org_id",
            "required": true,
            "schema": {
              "format": "uuid",
              "title": "Org Id",
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ZipProfileOut"
                }
              }
            },
            "description": "Successful Response"
          },
          "422": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/HTTPValidationError"
                }
              }
            },
            "description": "Validation Error"
          }
        },
        "security": [
          {
            "HTTPBearer": []
          }
        ],
        "summary": "Zip Profile",
        "tags": [
          "neighborhoods"
        ]
      }
    },
    "/api/orgs/{org_id}/portfolios": {
      "get": {
        "description": "The org's portfolios, newest first.",
        "operationId": "list_portfolios_api_orgs__org_id__portfolios_get",
        "parameters": [
          {
            "in": "path",
            "name": "org_id",
            "required": true,
            "schema": {
              "format": "uuid",
              "title": "Org Id",
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/PortfolioListOut"
                }
              }
            },
            "description": "Successful Response"
          },
          "422": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/HTTPValidationError"
                }
              }
            },
            "description": "Validation Error"
          }
        },
        "security": [
          {
            "HTTPBearer": []
          }
        ],
        "summary": "List Portfolios",
        "tags": [
          "portfolios"
        ]
      },
      "post": {
        "description": "Save an upload. Rows start pending; matching runs after this commits.\n\n400 ERR_PORTFOLIO_002 over 5,000 rows. 409 ERR_PORTFOLIO_003 past 20 per org.",
        "operationId": "create_portfolio_api_orgs__org_id__portfolios_post",
        "parameters": [
          {
            "in": "path",
            "name": "org_id",
            "required": true,
            "schema": {
              "format": "uuid",
              "title": "Org Id",
              "type": "string"
            }
          }
        ],
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/CreatePortfolioIn"
              }
            }
          },
          "required": true
        },
        "responses": {
          "201": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/PortfolioOut"
                }
              }
            },
            "description": "Successful Response"
          },
          "422": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/HTTPValidationError"
                }
              }
            },
            "description": "Validation Error"
          }
        },
        "security": [
          {
            "HTTPBearer": []
          }
        ],
        "summary": "Create Portfolio",
        "tags": [
          "portfolios"
        ]
      }
    },
    "/api/orgs/{org_id}/portfolios/{portfolio_id}": {
      "delete": {
        "description": "Delete a portfolio and its rows. 404 ERR_PORTFOLIO_001.",
        "operationId": "delete_portfolio_api_orgs__org_id__portfolios__portfolio_id__delete",
        "parameters": [
          {
            "in": "path",
            "name": "portfolio_id",
            "required": true,
            "schema": {
              "format": "uuid",
              "title": "Portfolio Id",
              "type": "string"
            }
          },
          {
            "in": "path",
            "name": "org_id",
            "required": true,
            "schema": {
              "format": "uuid",
              "title": "Org Id",
              "type": "string"
            }
          }
        ],
        "responses": {
          "204": {
            "description": "Successful Response"
          },
          "422": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/HTTPValidationError"
                }
              }
            },
            "description": "Validation Error"
          }
        },
        "security": [
          {
            "HTTPBearer": []
          }
        ],
        "summary": "Delete Portfolio",
        "tags": [
          "portfolios"
        ]
      },
      "get": {
        "description": "One portfolio plus row counters. 404 ERR_PORTFOLIO_001.",
        "operationId": "get_portfolio_api_orgs__org_id__portfolios__portfolio_id__get",
        "parameters": [
          {
            "in": "path",
            "name": "portfolio_id",
            "required": true,
            "schema": {
              "format": "uuid",
              "title": "Portfolio Id",
              "type": "string"
            }
          },
          {
            "in": "path",
            "name": "org_id",
            "required": true,
            "schema": {
              "format": "uuid",
              "title": "Org Id",
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/PortfolioDetailOut"
                }
              }
            },
            "description": "Successful Response"
          },
          "422": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/HTTPValidationError"
                }
              }
            },
            "description": "Validation Error"
          }
        },
        "security": [
          {
            "HTTPBearer": []
          }
        ],
        "summary": "Get Portfolio",
        "tags": [
          "portfolios"
        ]
      }
    },
    "/api/orgs/{org_id}/portfolios/{portfolio_id}/changes": {
      "get": {
        "description": "Filing changes detected on matched rows, newest first.",
        "operationId": "list_changes_api_orgs__org_id__portfolios__portfolio_id__changes_get",
        "parameters": [
          {
            "in": "path",
            "name": "portfolio_id",
            "required": true,
            "schema": {
              "format": "uuid",
              "title": "Portfolio Id",
              "type": "string"
            }
          },
          {
            "in": "path",
            "name": "org_id",
            "required": true,
            "schema": {
              "format": "uuid",
              "title": "Org Id",
              "type": "string"
            }
          },
          {
            "in": "query",
            "name": "days",
            "required": false,
            "schema": {
              "default": 90,
              "maximum": 365,
              "minimum": 1,
              "title": "Days",
              "type": "integer"
            }
          },
          {
            "in": "query",
            "name": "limit",
            "required": false,
            "schema": {
              "default": 50,
              "maximum": 100,
              "minimum": 1,
              "title": "Limit",
              "type": "integer"
            }
          },
          {
            "in": "query",
            "name": "offset",
            "required": false,
            "schema": {
              "default": 0,
              "minimum": 0,
              "title": "Offset",
              "type": "integer"
            }
          }
        ],
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ChangeListOut"
                }
              }
            },
            "description": "Successful Response"
          },
          "422": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/HTTPValidationError"
                }
              }
            },
            "description": "Validation Error"
          }
        },
        "security": [
          {
            "HTTPBearer": []
          }
        ],
        "summary": "List Changes",
        "tags": [
          "portfolios"
        ]
      }
    },
    "/api/orgs/{org_id}/portfolios/{portfolio_id}/check": {
      "post": {
        "description": "Compare matched rows with the filings on file now. Returns how many changes were recorded.",
        "operationId": "check_portfolio_api_orgs__org_id__portfolios__portfolio_id__check_post",
        "parameters": [
          {
            "in": "path",
            "name": "portfolio_id",
            "required": true,
            "schema": {
              "format": "uuid",
              "title": "Portfolio Id",
              "type": "string"
            }
          },
          {
            "in": "path",
            "name": "org_id",
            "required": true,
            "schema": {
              "format": "uuid",
              "title": "Org Id",
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/app__domains__portfolios__interface__schemas__CheckOut"
                }
              }
            },
            "description": "Successful Response"
          },
          "422": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/HTTPValidationError"
                }
              }
            },
            "description": "Validation Error"
          }
        },
        "security": [
          {
            "HTTPBearer": []
          }
        ],
        "summary": "Check Portfolio",
        "tags": [
          "portfolios"
        ]
      }
    },
    "/api/orgs/{org_id}/portfolios/{portfolio_id}/rows": {
      "get": {
        "description": "Rows for one portfolio. Review and unmatched rows sort first.",
        "operationId": "list_rows_api_orgs__org_id__portfolios__portfolio_id__rows_get",
        "parameters": [
          {
            "in": "path",
            "name": "portfolio_id",
            "required": true,
            "schema": {
              "format": "uuid",
              "title": "Portfolio Id",
              "type": "string"
            }
          },
          {
            "in": "path",
            "name": "org_id",
            "required": true,
            "schema": {
              "format": "uuid",
              "title": "Org Id",
              "type": "string"
            }
          },
          {
            "in": "query",
            "name": "status",
            "required": false,
            "schema": {
              "anyOf": [
                {
                  "enum": [
                    "pending",
                    "matched",
                    "review",
                    "none"
                  ],
                  "type": "string"
                },
                {
                  "type": "null"
                }
              ],
              "title": "Status"
            }
          },
          {
            "in": "query",
            "name": "limit",
            "required": false,
            "schema": {
              "default": 50,
              "maximum": 100,
              "minimum": 1,
              "title": "Limit",
              "type": "integer"
            }
          },
          {
            "in": "query",
            "name": "offset",
            "required": false,
            "schema": {
              "default": 0,
              "minimum": 0,
              "title": "Offset",
              "type": "integer"
            }
          }
        ],
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/RowListOut"
                }
              }
            },
            "description": "Successful Response"
          },
          "422": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/HTTPValidationError"
                }
              }
            },
            "description": "Validation Error"
          }
        },
        "security": [
          {
            "HTTPBearer": []
          }
        ],
        "summary": "List Rows",
        "tags": [
          "portfolios"
        ]
      }
    },
    "/api/orgs/{org_id}/portfolios/{portfolio_id}/rows/{row_id}": {
      "patch": {
        "description": "Pin a row to a filing, or clear it with ``business_key: null``.\n\n404 ERR_PORTFOLIO_001 / ERR_PORTFOLIO_004.",
        "operationId": "set_row_match_api_orgs__org_id__portfolios__portfolio_id__rows__row_id__patch",
        "parameters": [
          {
            "in": "path",
            "name": "portfolio_id",
            "required": true,
            "schema": {
              "format": "uuid",
              "title": "Portfolio Id",
              "type": "string"
            }
          },
          {
            "in": "path",
            "name": "row_id",
            "required": true,
            "schema": {
              "format": "uuid",
              "title": "Row Id",
              "type": "string"
            }
          },
          {
            "in": "path",
            "name": "org_id",
            "required": true,
            "schema": {
              "format": "uuid",
              "title": "Org Id",
              "type": "string"
            }
          }
        ],
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/SetRowMatchIn"
              }
            }
          },
          "required": true
        },
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/RowOut"
                }
              }
            },
            "description": "Successful Response"
          },
          "422": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/HTTPValidationError"
                }
              }
            },
            "description": "Validation Error"
          }
        },
        "security": [
          {
            "HTTPBearer": []
          }
        ],
        "summary": "Set Row Match",
        "tags": [
          "portfolios"
        ]
      }
    },
    "/api/orgs/{org_id}/properties/by-address": {
      "get": {
        "description": "Reverse address search: who owns this address + property details.",
        "operationId": "properties_at_address_api_orgs__org_id__properties_by_address_get",
        "parameters": [
          {
            "in": "path",
            "name": "org_id",
            "required": true,
            "schema": {
              "format": "uuid",
              "title": "Org Id",
              "type": "string"
            }
          },
          {
            "in": "query",
            "name": "house_number",
            "required": false,
            "schema": {
              "anyOf": [
                {
                  "maxLength": 32,
                  "type": "string"
                },
                {
                  "type": "null"
                }
              ],
              "title": "House Number"
            }
          },
          {
            "in": "query",
            "name": "street_name",
            "required": false,
            "schema": {
              "anyOf": [
                {
                  "maxLength": 128,
                  "type": "string"
                },
                {
                  "type": "null"
                }
              ],
              "title": "Street Name"
            }
          },
          {
            "in": "query",
            "name": "street_suffix",
            "required": false,
            "schema": {
              "anyOf": [
                {
                  "maxLength": 32,
                  "type": "string"
                },
                {
                  "type": "null"
                }
              ],
              "title": "Street Suffix"
            }
          },
          {
            "in": "query",
            "name": "unit_number",
            "required": false,
            "schema": {
              "anyOf": [
                {
                  "maxLength": 32,
                  "type": "string"
                },
                {
                  "type": "null"
                }
              ],
              "title": "Unit Number"
            }
          },
          {
            "in": "query",
            "name": "city",
            "required": false,
            "schema": {
              "anyOf": [
                {
                  "maxLength": 128,
                  "type": "string"
                },
                {
                  "type": "null"
                }
              ],
              "title": "City"
            }
          },
          {
            "in": "query",
            "name": "state",
            "required": false,
            "schema": {
              "anyOf": [
                {
                  "maxLength": 2,
                  "type": "string"
                },
                {
                  "type": "null"
                }
              ],
              "title": "State"
            }
          },
          {
            "in": "query",
            "name": "zip",
            "required": false,
            "schema": {
              "anyOf": [
                {
                  "maxLength": 10,
                  "type": "string"
                },
                {
                  "type": "null"
                }
              ],
              "title": "Zip"
            }
          },
          {
            "in": "query",
            "name": "limit",
            "required": false,
            "schema": {
              "default": 25,
              "maximum": 25,
              "minimum": 1,
              "title": "Limit",
              "type": "integer"
            }
          },
          {
            "in": "query",
            "name": "offset",
            "required": false,
            "schema": {
              "default": 0,
              "minimum": 0,
              "title": "Offset",
              "type": "integer"
            }
          }
        ],
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/PropertyPageOut"
                }
              }
            },
            "description": "Successful Response"
          },
          "422": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/HTTPValidationError"
                }
              }
            },
            "description": "Validation Error"
          }
        },
        "security": [
          {
            "HTTPBearer": []
          }
        ],
        "summary": "Properties At Address",
        "tags": [
          "properties"
        ]
      }
    },
    "/api/orgs/{org_id}/properties/{parcel_id}": {
      "get": {
        "description": "One parcel: situs, use, value, last sale, owner of record, activity\ncounts and which record kinds this county has feeds for.",
        "operationId": "property_detail_api_orgs__org_id__properties__parcel_id__get",
        "parameters": [
          {
            "in": "path",
            "name": "parcel_id",
            "required": true,
            "schema": {
              "maxLength": 96,
              "minLength": 7,
              "title": "Parcel Id",
              "type": "string"
            }
          },
          {
            "in": "path",
            "name": "org_id",
            "required": true,
            "schema": {
              "format": "uuid",
              "title": "Org Id",
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/PropertyDetailOut"
                }
              }
            },
            "description": "Successful Response"
          },
          "422": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/HTTPValidationError"
                }
              }
            },
            "description": "Validation Error"
          }
        },
        "security": [
          {
            "HTTPBearer": []
          }
        ],
        "summary": "Property Detail",
        "tags": [
          "local-activity"
        ]
      }
    },
    "/api/orgs/{org_id}/properties/{parcel_id}/activity": {
      "get": {
        "description": "Permits, code cases and certificates of use on a parcel, newest first\n(\u2264200 each) + a permit summary. Included with the property view.",
        "operationId": "property_activity_api_orgs__org_id__properties__parcel_id__activity_get",
        "parameters": [
          {
            "in": "path",
            "name": "parcel_id",
            "required": true,
            "schema": {
              "maxLength": 96,
              "minLength": 7,
              "title": "Parcel Id",
              "type": "string"
            }
          },
          {
            "in": "path",
            "name": "org_id",
            "required": true,
            "schema": {
              "format": "uuid",
              "title": "Org Id",
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/PropertyActivityOut"
                }
              }
            },
            "description": "Successful Response"
          },
          "422": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/HTTPValidationError"
                }
              }
            },
            "description": "Validation Error"
          }
        },
        "security": [
          {
            "HTTPBearer": []
          }
        ],
        "summary": "Property Activity",
        "tags": [
          "local-activity"
        ]
      }
    },
    "/api/orgs/{org_id}/records": {
      "get": {
        "operationId": "search_records_api_orgs__org_id__records_get",
        "parameters": [
          {
            "in": "path",
            "name": "org_id",
            "required": true,
            "schema": {
              "format": "uuid",
              "title": "Org Id",
              "type": "string"
            }
          },
          {
            "in": "query",
            "name": "q",
            "required": false,
            "schema": {
              "anyOf": [
                {
                  "maxLength": 128,
                  "type": "string"
                },
                {
                  "type": "null"
                }
              ],
              "title": "Q"
            }
          },
          {
            "in": "query",
            "name": "city",
            "required": false,
            "schema": {
              "anyOf": [
                {
                  "maxLength": 128,
                  "type": "string"
                },
                {
                  "type": "null"
                }
              ],
              "title": "City"
            }
          },
          {
            "in": "query",
            "name": "state",
            "required": false,
            "schema": {
              "anyOf": [
                {
                  "maxLength": 2,
                  "type": "string"
                },
                {
                  "type": "null"
                }
              ],
              "title": "State"
            }
          },
          {
            "in": "query",
            "name": "zip",
            "required": false,
            "schema": {
              "anyOf": [
                {
                  "maxLength": 10,
                  "type": "string"
                },
                {
                  "type": "null"
                }
              ],
              "title": "Zip"
            }
          },
          {
            "in": "query",
            "name": "email",
            "required": false,
            "schema": {
              "anyOf": [
                {
                  "maxLength": 255,
                  "type": "string"
                },
                {
                  "type": "null"
                }
              ],
              "title": "Email"
            }
          },
          {
            "in": "query",
            "name": "phone",
            "required": false,
            "schema": {
              "anyOf": [
                {
                  "maxLength": 32,
                  "type": "string"
                },
                {
                  "type": "null"
                }
              ],
              "title": "Phone"
            }
          },
          {
            "in": "query",
            "name": "dob",
            "required": false,
            "schema": {
              "anyOf": [
                {
                  "maxLength": 32,
                  "type": "string"
                },
                {
                  "type": "null"
                }
              ],
              "title": "Dob"
            }
          },
          {
            "in": "query",
            "name": "age_min",
            "required": false,
            "schema": {
              "anyOf": [
                {
                  "maximum": 130,
                  "minimum": 0,
                  "type": "integer"
                },
                {
                  "type": "null"
                }
              ],
              "title": "Age Min"
            }
          },
          {
            "in": "query",
            "name": "age_max",
            "required": false,
            "schema": {
              "anyOf": [
                {
                  "maximum": 130,
                  "minimum": 0,
                  "type": "integer"
                },
                {
                  "type": "null"
                }
              ],
              "title": "Age Max"
            }
          },
          {
            "in": "query",
            "name": "deceased",
            "required": false,
            "schema": {
              "anyOf": [
                {
                  "maxLength": 8,
                  "type": "string"
                },
                {
                  "type": "null"
                }
              ],
              "title": "Deceased"
            }
          },
          {
            "in": "query",
            "name": "limit",
            "required": false,
            "schema": {
              "default": 25,
              "maximum": 25,
              "minimum": 1,
              "title": "Limit",
              "type": "integer"
            }
          },
          {
            "in": "query",
            "name": "offset",
            "required": false,
            "schema": {
              "default": 0,
              "minimum": 0,
              "title": "Offset",
              "type": "integer"
            }
          }
        ],
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/RecordPageOut"
                }
              }
            },
            "description": "Successful Response"
          },
          "422": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/HTTPValidationError"
                }
              }
            },
            "description": "Validation Error"
          }
        },
        "security": [
          {
            "HTTPBearer": []
          }
        ],
        "summary": "Search Records",
        "tags": [
          "records"
        ]
      }
    },
    "/api/orgs/{org_id}/records/activity": {
      "get": {
        "description": "Customer-facing activity log \u2014 who did what when in this org.\n\nRecord accesses carry a `subject` (who the record was about) resolved\nat read time, masked to match the access: full name + city\nfor a charged view, name + state only for a masked preview. `q` is a\ncase-insensitive substring match on a query param value or record id.",
        "operationId": "list_activity_api_orgs__org_id__records_activity_get",
        "parameters": [
          {
            "in": "path",
            "name": "org_id",
            "required": true,
            "schema": {
              "format": "uuid",
              "title": "Org Id",
              "type": "string"
            }
          },
          {
            "in": "query",
            "name": "action",
            "required": false,
            "schema": {
              "anyOf": [
                {
                  "$ref": "#/components/schemas/RecordQueryAction"
                },
                {
                  "type": "null"
                }
              ],
              "title": "Action"
            }
          },
          {
            "in": "query",
            "name": "surface",
            "required": false,
            "schema": {
              "anyOf": [
                {
                  "$ref": "#/components/schemas/QuerySurface"
                },
                {
                  "type": "null"
                }
              ],
              "title": "Surface"
            }
          },
          {
            "in": "query",
            "name": "has_results",
            "required": false,
            "schema": {
              "anyOf": [
                {
                  "type": "boolean"
                },
                {
                  "type": "null"
                }
              ],
              "title": "Has Results"
            }
          },
          {
            "in": "query",
            "name": "user_id",
            "required": false,
            "schema": {
              "anyOf": [
                {
                  "format": "uuid",
                  "type": "string"
                },
                {
                  "type": "null"
                }
              ],
              "title": "User Id"
            }
          },
          {
            "in": "query",
            "name": "created_from",
            "required": false,
            "schema": {
              "anyOf": [
                {
                  "format": "date-time",
                  "type": "string"
                },
                {
                  "type": "null"
                }
              ],
              "title": "Created From"
            }
          },
          {
            "in": "query",
            "name": "created_to",
            "required": false,
            "schema": {
              "anyOf": [
                {
                  "format": "date-time",
                  "type": "string"
                },
                {
                  "type": "null"
                }
              ],
              "title": "Created To"
            }
          },
          {
            "in": "query",
            "name": "q",
            "required": false,
            "schema": {
              "anyOf": [
                {
                  "maxLength": 100,
                  "type": "string"
                },
                {
                  "type": "null"
                }
              ],
              "title": "Q"
            }
          },
          {
            "in": "query",
            "name": "sort",
            "required": false,
            "schema": {
              "default": "newest",
              "pattern": "^(newest|oldest)$",
              "title": "Sort",
              "type": "string"
            }
          },
          {
            "in": "query",
            "name": "page",
            "required": false,
            "schema": {
              "default": 1,
              "minimum": 1,
              "title": "Page",
              "type": "integer"
            }
          },
          {
            "in": "query",
            "name": "page_size",
            "required": false,
            "schema": {
              "default": 25,
              "maximum": 100,
              "minimum": 1,
              "title": "Page Size",
              "type": "integer"
            }
          }
        ],
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ActivityPageOut"
                }
              }
            },
            "description": "Successful Response"
          },
          "422": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/HTTPValidationError"
                }
              }
            },
            "description": "Validation Error"
          }
        },
        "security": [
          {
            "HTTPBearer": []
          }
        ],
        "summary": "List Activity",
        "tags": [
          "records"
        ]
      }
    },
    "/api/orgs/{org_id}/records/activity/export.csv": {
      "get": {
        "description": "CSV of the filtered activity log (capped at EXPORT_CAP).\n\nSubject columns are filled for up to SUBJECT_EXPORT_CAP distinct people;\npast that they stay blank and record_id still identifies the row.\nHonors the same `q` free-text filter.",
        "operationId": "export_activity_csv_api_orgs__org_id__records_activity_export_csv_get",
        "parameters": [
          {
            "in": "path",
            "name": "org_id",
            "required": true,
            "schema": {
              "format": "uuid",
              "title": "Org Id",
              "type": "string"
            }
          },
          {
            "in": "query",
            "name": "action",
            "required": false,
            "schema": {
              "anyOf": [
                {
                  "$ref": "#/components/schemas/RecordQueryAction"
                },
                {
                  "type": "null"
                }
              ],
              "title": "Action"
            }
          },
          {
            "in": "query",
            "name": "surface",
            "required": false,
            "schema": {
              "anyOf": [
                {
                  "$ref": "#/components/schemas/QuerySurface"
                },
                {
                  "type": "null"
                }
              ],
              "title": "Surface"
            }
          },
          {
            "in": "query",
            "name": "has_results",
            "required": false,
            "schema": {
              "anyOf": [
                {
                  "type": "boolean"
                },
                {
                  "type": "null"
                }
              ],
              "title": "Has Results"
            }
          },
          {
            "in": "query",
            "name": "user_id",
            "required": false,
            "schema": {
              "anyOf": [
                {
                  "format": "uuid",
                  "type": "string"
                },
                {
                  "type": "null"
                }
              ],
              "title": "User Id"
            }
          },
          {
            "in": "query",
            "name": "created_from",
            "required": false,
            "schema": {
              "anyOf": [
                {
                  "format": "date-time",
                  "type": "string"
                },
                {
                  "type": "null"
                }
              ],
              "title": "Created From"
            }
          },
          {
            "in": "query",
            "name": "created_to",
            "required": false,
            "schema": {
              "anyOf": [
                {
                  "format": "date-time",
                  "type": "string"
                },
                {
                  "type": "null"
                }
              ],
              "title": "Created To"
            }
          },
          {
            "in": "query",
            "name": "q",
            "required": false,
            "schema": {
              "anyOf": [
                {
                  "maxLength": 100,
                  "type": "string"
                },
                {
                  "type": "null"
                }
              ],
              "title": "Q"
            }
          },
          {
            "in": "query",
            "name": "sort",
            "required": false,
            "schema": {
              "default": "newest",
              "pattern": "^(newest|oldest)$",
              "title": "Sort",
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {}
              }
            },
            "description": "Successful Response"
          },
          "422": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/HTTPValidationError"
                }
              }
            },
            "description": "Validation Error"
          }
        },
        "security": [
          {
            "HTTPBearer": []
          }
        ],
        "summary": "Export Activity Csv",
        "tags": [
          "records"
        ]
      }
    },
    "/api/orgs/{org_id}/records/at-address": {
      "get": {
        "description": "People-at-address (household): inverted index over address history.\n\nReturns everyone who has lived at the property, tagged current vs\nhistorical from each person's most-recent address slot.",
        "operationId": "people_at_address_api_orgs__org_id__records_at_address_get",
        "parameters": [
          {
            "in": "path",
            "name": "org_id",
            "required": true,
            "schema": {
              "format": "uuid",
              "title": "Org Id",
              "type": "string"
            }
          },
          {
            "in": "query",
            "name": "house_number",
            "required": false,
            "schema": {
              "anyOf": [
                {
                  "maxLength": 32,
                  "type": "string"
                },
                {
                  "type": "null"
                }
              ],
              "title": "House Number"
            }
          },
          {
            "in": "query",
            "name": "street_name",
            "required": false,
            "schema": {
              "anyOf": [
                {
                  "maxLength": 128,
                  "type": "string"
                },
                {
                  "type": "null"
                }
              ],
              "title": "Street Name"
            }
          },
          {
            "in": "query",
            "name": "street_suffix",
            "required": false,
            "schema": {
              "anyOf": [
                {
                  "maxLength": 32,
                  "type": "string"
                },
                {
                  "type": "null"
                }
              ],
              "title": "Street Suffix"
            }
          },
          {
            "in": "query",
            "name": "unit_number",
            "required": false,
            "schema": {
              "anyOf": [
                {
                  "maxLength": 32,
                  "type": "string"
                },
                {
                  "type": "null"
                }
              ],
              "title": "Unit Number"
            }
          },
          {
            "in": "query",
            "name": "city",
            "required": false,
            "schema": {
              "anyOf": [
                {
                  "maxLength": 128,
                  "type": "string"
                },
                {
                  "type": "null"
                }
              ],
              "title": "City"
            }
          },
          {
            "in": "query",
            "name": "state",
            "required": false,
            "schema": {
              "anyOf": [
                {
                  "maxLength": 2,
                  "type": "string"
                },
                {
                  "type": "null"
                }
              ],
              "title": "State"
            }
          },
          {
            "in": "query",
            "name": "zip",
            "required": false,
            "schema": {
              "anyOf": [
                {
                  "maxLength": 10,
                  "type": "string"
                },
                {
                  "type": "null"
                }
              ],
              "title": "Zip"
            }
          },
          {
            "in": "query",
            "name": "current_only",
            "required": false,
            "schema": {
              "default": false,
              "title": "Current Only",
              "type": "boolean"
            }
          },
          {
            "in": "query",
            "name": "limit",
            "required": false,
            "schema": {
              "default": 25,
              "maximum": 25,
              "minimum": 1,
              "title": "Limit",
              "type": "integer"
            }
          },
          {
            "in": "query",
            "name": "offset",
            "required": false,
            "schema": {
              "default": 0,
              "minimum": 0,
              "title": "Offset",
              "type": "integer"
            }
          }
        ],
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/HouseholdPageOut"
                }
              }
            },
            "description": "Successful Response"
          },
          "422": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/HTTPValidationError"
                }
              }
            },
            "description": "Validation Error"
          }
        },
        "security": [
          {
            "HTTPBearer": []
          }
        ],
        "summary": "People At Address",
        "tags": [
          "records"
        ]
      }
    },
    "/api/orgs/{org_id}/records/check": {
      "post": {
        "description": "Authenticated Match / No match / Needs review check \u2014 free (no credit charge).",
        "operationId": "identity_check_api_orgs__org_id__records_check_post",
        "parameters": [
          {
            "in": "path",
            "name": "org_id",
            "required": true,
            "schema": {
              "format": "uuid",
              "title": "Org Id",
              "type": "string"
            }
          }
        ],
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/IdentityCheckIn"
              }
            }
          },
          "required": true
        },
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/IdentityCheckOut"
                }
              }
            },
            "description": "Successful Response"
          },
          "422": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/HTTPValidationError"
                }
              }
            },
            "description": "Validation Error"
          }
        },
        "security": [
          {
            "HTTPBearer": []
          }
        ],
        "summary": "Identity Check",
        "tags": [
          "records"
        ]
      }
    },
    "/api/orgs/{org_id}/records/recent": {
      "get": {
        "description": "Org search/check history for the dashboard \u2014 no credit charge.\n\nSame member-vs-admin scoping as /records/activity: members see only\ntheir own rows; admins/owners see the whole org. Response schema is\nunchanged so the dashboard widget keeps working.",
        "operationId": "recent_queries_api_orgs__org_id__records_recent_get",
        "parameters": [
          {
            "in": "path",
            "name": "org_id",
            "required": true,
            "schema": {
              "format": "uuid",
              "title": "Org Id",
              "type": "string"
            }
          },
          {
            "in": "query",
            "name": "limit",
            "required": false,
            "schema": {
              "default": 20,
              "maximum": 50,
              "minimum": 1,
              "title": "Limit",
              "type": "integer"
            }
          }
        ],
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/RecentQueriesOut"
                }
              }
            },
            "description": "Successful Response"
          },
          "422": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/HTTPValidationError"
                }
              }
            },
            "description": "Validation Error"
          }
        },
        "security": [
          {
            "HTTPBearer": []
          }
        ],
        "summary": "Recent Queries",
        "tags": [
          "records"
        ]
      }
    },
    "/api/orgs/{org_id}/records/{record_id}": {
      "get": {
        "operationId": "get_record_api_orgs__org_id__records__record_id__get",
        "parameters": [
          {
            "in": "path",
            "name": "record_id",
            "required": true,
            "schema": {
              "title": "Record Id",
              "type": "string"
            }
          },
          {
            "in": "path",
            "name": "org_id",
            "required": true,
            "schema": {
              "format": "uuid",
              "title": "Org Id",
              "type": "string"
            }
          },
          {
            "in": "query",
            "name": "city",
            "required": false,
            "schema": {
              "anyOf": [
                {
                  "maxLength": 1,
                  "type": "string"
                },
                {
                  "type": "null"
                }
              ],
              "title": "City"
            }
          },
          {
            "in": "header",
            "name": "x-confirm-shared-access",
            "required": false,
            "schema": {
              "anyOf": [
                {
                  "type": "string"
                },
                {
                  "type": "null"
                }
              ],
              "title": "X-Confirm-Shared-Access"
            }
          }
        ],
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/RecordDetailOut"
                }
              }
            },
            "description": "Successful Response"
          },
          "422": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/HTTPValidationError"
                }
              }
            },
            "description": "Validation Error"
          }
        },
        "security": [
          {
            "HTTPBearer": []
          }
        ],
        "summary": "Get Record",
        "tags": [
          "records"
        ]
      }
    },
    "/api/orgs/{org_id}/records/{record_id}/access-info": {
      "get": {
        "description": "Check whether this org has previously viewed a record \u2014 no credit charge.",
        "operationId": "record_access_info_api_orgs__org_id__records__record_id__access_info_get",
        "parameters": [
          {
            "in": "path",
            "name": "record_id",
            "required": true,
            "schema": {
              "title": "Record Id",
              "type": "string"
            }
          },
          {
            "in": "path",
            "name": "org_id",
            "required": true,
            "schema": {
              "format": "uuid",
              "title": "Org Id",
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/RecordAccessInfoOut"
                }
              }
            },
            "description": "Successful Response"
          },
          "422": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/HTTPValidationError"
                }
              }
            },
            "description": "Validation Error"
          }
        },
        "security": [
          {
            "HTTPBearer": []
          }
        ],
        "summary": "Record Access Info",
        "tags": [
          "records"
        ]
      }
    },
    "/api/orgs/{org_id}/records/{record_id}/address-check": {
      "get": {
        "description": "Freshness evidence for the record's current address from Florida parcel\nrolls (+ building permits while local activity is enabled for the caller).\n404 ERR_ADDR_002 for unknown/suppressed records; 403 ERR_ADDR_001 until the\norg has viewed (paid for) the record; 503 ERR_ADDR_003 when parcel data is\nunavailable. Contact-data quality evidence \u2014 not an eligibility input.",
        "operationId": "address_check_for_record_api_orgs__org_id__records__record_id__address_check_get",
        "parameters": [
          {
            "in": "path",
            "name": "org_id",
            "required": true,
            "schema": {
              "format": "uuid",
              "title": "Org Id",
              "type": "string"
            }
          },
          {
            "in": "path",
            "name": "record_id",
            "required": true,
            "schema": {
              "title": "Record Id",
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/AddressCheckOut"
                }
              }
            },
            "description": "Successful Response"
          },
          "422": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/HTTPValidationError"
                }
              }
            },
            "description": "Validation Error"
          }
        },
        "security": [
          {
            "HTTPBearer": []
          }
        ],
        "summary": "Address Check For Record",
        "tags": [
          "address-checks"
        ]
      }
    },
    "/api/orgs/{org_id}/records/{record_id}/neighborhood": {
      "get": {
        "description": "Neighborhood context for a record: parcel block group, else ZIP's\ndominant tract, else ZIP, else county. `resolved_via` says which.\n403 ERR_NBHD_004 until the org has viewed (paid for) the record.",
        "operationId": "neighborhood_for_record_api_orgs__org_id__records__record_id__neighborhood_get",
        "parameters": [
          {
            "in": "path",
            "name": "org_id",
            "required": true,
            "schema": {
              "format": "uuid",
              "title": "Org Id",
              "type": "string"
            }
          },
          {
            "in": "path",
            "name": "record_id",
            "required": true,
            "schema": {
              "title": "Record Id",
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/PublicNeighborhoodProfileOut"
                }
              }
            },
            "description": "Successful Response"
          },
          "422": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/HTTPValidationError"
                }
              }
            },
            "description": "Validation Error"
          }
        },
        "security": [
          {
            "HTTPBearer": []
          }
        ],
        "summary": "Neighborhood For Record",
        "tags": [
          "neighborhoods"
        ]
      }
    },
    "/api/orgs/{org_id}/records/{record_id}/preview": {
      "get": {
        "description": "Free masked profile preview \u2014 structure and counts visible, contact\ndetails redacted. City is revealed only when ``city=1`` (the caller\nsearched by city).",
        "operationId": "preview_record_api_orgs__org_id__records__record_id__preview_get",
        "parameters": [
          {
            "in": "path",
            "name": "record_id",
            "required": true,
            "schema": {
              "title": "Record Id",
              "type": "string"
            }
          },
          {
            "in": "path",
            "name": "org_id",
            "required": true,
            "schema": {
              "format": "uuid",
              "title": "Org Id",
              "type": "string"
            }
          },
          {
            "in": "query",
            "name": "city",
            "required": false,
            "schema": {
              "anyOf": [
                {
                  "maxLength": 1,
                  "type": "string"
                },
                {
                  "type": "null"
                }
              ],
              "title": "City"
            }
          }
        ],
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/RecordDetailOut"
                }
              }
            },
            "description": "Successful Response"
          },
          "422": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/HTTPValidationError"
                }
              }
            },
            "description": "Validation Error"
          }
        },
        "security": [
          {
            "HTTPBearer": []
          }
        ],
        "summary": "Preview Record",
        "tags": [
          "records"
        ]
      }
    },
    "/api/orgs/{org_id}/records/{record_id}/properties": {
      "get": {
        "description": "Properties owned by a person (consumer record).",
        "operationId": "properties_for_person_api_orgs__org_id__records__record_id__properties_get",
        "parameters": [
          {
            "in": "path",
            "name": "record_id",
            "required": true,
            "schema": {
              "title": "Record Id",
              "type": "string"
            }
          },
          {
            "in": "path",
            "name": "org_id",
            "required": true,
            "schema": {
              "format": "uuid",
              "title": "Org Id",
              "type": "string"
            }
          },
          {
            "in": "query",
            "name": "limit",
            "required": false,
            "schema": {
              "default": 25,
              "maximum": 25,
              "minimum": 1,
              "title": "Limit",
              "type": "integer"
            }
          },
          {
            "in": "query",
            "name": "offset",
            "required": false,
            "schema": {
              "default": 0,
              "minimum": 0,
              "title": "Offset",
              "type": "integer"
            }
          }
        ],
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/PropertyPageOut"
                }
              }
            },
            "description": "Successful Response"
          },
          "422": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/HTTPValidationError"
                }
              }
            },
            "description": "Validation Error"
          }
        },
        "security": [
          {
            "HTTPBearer": []
          }
        ],
        "summary": "Properties For Person",
        "tags": [
          "properties"
        ]
      }
    },
    "/api/orgs/{org_id}/referrals": {
      "get": {
        "operationId": "referral_summary_api_orgs__org_id__referrals_get",
        "parameters": [
          {
            "in": "path",
            "name": "org_id",
            "required": true,
            "schema": {
              "format": "uuid",
              "title": "Org Id",
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ReferralSummaryOut"
                }
              }
            },
            "description": "Successful Response"
          },
          "422": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/HTTPValidationError"
                }
              }
            },
            "description": "Validation Error"
          }
        },
        "security": [
          {
            "HTTPBearer": []
          }
        ],
        "summary": "Referral Summary",
        "tags": [
          "referrals"
        ]
      }
    },
    "/api/orgs/{org_id}/referrals/invitations": {
      "post": {
        "operationId": "send_referral_invitation_api_orgs__org_id__referrals_invitations_post",
        "parameters": [
          {
            "in": "path",
            "name": "org_id",
            "required": true,
            "schema": {
              "format": "uuid",
              "title": "Org Id",
              "type": "string"
            }
          }
        ],
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/ReferralEmailRequest"
              }
            }
          },
          "required": true
        },
        "responses": {
          "202": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ReferralEmailSent"
                }
              }
            },
            "description": "Successful Response"
          },
          "422": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/HTTPValidationError"
                }
              }
            },
            "description": "Validation Error"
          }
        },
        "security": [
          {
            "HTTPBearer": []
          }
        ],
        "summary": "Send Referral Invitation",
        "tags": [
          "referrals"
        ]
      }
    },
    "/api/orgs/{org_id}/watches": {
      "get": {
        "description": "The org's watches, newest first, each with `hits_7d`.",
        "operationId": "list_watches_api_orgs__org_id__watches_get",
        "parameters": [
          {
            "in": "path",
            "name": "org_id",
            "required": true,
            "schema": {
              "format": "uuid",
              "title": "Org Id",
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/WatchListOut"
                }
              }
            },
            "description": "Successful Response"
          },
          "422": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/HTTPValidationError"
                }
              }
            },
            "description": "Validation Error"
          }
        },
        "security": [
          {
            "HTTPBearer": []
          }
        ],
        "summary": "List Watches",
        "tags": [
          "watches"
        ]
      },
      "post": {
        "description": "Create a watch (also \"Watch this property\" / \"Watch contractor\"). Matches\nthe last 7 days of data at once. 400 ERR_WATCH_002 with field errors;\n409 ERR_WATCH_003 past 50 per org.",
        "operationId": "create_watch_api_orgs__org_id__watches_post",
        "parameters": [
          {
            "in": "path",
            "name": "org_id",
            "required": true,
            "schema": {
              "format": "uuid",
              "title": "Org Id",
              "type": "string"
            }
          }
        ],
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/WatchIn"
              }
            }
          },
          "required": true
        },
        "responses": {
          "201": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/WatchOut"
                }
              }
            },
            "description": "Successful Response"
          },
          "422": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/HTTPValidationError"
                }
              }
            },
            "description": "Validation Error"
          }
        },
        "security": [
          {
            "HTTPBearer": []
          }
        ],
        "summary": "Create Watch",
        "tags": [
          "watches"
        ]
      }
    },
    "/api/orgs/{org_id}/watches/hits": {
      "get": {
        "description": "Recent hits across the org's watches, newest first (cursor-paged).",
        "operationId": "list_hits_api_orgs__org_id__watches_hits_get",
        "parameters": [
          {
            "in": "path",
            "name": "org_id",
            "required": true,
            "schema": {
              "format": "uuid",
              "title": "Org Id",
              "type": "string"
            }
          },
          {
            "in": "query",
            "name": "cursor",
            "required": false,
            "schema": {
              "anyOf": [
                {
                  "maxLength": 200,
                  "type": "string"
                },
                {
                  "type": "null"
                }
              ],
              "title": "Cursor"
            }
          },
          {
            "in": "query",
            "name": "limit",
            "required": false,
            "schema": {
              "default": 25,
              "maximum": 100,
              "minimum": 1,
              "title": "Limit",
              "type": "integer"
            }
          }
        ],
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/HitPageOut"
                }
              }
            },
            "description": "Successful Response"
          },
          "422": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/HTTPValidationError"
                }
              }
            },
            "description": "Validation Error"
          }
        },
        "security": [
          {
            "HTTPBearer": []
          }
        ],
        "summary": "List Hits",
        "tags": [
          "watches"
        ]
      }
    },
    "/api/orgs/{org_id}/watches/preview": {
      "post": {
        "description": "How many events this watch would have matched in the last 7 days of data.",
        "operationId": "preview_watch_api_orgs__org_id__watches_preview_post",
        "parameters": [
          {
            "in": "path",
            "name": "org_id",
            "required": true,
            "schema": {
              "format": "uuid",
              "title": "Org Id",
              "type": "string"
            }
          }
        ],
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/WatchIn"
              }
            }
          },
          "required": true
        },
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/PreviewOut"
                }
              }
            },
            "description": "Successful Response"
          },
          "422": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/HTTPValidationError"
                }
              }
            },
            "description": "Validation Error"
          }
        },
        "security": [
          {
            "HTTPBearer": []
          }
        ],
        "summary": "Preview Watch",
        "tags": [
          "watches"
        ]
      }
    },
    "/api/orgs/{org_id}/watches/{watch_id}": {
      "delete": {
        "operationId": "delete_watch_api_orgs__org_id__watches__watch_id__delete",
        "parameters": [
          {
            "in": "path",
            "name": "watch_id",
            "required": true,
            "schema": {
              "format": "uuid",
              "title": "Watch Id",
              "type": "string"
            }
          },
          {
            "in": "path",
            "name": "org_id",
            "required": true,
            "schema": {
              "format": "uuid",
              "title": "Org Id",
              "type": "string"
            }
          }
        ],
        "responses": {
          "204": {
            "description": "Successful Response"
          },
          "422": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/HTTPValidationError"
                }
              }
            },
            "description": "Validation Error"
          }
        },
        "security": [
          {
            "HTTPBearer": []
          }
        ],
        "summary": "Delete Watch",
        "tags": [
          "watches"
        ]
      },
      "patch": {
        "description": "Partial update incl. `status` (active | paused). 404 ERR_WATCH_001.",
        "operationId": "update_watch_api_orgs__org_id__watches__watch_id__patch",
        "parameters": [
          {
            "in": "path",
            "name": "watch_id",
            "required": true,
            "schema": {
              "format": "uuid",
              "title": "Watch Id",
              "type": "string"
            }
          },
          {
            "in": "path",
            "name": "org_id",
            "required": true,
            "schema": {
              "format": "uuid",
              "title": "Org Id",
              "type": "string"
            }
          }
        ],
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/WatchPatchIn"
              }
            }
          },
          "required": true
        },
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/WatchOut"
                }
              }
            },
            "description": "Successful Response"
          },
          "422": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/HTTPValidationError"
                }
              }
            },
            "description": "Validation Error"
          }
        },
        "security": [
          {
            "HTTPBearer": []
          }
        ],
        "summary": "Update Watch",
        "tags": [
          "watches"
        ]
      }
    },
    "/api/privacy/requests": {
      "post": {
        "operationId": "submit_privacy_request_api_privacy_requests_post",
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/PrivacyRequestSubmitIn"
              }
            }
          },
          "required": true
        },
        "responses": {
          "201": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/PrivacyRequestSubmitOut"
                }
              }
            },
            "description": "Successful Response"
          },
          "422": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/HTTPValidationError"
                }
              }
            },
            "description": "Validation Error"
          }
        },
        "summary": "Submit Privacy Request",
        "tags": [
          "privacy"
        ]
      }
    },
    "/api/properties/coverage": {
      "get": {
        "description": "Public, unauthenticated: which counties have property data.",
        "operationId": "property_coverage_api_properties_coverage_get",
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/app__domains__properties__interface__schemas__CoverageOut"
                }
              }
            },
            "description": "Successful Response"
          }
        },
        "summary": "Property Coverage",
        "tags": [
          "properties-public"
        ]
      }
    },
    "/api/records/check": {
      "post": {
        "description": "Free coarse check \u2014 outcome + signals only. No record id, no teaser.\n\nRate limited to one check per IP per hour. A 429 response includes\nRetry-After. Inputs are retained briefly for abuse prevention.\n\nAccepts email and/or phone.",
        "operationId": "public_identity_check_api_records_check_post",
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/IdentityCheckIn"
              }
            }
          },
          "required": true
        },
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/IdentityCheckPublicOut"
                }
              }
            },
            "description": "Successful Response"
          },
          "422": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/HTTPValidationError"
                }
              }
            },
            "description": "Validation Error"
          }
        },
        "summary": "Public Identity Check",
        "tags": [
          "records-public"
        ]
      }
    }
  },
  "servers": [
    {
      "url": "https://coverfi.com"
    }
  ]
}
