{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/evalgate-com/json-schema/evalgate-com-post-api-adjudication-items-request-schema.json",
  "title": "PostApiAdjudicationItemsRequest",
  "x-generated": "2026-11-10",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/evalgate-com-adjudication-api-openapi.yml#/components/schemas/PostApiAdjudicationItemsRequest",
  "type": "object",
  "properties": {
    "reasonCode": {
      "oneOf": [
        {
          "type": "string",
          "enum": [
            "judge_disagreement"
          ]
        },
        {
          "type": "string",
          "enum": [
            "low_confidence"
          ]
        },
        {
          "type": "string",
          "enum": [
            "high_severity_failure"
          ]
        },
        {
          "type": "string",
          "enum": [
            "synthetic_candidate_review"
          ]
        },
        {
          "type": "string",
          "enum": [
            "calibration_anchor_needed"
          ]
        },
        {
          "type": "string",
          "enum": [
            "policy_violation"
          ]
        },
        {
          "type": "string",
          "enum": [
            "online_monitor_alert"
          ]
        }
      ]
    },
    "sourceType": {
      "oneOf": [
        {
          "type": "string",
          "enum": [
            "manual"
          ]
        },
        {
          "type": "string",
          "enum": [
            "human_review"
          ]
        },
        {
          "type": "string",
          "enum": [
            "policy"
          ]
        },
        {
          "type": "string",
          "enum": [
            "synthetic_candidate"
          ]
        },
        {
          "type": "string",
          "enum": [
            "calibration_proposal"
          ]
        },
        {
          "type": "string",
          "enum": [
            "proposed_change"
          ]
        },
        {
          "type": "string",
          "enum": [
            "online_alert"
          ]
        }
      ]
    },
    "sourceId": {
      "type": "string"
    },
    "title": {
      "type": "string"
    },
    "severity": {
      "oneOf": [
        {
          "type": "string",
          "enum": [
            "medium"
          ]
        },
        {
          "type": "string",
          "enum": [
            "high"
          ]
        },
        {
          "type": "string",
          "enum": [
            "critical"
          ]
        },
        {
          "type": "string",
          "enum": [
            "low"
          ]
        }
      ]
    },
    "evaluationId": {
      "type": "number"
    },
    "summary": {
      "type": "string"
    },
    "provenance": {
      "type": "object",
      "properties": {
        "confidence": {
          "type": "number"
        },
        "evalCaseId": {
          "type": "string"
        },
        "sourceLabel": {
          "type": "string"
        },
        "traceKey": {
          "type": "string"
        },
        "redactedPreview": {
          "type": "object",
          "additionalProperties": {
            "$ref": "#/$defs/JsonValue"
          }
        }
      },
      "additionalProperties": false
    },
    "assignedTo": {
      "type": "string"
    }
  },
  "additionalProperties": false,
  "required": [
    "reasonCode",
    "sourceType",
    "sourceId",
    "title"
  ],
  "$defs": {
    "JsonValue": {
      "oneOf": [
        {
          "type": "null"
        },
        {
          "type": "boolean"
        },
        {
          "type": "number"
        },
        {
          "type": "string"
        },
        {
          "type": "array",
          "items": {
            "$ref": "#/$defs/JsonValue"
          }
        },
        {
          "type": "object",
          "additionalProperties": {
            "$ref": "#/$defs/JsonValue"
          }
        }
      ]
    }
  }
}