{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://www.arowanafish.cn/knowledge/answer-packets/schema.json",
  "title": "Arowana Agent Answer Packet v1",
  "type": "object",
  "required": [
    "schema_version",
    "id",
    "type",
    "question_id",
    "question",
    "direct_answer",
    "claims",
    "evidence",
    "evidence_status",
    "boundaries",
    "intent_stage",
    "commercial_relevance",
    "risk_level",
    "updated_at",
    "generated_at",
    "human_review_required"
  ],
  "properties": {
    "schema_version": {
      "const": "1.0"
    },
    "id": {
      "type": "string"
    },
    "type": {
      "const": "AnswerPacket"
    },
    "question_id": {
      "type": "string"
    },
    "question": {
      "type": "string"
    },
    "direct_answer": {
      "type": "string"
    },
    "claims": {
      "type": "array"
    },
    "evidence": {
      "type": "array"
    },
    "evidence_status": {
      "enum": [
        "supported",
        "evidence_insufficient"
      ]
    },
    "boundaries": {
      "type": "array"
    },
    "intent_stage": {
      "enum": [
        "information",
        "consideration",
        "decision"
      ]
    },
    "commercial_relevance": {
      "enum": [
        "low",
        "medium",
        "high"
      ]
    },
    "risk_level": {
      "enum": [
        "normal",
        "high"
      ]
    },
    "updated_at": {
      "type": "string"
    },
    "generated_at": {
      "type": "string"
    },
    "human_review_required": {
      "type": "boolean"
    }
  }
}
