{
 "$schema": "https://json-schema.org/draft/2020-12/schema",
 "title": "1099-K State Threshold Map v3 state row",
 "type": "object",
 "required": [
  "state",
  "abbr",
  "state_threshold_2026",
  "mechanism",
  "confidence",
  "source_url"
 ],
 "properties": {
  "state": {
   "type": [
    "string",
    "null"
   ]
  },
  "abbr": {
   "type": [
    "string",
    "null"
   ]
  },
  "region": {
   "type": [
    "string",
    "null"
   ]
  },
  "state_threshold_2026": {
   "type": [
    "number",
    "null"
   ]
  },
  "state_transaction_min": {
   "type": [
    "number",
    "null"
   ]
  },
  "policy_type": {
   "type": [
    "string",
    "null"
   ]
  },
  "gap_vs_federal": {
   "type": [
    "number",
    "null"
   ]
  },
  "source_url": {
   "type": [
    "string",
    "null"
   ]
  },
  "last_verified_date": {
   "type": [
    "string",
    "null"
   ]
  },
  "mechanism": {
   "enum": [
    "independent_floor",
    "federal_reference_1099K",
    "federal_reference_1099MISC_NEC",
    "copy_of_federal_only",
    "no_state_requirement"
   ]
  },
  "state_floor_2025_usd": {
   "type": [
    "number",
    "null"
   ]
  },
  "state_floor_2026_usd": {
   "type": [
    "number",
    "null"
   ]
  },
  "filing_only_if_state_withholding": {
   "type": [
    "boolean",
    "null"
   ]
  },
  "agency_page_states": {
   "type": [
    "string",
    "null"
   ]
  },
  "operative_reading": {
   "type": [
    "string",
    "null"
   ]
  },
  "quote": {
   "type": [
    "string",
    "null"
   ]
  },
  "citation": {
   "type": [
    "string",
    "null"
   ]
  },
  "primary_publisher": {
   "type": [
    "string",
    "null"
   ]
  },
  "second_source_url": {
   "type": [
    "string",
    "null"
   ]
  },
  "cfsf_1099k": {
   "type": [
    "boolean",
    "null"
   ]
  },
  "direct_filing_required": {
   "type": [
    "boolean",
    "null"
   ]
  },
  "filing_system": {
   "type": [
    "string",
    "null"
   ]
  },
  "state_due_date": {
   "type": [
    "string",
    "null"
   ]
  },
  "state_income_tax": {
   "type": [
    "boolean",
    "null"
   ]
  },
  "confidence": {
   "enum": [
    "A",
    "B",
    "C",
    "U"
   ]
  },
  "changed_vs_v2": {
   "type": [
    "boolean",
    "null"
   ]
  },
  "change_reason": {
   "type": [
    "string",
    "null"
   ]
  },
  "v2_threshold": {
   "type": [
    "number",
    "null"
   ]
  },
  "v2_policy_type": {
   "type": [
    "string",
    "null"
   ]
  },
  "notes": {
   "type": [
    "string",
    "null"
   ]
  },
  "open_questions": {
   "type": "array"
  }
 }
}
