{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://autoqa.example/schemas/human-resolution-packet.schema.json",
  "title": "AutoQA Human Resolution Packet",
  "type": "object",
  "additionalProperties": false,
  "required": [
    "documentType",
    "schemaVersion",
    "caseRef",
    "contractRef",
    "contextFindings",
    "interaction"
  ],
  "properties": {
    "documentType": {
      "const": "human_resolution_packet"
    },
    "schemaVersion": {
      "$ref": "common.schema.json#/$defs/SemVer"
    },
    "caseRef": {
      "$ref": "common.schema.json#/$defs/CaseRef"
    },
    "contractRef": {
      "$ref": "common.schema.json#/$defs/ContractRef"
    },
    "interaction": {
      "$ref": "common.schema.json#/$defs/HumanResolutionInteraction"
    },
    "contextFindings": {
      "type": "array",
      "minItems": 1,
      "items": {
        "$ref": "common.schema.json#/$defs/Finding"
      }
    }
  }
}
