{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://tasfi.app/schemas/tasfi/guard/claim-evidence.schema.json",
  "title": "Tasfi Claim Evidence",
  "type": "object",
  "required": ["id", "index", "textHash", "status", "severity", "category", "attachedCitations", "riskRuleIds"],
  "properties": {
    "id": { "type": "string", "pattern": "^claim_[0-9]{3}_[a-f0-9]{12}$" },
    "index": { "type": "integer", "minimum": 0 },
    "textHash": { "type": "string", "pattern": "^[a-f0-9]{64}$" },
    "status": {
      "type": "string",
      "enum": ["supported", "unsupported", "overclaimed", "needs_review", "out_of_scope"]
    },
    "severity": { "type": "string", "enum": ["pass", "info", "warn", "fail"] },
    "category": { "type": "string" },
    "attachedCitations": { "type": "array", "items": { "type": "object" } },
    "riskRuleIds": { "type": "array", "items": { "type": "string" } },
    "reasons": { "type": "array", "items": { "type": "string" } }
  },
  "additionalProperties": true
}
