{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/zarq-ai/json-schema/zarq-ai-multi-jurisdiction-response-schema.json",
  "title": "MultiJurisdictionResponse",
  "description": "Response model for multi-jurisdiction compliance checking.",
  "x-generated": "2026-11-29",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/zarq-ai-openapi.json#/components/schemas/MultiJurisdictionResponse",
  "properties": {
    "system_name": {
      "type": "string",
      "title": "System Name"
    },
    "overall_risk": {
      "type": "string",
      "title": "Overall Risk"
    },
    "jurisdictions_checked": {
      "type": "integer",
      "title": "Jurisdictions Checked"
    },
    "results": {
      "additionalProperties": {
        "$ref": "#/$defs/JurisdictionResult"
      },
      "type": "object",
      "title": "Results"
    },
    "priority_actions": {
      "items": {
        "$ref": "#/$defs/PriorityAction"
      },
      "type": "array",
      "title": "Priority Actions"
    },
    "badge_url": {
      "type": "string",
      "title": "Badge Url"
    }
  },
  "type": "object",
  "required": [
    "system_name",
    "overall_risk",
    "jurisdictions_checked",
    "results",
    "priority_actions",
    "badge_url"
  ],
  "$defs": {
    "JurisdictionResult": {
      "properties": {
        "risk_class": {
          "type": "string",
          "title": "Risk Class"
        },
        "score": {
          "type": "integer",
          "title": "Score"
        },
        "deadline": {
          "anyOf": [
            {
              "type": "string"
            },
            {
              "type": "null"
            }
          ],
          "title": "Deadline"
        },
        "gaps": {
          "items": {
            "type": "string"
          },
          "type": "array",
          "title": "Gaps"
        },
        "requirements": {
          "items": {
            "type": "string"
          },
          "type": "array",
          "title": "Requirements"
        },
        "native_risk_class": {
          "anyOf": [
            {
              "type": "string"
            },
            {
              "type": "null"
            }
          ],
          "title": "Native Risk Class"
        },
        "classifier_confidence": {
          "type": "string",
          "title": "Classifier Confidence",
          "default": "native"
        }
      },
      "type": "object",
      "required": [
        "risk_class",
        "score",
        "deadline",
        "gaps",
        "requirements"
      ],
      "title": "JurisdictionResult",
      "description": "Result for a single jurisdiction."
    },
    "PriorityAction": {
      "properties": {
        "urgency": {
          "type": "string",
          "title": "Urgency"
        },
        "jurisdiction": {
          "type": "string",
          "title": "Jurisdiction"
        },
        "action": {
          "type": "string",
          "title": "Action"
        }
      },
      "type": "object",
      "required": [
        "urgency",
        "jurisdiction",
        "action"
      ],
      "title": "PriorityAction",
      "description": "Priority action item."
    }
  }
}