{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/backworkhealth-com/json-schema/backworkhealth-com-jurisdiction-schema.json",
  "title": "Jurisdiction",
  "x-generated": "2026-11-10",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/backworkhealth-com-reference-api-openapi.yml#/components/schemas/Jurisdiction",
  "type": "object",
  "properties": {
    "mac_name": {
      "type": "string",
      "description": "MAC contractor name"
    },
    "mac_code": {
      "type": "string",
      "description": "MAC code"
    },
    "jurisdiction_code": {
      "type": "string",
      "description": "Jurisdiction code (e.g., JE, JF)"
    },
    "jurisdiction_name": {
      "type": "string",
      "description": "Jurisdiction name"
    },
    "states": {
      "anyOf": [
        {
          "type": "array",
          "items": {
            "type": "string"
          }
        },
        {
          "type": "null"
        }
      ],
      "description": "Two-letter state codes in this jurisdiction"
    },
    "mac_type": {
      "type": "string",
      "description": "Type of MAC (A/B)"
    },
    "website_url": {
      "type": [
        "string",
        "null"
      ]
    }
  },
  "required": [
    "mac_name",
    "mac_code",
    "jurisdiction_code",
    "jurisdiction_name",
    "states",
    "mac_type",
    "website_url"
  ]
}