{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/peoplescourt-ai/json-schema/peoplescourt-ai-partner-authenticity-challenge-list-schema.json",
  "title": "PartnerAuthenticityChallengeList",
  "x-generated": "2026-11-21",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/peoplescourt-ai-case-record-api-openapi.yml#/components/schemas/PartnerAuthenticityChallengeList",
  "type": "object",
  "additionalProperties": false,
  "required": [
    "schemaVersion",
    "caseId",
    "evidenceId",
    "challenges",
    "recordEffect",
    "resolutionAuthority"
  ],
  "properties": {
    "schemaVersion": {
      "type": "string",
      "const": "partner-authenticity-challenge-list-v2"
    },
    "caseId": {
      "type": "string"
    },
    "evidenceId": {
      "type": "string"
    },
    "challenges": {
      "type": "array",
      "items": {
        "type": "object",
        "additionalProperties": false,
        "required": [
          "byParty",
          "ground",
          "raisedAt",
          "status"
        ],
        "properties": {
          "byParty": {
            "type": "string",
            "enum": [
              "claimant",
              "respondent"
            ]
          },
          "ground": {
            "type": "string"
          },
          "raisedAt": {
            "type": "string",
            "format": "date-time"
          },
          "status": {
            "type": "string",
            "enum": [
              "raised",
              "sustained",
              "overruled"
            ]
          },
          "resolvedAt": {
            "type": "string",
            "format": "date-time"
          },
          "resolvedBy": {
            "type": "string"
          }
        }
      }
    },
    "recordEffect": {
      "type": "string",
      "const": "contested_weight_only"
    },
    "resolutionAuthority": {
      "type": "string",
      "enum": [
        "assigned_reviewer_only",
        "assigned_tribunal"
      ],
      "description": "Current Rules use the assigned AI Tribunal; historical cases retain their pinned assigned-reviewer authority."
    }
  }
}