{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/evalgate-com/json-schema/evalgate-com-get-api-adjudication-items-id-response200-application-json-schema.json",
  "title": "GetApiAdjudicationItemsIdResponse200ApplicationJson",
  "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/GetApiAdjudicationItemsIdResponse200ApplicationJson",
  "allOf": [
    {
      "type": "object",
      "properties": {
        "id": {
          "type": "number"
        },
        "reasonCode": {
          "type": "string"
        },
        "status": {
          "type": "string"
        },
        "severity": {
          "type": "string"
        },
        "sourceType": {
          "type": "string"
        },
        "sourceId": {
          "type": "string"
        },
        "evaluationId": {
          "oneOf": [
            {
              "type": "null"
            },
            {
              "type": "number"
            }
          ]
        },
        "title": {
          "type": "string"
        },
        "summary": {
          "oneOf": [
            {
              "type": "null"
            },
            {
              "type": "string"
            }
          ]
        },
        "provenance": {
          "type": "object",
          "properties": {
            "sourceLabel": {
              "type": "string"
            },
            "redactedPreview": {
              "type": "object",
              "additionalProperties": {
                "$ref": "#/$defs/JsonValue"
              }
            },
            "traceKey": {
              "type": "string"
            },
            "evalCaseId": {
              "type": "string"
            },
            "confidence": {
              "type": "number"
            }
          },
          "additionalProperties": false
        },
        "assignedTo": {
          "oneOf": [
            {
              "type": "null"
            },
            {
              "type": "string"
            }
          ]
        },
        "createdBy": {
          "oneOf": [
            {
              "type": "null"
            },
            {
              "type": "string"
            }
          ]
        },
        "createdAt": {
          "type": "string"
        },
        "updatedAt": {
          "type": "string"
        },
        "resolvedAt": {
          "oneOf": [
            {
              "type": "null"
            },
            {
              "type": "string"
            }
          ]
        }
      },
      "additionalProperties": false,
      "required": [
        "id",
        "reasonCode",
        "status",
        "severity",
        "sourceType",
        "sourceId",
        "evaluationId",
        "title",
        "summary",
        "provenance",
        "assignedTo",
        "createdBy",
        "createdAt",
        "updatedAt",
        "resolvedAt"
      ]
    },
    {
      "type": "object",
      "properties": {
        "preparation": {
          "oneOf": [
            {
              "type": "null"
            },
            {
              "type": "object",
              "properties": {
                "version": {
                  "type": "string",
                  "enum": [
                    "review-preparation.v1"
                  ]
                },
                "id": {
                  "type": "string"
                },
                "idempotencyKey": {
                  "type": "string"
                },
                "materialRevision": {
                  "type": "string"
                },
                "inputDigest": {
                  "type": "string"
                },
                "at": {
                  "type": "string"
                },
                "actorId": {
                  "type": "string"
                },
                "purpose": {
                  "type": "string",
                  "enum": [
                    "platform_assistance"
                  ]
                },
                "payer": {
                  "type": "string",
                  "enum": [
                    "platform"
                  ]
                },
                "credentialSource": {
                  "type": "string",
                  "enum": [
                    "platform_environment"
                  ]
                },
                "provider": {
                  "type": "string",
                  "enum": [
                    "typesafe"
                  ]
                },
                "model": {
                  "oneOf": [
                    {
                      "type": "null"
                    },
                    {
                      "type": "string"
                    }
                  ]
                },
                "status": {
                  "oneOf": [
                    {
                      "type": "string",
                      "enum": [
                        "completed"
                      ]
                    },
                    {
                      "type": "string",
                      "enum": [
                        "failed"
                      ]
                    },
                    {
                      "type": "string",
                      "enum": [
                        "blocked"
                      ]
                    },
                    {
                      "type": "string",
                      "enum": [
                        "stale"
                      ]
                    },
                    {
                      "type": "string",
                      "enum": [
                        "started"
                      ]
                    }
                  ]
                },
                "reasonCode": {
                  "oneOf": [
                    {
                      "type": "null"
                    },
                    {
                      "type": "string"
                    }
                  ]
                },
                "source": {
                  "type": "object",
                  "properties": {
                    "failureReportId": {
                      "type": "string"
                    },
                    "description": {
                      "type": "string"
                    },
                    "category": {
                      "type": "string"
                    },
                    "severity": {
                      "oneOf": [
                        {
                          "type": "string",
                          "enum": [
                            "medium"
                          ]
                        },
                        {
                          "type": "string",
                          "enum": [
                            "high"
                          ]
                        },
                        {
                          "type": "string",
                          "enum": [
                            "critical"
                          ]
                        },
                        {
                          "type": "string",
                          "enum": [
                            "low"
                          ]
                        }
                      ]
                    },
                    "evidenceExcerpt": {
                      "oneOf": [
                        {
                          "type": "null"
                        },
                        {
                          "type": "string"
                        }
                      ]
                    },
                    "hasApprovalRecord": {
                      "type": "boolean"
                    },
                    "hasCompleteTrace": {
                      "type": "boolean"
                    }
                  },
                  "additionalProperties": false,
                  "required": [
                    "failureReportId",
                    "description",
                    "category",
                    "severity",
                    "hasApprovalRecord",
                    "hasCompleteTrace"
                  ]
                },
                "reservationId": {
                  "oneOf": [
                    {
                      "type": "null"
                    },
                    {
                      "type": "number"
                    }
                  ]
                },
                "reservedCostUsd": {
                  "oneOf": [
                    {
                      "type": "null"
                    },
                    {
                      "type": "number"
                    }
                  ]
                },
                "costUsd": {
                  "oneOf": [
                    {
                      "type": "null"
                    },
                    {
                      "type": "number"
                    }
                  ]
                },
                "costMissingReason": {
                  "type": "string"
                },
                "result": {
                  "oneOf": [
                    {
                      "type": "null"
                    },
                    {
                      "type": "object",
                      "properties": {
                        "provider": {
                          "oneOf": [
                            {
                              "type": "string",
                              "enum": [
                                "local"
                              ]
                            },
                            {
                              "type": "string",
                              "enum": [
                                "cursor"
                              ]
                            },
                            {
                              "type": "string",
                              "enum": [
                                "rule"
                              ]
                            },
                            {
                              "type": "string",
                              "enum": [
                                "typesafe"
                              ]
                            },
                            {
                              "type": "string",
                              "enum": [
                                "openai"
                              ]
                            },
                            {
                              "type": "string",
                              "enum": [
                                "anthropic"
                              ]
                            },
                            {
                              "type": "string",
                              "enum": [
                                "google"
                              ]
                            },
                            {
                              "type": "string",
                              "enum": [
                                "xai"
                              ]
                            },
                            {
                              "type": "string",
                              "enum": [
                                "windsurf"
                              ]
                            },
                            {
                              "type": "string",
                              "enum": [
                                "moonshot"
                              ]
                            },
                            {
                              "type": "string",
                              "enum": [
                                "aggregate"
                              ]
                            }
                          ]
                        },
                        "model": {
                          "type": "string"
                        },
                        "score": {
                          "type": "number"
                        },
                        "passed": {
                          "type": "boolean"
                        },
                        "latencyMs": {
                          "type": "number"
                        },
                        "reasoning": {
                          "type": "string"
                        },
                        "signals": {
                          "type": "object",
                          "additionalProperties": {
                            "oneOf": [
                              {
                                "type": "string"
                              },
                              {
                                "type": "number"
                              },
                              {
                                "type": "boolean",
                                "enum": [
                                  false
                                ]
                              },
                              {
                                "type": "boolean",
                                "enum": [
                                  true
                                ]
                              }
                            ]
                          }
                        },
                        "judgeId": {
                          "type": "string"
                        },
                        "retries": {
                          "type": "number"
                        },
                        "parseStatus": {
                          "oneOf": [
                            {
                              "type": "string",
                              "enum": [
                                "failed"
                              ]
                            },
                            {
                              "type": "string",
                              "enum": [
                                "not_applicable"
                              ]
                            },
                            {
                              "type": "string",
                              "enum": [
                                "ok"
                              ]
                            },
                            {
                              "type": "string",
                              "enum": [
                                "retried"
                              ]
                            }
                          ]
                        },
                        "confidence": {
                          "type": "number"
                        },
                        "modelCallId": {
                          "type": "string"
                        },
                        "decisions": {
                          "type": "array",
                          "items": {
                            "oneOf": [
                              {
                                "type": "object",
                                "properties": {
                                  "type": {
                                    "type": "string",
                                    "enum": [
                                      "choice"
                                    ]
                                  },
                                  "confidence": {
                                    "type": "number"
                                  },
                                  "question": {
                                    "type": "string"
                                  },
                                  "questionId": {
                                    "type": "string"
                                  },
                                  "choice": {
                                    "type": "string"
                                  },
                                  "probabilities": {
                                    "type": "object",
                                    "additionalProperties": {
                                      "type": "number"
                                    }
                                  }
                                },
                                "additionalProperties": false,
                                "required": [
                                  "type",
                                  "confidence",
                                  "question",
                                  "questionId",
                                  "choice",
                                  "probabilities"
                                ]
                              },
                              {
                                "type": "object",
                                "properties": {
                                  "type": {
                                    "type": "string",
                                    "enum": [
                                      "score"
                                    ]
                                  },
                                  "confidence": {
                                    "type": "number"
                                  },
                                  "question": {
                                    "type": "string"
                                  },
                                  "score": {
                                    "type": "number"
                                  },
                                  "questionId": {
                                    "type": "string"
                                  },
                                  "probabilities": {
                                    "type": "object",
                                    "additionalProperties": {
                                      "type": "number"
                                    }
                                  },
                                  "legend": {
                                    "type": "object",
                                    "additionalProperties": {
                                      "type": "string"
                                    }
                                  }
                                },
                                "additionalProperties": false,
                                "required": [
                                  "type",
                                  "confidence",
                                  "question",
                                  "score",
                                  "questionId",
                                  "probabilities"
                                ]
                              },
                              {
                                "type": "object",
                                "properties": {
                                  "type": {
                                    "type": "string",
                                    "enum": [
                                      "noul"
                                    ]
                                  },
                                  "question": {
                                    "type": "string"
                                  },
                                  "questionId": {
                                    "type": "string"
                                  },
                                  "noul": {
                                    "type": "number"
                                  }
                                },
                                "additionalProperties": false,
                                "required": [
                                  "type",
                                  "question",
                                  "questionId",
                                  "noul"
                                ]
                              }
                            ]
                          }
                        },
                        "tokenUsage": {
                          "type": "object",
                          "properties": {
                            "input": {
                              "type": "number"
                            },
                            "output": {
                              "type": "number"
                            },
                            "total": {
                              "type": "number"
                            }
                          },
                          "additionalProperties": false,
                          "required": [
                            "input",
                            "output"
                          ]
                        },
                        "modelProvenance": {
                          "type": "object",
                          "properties": {
                            "provider": {
                              "oneOf": [
                                {
                                  "type": "string",
                                  "enum": [
                                    "local"
                                  ]
                                },
                                {
                                  "type": "string",
                                  "enum": [
                                    "cursor"
                                  ]
                                },
                                {
                                  "type": "string",
                                  "enum": [
                                    "openai"
                                  ]
                                },
                                {
                                  "type": "string",
                                  "enum": [
                                    "anthropic"
                                  ]
                                },
                                {
                                  "type": "string",
                                  "enum": [
                                    "google"
                                  ]
                                },
                                {
                                  "type": "string",
                                  "enum": [
                                    "xai"
                                  ]
                                },
                                {
                                  "type": "string",
                                  "enum": [
                                    "windsurf"
                                  ]
                                },
                                {
                                  "type": "string",
                                  "enum": [
                                    "moonshot"
                                  ]
                                }
                              ]
                            },
                            "model": {
                              "type": "string"
                            },
                            "temperature": {
                              "type": "number"
                            },
                            "prompt_hash": {
                              "type": "string"
                            },
                            "top_p": {
                              "type": "number"
                            },
                            "max_tokens": {
                              "type": "number"
                            },
                            "seed": {
                              "type": "number"
                            }
                          },
                          "additionalProperties": false,
                          "required": [
                            "provider",
                            "model",
                            "temperature",
                            "prompt_hash",
                            "top_p",
                            "max_tokens"
                          ]
                        },
                        "cached": {
                          "oneOf": [
                            {
                              "type": "boolean",
                              "enum": [
                                false
                              ]
                            },
                            {
                              "type": "boolean",
                              "enum": [
                                true
                              ]
                            }
                          ]
                        },
                        "judgeFingerprint": {
                          "type": "object",
                          "additionalProperties": {
                            "$ref": "#/$defs/JsonValue"
                          }
                        },
                        "criterionResults": {
                          "type": "array",
                          "items": {
                            "type": "object",
                            "properties": {
                              "title": {
                                "type": "string"
                              },
                              "score": {
                                "type": "number"
                              },
                              "passed": {
                                "type": "boolean"
                              },
                              "reasoning": {
                                "type": "string"
                              },
                              "criterionId": {
                                "type": "string"
                              }
                            },
                            "additionalProperties": false,
                            "required": [
                              "title",
                              "score",
                              "passed",
                              "reasoning",
                              "criterionId"
                            ]
                          }
                        },
                        "decisionProvenance": {
                          "type": "object",
                          "properties": {
                            "purpose": {
                              "oneOf": [
                                {
                                  "type": "string",
                                  "enum": [
                                    "platform_assistance"
                                  ]
                                },
                                {
                                  "type": "string",
                                  "enum": [
                                    "customer_evaluation"
                                  ]
                                },
                                {
                                  "type": "string",
                                  "enum": [
                                    "internal_validation"
                                  ]
                                }
                              ]
                            },
                            "provider": {
                              "type": "string",
                              "enum": [
                                "typesafe"
                              ]
                            },
                            "model": {
                              "type": "string"
                            },
                            "disposition": {
                              "oneOf": [
                                {
                                  "type": "string",
                                  "enum": [
                                    "pass"
                                  ]
                                },
                                {
                                  "type": "string",
                                  "enum": [
                                    "abstain"
                                  ]
                                },
                                {
                                  "type": "string",
                                  "enum": [
                                    "human_review"
                                  ]
                                },
                                {
                                  "type": "string",
                                  "enum": [
                                    "fail"
                                  ]
                                },
                                {
                                  "type": "string",
                                  "enum": [
                                    "insufficient_evidence"
                                  ]
                                },
                                {
                                  "type": "string",
                                  "enum": [
                                    "escalate_frontier"
                                  ]
                                },
                                {
                                  "type": "string",
                                  "enum": [
                                    "observe"
                                  ]
                                },
                                {
                                  "type": "string",
                                  "enum": [
                                    "not_eligible"
                                  ]
                                },
                                {
                                  "type": "string",
                                  "enum": [
                                    "environment_blocked"
                                  ]
                                }
                              ]
                            },
                            "fallbackUsed": {
                              "type": "boolean"
                            },
                            "questionSchemaHash": {
                              "type": "string"
                            },
                            "inputConstructionVersion": {
                              "type": "string"
                            },
                            "modelVersion": {
                              "type": "string"
                            },
                            "threshold": {
                              "type": "number"
                            },
                            "inputDigest": {
                              "type": "string"
                            },
                            "calibrationVersion": {
                              "type": "string"
                            },
                            "decisionPolicyVersion": {
                              "type": "string"
                            },
                            "fallbackReason": {
                              "type": "string"
                            }
                          },
                          "additionalProperties": false,
                          "required": [
                            "purpose",
                            "provider",
                            "model",
                            "disposition",
                            "fallbackUsed",
                            "questionSchemaHash",
                            "inputConstructionVersion"
                          ]
                        }
                      },
                      "additionalProperties": false,
                      "required": [
                        "provider",
                        "model",
                        "score",
                        "passed",
                        "latencyMs",
                        "reasoning",
                        "signals",
                        "judgeId",
                        "retries",
                        "parseStatus"
                      ]
                    }
                  ]
                },
                "suggestion": {
                  "oneOf": [
                    {
                      "type": "null"
                    },
                    {
                      "type": "object",
                      "properties": {
                        "version": {
                          "type": "string",
                          "enum": [
                            "failure-review-prep.v1"
                          ]
                        },
                        "purpose": {
                          "type": "string",
                          "enum": [
                            "platform_assistance"
                          ]
                        },
                        "interpretationPolicyVersion": {
                          "type": "string",
                          "enum": [
                            "failure-review-prep-policy.v1"
                          ]
                        },
                        "interpretationPolicy": {
                          "type": "object",
                          "properties": {
                            "version": {
                              "type": "string",
                              "enum": [
                                "failure-review-prep-policy.v1"
                              ]
                            },
                            "needsPolicyClarificationMin": {
                              "type": "number"
                            },
                            "traceSupportsCategoryMin": {
                              "type": "number"
                            },
                            "essentialContextMissingMin": {
                              "type": "number"
                            }
                          },
                          "additionalProperties": false,
                          "required": [
                            "version",
                            "needsPolicyClarificationMin",
                            "traceSupportsCategoryMin",
                            "essentialContextMissingMin"
                          ]
                        },
                        "specialty": {
                          "oneOf": [
                            {
                              "type": "string",
                              "enum": [
                                "unknown"
                              ]
                            },
                            {
                              "type": "string",
                              "enum": [
                                "policy_interpretation"
                              ]
                            },
                            {
                              "type": "string",
                              "enum": [
                                "trace_verification"
                              ]
                            },
                            {
                              "type": "string",
                              "enum": [
                                "missing_context"
                              ]
                            },
                            {
                              "type": "string",
                              "enum": [
                                "evaluation_quality"
                              ]
                            }
                          ]
                        },
                        "needsPolicyClarification": {
                          "type": "boolean"
                        },
                        "traceSupportsSuspectedCategory": {
                          "oneOf": [
                            {
                              "type": "null"
                            },
                            {
                              "type": "boolean",
                              "enum": [
                                false
                              ]
                            },
                            {
                              "type": "boolean",
                              "enum": [
                                true
                              ]
                            }
                          ]
                        },
                        "essentialContextMissing": {
                          "type": "boolean"
                        },
                        "routingTemplate": {
                          "type": "string"
                        },
                        "maySuppressWork": {
                          "type": "boolean",
                          "enum": [
                            false
                          ]
                        },
                        "mayGrantAuthority": {
                          "type": "boolean",
                          "enum": [
                            false
                          ]
                        },
                        "disposition": {
                          "type": "string"
                        },
                        "questionSchemaNote": {
                          "type": "string"
                        }
                      },
                      "additionalProperties": false,
                      "required": [
                        "version",
                        "purpose",
                        "interpretationPolicyVersion",
                        "interpretationPolicy",
                        "specialty",
                        "needsPolicyClarification",
                        "traceSupportsSuspectedCategory",
                        "essentialContextMissing",
                        "routingTemplate",
                        "maySuppressWork",
                        "mayGrantAuthority",
                        "disposition",
                        "questionSchemaNote"
                      ]
                    }
                  ]
                }
              },
              "additionalProperties": false,
              "required": [
                "version",
                "id",
                "idempotencyKey",
                "materialRevision",
                "inputDigest",
                "at",
                "actorId",
                "purpose",
                "payer",
                "credentialSource",
                "provider",
                "model",
                "status",
                "reasonCode",
                "source",
                "reservationId",
                "reservedCostUsd",
                "costUsd",
                "costMissingReason",
                "result",
                "suggestion"
              ]
            }
          ]
        },
        "preparationStale": {
          "type": "boolean"
        },
        "preparationHistory": {
          "type": "array",
          "items": {
            "type": "object",
            "properties": {
              "version": {
                "type": "string",
                "enum": [
                  "review-preparation.v1"
                ]
              },
              "id": {
                "type": "string"
              },
              "idempotencyKey": {
                "type": "string"
              },
              "materialRevision": {
                "type": "string"
              },
              "inputDigest": {
                "type": "string"
              },
              "at": {
                "type": "string"
              },
              "actorId": {
                "type": "string"
              },
              "purpose": {
                "type": "string",
                "enum": [
                  "platform_assistance"
                ]
              },
              "payer": {
                "type": "string",
                "enum": [
                  "platform"
                ]
              },
              "credentialSource": {
                "type": "string",
                "enum": [
                  "platform_environment"
                ]
              },
              "provider": {
                "type": "string",
                "enum": [
                  "typesafe"
                ]
              },
              "model": {
                "oneOf": [
                  {
                    "type": "null"
                  },
                  {
                    "type": "string"
                  }
                ]
              },
              "status": {
                "oneOf": [
                  {
                    "type": "string",
                    "enum": [
                      "completed"
                    ]
                  },
                  {
                    "type": "string",
                    "enum": [
                      "failed"
                    ]
                  },
                  {
                    "type": "string",
                    "enum": [
                      "blocked"
                    ]
                  },
                  {
                    "type": "string",
                    "enum": [
                      "stale"
                    ]
                  },
                  {
                    "type": "string",
                    "enum": [
                      "started"
                    ]
                  }
                ]
              },
              "reasonCode": {
                "oneOf": [
                  {
                    "type": "null"
                  },
                  {
                    "type": "string"
                  }
                ]
              },
              "source": {
                "type": "object",
                "properties": {
                  "failureReportId": {
                    "type": "string"
                  },
                  "description": {
                    "type": "string"
                  },
                  "category": {
                    "type": "string"
                  },
                  "severity": {
                    "oneOf": [
                      {
                        "type": "string",
                        "enum": [
                          "medium"
                        ]
                      },
                      {
                        "type": "string",
                        "enum": [
                          "high"
                        ]
                      },
                      {
                        "type": "string",
                        "enum": [
                          "critical"
                        ]
                      },
                      {
                        "type": "string",
                        "enum": [
                          "low"
                        ]
                      }
                    ]
                  },
                  "evidenceExcerpt": {
                    "oneOf": [
                      {
                        "type": "null"
                      },
                      {
                        "type": "string"
                      }
                    ]
                  },
                  "hasApprovalRecord": {
                    "type": "boolean"
                  },
                  "hasCompleteTrace": {
                    "type": "boolean"
                  }
                },
                "additionalProperties": false,
                "required": [
                  "failureReportId",
                  "description",
                  "category",
                  "severity",
                  "hasApprovalRecord",
                  "hasCompleteTrace"
                ]
              },
              "reservationId": {
                "oneOf": [
                  {
                    "type": "null"
                  },
                  {
                    "type": "number"
                  }
                ]
              },
              "reservedCostUsd": {
                "oneOf": [
                  {
                    "type": "null"
                  },
                  {
                    "type": "number"
                  }
                ]
              },
              "costUsd": {
                "oneOf": [
                  {
                    "type": "null"
                  },
                  {
                    "type": "number"
                  }
                ]
              },
              "costMissingReason": {
                "type": "string"
              },
              "result": {
                "oneOf": [
                  {
                    "type": "null"
                  },
                  {
                    "type": "object",
                    "properties": {
                      "provider": {
                        "oneOf": [
                          {
                            "type": "string",
                            "enum": [
                              "local"
                            ]
                          },
                          {
                            "type": "string",
                            "enum": [
                              "cursor"
                            ]
                          },
                          {
                            "type": "string",
                            "enum": [
                              "rule"
                            ]
                          },
                          {
                            "type": "string",
                            "enum": [
                              "typesafe"
                            ]
                          },
                          {
                            "type": "string",
                            "enum": [
                              "openai"
                            ]
                          },
                          {
                            "type": "string",
                            "enum": [
                              "anthropic"
                            ]
                          },
                          {
                            "type": "string",
                            "enum": [
                              "google"
                            ]
                          },
                          {
                            "type": "string",
                            "enum": [
                              "xai"
                            ]
                          },
                          {
                            "type": "string",
                            "enum": [
                              "windsurf"
                            ]
                          },
                          {
                            "type": "string",
                            "enum": [
                              "moonshot"
                            ]
                          },
                          {
                            "type": "string",
                            "enum": [
                              "aggregate"
                            ]
                          }
                        ]
                      },
                      "model": {
                        "type": "string"
                      },
                      "score": {
                        "type": "number"
                      },
                      "passed": {
                        "type": "boolean"
                      },
                      "latencyMs": {
                        "type": "number"
                      },
                      "reasoning": {
                        "type": "string"
                      },
                      "signals": {
                        "type": "object",
                        "additionalProperties": {
                          "oneOf": [
                            {
                              "type": "string"
                            },
                            {
                              "type": "number"
                            },
                            {
                              "type": "boolean",
                              "enum": [
                                false
                              ]
                            },
                            {
                              "type": "boolean",
                              "enum": [
                                true
                              ]
                            }
                          ]
                        }
                      },
                      "judgeId": {
                        "type": "string"
                      },
                      "retries": {
                        "type": "number"
                      },
                      "parseStatus": {
                        "oneOf": [
                          {
                            "type": "string",
                            "enum": [
                              "failed"
                            ]
                          },
                          {
                            "type": "string",
                            "enum": [
                              "not_applicable"
                            ]
                          },
                          {
                            "type": "string",
                            "enum": [
                              "ok"
                            ]
                          },
                          {
                            "type": "string",
                            "enum": [
                              "retried"
                            ]
                          }
                        ]
                      },
                      "confidence": {
                        "type": "number"
                      },
                      "modelCallId": {
                        "type": "string"
                      },
                      "decisions": {
                        "type": "array",
                        "items": {
                          "oneOf": [
                            {
                              "type": "object",
                              "properties": {
                                "type": {
                                  "type": "string",
                                  "enum": [
                                    "choice"
                                  ]
                                },
                                "confidence": {
                                  "type": "number"
                                },
                                "question": {
                                  "type": "string"
                                },
                                "questionId": {
                                  "type": "string"
                                },
                                "choice": {
                                  "type": "string"
                                },
                                "probabilities": {
                                  "type": "object",
                                  "additionalProperties": {
                                    "type": "number"
                                  }
                                }
                              },
                              "additionalProperties": false,
                              "required": [
                                "type",
                                "confidence",
                                "question",
                                "questionId",
                                "choice",
                                "probabilities"
                              ]
                            },
                            {
                              "type": "object",
                              "properties": {
                                "type": {
                                  "type": "string",
                                  "enum": [
                                    "score"
                                  ]
                                },
                                "confidence": {
                                  "type": "number"
                                },
                                "question": {
                                  "type": "string"
                                },
                                "score": {
                                  "type": "number"
                                },
                                "questionId": {
                                  "type": "string"
                                },
                                "probabilities": {
                                  "type": "object",
                                  "additionalProperties": {
                                    "type": "number"
                                  }
                                },
                                "legend": {
                                  "type": "object",
                                  "additionalProperties": {
                                    "type": "string"
                                  }
                                }
                              },
                              "additionalProperties": false,
                              "required": [
                                "type",
                                "confidence",
                                "question",
                                "score",
                                "questionId",
                                "probabilities"
                              ]
                            },
                            {
                              "type": "object",
                              "properties": {
                                "type": {
                                  "type": "string",
                                  "enum": [
                                    "noul"
                                  ]
                                },
                                "question": {
                                  "type": "string"
                                },
                                "questionId": {
                                  "type": "string"
                                },
                                "noul": {
                                  "type": "number"
                                }
                              },
                              "additionalProperties": false,
                              "required": [
                                "type",
                                "question",
                                "questionId",
                                "noul"
                              ]
                            }
                          ]
                        }
                      },
                      "tokenUsage": {
                        "type": "object",
                        "properties": {
                          "input": {
                            "type": "number"
                          },
                          "output": {
                            "type": "number"
                          },
                          "total": {
                            "type": "number"
                          }
                        },
                        "additionalProperties": false,
                        "required": [
                          "input",
                          "output"
                        ]
                      },
                      "modelProvenance": {
                        "type": "object",
                        "properties": {
                          "provider": {
                            "oneOf": [
                              {
                                "type": "string",
                                "enum": [
                                  "local"
                                ]
                              },
                              {
                                "type": "string",
                                "enum": [
                                  "cursor"
                                ]
                              },
                              {
                                "type": "string",
                                "enum": [
                                  "openai"
                                ]
                              },
                              {
                                "type": "string",
                                "enum": [
                                  "anthropic"
                                ]
                              },
                              {
                                "type": "string",
                                "enum": [
                                  "google"
                                ]
                              },
                              {
                                "type": "string",
                                "enum": [
                                  "xai"
                                ]
                              },
                              {
                                "type": "string",
                                "enum": [
                                  "windsurf"
                                ]
                              },
                              {
                                "type": "string",
                                "enum": [
                                  "moonshot"
                                ]
                              }
                            ]
                          },
                          "model": {
                            "type": "string"
                          },
                          "temperature": {
                            "type": "number"
                          },
                          "prompt_hash": {
                            "type": "string"
                          },
                          "top_p": {
                            "type": "number"
                          },
                          "max_tokens": {
                            "type": "number"
                          },
                          "seed": {
                            "type": "number"
                          }
                        },
                        "additionalProperties": false,
                        "required": [
                          "provider",
                          "model",
                          "temperature",
                          "prompt_hash",
                          "top_p",
                          "max_tokens"
                        ]
                      },
                      "cached": {
                        "oneOf": [
                          {
                            "type": "boolean",
                            "enum": [
                              false
                            ]
                          },
                          {
                            "type": "boolean",
                            "enum": [
                              true
                            ]
                          }
                        ]
                      },
                      "judgeFingerprint": {
                        "type": "object",
                        "additionalProperties": {
                          "$ref": "#/$defs/JsonValue"
                        }
                      },
                      "criterionResults": {
                        "type": "array",
                        "items": {
                          "type": "object",
                          "properties": {
                            "title": {
                              "type": "string"
                            },
                            "score": {
                              "type": "number"
                            },
                            "passed": {
                              "type": "boolean"
                            },
                            "reasoning": {
                              "type": "string"
                            },
                            "criterionId": {
                              "type": "string"
                            }
                          },
                          "additionalProperties": false,
                          "required": [
                            "title",
                            "score",
                            "passed",
                            "reasoning",
                            "criterionId"
                          ]
                        }
                      },
                      "decisionProvenance": {
                        "type": "object",
                        "properties": {
                          "purpose": {
                            "oneOf": [
                              {
                                "type": "string",
                                "enum": [
                                  "platform_assistance"
                                ]
                              },
                              {
                                "type": "string",
                                "enum": [
                                  "customer_evaluation"
                                ]
                              },
                              {
                                "type": "string",
                                "enum": [
                                  "internal_validation"
                                ]
                              }
                            ]
                          },
                          "provider": {
                            "type": "string",
                            "enum": [
                              "typesafe"
                            ]
                          },
                          "model": {
                            "type": "string"
                          },
                          "disposition": {
                            "oneOf": [
                              {
                                "type": "string",
                                "enum": [
                                  "pass"
                                ]
                              },
                              {
                                "type": "string",
                                "enum": [
                                  "abstain"
                                ]
                              },
                              {
                                "type": "string",
                                "enum": [
                                  "human_review"
                                ]
                              },
                              {
                                "type": "string",
                                "enum": [
                                  "fail"
                                ]
                              },
                              {
                                "type": "string",
                                "enum": [
                                  "insufficient_evidence"
                                ]
                              },
                              {
                                "type": "string",
                                "enum": [
                                  "escalate_frontier"
                                ]
                              },
                              {
                                "type": "string",
                                "enum": [
                                  "observe"
                                ]
                              },
                              {
                                "type": "string",
                                "enum": [
                                  "not_eligible"
                                ]
                              },
                              {
                                "type": "string",
                                "enum": [
                                  "environment_blocked"
                                ]
                              }
                            ]
                          },
                          "fallbackUsed": {
                            "type": "boolean"
                          },
                          "questionSchemaHash": {
                            "type": "string"
                          },
                          "inputConstructionVersion": {
                            "type": "string"
                          },
                          "modelVersion": {
                            "type": "string"
                          },
                          "threshold": {
                            "type": "number"
                          },
                          "inputDigest": {
                            "type": "string"
                          },
                          "calibrationVersion": {
                            "type": "string"
                          },
                          "decisionPolicyVersion": {
                            "type": "string"
                          },
                          "fallbackReason": {
                            "type": "string"
                          }
                        },
                        "additionalProperties": false,
                        "required": [
                          "purpose",
                          "provider",
                          "model",
                          "disposition",
                          "fallbackUsed",
                          "questionSchemaHash",
                          "inputConstructionVersion"
                        ]
                      }
                    },
                    "additionalProperties": false,
                    "required": [
                      "provider",
                      "model",
                      "score",
                      "passed",
                      "latencyMs",
                      "reasoning",
                      "signals",
                      "judgeId",
                      "retries",
                      "parseStatus"
                    ]
                  }
                ]
              },
              "suggestion": {
                "oneOf": [
                  {
                    "type": "null"
                  },
                  {
                    "type": "object",
                    "properties": {
                      "version": {
                        "type": "string",
                        "enum": [
                          "failure-review-prep.v1"
                        ]
                      },
                      "purpose": {
                        "type": "string",
                        "enum": [
                          "platform_assistance"
                        ]
                      },
                      "interpretationPolicyVersion": {
                        "type": "string",
                        "enum": [
                          "failure-review-prep-policy.v1"
                        ]
                      },
                      "interpretationPolicy": {
                        "type": "object",
                        "properties": {
                          "version": {
                            "type": "string",
                            "enum": [
                              "failure-review-prep-policy.v1"
                            ]
                          },
                          "needsPolicyClarificationMin": {
                            "type": "number"
                          },
                          "traceSupportsCategoryMin": {
                            "type": "number"
                          },
                          "essentialContextMissingMin": {
                            "type": "number"
                          }
                        },
                        "additionalProperties": false,
                        "required": [
                          "version",
                          "needsPolicyClarificationMin",
                          "traceSupportsCategoryMin",
                          "essentialContextMissingMin"
                        ]
                      },
                      "specialty": {
                        "oneOf": [
                          {
                            "type": "string",
                            "enum": [
                              "unknown"
                            ]
                          },
                          {
                            "type": "string",
                            "enum": [
                              "policy_interpretation"
                            ]
                          },
                          {
                            "type": "string",
                            "enum": [
                              "trace_verification"
                            ]
                          },
                          {
                            "type": "string",
                            "enum": [
                              "missing_context"
                            ]
                          },
                          {
                            "type": "string",
                            "enum": [
                              "evaluation_quality"
                            ]
                          }
                        ]
                      },
                      "needsPolicyClarification": {
                        "type": "boolean"
                      },
                      "traceSupportsSuspectedCategory": {
                        "oneOf": [
                          {
                            "type": "null"
                          },
                          {
                            "type": "boolean",
                            "enum": [
                              false
                            ]
                          },
                          {
                            "type": "boolean",
                            "enum": [
                              true
                            ]
                          }
                        ]
                      },
                      "essentialContextMissing": {
                        "type": "boolean"
                      },
                      "routingTemplate": {
                        "type": "string"
                      },
                      "maySuppressWork": {
                        "type": "boolean",
                        "enum": [
                          false
                        ]
                      },
                      "mayGrantAuthority": {
                        "type": "boolean",
                        "enum": [
                          false
                        ]
                      },
                      "disposition": {
                        "type": "string"
                      },
                      "questionSchemaNote": {
                        "type": "string"
                      }
                    },
                    "additionalProperties": false,
                    "required": [
                      "version",
                      "purpose",
                      "interpretationPolicyVersion",
                      "interpretationPolicy",
                      "specialty",
                      "needsPolicyClarification",
                      "traceSupportsSuspectedCategory",
                      "essentialContextMissing",
                      "routingTemplate",
                      "maySuppressWork",
                      "mayGrantAuthority",
                      "disposition",
                      "questionSchemaNote"
                    ]
                  }
                ]
              }
            },
            "additionalProperties": false,
            "required": [
              "version",
              "id",
              "idempotencyKey",
              "materialRevision",
              "inputDigest",
              "at",
              "actorId",
              "purpose",
              "payer",
              "credentialSource",
              "provider",
              "model",
              "status",
              "reasonCode",
              "source",
              "reservationId",
              "reservedCostUsd",
              "costUsd",
              "costMissingReason",
              "result",
              "suggestion"
            ]
          }
        },
        "reviewActivity": {
          "type": "object",
          "properties": {
            "activeReviewMs": {
              "oneOf": [
                {
                  "type": "null"
                },
                {
                  "type": "number"
                }
              ]
            },
            "closedIntervals": {
              "type": "number"
            },
            "openIntervals": {
              "type": "array",
              "items": {
                "type": "object",
                "properties": {
                  "sessionId": {
                    "type": "string"
                  },
                  "actorId": {
                    "type": "string"
                  }
                },
                "additionalProperties": false,
                "required": [
                  "sessionId",
                  "actorId"
                ]
              }
            },
            "queueTimeMs": {
              "oneOf": [
                {
                  "type": "null"
                },
                {
                  "type": "number"
                }
              ]
            },
            "queueTimeMissingReason": {
              "oneOf": [
                {
                  "type": "null"
                },
                {
                  "type": "string"
                }
              ]
            },
            "unresolved": {
              "type": "boolean"
            },
            "outcome": {
              "oneOf": [
                {
                  "type": "null"
                },
                {
                  "type": "object",
                  "properties": {
                    "version": {
                      "type": "string",
                      "enum": [
                        "review-activity.v1"
                      ]
                    },
                    "id": {
                      "type": "string"
                    },
                    "action": {
                      "oneOf": [
                        {
                          "type": "string",
                          "enum": [
                            "start"
                          ]
                        },
                        {
                          "type": "string",
                          "enum": [
                            "pause"
                          ]
                        },
                        {
                          "type": "string",
                          "enum": [
                            "outcome"
                          ]
                        },
                        {
                          "type": "string",
                          "enum": [
                            "verify"
                          ]
                        }
                      ]
                    },
                    "at": {
                      "type": "string"
                    },
                    "actorId": {
                      "type": "string"
                    },
                    "actorKind": {
                      "oneOf": [
                        {
                          "type": "string",
                          "enum": [
                            "human"
                          ]
                        },
                        {
                          "type": "string",
                          "enum": [
                            "automation"
                          ]
                        }
                      ]
                    },
                    "sessionId": {
                      "oneOf": [
                        {
                          "type": "null"
                        },
                        {
                          "type": "string"
                        }
                      ]
                    },
                    "assistanceId": {
                      "oneOf": [
                        {
                          "type": "null"
                        },
                        {
                          "type": "string"
                        }
                      ]
                    },
                    "materialRevision": {
                      "oneOf": [
                        {
                          "type": "null"
                        },
                        {
                          "type": "string"
                        }
                      ]
                    },
                    "adoption": {
                      "oneOf": [
                        {
                          "type": "null"
                        },
                        {
                          "type": "string",
                          "enum": [
                            "used"
                          ]
                        },
                        {
                          "type": "string",
                          "enum": [
                            "overruled"
                          ]
                        },
                        {
                          "type": "string",
                          "enum": [
                            "not_used"
                          ]
                        }
                      ]
                    },
                    "correctness": {
                      "oneOf": [
                        {
                          "type": "null"
                        },
                        {
                          "type": "string",
                          "enum": [
                            "correct"
                          ]
                        },
                        {
                          "type": "string",
                          "enum": [
                            "incorrect"
                          ]
                        },
                        {
                          "type": "string",
                          "enum": [
                            "unresolved"
                          ]
                        }
                      ]
                    },
                    "evidenceReference": {
                      "oneOf": [
                        {
                          "type": "null"
                        },
                        {
                          "type": "string"
                        }
                      ]
                    },
                    "note": {
                      "oneOf": [
                        {
                          "type": "null"
                        },
                        {
                          "type": "string"
                        }
                      ]
                    }
                  },
                  "additionalProperties": false,
                  "required": [
                    "version",
                    "id",
                    "action",
                    "at",
                    "actorId",
                    "actorKind",
                    "sessionId",
                    "assistanceId",
                    "materialRevision",
                    "adoption",
                    "correctness",
                    "evidenceReference",
                    "note"
                  ]
                }
              ]
            },
            "independentVerification": {
              "oneOf": [
                {
                  "type": "null"
                },
                {
                  "type": "object",
                  "properties": {
                    "version": {
                      "type": "string",
                      "enum": [
                        "review-activity.v1"
                      ]
                    },
                    "id": {
                      "type": "string"
                    },
                    "action": {
                      "oneOf": [
                        {
                          "type": "string",
                          "enum": [
                            "start"
                          ]
                        },
                        {
                          "type": "string",
                          "enum": [
                            "pause"
                          ]
                        },
                        {
                          "type": "string",
                          "enum": [
                            "outcome"
                          ]
                        },
                        {
                          "type": "string",
                          "enum": [
                            "verify"
                          ]
                        }
                      ]
                    },
                    "at": {
                      "type": "string"
                    },
                    "actorId": {
                      "type": "string"
                    },
                    "actorKind": {
                      "oneOf": [
                        {
                          "type": "string",
                          "enum": [
                            "human"
                          ]
                        },
                        {
                          "type": "string",
                          "enum": [
                            "automation"
                          ]
                        }
                      ]
                    },
                    "sessionId": {
                      "oneOf": [
                        {
                          "type": "null"
                        },
                        {
                          "type": "string"
                        }
                      ]
                    },
                    "assistanceId": {
                      "oneOf": [
                        {
                          "type": "null"
                        },
                        {
                          "type": "string"
                        }
                      ]
                    },
                    "materialRevision": {
                      "oneOf": [
                        {
                          "type": "null"
                        },
                        {
                          "type": "string"
                        }
                      ]
                    },
                    "adoption": {
                      "oneOf": [
                        {
                          "type": "null"
                        },
                        {
                          "type": "string",
                          "enum": [
                            "used"
                          ]
                        },
                        {
                          "type": "string",
                          "enum": [
                            "overruled"
                          ]
                        },
                        {
                          "type": "string",
                          "enum": [
                            "not_used"
                          ]
                        }
                      ]
                    },
                    "correctness": {
                      "oneOf": [
                        {
                          "type": "null"
                        },
                        {
                          "type": "string",
                          "enum": [
                            "correct"
                          ]
                        },
                        {
                          "type": "string",
                          "enum": [
                            "incorrect"
                          ]
                        },
                        {
                          "type": "string",
                          "enum": [
                            "unresolved"
                          ]
                        }
                      ]
                    },
                    "evidenceReference": {
                      "oneOf": [
                        {
                          "type": "null"
                        },
                        {
                          "type": "string"
                        }
                      ]
                    },
                    "note": {
                      "oneOf": [
                        {
                          "type": "null"
                        },
                        {
                          "type": "string"
                        }
                      ]
                    }
                  },
                  "additionalProperties": false,
                  "required": [
                    "version",
                    "id",
                    "action",
                    "at",
                    "actorId",
                    "actorKind",
                    "sessionId",
                    "assistanceId",
                    "materialRevision",
                    "adoption",
                    "correctness",
                    "evidenceReference",
                    "note"
                  ]
                }
              ]
            },
            "humanEffect": {
              "type": "string",
              "enum": [
                "unmeasured"
              ]
            }
          },
          "additionalProperties": false,
          "required": [
            "activeReviewMs",
            "closedIntervals",
            "openIntervals",
            "queueTimeMs",
            "queueTimeMissingReason",
            "unresolved",
            "outcome",
            "independentVerification",
            "humanEffect"
          ]
        },
        "materialRevision": {
          "oneOf": [
            {
              "type": "null"
            },
            {
              "type": "string"
            }
          ]
        },
        "goldenPromotion": {
          "oneOf": [
            {
              "type": "null"
            },
            {
              "type": "object",
              "properties": {
                "evaluationId": {
                  "type": "number"
                },
                "testCaseId": {
                  "type": "number"
                }
              },
              "additionalProperties": false,
              "required": [
                "evaluationId",
                "testCaseId"
              ]
            }
          ]
        },
        "latestDecision": {
          "oneOf": [
            {
              "type": "null"
            },
            {
              "type": "object",
              "properties": {
                "id": {
                  "type": "number"
                },
                "decision": {
                  "type": "string"
                },
                "rationale": {
                  "oneOf": [
                    {
                      "type": "null"
                    },
                    {
                      "type": "string"
                    }
                  ]
                },
                "reviewerId": {
                  "type": "string"
                },
                "reviewerKind": {
                  "oneOf": [
                    {
                      "type": "string",
                      "enum": [
                        "human"
                      ]
                    },
                    {
                      "type": "string",
                      "enum": [
                        "automation"
                      ]
                    },
                    {
                      "type": "string",
                      "enum": [
                        "unrecorded"
                      ]
                    }
                  ]
                },
                "createdAt": {
                  "type": "string"
                }
              },
              "additionalProperties": false,
              "required": [
                "id",
                "decision",
                "rationale",
                "reviewerId",
                "reviewerKind",
                "createdAt"
              ]
            }
          ]
        },
        "latestGroundTruth": {
          "oneOf": [
            {
              "type": "null"
            },
            {
              "type": "object",
              "properties": {
                "id": {
                  "type": "number"
                },
                "itemId": {
                  "type": "number"
                },
                "label": {
                  "type": "object",
                  "properties": {
                    "verdict": {
                      "type": "string"
                    },
                    "labels": {
                      "type": "object",
                      "additionalProperties": {
                        "$ref": "#/$defs/JsonValue"
                      }
                    },
                    "feedback": {
                      "type": "string"
                    },
                    "rating": {
                      "type": "number"
                    }
                  },
                  "additionalProperties": false
                },
                "labelerId": {
                  "type": "string"
                },
                "createdAt": {
                  "type": "string"
                }
              },
              "additionalProperties": false,
              "required": [
                "id",
                "itemId",
                "label",
                "labelerId",
                "createdAt"
              ]
            }
          ]
        }
      },
      "additionalProperties": false,
      "required": [
        "preparation",
        "preparationStale",
        "preparationHistory",
        "reviewActivity",
        "materialRevision",
        "goldenPromotion",
        "latestDecision",
        "latestGroundTruth"
      ]
    }
  ],
  "$defs": {
    "JsonValue": {
      "oneOf": [
        {
          "type": "null"
        },
        {
          "type": "boolean"
        },
        {
          "type": "number"
        },
        {
          "type": "string"
        },
        {
          "type": "array",
          "items": {
            "$ref": "#/$defs/JsonValue"
          }
        },
        {
          "type": "object",
          "additionalProperties": {
            "$ref": "#/$defs/JsonValue"
          }
        }
      ]
    }
  }
}