{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://ais.partners/samples/candidate-manifest.schema.v1.json",
  "title": "AIS synthetic format example v1",
  "type": "object",
  "required": [
    "schema_version",
    "example_id",
    "synthetic",
    "updated_at",
    "purpose",
    "scientific_run_performed",
    "performance_claim",
    "decision_context",
    "method",
    "candidates",
    "evidence_file",
    "data_rights",
    "human_review",
    "limitations"
  ],
  "properties": {
    "schema_version": {
      "const": "1.0.0"
    },
    "synthetic": {
      "const": true
    },
    "scientific_run_performed": {
      "const": false
    },
    "candidates": {
      "type": "array",
      "minItems": 1,
      "items": {
        "type": "object",
        "required": [
          "id",
          "rank",
          "disposition",
          "rationale",
          "evidence_refs",
          "uncertainty",
          "expert_action"
        ],
        "properties": {
          "id": {
            "type": "string"
          },
          "rank": {
            "type": [
              "integer",
              "null"
            ],
            "minimum": 1
          },
          "evidence_refs": {
            "type": "array",
            "items": {
              "type": "string"
            }
          },
          "uncertainty": {
            "type": "array",
            "items": {
              "type": "string"
            }
          }
        }
      }
    }
  }
}
