{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "urn:awoooi:agent-replay-pipeline-report-v1",
  "title": "AWOOOI Agent Replay Pipeline Report (v1)",
  "type": "object",
  "required": [
    "schema_version",
    "candidate_id",
    "inputs",
    "results",
    "baseline",
    "contract_report",
    "normalized_output",
    "scorecard",
    "contract_valid",
    "input_records",
    "result_records",
    "normalized_records",
    "graded_records",
    "label_grading_applied",
    "scorecard_written"
  ],
  "properties": {
    "schema_version": {
      "type": "string",
      "const": "agent_replay_pipeline_report_v1"
    },
    "candidate_id": {
      "type": "string"
    },
    "inputs": {
      "type": "string"
    },
    "results": {
      "type": "string"
    },
    "baseline": {
      "type": "string"
    },
    "contract_report": {
      "type": "string"
    },
    "normalized_output": {
      "type": "string"
    },
    "fixtures": {
      "type": ["string", "null"]
    },
    "graded_output": {
      "type": ["string", "null"]
    },
    "grading_report": {
      "type": ["string", "null"]
    },
    "scorecard": {
      "type": "string"
    },
    "contract_valid": {
      "type": "boolean"
    },
    "input_records": {
      "type": "integer",
      "minimum": 0
    },
    "result_records": {
      "type": "integer",
      "minimum": 0
    },
    "normalized_records": {
      "type": "integer",
      "minimum": 0
    },
    "graded_records": {
      "type": "integer",
      "minimum": 0
    },
    "label_grading_applied": {
      "type": "boolean"
    },
    "scorecard_written": {
      "type": "boolean"
    }
  },
  "additionalProperties": false
}
