{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "kei-artifact://research",
  "title": "Research Claims",
  "description": "Researcher output — claims + evidence grades + sources.",
  "type": "object",
  "additionalProperties": false,
  "required": ["question", "claims"],
  "properties": {
    "question": {
      "type": "string",
      "minLength": 1
    },
    "claims": {
      "type": "array",
      "minItems": 1,
      "items": {
        "type": "object",
        "additionalProperties": false,
        "required": ["claim", "evidence_grade"],
        "properties": {
          "claim": {"type": "string", "minLength": 1},
          "evidence_grade": {"type": "string", "enum": ["E1", "E2", "E3", "E4", "E5", "E6"]},
          "confidence": {"type": "string", "enum": ["100", "80", "50", "30", "0"]},
          "sources": {
            "type": "array",
            "items": {
              "type": "object",
              "additionalProperties": false,
              "required": ["url"],
              "properties": {
                "url": {"type": "string", "minLength": 1},
                "title": {"type": "string"},
                "verified": {"type": "boolean"}
              }
            }
          }
        }
      }
    },
    "gaps": {
      "type": "array",
      "items": {"type": "string", "minLength": 1}
    }
  }
}
