{
  "type": "object",
  "properties": {
    "action": {
      "type": "string",
      "enum": [
        "attach",
        "requirements_create",
        "claims_create",
        "evidence_get",
        "list",
        "evidence_update",
        "evidence_archive",
        "requirement_get",
        "requirements_list",
        "requirement_update",
        "requirement_archive",
        "claim_get",
        "claims_list",
        "claim_update",
        "claim_archive",
        "history",
        "link",
        "report",
        "export",
        "import",
        "verification_request",
        "verification_get",
        "verification_cancel",
        "verification_retry",
        "verification_artifact"
      ],
      "description": "Implemented domain action."
    },
    "input": {
      "type": "object",
      "description": "Exact action input including path identities."
    },
    "etag": {
      "type": "string",
      "maxLength": 1024,
      "description": "Exact resource ETag for conditional writes."
    },
    "idempotencyKey": {
      "type": "string",
      "maxLength": 200,
      "description": "Reuse only for the identical operation intent."
    }
  },
  "required": [
    "action",
    "input"
  ],
  "additionalProperties": false,
  "oneOf": [
    {
      "type": "object",
      "additionalProperties": false,
      "properties": {
        "action": {
          "const": "attach"
        },
        "input": {
          "$ref": "#/$defs/attachProjectEvidenceInput"
        },
        "etag": {
          "type": "string",
          "maxLength": 1024
        },
        "idempotencyKey": {
          "type": "string",
          "maxLength": 200,
          "minLength": 1
        }
      },
      "required": [
        "action",
        "input",
        "idempotencyKey"
      ]
    },
    {
      "type": "object",
      "additionalProperties": false,
      "properties": {
        "action": {
          "const": "requirements_create"
        },
        "input": {
          "$ref": "#/$defs/createProjectRequirementInput"
        },
        "etag": {
          "type": "string",
          "maxLength": 1024
        },
        "idempotencyKey": {
          "type": "string",
          "maxLength": 200,
          "minLength": 1
        }
      },
      "required": [
        "action",
        "input",
        "idempotencyKey"
      ]
    },
    {
      "type": "object",
      "additionalProperties": false,
      "properties": {
        "action": {
          "const": "claims_create"
        },
        "input": {
          "$ref": "#/$defs/createProjectClaimInput"
        },
        "etag": {
          "type": "string",
          "maxLength": 1024
        },
        "idempotencyKey": {
          "type": "string",
          "maxLength": 200,
          "minLength": 1
        }
      },
      "required": [
        "action",
        "input",
        "idempotencyKey"
      ]
    },
    {
      "type": "object",
      "additionalProperties": false,
      "properties": {
        "action": {
          "const": "evidence_get"
        },
        "input": {
          "$ref": "#/$defs/getProjectEvidenceInput"
        },
        "etag": {
          "type": "string",
          "maxLength": 1024
        },
        "idempotencyKey": {
          "type": "string",
          "maxLength": 200,
          "minLength": 1
        }
      },
      "required": [
        "action",
        "input"
      ]
    },
    {
      "type": "object",
      "additionalProperties": false,
      "properties": {
        "action": {
          "const": "list"
        },
        "input": {
          "$ref": "#/$defs/listProjectEvidenceInput"
        },
        "etag": {
          "type": "string",
          "maxLength": 1024
        },
        "idempotencyKey": {
          "type": "string",
          "maxLength": 200,
          "minLength": 1
        }
      },
      "required": [
        "action",
        "input"
      ]
    },
    {
      "type": "object",
      "additionalProperties": false,
      "properties": {
        "action": {
          "const": "evidence_update"
        },
        "input": {
          "$ref": "#/$defs/updateProjectEvidenceInput"
        },
        "etag": {
          "type": "string",
          "maxLength": 1024
        },
        "idempotencyKey": {
          "type": "string",
          "maxLength": 200,
          "minLength": 1
        }
      },
      "required": [
        "action",
        "input",
        "etag",
        "idempotencyKey"
      ]
    },
    {
      "type": "object",
      "additionalProperties": false,
      "properties": {
        "action": {
          "const": "evidence_archive"
        },
        "input": {
          "$ref": "#/$defs/archiveProjectEvidenceInput"
        },
        "etag": {
          "type": "string",
          "maxLength": 1024
        },
        "idempotencyKey": {
          "type": "string",
          "maxLength": 200,
          "minLength": 1
        }
      },
      "required": [
        "action",
        "input",
        "etag",
        "idempotencyKey"
      ]
    },
    {
      "type": "object",
      "additionalProperties": false,
      "properties": {
        "action": {
          "const": "requirement_get"
        },
        "input": {
          "$ref": "#/$defs/getProjectRequirementInput"
        },
        "etag": {
          "type": "string",
          "maxLength": 1024
        },
        "idempotencyKey": {
          "type": "string",
          "maxLength": 200,
          "minLength": 1
        }
      },
      "required": [
        "action",
        "input"
      ]
    },
    {
      "type": "object",
      "additionalProperties": false,
      "properties": {
        "action": {
          "const": "requirements_list"
        },
        "input": {
          "$ref": "#/$defs/listProjectRequirementsInput"
        },
        "etag": {
          "type": "string",
          "maxLength": 1024
        },
        "idempotencyKey": {
          "type": "string",
          "maxLength": 200,
          "minLength": 1
        }
      },
      "required": [
        "action",
        "input"
      ]
    },
    {
      "type": "object",
      "additionalProperties": false,
      "properties": {
        "action": {
          "const": "requirement_update"
        },
        "input": {
          "$ref": "#/$defs/updateProjectRequirementInput"
        },
        "etag": {
          "type": "string",
          "maxLength": 1024
        },
        "idempotencyKey": {
          "type": "string",
          "maxLength": 200,
          "minLength": 1
        }
      },
      "required": [
        "action",
        "input",
        "etag",
        "idempotencyKey"
      ]
    },
    {
      "type": "object",
      "additionalProperties": false,
      "properties": {
        "action": {
          "const": "requirement_archive"
        },
        "input": {
          "$ref": "#/$defs/archiveProjectRequirementInput"
        },
        "etag": {
          "type": "string",
          "maxLength": 1024
        },
        "idempotencyKey": {
          "type": "string",
          "maxLength": 200,
          "minLength": 1
        }
      },
      "required": [
        "action",
        "input",
        "etag",
        "idempotencyKey"
      ]
    },
    {
      "type": "object",
      "additionalProperties": false,
      "properties": {
        "action": {
          "const": "claim_get"
        },
        "input": {
          "$ref": "#/$defs/getProjectClaimInput"
        },
        "etag": {
          "type": "string",
          "maxLength": 1024
        },
        "idempotencyKey": {
          "type": "string",
          "maxLength": 200,
          "minLength": 1
        }
      },
      "required": [
        "action",
        "input"
      ]
    },
    {
      "type": "object",
      "additionalProperties": false,
      "properties": {
        "action": {
          "const": "claims_list"
        },
        "input": {
          "$ref": "#/$defs/listProjectClaimsInput"
        },
        "etag": {
          "type": "string",
          "maxLength": 1024
        },
        "idempotencyKey": {
          "type": "string",
          "maxLength": 200,
          "minLength": 1
        }
      },
      "required": [
        "action",
        "input"
      ]
    },
    {
      "type": "object",
      "additionalProperties": false,
      "properties": {
        "action": {
          "const": "claim_update"
        },
        "input": {
          "$ref": "#/$defs/updateProjectClaimInput"
        },
        "etag": {
          "type": "string",
          "maxLength": 1024
        },
        "idempotencyKey": {
          "type": "string",
          "maxLength": 200,
          "minLength": 1
        }
      },
      "required": [
        "action",
        "input",
        "etag",
        "idempotencyKey"
      ]
    },
    {
      "type": "object",
      "additionalProperties": false,
      "properties": {
        "action": {
          "const": "claim_archive"
        },
        "input": {
          "$ref": "#/$defs/archiveProjectClaimInput"
        },
        "etag": {
          "type": "string",
          "maxLength": 1024
        },
        "idempotencyKey": {
          "type": "string",
          "maxLength": 200,
          "minLength": 1
        }
      },
      "required": [
        "action",
        "input",
        "etag",
        "idempotencyKey"
      ]
    },
    {
      "type": "object",
      "additionalProperties": false,
      "properties": {
        "action": {
          "const": "history"
        },
        "input": {
          "$ref": "#/$defs/listProjectEvidenceHistoryInput"
        },
        "etag": {
          "type": "string",
          "maxLength": 1024
        },
        "idempotencyKey": {
          "type": "string",
          "maxLength": 200,
          "minLength": 1
        }
      },
      "required": [
        "action",
        "input"
      ]
    },
    {
      "type": "object",
      "additionalProperties": false,
      "properties": {
        "action": {
          "const": "link"
        },
        "input": {
          "$ref": "#/$defs/linkProjectEvidenceInput"
        },
        "etag": {
          "type": "string",
          "maxLength": 1024
        },
        "idempotencyKey": {
          "type": "string",
          "maxLength": 200,
          "minLength": 1
        }
      },
      "required": [
        "action",
        "input",
        "etag",
        "idempotencyKey"
      ]
    },
    {
      "type": "object",
      "additionalProperties": false,
      "properties": {
        "action": {
          "const": "report"
        },
        "input": {
          "$ref": "#/$defs/readProjectEvidenceReportInput"
        },
        "etag": {
          "type": "string",
          "maxLength": 1024
        },
        "idempotencyKey": {
          "type": "string",
          "maxLength": 200,
          "minLength": 1
        }
      },
      "required": [
        "action",
        "input"
      ]
    },
    {
      "type": "object",
      "additionalProperties": false,
      "properties": {
        "action": {
          "const": "export"
        },
        "input": {
          "$ref": "#/$defs/exportProjectEvidenceInput"
        },
        "etag": {
          "type": "string",
          "maxLength": 1024
        },
        "idempotencyKey": {
          "type": "string",
          "maxLength": 200,
          "minLength": 1
        }
      },
      "required": [
        "action",
        "input"
      ]
    },
    {
      "type": "object",
      "additionalProperties": false,
      "properties": {
        "action": {
          "const": "import"
        },
        "input": {
          "$ref": "#/$defs/importProjectEvidenceInput"
        },
        "etag": {
          "type": "string",
          "maxLength": 1024
        },
        "idempotencyKey": {
          "type": "string",
          "maxLength": 200,
          "minLength": 1
        }
      },
      "required": [
        "action",
        "input",
        "idempotencyKey"
      ]
    },
    {
      "type": "object",
      "additionalProperties": false,
      "properties": {
        "action": {
          "const": "verification_request"
        },
        "input": {
          "$ref": "#/$defs/requestProjectVerificationInput"
        },
        "etag": {
          "type": "string",
          "maxLength": 1024
        },
        "idempotencyKey": {
          "type": "string",
          "maxLength": 200,
          "minLength": 1
        }
      },
      "required": [
        "action",
        "input",
        "etag",
        "idempotencyKey"
      ]
    },
    {
      "type": "object",
      "additionalProperties": false,
      "properties": {
        "action": {
          "const": "verification_get"
        },
        "input": {
          "$ref": "#/$defs/getProjectVerificationInput"
        },
        "etag": {
          "type": "string",
          "maxLength": 1024
        },
        "idempotencyKey": {
          "type": "string",
          "maxLength": 200,
          "minLength": 1
        }
      },
      "required": [
        "action",
        "input"
      ]
    },
    {
      "type": "object",
      "additionalProperties": false,
      "properties": {
        "action": {
          "const": "verification_cancel"
        },
        "input": {
          "$ref": "#/$defs/cancelProjectVerificationInput"
        },
        "etag": {
          "type": "string",
          "maxLength": 1024
        },
        "idempotencyKey": {
          "type": "string",
          "maxLength": 200,
          "minLength": 1
        }
      },
      "required": [
        "action",
        "input",
        "etag",
        "idempotencyKey"
      ]
    },
    {
      "type": "object",
      "additionalProperties": false,
      "properties": {
        "action": {
          "const": "verification_retry"
        },
        "input": {
          "$ref": "#/$defs/retryProjectVerificationInput"
        },
        "etag": {
          "type": "string",
          "maxLength": 1024
        },
        "idempotencyKey": {
          "type": "string",
          "maxLength": 200,
          "minLength": 1
        }
      },
      "required": [
        "action",
        "input",
        "etag",
        "idempotencyKey"
      ]
    },
    {
      "type": "object",
      "additionalProperties": false,
      "properties": {
        "action": {
          "const": "verification_artifact"
        },
        "input": {
          "$ref": "#/$defs/downloadProjectVerificationArtifactInput"
        },
        "etag": {
          "type": "string",
          "maxLength": 1024
        },
        "idempotencyKey": {
          "type": "string",
          "maxLength": 200,
          "minLength": 1
        }
      },
      "required": [
        "action",
        "input"
      ]
    }
  ],
  "$defs": {
    "attachProjectEvidenceInput": {
      "type": "object",
      "additionalProperties": false,
      "properties": {
        "context": {
          "type": "object",
          "additionalProperties": false,
          "properties": {
            "type": {
              "type": "string",
              "enum": [
                "project",
                "project_review_session"
              ]
            },
            "id": {
              "type": "string",
              "minLength": 1,
              "maxLength": 512,
              "pattern": "^[^\\s]+$"
            }
          },
          "required": [
            "type",
            "id"
          ]
        },
        "title": {
          "type": "string",
          "maxLength": 200,
          "minLength": 1
        },
        "targets": {
          "type": "array",
          "items": {
            "$ref": "#/$defs/ExactTarget"
          },
          "maxItems": 100,
          "minItems": 1
        },
        "relations": {
          "type": "array",
          "items": {
            "oneOf": [
              {
                "type": "object",
                "additionalProperties": false,
                "properties": {
                  "kind": {
                    "type": "string",
                    "enum": [
                      "requirement",
                      "claim",
                      "evidence"
                    ]
                  },
                  "revisionId": {
                    "type": "string",
                    "minLength": 1,
                    "maxLength": 512,
                    "pattern": "^[^\\s]+$"
                  }
                },
                "required": [
                  "kind",
                  "revisionId"
                ]
              },
              {
                "type": "object",
                "additionalProperties": false,
                "properties": {
                  "kind": {
                    "type": "string",
                    "enum": [
                      "resource"
                    ]
                  },
                  "target": {
                    "$ref": "#/$defs/ExactTarget"
                  }
                },
                "required": [
                  "kind",
                  "target"
                ]
              }
            ]
          },
          "maxItems": 100,
          "minItems": 0
        },
        "report": {
          "type": "object",
          "additionalProperties": false,
          "properties": {
            "format": {
              "type": "string",
              "enum": [
                "html",
                "xml",
                "json",
                "log"
              ]
            },
            "content": {
              "type": "string",
              "maxLength": 262144
            }
          },
          "required": [
            "format",
            "content"
          ]
        },
        "reportUploadId": {
          "type": "string",
          "minLength": 1,
          "maxLength": 512,
          "pattern": "^[^\\s]+$"
        },
        "providerReference": {
          "type": "object",
          "additionalProperties": false,
          "properties": {
            "provider": {
              "type": "string",
              "enum": [
                "github",
                "azure_devops"
              ]
            },
            "runId": {
              "type": "string",
              "minLength": 1,
              "maxLength": 512,
              "pattern": "^[^\\s]+$"
            },
            "commitSha": {
              "type": "string",
              "pattern": "^[a-f0-9]{40,64}$"
            }
          },
          "required": [
            "provider",
            "runId",
            "commitSha"
          ]
        },
        "result": {
          "type": "string",
          "enum": [
            "passed",
            "failed",
            "unknown"
          ]
        },
        "retentionDays": {
          "type": "integer",
          "minimum": 1,
          "maximum": 365
        }
      },
      "required": [
        "context",
        "targets",
        "result"
      ]
    },
    "ExactTarget": {
      "type": "object",
      "additionalProperties": false,
      "properties": {
        "resource": {
          "$ref": "#/$defs/Resource"
        },
        "revisionId": {
          "type": "string",
          "minLength": 1,
          "maxLength": 512,
          "pattern": "^[^\\s]+$"
        },
        "sha256": {
          "type": "string",
          "pattern": "^[a-f0-9]{64}$"
        },
        "purpose": {
          "type": "string",
          "maxLength": 200
        }
      },
      "required": [
        "resource",
        "revisionId",
        "sha256"
      ]
    },
    "Resource": {
      "type": "object",
      "additionalProperties": false,
      "properties": {
        "type": {
          "type": "string",
          "enum": [
            "repository",
            "pull_request",
            "document",
            "draft_review",
            "form",
            "research_study",
            "knowledge_brain",
            "web_app_review",
            "project",
            "tracker",
            "review_package",
            "project_review_session",
            "source_snapshot"
          ]
        },
        "id": {
          "type": "string",
          "minLength": 1,
          "maxLength": 512,
          "pattern": "^[^\\s]+$"
        }
      },
      "required": [
        "type",
        "id"
      ]
    },
    "attachProjectEvidenceOutput": {
      "type": "object",
      "additionalProperties": false,
      "properties": {
        "data": {
          "$ref": "#/$defs/Evidence"
        },
        "idempotencyReplayed": {
          "type": "boolean"
        }
      },
      "required": [
        "data"
      ]
    },
    "Evidence": {
      "$ref": "#/$defs/EvidenceRecord"
    },
    "EvidenceRecord": {
      "type": "object",
      "additionalProperties": false,
      "properties": {
        "id": {
          "type": "string",
          "minLength": 1,
          "maxLength": 512,
          "pattern": "^[^\\s]+$"
        },
        "revisionId": {
          "type": "string",
          "minLength": 1,
          "maxLength": 512,
          "pattern": "^[^\\s]+$"
        },
        "context": {
          "type": "object",
          "additionalProperties": false,
          "properties": {
            "type": {
              "type": "string",
              "enum": [
                "project",
                "project_review_session"
              ]
            },
            "id": {
              "type": "string",
              "minLength": 1,
              "maxLength": 512,
              "pattern": "^[^\\s]+$"
            }
          },
          "required": [
            "type",
            "id"
          ]
        },
        "kind": {
          "type": "string",
          "enum": [
            "requirement",
            "claim",
            "evidence"
          ]
        },
        "actor": {
          "$ref": "#/$defs/Actor"
        },
        "title": {
          "type": "string",
          "maxLength": 200
        },
        "version": {
          "type": "integer",
          "minimum": 1,
          "maximum": 9007199254740991
        },
        "archived": {
          "type": "boolean"
        },
        "contentSha256": {
          "type": "string",
          "pattern": "^[a-f0-9]{64}$"
        },
        "createdAt": {
          "type": "string",
          "maxLength": 40
        },
        "targets": {
          "type": "array",
          "items": {
            "$ref": "#/$defs/ExactTarget"
          },
          "maxItems": 100,
          "minItems": 1
        },
        "relations": {
          "type": "array",
          "items": {
            "oneOf": [
              {
                "type": "object",
                "additionalProperties": false,
                "properties": {
                  "kind": {
                    "type": "string",
                    "enum": [
                      "requirement",
                      "claim",
                      "evidence"
                    ]
                  },
                  "revisionId": {
                    "type": "string",
                    "minLength": 1,
                    "maxLength": 512,
                    "pattern": "^[^\\s]+$"
                  }
                },
                "required": [
                  "kind",
                  "revisionId"
                ]
              },
              {
                "type": "object",
                "additionalProperties": false,
                "properties": {
                  "kind": {
                    "type": "string",
                    "enum": [
                      "resource"
                    ]
                  },
                  "target": {
                    "$ref": "#/$defs/ExactTarget"
                  }
                },
                "required": [
                  "kind",
                  "target"
                ]
              }
            ]
          },
          "maxItems": 100,
          "minItems": 0
        },
        "expectedOutcomeMarkdown": {
          "type": "string",
          "maxLength": 32768
        },
        "acceptanceScope": {
          "type": "array",
          "items": {
            "$ref": "#/$defs/ExactTarget"
          },
          "maxItems": 100,
          "minItems": 1
        },
        "statementMarkdown": {
          "type": "string",
          "maxLength": 32768
        },
        "evidenceRevisionIds": {
          "type": "array",
          "items": {
            "type": "string",
            "minLength": 1,
            "maxLength": 512,
            "pattern": "^[^\\s]+$"
          },
          "maxItems": 100,
          "minItems": 0
        },
        "requirementRevisionIds": {
          "type": "array",
          "items": {
            "type": "string",
            "minLength": 1,
            "maxLength": 512,
            "pattern": "^[^\\s]+$"
          },
          "maxItems": 100,
          "minItems": 0
        },
        "source": {
          "oneOf": [
            {
              "type": "object",
              "additionalProperties": false,
              "properties": {
                "kind": {
                  "const": "supplied"
                },
                "report": {
                  "anyOf": [
                    {
                      "type": "object",
                      "additionalProperties": false,
                      "properties": {
                        "id": {
                          "type": "string",
                          "minLength": 1,
                          "maxLength": 512,
                          "pattern": "^[^\\s]+$"
                        },
                        "format": {
                          "type": "string",
                          "enum": [
                            "html",
                            "xml",
                            "json",
                            "log"
                          ]
                        },
                        "capturedSha256": {
                          "type": "string",
                          "pattern": "^[a-f0-9]{64}$"
                        },
                        "capturedBytes": {
                          "type": "integer",
                          "minimum": 0,
                          "maximum": 262144
                        },
                        "sanitizedSha256": {
                          "type": "string",
                          "pattern": "^[a-f0-9]{64}$"
                        },
                        "sanitizedBytes": {
                          "type": "integer",
                          "minimum": 0,
                          "maximum": 262144
                        },
                        "diagnostics": {
                          "type": "array",
                          "items": {
                            "type": "string",
                            "maxLength": 100
                          },
                          "maxItems": 100,
                          "minItems": 0
                        },
                        "expiresAt": {
                          "type": "string",
                          "maxLength": 40
                        }
                      },
                      "required": [
                        "id",
                        "format",
                        "capturedSha256",
                        "capturedBytes",
                        "sanitizedSha256",
                        "sanitizedBytes",
                        "diagnostics",
                        "expiresAt"
                      ]
                    },
                    {
                      "type": "null"
                    }
                  ]
                }
              },
              "required": [
                "kind",
                "report"
              ]
            },
            {
              "type": "object",
              "additionalProperties": false,
              "properties": {
                "kind": {
                  "const": "provider_reference"
                },
                "provider": {
                  "type": "string",
                  "enum": [
                    "github",
                    "azure_devops"
                  ]
                },
                "runId": {
                  "type": "string",
                  "minLength": 1,
                  "maxLength": 512,
                  "pattern": "^[^\\s]+$"
                },
                "commitSha": {
                  "type": "string",
                  "pattern": "^[a-f0-9]{40,64}$"
                }
              },
              "required": [
                "kind",
                "provider",
                "runId",
                "commitSha"
              ]
            }
          ]
        },
        "result": {
          "type": "string",
          "enum": [
            "passed",
            "failed",
            "unknown"
          ]
        },
        "status": {
          "type": "string",
          "enum": [
            "reported",
            "referenced",
            "observed",
            "provider_verified",
            "failed",
            "missing",
            "stale",
            "conflicting",
            "restricted",
            "unknown",
            "pending",
            "canceled",
            "unsupported",
            "mismatched",
            "inaccessible"
          ]
        },
        "provenance": {
          "type": "string",
          "enum": [
            "reported",
            "observed",
            "provider_verified"
          ]
        },
        "currency": {
          "type": "string",
          "enum": [
            "current",
            "stale",
            "revoked"
          ]
        },
        "observedAt": {
          "anyOf": [
            {
              "type": "string",
              "maxLength": 40
            },
            {
              "type": "null"
            }
          ]
        },
        "providerReceiptId": {
          "anyOf": [
            {
              "type": "string",
              "minLength": 1,
              "maxLength": 512,
              "pattern": "^[^\\s]+$"
            },
            {
              "type": "null"
            }
          ]
        },
        "providerVerificationId": {
          "anyOf": [
            {
              "type": "string",
              "minLength": 1,
              "maxLength": 512,
              "pattern": "^[^\\s]+$"
            },
            {
              "type": "null"
            }
          ]
        },
        "acceptance": {
          "const": "not_assessed"
        }
      },
      "required": [
        "id",
        "revisionId",
        "context",
        "kind",
        "actor",
        "title",
        "version",
        "archived",
        "contentSha256",
        "createdAt",
        "targets",
        "relations",
        "status",
        "provenance",
        "currency",
        "observedAt",
        "providerReceiptId",
        "acceptance"
      ]
    },
    "Actor": {
      "type": "object",
      "additionalProperties": false,
      "properties": {
        "type": {
          "type": "string",
          "enum": [
            "user",
            "agent",
            "service",
            "system"
          ]
        },
        "id": {
          "type": "string",
          "minLength": 1,
          "maxLength": 512,
          "pattern": "^[^\\s]+$"
        }
      },
      "required": [
        "type",
        "id"
      ]
    },
    "createProjectRequirementInput": {
      "type": "object",
      "additionalProperties": false,
      "properties": {
        "context": {
          "type": "object",
          "additionalProperties": false,
          "properties": {
            "type": {
              "type": "string",
              "enum": [
                "project",
                "project_review_session"
              ]
            },
            "id": {
              "type": "string",
              "minLength": 1,
              "maxLength": 512,
              "pattern": "^[^\\s]+$"
            }
          },
          "required": [
            "type",
            "id"
          ]
        },
        "title": {
          "type": "string",
          "maxLength": 200,
          "minLength": 1
        },
        "expectedOutcomeMarkdown": {
          "type": "string",
          "maxLength": 32768,
          "minLength": 1
        },
        "acceptanceScope": {
          "type": "array",
          "items": {
            "$ref": "#/$defs/ExactTarget"
          },
          "maxItems": 100,
          "minItems": 1
        },
        "relations": {
          "type": "array",
          "items": {
            "oneOf": [
              {
                "type": "object",
                "additionalProperties": false,
                "properties": {
                  "kind": {
                    "type": "string",
                    "enum": [
                      "requirement",
                      "claim",
                      "evidence"
                    ]
                  },
                  "revisionId": {
                    "type": "string",
                    "minLength": 1,
                    "maxLength": 512,
                    "pattern": "^[^\\s]+$"
                  }
                },
                "required": [
                  "kind",
                  "revisionId"
                ]
              },
              {
                "type": "object",
                "additionalProperties": false,
                "properties": {
                  "kind": {
                    "type": "string",
                    "enum": [
                      "resource"
                    ]
                  },
                  "target": {
                    "$ref": "#/$defs/ExactTarget"
                  }
                },
                "required": [
                  "kind",
                  "target"
                ]
              }
            ]
          },
          "maxItems": 100,
          "minItems": 0
        }
      },
      "required": [
        "context",
        "expectedOutcomeMarkdown",
        "acceptanceScope"
      ]
    },
    "createProjectRequirementOutput": {
      "type": "object",
      "additionalProperties": false,
      "properties": {
        "data": {
          "$ref": "#/$defs/Requirement"
        },
        "idempotencyReplayed": {
          "type": "boolean"
        }
      },
      "required": [
        "data"
      ]
    },
    "Requirement": {
      "$ref": "#/$defs/EvidenceRecord"
    },
    "createProjectClaimInput": {
      "type": "object",
      "additionalProperties": false,
      "properties": {
        "context": {
          "type": "object",
          "additionalProperties": false,
          "properties": {
            "type": {
              "type": "string",
              "enum": [
                "project",
                "project_review_session"
              ]
            },
            "id": {
              "type": "string",
              "minLength": 1,
              "maxLength": 512,
              "pattern": "^[^\\s]+$"
            }
          },
          "required": [
            "type",
            "id"
          ]
        },
        "title": {
          "type": "string",
          "maxLength": 200,
          "minLength": 1
        },
        "statementMarkdown": {
          "type": "string",
          "maxLength": 32768,
          "minLength": 1
        },
        "targets": {
          "type": "array",
          "items": {
            "$ref": "#/$defs/ExactTarget"
          },
          "maxItems": 100,
          "minItems": 1
        },
        "evidenceRevisionIds": {
          "type": "array",
          "items": {
            "type": "string",
            "minLength": 1,
            "maxLength": 512,
            "pattern": "^[^\\s]+$"
          },
          "maxItems": 100,
          "minItems": 0,
          "uniqueItems": true
        },
        "requirementRevisionIds": {
          "type": "array",
          "items": {
            "type": "string",
            "minLength": 1,
            "maxLength": 512,
            "pattern": "^[^\\s]+$"
          },
          "maxItems": 100,
          "minItems": 0,
          "uniqueItems": true
        },
        "relations": {
          "type": "array",
          "items": {
            "oneOf": [
              {
                "type": "object",
                "additionalProperties": false,
                "properties": {
                  "kind": {
                    "type": "string",
                    "enum": [
                      "requirement",
                      "claim",
                      "evidence"
                    ]
                  },
                  "revisionId": {
                    "type": "string",
                    "minLength": 1,
                    "maxLength": 512,
                    "pattern": "^[^\\s]+$"
                  }
                },
                "required": [
                  "kind",
                  "revisionId"
                ]
              },
              {
                "type": "object",
                "additionalProperties": false,
                "properties": {
                  "kind": {
                    "type": "string",
                    "enum": [
                      "resource"
                    ]
                  },
                  "target": {
                    "$ref": "#/$defs/ExactTarget"
                  }
                },
                "required": [
                  "kind",
                  "target"
                ]
              }
            ]
          },
          "maxItems": 100,
          "minItems": 0
        }
      },
      "required": [
        "context",
        "statementMarkdown",
        "targets",
        "evidenceRevisionIds"
      ]
    },
    "createProjectClaimOutput": {
      "type": "object",
      "additionalProperties": false,
      "properties": {
        "data": {
          "$ref": "#/$defs/Claim"
        },
        "idempotencyReplayed": {
          "type": "boolean"
        }
      },
      "required": [
        "data"
      ]
    },
    "Claim": {
      "$ref": "#/$defs/EvidenceRecord"
    },
    "getProjectEvidenceInput": {
      "type": "object",
      "additionalProperties": false,
      "properties": {
        "evidenceId": {
          "type": "string",
          "minLength": 1,
          "maxLength": 512,
          "pattern": "^[^\\s]+$"
        },
        "revisionId": {
          "type": "string",
          "minLength": 1,
          "maxLength": 512,
          "pattern": "^[^\\s]+$"
        }
      },
      "required": [
        "evidenceId"
      ]
    },
    "getProjectEvidenceOutput": {
      "type": "object",
      "additionalProperties": false,
      "properties": {
        "data": {
          "$ref": "#/$defs/EvidenceRecord"
        },
        "idempotencyReplayed": {
          "type": "boolean"
        }
      },
      "required": [
        "data"
      ]
    },
    "listProjectEvidenceInput": {
      "type": "object",
      "additionalProperties": false,
      "properties": {
        "context": {
          "type": "object",
          "additionalProperties": false,
          "properties": {
            "type": {
              "type": "string",
              "enum": [
                "project",
                "project_review_session"
              ]
            },
            "id": {
              "type": "string",
              "minLength": 1,
              "maxLength": 512,
              "pattern": "^[^\\s]+$"
            }
          },
          "required": [
            "type",
            "id"
          ]
        },
        "cursor": {
          "type": "string",
          "minLength": 1,
          "maxLength": 4096,
          "pattern": "^[^\\s]+$"
        },
        "limit": {
          "type": "integer",
          "minimum": 1,
          "maximum": 100
        },
        "archived": {
          "type": "boolean"
        },
        "search": {
          "type": "string",
          "maxLength": 200
        }
      },
      "required": [
        "context"
      ]
    },
    "listProjectEvidenceOutput": {
      "type": "object",
      "additionalProperties": false,
      "properties": {
        "data": {
          "type": "object",
          "additionalProperties": false,
          "properties": {
            "items": {
              "type": "array",
              "items": {
                "$ref": "#/$defs/EvidenceRecord"
              },
              "maxItems": 100,
              "minItems": 0
            },
            "nextCursor": {
              "anyOf": [
                {
                  "type": "string",
                  "minLength": 1,
                  "maxLength": 4096,
                  "pattern": "^[^\\s]+$"
                },
                {
                  "type": "null"
                }
              ]
            }
          },
          "required": [
            "items",
            "nextCursor"
          ]
        },
        "idempotencyReplayed": {
          "type": "boolean"
        }
      },
      "required": [
        "data"
      ]
    },
    "updateProjectEvidenceInput": {
      "type": "object",
      "additionalProperties": false,
      "properties": {
        "evidenceId": {
          "type": "string",
          "minLength": 1,
          "maxLength": 512,
          "pattern": "^[^\\s]+$"
        },
        "title": {
          "type": "string",
          "maxLength": 200,
          "minLength": 1
        },
        "targets": {
          "type": "array",
          "items": {
            "$ref": "#/$defs/ExactTarget"
          },
          "maxItems": 100,
          "minItems": 1
        },
        "relations": {
          "type": "array",
          "items": {
            "oneOf": [
              {
                "type": "object",
                "additionalProperties": false,
                "properties": {
                  "kind": {
                    "type": "string",
                    "enum": [
                      "requirement",
                      "claim",
                      "evidence"
                    ]
                  },
                  "revisionId": {
                    "type": "string",
                    "minLength": 1,
                    "maxLength": 512,
                    "pattern": "^[^\\s]+$"
                  }
                },
                "required": [
                  "kind",
                  "revisionId"
                ]
              },
              {
                "type": "object",
                "additionalProperties": false,
                "properties": {
                  "kind": {
                    "type": "string",
                    "enum": [
                      "resource"
                    ]
                  },
                  "target": {
                    "$ref": "#/$defs/ExactTarget"
                  }
                },
                "required": [
                  "kind",
                  "target"
                ]
              }
            ]
          },
          "maxItems": 100,
          "minItems": 0
        },
        "report": {
          "type": "object",
          "additionalProperties": false,
          "properties": {
            "format": {
              "type": "string",
              "enum": [
                "html",
                "xml",
                "json",
                "log"
              ]
            },
            "content": {
              "type": "string",
              "maxLength": 262144
            }
          },
          "required": [
            "format",
            "content"
          ]
        },
        "reportUploadId": {
          "type": "string",
          "minLength": 1,
          "maxLength": 512,
          "pattern": "^[^\\s]+$"
        },
        "providerReference": {
          "type": "object",
          "additionalProperties": false,
          "properties": {
            "provider": {
              "type": "string",
              "enum": [
                "github",
                "azure_devops"
              ]
            },
            "runId": {
              "type": "string",
              "minLength": 1,
              "maxLength": 512,
              "pattern": "^[^\\s]+$"
            },
            "commitSha": {
              "type": "string",
              "pattern": "^[a-f0-9]{40,64}$"
            }
          },
          "required": [
            "provider",
            "runId",
            "commitSha"
          ]
        },
        "result": {
          "type": "string",
          "enum": [
            "passed",
            "failed",
            "unknown"
          ]
        },
        "retentionDays": {
          "type": "integer",
          "minimum": 1,
          "maximum": 365
        }
      },
      "required": [
        "evidenceId"
      ]
    },
    "updateProjectEvidenceOutput": {
      "type": "object",
      "additionalProperties": false,
      "properties": {
        "data": {
          "$ref": "#/$defs/EvidenceRecord"
        },
        "idempotencyReplayed": {
          "type": "boolean"
        }
      },
      "required": [
        "data"
      ]
    },
    "archiveProjectEvidenceInput": {
      "type": "object",
      "additionalProperties": false,
      "properties": {
        "evidenceId": {
          "type": "string",
          "minLength": 1,
          "maxLength": 512,
          "pattern": "^[^\\s]+$"
        },
        "archived": {
          "type": "boolean"
        }
      },
      "required": [
        "evidenceId",
        "archived"
      ]
    },
    "archiveProjectEvidenceOutput": {
      "type": "object",
      "additionalProperties": false,
      "properties": {
        "data": {
          "$ref": "#/$defs/EvidenceRecord"
        },
        "idempotencyReplayed": {
          "type": "boolean"
        }
      },
      "required": [
        "data"
      ]
    },
    "getProjectRequirementInput": {
      "type": "object",
      "additionalProperties": false,
      "properties": {
        "requirementId": {
          "type": "string",
          "minLength": 1,
          "maxLength": 512,
          "pattern": "^[^\\s]+$"
        },
        "revisionId": {
          "type": "string",
          "minLength": 1,
          "maxLength": 512,
          "pattern": "^[^\\s]+$"
        }
      },
      "required": [
        "requirementId"
      ]
    },
    "getProjectRequirementOutput": {
      "type": "object",
      "additionalProperties": false,
      "properties": {
        "data": {
          "$ref": "#/$defs/EvidenceRecord"
        },
        "idempotencyReplayed": {
          "type": "boolean"
        }
      },
      "required": [
        "data"
      ]
    },
    "listProjectRequirementsInput": {
      "type": "object",
      "additionalProperties": false,
      "properties": {
        "context": {
          "type": "object",
          "additionalProperties": false,
          "properties": {
            "type": {
              "type": "string",
              "enum": [
                "project",
                "project_review_session"
              ]
            },
            "id": {
              "type": "string",
              "minLength": 1,
              "maxLength": 512,
              "pattern": "^[^\\s]+$"
            }
          },
          "required": [
            "type",
            "id"
          ]
        },
        "cursor": {
          "type": "string",
          "minLength": 1,
          "maxLength": 4096,
          "pattern": "^[^\\s]+$"
        },
        "limit": {
          "type": "integer",
          "minimum": 1,
          "maximum": 100
        },
        "archived": {
          "type": "boolean"
        },
        "search": {
          "type": "string",
          "maxLength": 200
        }
      },
      "required": [
        "context"
      ]
    },
    "listProjectRequirementsOutput": {
      "type": "object",
      "additionalProperties": false,
      "properties": {
        "data": {
          "type": "object",
          "additionalProperties": false,
          "properties": {
            "items": {
              "type": "array",
              "items": {
                "$ref": "#/$defs/EvidenceRecord"
              },
              "maxItems": 100,
              "minItems": 0
            },
            "nextCursor": {
              "anyOf": [
                {
                  "type": "string",
                  "minLength": 1,
                  "maxLength": 4096,
                  "pattern": "^[^\\s]+$"
                },
                {
                  "type": "null"
                }
              ]
            }
          },
          "required": [
            "items",
            "nextCursor"
          ]
        },
        "idempotencyReplayed": {
          "type": "boolean"
        }
      },
      "required": [
        "data"
      ]
    },
    "updateProjectRequirementInput": {
      "type": "object",
      "additionalProperties": false,
      "properties": {
        "requirementId": {
          "type": "string",
          "minLength": 1,
          "maxLength": 512,
          "pattern": "^[^\\s]+$"
        },
        "title": {
          "type": "string",
          "maxLength": 200,
          "minLength": 1
        },
        "expectedOutcomeMarkdown": {
          "type": "string",
          "maxLength": 32768,
          "minLength": 1
        },
        "acceptanceScope": {
          "type": "array",
          "items": {
            "$ref": "#/$defs/ExactTarget"
          },
          "maxItems": 100,
          "minItems": 1
        },
        "relations": {
          "type": "array",
          "items": {
            "oneOf": [
              {
                "type": "object",
                "additionalProperties": false,
                "properties": {
                  "kind": {
                    "type": "string",
                    "enum": [
                      "requirement",
                      "claim",
                      "evidence"
                    ]
                  },
                  "revisionId": {
                    "type": "string",
                    "minLength": 1,
                    "maxLength": 512,
                    "pattern": "^[^\\s]+$"
                  }
                },
                "required": [
                  "kind",
                  "revisionId"
                ]
              },
              {
                "type": "object",
                "additionalProperties": false,
                "properties": {
                  "kind": {
                    "type": "string",
                    "enum": [
                      "resource"
                    ]
                  },
                  "target": {
                    "$ref": "#/$defs/ExactTarget"
                  }
                },
                "required": [
                  "kind",
                  "target"
                ]
              }
            ]
          },
          "maxItems": 100,
          "minItems": 0
        }
      },
      "required": [
        "requirementId"
      ]
    },
    "updateProjectRequirementOutput": {
      "type": "object",
      "additionalProperties": false,
      "properties": {
        "data": {
          "$ref": "#/$defs/EvidenceRecord"
        },
        "idempotencyReplayed": {
          "type": "boolean"
        }
      },
      "required": [
        "data"
      ]
    },
    "archiveProjectRequirementInput": {
      "type": "object",
      "additionalProperties": false,
      "properties": {
        "requirementId": {
          "type": "string",
          "minLength": 1,
          "maxLength": 512,
          "pattern": "^[^\\s]+$"
        },
        "archived": {
          "type": "boolean"
        }
      },
      "required": [
        "requirementId",
        "archived"
      ]
    },
    "archiveProjectRequirementOutput": {
      "type": "object",
      "additionalProperties": false,
      "properties": {
        "data": {
          "$ref": "#/$defs/EvidenceRecord"
        },
        "idempotencyReplayed": {
          "type": "boolean"
        }
      },
      "required": [
        "data"
      ]
    },
    "getProjectClaimInput": {
      "type": "object",
      "additionalProperties": false,
      "properties": {
        "claimId": {
          "type": "string",
          "minLength": 1,
          "maxLength": 512,
          "pattern": "^[^\\s]+$"
        },
        "revisionId": {
          "type": "string",
          "minLength": 1,
          "maxLength": 512,
          "pattern": "^[^\\s]+$"
        }
      },
      "required": [
        "claimId"
      ]
    },
    "getProjectClaimOutput": {
      "type": "object",
      "additionalProperties": false,
      "properties": {
        "data": {
          "$ref": "#/$defs/EvidenceRecord"
        },
        "idempotencyReplayed": {
          "type": "boolean"
        }
      },
      "required": [
        "data"
      ]
    },
    "listProjectClaimsInput": {
      "type": "object",
      "additionalProperties": false,
      "properties": {
        "context": {
          "type": "object",
          "additionalProperties": false,
          "properties": {
            "type": {
              "type": "string",
              "enum": [
                "project",
                "project_review_session"
              ]
            },
            "id": {
              "type": "string",
              "minLength": 1,
              "maxLength": 512,
              "pattern": "^[^\\s]+$"
            }
          },
          "required": [
            "type",
            "id"
          ]
        },
        "cursor": {
          "type": "string",
          "minLength": 1,
          "maxLength": 4096,
          "pattern": "^[^\\s]+$"
        },
        "limit": {
          "type": "integer",
          "minimum": 1,
          "maximum": 100
        },
        "archived": {
          "type": "boolean"
        },
        "search": {
          "type": "string",
          "maxLength": 200
        }
      },
      "required": [
        "context"
      ]
    },
    "listProjectClaimsOutput": {
      "type": "object",
      "additionalProperties": false,
      "properties": {
        "data": {
          "type": "object",
          "additionalProperties": false,
          "properties": {
            "items": {
              "type": "array",
              "items": {
                "$ref": "#/$defs/EvidenceRecord"
              },
              "maxItems": 100,
              "minItems": 0
            },
            "nextCursor": {
              "anyOf": [
                {
                  "type": "string",
                  "minLength": 1,
                  "maxLength": 4096,
                  "pattern": "^[^\\s]+$"
                },
                {
                  "type": "null"
                }
              ]
            }
          },
          "required": [
            "items",
            "nextCursor"
          ]
        },
        "idempotencyReplayed": {
          "type": "boolean"
        }
      },
      "required": [
        "data"
      ]
    },
    "updateProjectClaimInput": {
      "type": "object",
      "additionalProperties": false,
      "properties": {
        "claimId": {
          "type": "string",
          "minLength": 1,
          "maxLength": 512,
          "pattern": "^[^\\s]+$"
        },
        "title": {
          "type": "string",
          "maxLength": 200,
          "minLength": 1
        },
        "statementMarkdown": {
          "type": "string",
          "maxLength": 32768,
          "minLength": 1
        },
        "targets": {
          "type": "array",
          "items": {
            "$ref": "#/$defs/ExactTarget"
          },
          "maxItems": 100,
          "minItems": 1
        },
        "evidenceRevisionIds": {
          "type": "array",
          "items": {
            "type": "string",
            "minLength": 1,
            "maxLength": 512,
            "pattern": "^[^\\s]+$"
          },
          "maxItems": 100,
          "minItems": 0,
          "uniqueItems": true
        },
        "requirementRevisionIds": {
          "type": "array",
          "items": {
            "type": "string",
            "minLength": 1,
            "maxLength": 512,
            "pattern": "^[^\\s]+$"
          },
          "maxItems": 100,
          "minItems": 0,
          "uniqueItems": true
        },
        "relations": {
          "type": "array",
          "items": {
            "oneOf": [
              {
                "type": "object",
                "additionalProperties": false,
                "properties": {
                  "kind": {
                    "type": "string",
                    "enum": [
                      "requirement",
                      "claim",
                      "evidence"
                    ]
                  },
                  "revisionId": {
                    "type": "string",
                    "minLength": 1,
                    "maxLength": 512,
                    "pattern": "^[^\\s]+$"
                  }
                },
                "required": [
                  "kind",
                  "revisionId"
                ]
              },
              {
                "type": "object",
                "additionalProperties": false,
                "properties": {
                  "kind": {
                    "type": "string",
                    "enum": [
                      "resource"
                    ]
                  },
                  "target": {
                    "$ref": "#/$defs/ExactTarget"
                  }
                },
                "required": [
                  "kind",
                  "target"
                ]
              }
            ]
          },
          "maxItems": 100,
          "minItems": 0
        }
      },
      "required": [
        "claimId"
      ]
    },
    "updateProjectClaimOutput": {
      "type": "object",
      "additionalProperties": false,
      "properties": {
        "data": {
          "$ref": "#/$defs/EvidenceRecord"
        },
        "idempotencyReplayed": {
          "type": "boolean"
        }
      },
      "required": [
        "data"
      ]
    },
    "archiveProjectClaimInput": {
      "type": "object",
      "additionalProperties": false,
      "properties": {
        "claimId": {
          "type": "string",
          "minLength": 1,
          "maxLength": 512,
          "pattern": "^[^\\s]+$"
        },
        "archived": {
          "type": "boolean"
        }
      },
      "required": [
        "claimId",
        "archived"
      ]
    },
    "archiveProjectClaimOutput": {
      "type": "object",
      "additionalProperties": false,
      "properties": {
        "data": {
          "$ref": "#/$defs/EvidenceRecord"
        },
        "idempotencyReplayed": {
          "type": "boolean"
        }
      },
      "required": [
        "data"
      ]
    },
    "listProjectEvidenceHistoryInput": {
      "type": "object",
      "additionalProperties": false,
      "properties": {
        "evidenceId": {
          "type": "string",
          "minLength": 1,
          "maxLength": 512,
          "pattern": "^[^\\s]+$"
        },
        "cursor": {
          "type": "string",
          "minLength": 1,
          "maxLength": 4096,
          "pattern": "^[^\\s]+$"
        },
        "limit": {
          "type": "integer",
          "minimum": 1,
          "maximum": 100
        }
      },
      "required": [
        "evidenceId"
      ]
    },
    "listProjectEvidenceHistoryOutput": {
      "type": "object",
      "additionalProperties": false,
      "properties": {
        "data": {
          "type": "object",
          "additionalProperties": false,
          "properties": {
            "items": {
              "type": "array",
              "items": {
                "$ref": "#/$defs/EvidenceRecord"
              },
              "maxItems": 100,
              "minItems": 0
            },
            "nextCursor": {
              "anyOf": [
                {
                  "type": "string",
                  "minLength": 1,
                  "maxLength": 4096,
                  "pattern": "^[^\\s]+$"
                },
                {
                  "type": "null"
                }
              ]
            }
          },
          "required": [
            "items",
            "nextCursor"
          ]
        },
        "idempotencyReplayed": {
          "type": "boolean"
        }
      },
      "required": [
        "data"
      ]
    },
    "linkProjectEvidenceInput": {
      "type": "object",
      "additionalProperties": false,
      "properties": {
        "evidenceId": {
          "type": "string",
          "minLength": 1,
          "maxLength": 512,
          "pattern": "^[^\\s]+$"
        },
        "relations": {
          "type": "array",
          "items": {
            "oneOf": [
              {
                "type": "object",
                "additionalProperties": false,
                "properties": {
                  "kind": {
                    "type": "string",
                    "enum": [
                      "requirement",
                      "claim",
                      "evidence"
                    ]
                  },
                  "revisionId": {
                    "type": "string",
                    "minLength": 1,
                    "maxLength": 512,
                    "pattern": "^[^\\s]+$"
                  }
                },
                "required": [
                  "kind",
                  "revisionId"
                ]
              },
              {
                "type": "object",
                "additionalProperties": false,
                "properties": {
                  "kind": {
                    "type": "string",
                    "enum": [
                      "resource"
                    ]
                  },
                  "target": {
                    "$ref": "#/$defs/ExactTarget"
                  }
                },
                "required": [
                  "kind",
                  "target"
                ]
              }
            ]
          },
          "maxItems": 100,
          "minItems": 0
        }
      },
      "required": [
        "evidenceId",
        "relations"
      ]
    },
    "linkProjectEvidenceOutput": {
      "type": "object",
      "additionalProperties": false,
      "properties": {
        "data": {
          "$ref": "#/$defs/Evidence"
        },
        "idempotencyReplayed": {
          "type": "boolean"
        }
      },
      "required": [
        "data"
      ]
    },
    "readProjectEvidenceReportInput": {
      "type": "object",
      "additionalProperties": false,
      "properties": {
        "evidenceId": {
          "type": "string",
          "minLength": 1,
          "maxLength": 512,
          "pattern": "^[^\\s]+$"
        },
        "revisionId": {
          "type": "string",
          "minLength": 1,
          "maxLength": 512,
          "pattern": "^[^\\s]+$"
        }
      },
      "required": [
        "evidenceId"
      ]
    },
    "readProjectEvidenceReportOutput": {
      "type": "object",
      "additionalProperties": false,
      "properties": {
        "data": {
          "type": "object",
          "additionalProperties": false,
          "properties": {
            "format": {
              "type": "string",
              "enum": [
                "html",
                "xml",
                "json",
                "log"
              ]
            },
            "content": {
              "type": "string",
              "maxLength": 262144
            }
          },
          "required": [
            "format",
            "content"
          ]
        },
        "idempotencyReplayed": {
          "type": "boolean"
        }
      },
      "required": [
        "data"
      ]
    },
    "exportProjectEvidenceInput": {
      "type": "object",
      "additionalProperties": false,
      "properties": {
        "context": {
          "type": "object",
          "additionalProperties": false,
          "properties": {
            "type": {
              "type": "string",
              "enum": [
                "project",
                "project_review_session"
              ]
            },
            "id": {
              "type": "string",
              "minLength": 1,
              "maxLength": 512,
              "pattern": "^[^\\s]+$"
            }
          },
          "required": [
            "type",
            "id"
          ]
        }
      },
      "required": [
        "context"
      ]
    },
    "exportProjectEvidenceOutput": {
      "type": "object",
      "additionalProperties": false,
      "properties": {
        "data": {
          "type": "object",
          "additionalProperties": false,
          "properties": {
            "kind": {
              "const": "commentary_evidence"
            },
            "contractVersion": {
              "const": 1
            },
            "entries": {
              "type": "array",
              "items": {
                "type": "object",
                "additionalProperties": false,
                "properties": {
                  "id": {
                    "type": "string",
                    "minLength": 1,
                    "maxLength": 512,
                    "pattern": "^[^\\s]+$"
                  },
                  "revisionId": {
                    "type": "string",
                    "minLength": 1,
                    "maxLength": 512,
                    "pattern": "^[^\\s]+$"
                  },
                  "kind": {
                    "type": "string",
                    "enum": [
                      "requirement",
                      "claim",
                      "evidence"
                    ]
                  },
                  "title": {
                    "type": "string",
                    "maxLength": 200,
                    "minLength": 1
                  },
                  "targets": {
                    "type": "array",
                    "items": {
                      "$ref": "#/$defs/ExactTarget"
                    },
                    "maxItems": 100,
                    "minItems": 1
                  },
                  "expectedOutcomeMarkdown": {
                    "type": "string",
                    "maxLength": 32768,
                    "minLength": 1
                  },
                  "statementMarkdown": {
                    "type": "string",
                    "maxLength": 32768,
                    "minLength": 1
                  },
                  "evidenceRevisionIds": {
                    "type": "array",
                    "items": {
                      "type": "string",
                      "minLength": 1,
                      "maxLength": 512,
                      "pattern": "^[^\\s]+$"
                    },
                    "maxItems": 100,
                    "minItems": 0,
                    "uniqueItems": true
                  },
                  "requirementRevisionIds": {
                    "type": "array",
                    "items": {
                      "type": "string",
                      "minLength": 1,
                      "maxLength": 512,
                      "pattern": "^[^\\s]+$"
                    },
                    "maxItems": 100,
                    "minItems": 0,
                    "uniqueItems": true
                  },
                  "relations": {
                    "type": "array",
                    "items": {
                      "oneOf": [
                        {
                          "type": "object",
                          "additionalProperties": false,
                          "properties": {
                            "kind": {
                              "type": "string",
                              "enum": [
                                "requirement",
                                "claim",
                                "evidence"
                              ]
                            },
                            "revisionId": {
                              "type": "string",
                              "minLength": 1,
                              "maxLength": 512,
                              "pattern": "^[^\\s]+$"
                            }
                          },
                          "required": [
                            "kind",
                            "revisionId"
                          ]
                        },
                        {
                          "type": "object",
                          "additionalProperties": false,
                          "properties": {
                            "kind": {
                              "type": "string",
                              "enum": [
                                "resource"
                              ]
                            },
                            "target": {
                              "$ref": "#/$defs/ExactTarget"
                            }
                          },
                          "required": [
                            "kind",
                            "target"
                          ]
                        }
                      ]
                    },
                    "maxItems": 100,
                    "minItems": 0
                  },
                  "result": {
                    "type": "string",
                    "enum": [
                      "passed",
                      "failed",
                      "unknown"
                    ]
                  },
                  "providerReference": {
                    "type": "object",
                    "additionalProperties": false,
                    "properties": {
                      "provider": {
                        "type": "string",
                        "enum": [
                          "github",
                          "azure_devops"
                        ]
                      },
                      "runId": {
                        "type": "string",
                        "minLength": 1,
                        "maxLength": 512,
                        "pattern": "^[^\\s]+$"
                      },
                      "commitSha": {
                        "type": "string",
                        "pattern": "^[a-f0-9]{40,64}$"
                      }
                    },
                    "required": [
                      "provider",
                      "runId",
                      "commitSha"
                    ]
                  },
                  "report": {
                    "type": "object",
                    "additionalProperties": false,
                    "properties": {
                      "format": {
                        "type": "string",
                        "enum": [
                          "html",
                          "xml",
                          "json",
                          "log"
                        ]
                      },
                      "content": {
                        "type": "string",
                        "maxLength": 262144
                      }
                    },
                    "required": [
                      "format",
                      "content"
                    ]
                  },
                  "archived": {
                    "type": "boolean"
                  }
                },
                "required": [
                  "id",
                  "revisionId",
                  "kind",
                  "title",
                  "targets",
                  "relations",
                  "archived"
                ]
              },
              "maxItems": 100,
              "minItems": 0
            }
          },
          "required": [
            "kind",
            "contractVersion",
            "entries"
          ]
        },
        "idempotencyReplayed": {
          "type": "boolean"
        }
      },
      "required": [
        "data"
      ]
    },
    "importProjectEvidenceInput": {
      "type": "object",
      "additionalProperties": false,
      "properties": {
        "context": {
          "type": "object",
          "additionalProperties": false,
          "properties": {
            "type": {
              "type": "string",
              "enum": [
                "project",
                "project_review_session"
              ]
            },
            "id": {
              "type": "string",
              "minLength": 1,
              "maxLength": 512,
              "pattern": "^[^\\s]+$"
            }
          },
          "required": [
            "type",
            "id"
          ]
        },
        "bundle": {
          "type": "object",
          "additionalProperties": false,
          "properties": {
            "kind": {
              "const": "commentary_evidence"
            },
            "contractVersion": {
              "const": 1
            },
            "entries": {
              "type": "array",
              "items": {
                "type": "object",
                "additionalProperties": false,
                "properties": {
                  "id": {
                    "type": "string",
                    "minLength": 1,
                    "maxLength": 512,
                    "pattern": "^[^\\s]+$"
                  },
                  "revisionId": {
                    "type": "string",
                    "minLength": 1,
                    "maxLength": 512,
                    "pattern": "^[^\\s]+$"
                  },
                  "kind": {
                    "type": "string",
                    "enum": [
                      "requirement",
                      "claim",
                      "evidence"
                    ]
                  },
                  "title": {
                    "type": "string",
                    "maxLength": 200,
                    "minLength": 1
                  },
                  "targets": {
                    "type": "array",
                    "items": {
                      "$ref": "#/$defs/ExactTarget"
                    },
                    "maxItems": 100,
                    "minItems": 1
                  },
                  "expectedOutcomeMarkdown": {
                    "type": "string",
                    "maxLength": 32768,
                    "minLength": 1
                  },
                  "statementMarkdown": {
                    "type": "string",
                    "maxLength": 32768,
                    "minLength": 1
                  },
                  "evidenceRevisionIds": {
                    "type": "array",
                    "items": {
                      "type": "string",
                      "minLength": 1,
                      "maxLength": 512,
                      "pattern": "^[^\\s]+$"
                    },
                    "maxItems": 100,
                    "minItems": 0,
                    "uniqueItems": true
                  },
                  "requirementRevisionIds": {
                    "type": "array",
                    "items": {
                      "type": "string",
                      "minLength": 1,
                      "maxLength": 512,
                      "pattern": "^[^\\s]+$"
                    },
                    "maxItems": 100,
                    "minItems": 0,
                    "uniqueItems": true
                  },
                  "relations": {
                    "type": "array",
                    "items": {
                      "oneOf": [
                        {
                          "type": "object",
                          "additionalProperties": false,
                          "properties": {
                            "kind": {
                              "type": "string",
                              "enum": [
                                "requirement",
                                "claim",
                                "evidence"
                              ]
                            },
                            "revisionId": {
                              "type": "string",
                              "minLength": 1,
                              "maxLength": 512,
                              "pattern": "^[^\\s]+$"
                            }
                          },
                          "required": [
                            "kind",
                            "revisionId"
                          ]
                        },
                        {
                          "type": "object",
                          "additionalProperties": false,
                          "properties": {
                            "kind": {
                              "type": "string",
                              "enum": [
                                "resource"
                              ]
                            },
                            "target": {
                              "$ref": "#/$defs/ExactTarget"
                            }
                          },
                          "required": [
                            "kind",
                            "target"
                          ]
                        }
                      ]
                    },
                    "maxItems": 100,
                    "minItems": 0
                  },
                  "result": {
                    "type": "string",
                    "enum": [
                      "passed",
                      "failed",
                      "unknown"
                    ]
                  },
                  "providerReference": {
                    "type": "object",
                    "additionalProperties": false,
                    "properties": {
                      "provider": {
                        "type": "string",
                        "enum": [
                          "github",
                          "azure_devops"
                        ]
                      },
                      "runId": {
                        "type": "string",
                        "minLength": 1,
                        "maxLength": 512,
                        "pattern": "^[^\\s]+$"
                      },
                      "commitSha": {
                        "type": "string",
                        "pattern": "^[a-f0-9]{40,64}$"
                      }
                    },
                    "required": [
                      "provider",
                      "runId",
                      "commitSha"
                    ]
                  },
                  "report": {
                    "type": "object",
                    "additionalProperties": false,
                    "properties": {
                      "format": {
                        "type": "string",
                        "enum": [
                          "html",
                          "xml",
                          "json",
                          "log"
                        ]
                      },
                      "content": {
                        "type": "string",
                        "maxLength": 262144
                      }
                    },
                    "required": [
                      "format",
                      "content"
                    ]
                  },
                  "archived": {
                    "type": "boolean"
                  }
                },
                "required": [
                  "id",
                  "revisionId",
                  "kind",
                  "title",
                  "targets",
                  "relations",
                  "archived"
                ]
              },
              "maxItems": 100,
              "minItems": 0
            }
          },
          "required": [
            "kind",
            "contractVersion",
            "entries"
          ]
        }
      },
      "required": [
        "context",
        "bundle"
      ]
    },
    "importProjectEvidenceOutput": {
      "type": "object",
      "additionalProperties": false,
      "properties": {
        "data": {
          "type": "object",
          "additionalProperties": false,
          "properties": {
            "items": {
              "type": "array",
              "items": {
                "$ref": "#/$defs/EvidenceRecord"
              },
              "maxItems": 100,
              "minItems": 0
            }
          },
          "required": [
            "items"
          ]
        },
        "idempotencyReplayed": {
          "type": "boolean"
        }
      },
      "required": [
        "data"
      ]
    },
    "requestProjectVerificationInput": {
      "type": "object",
      "additionalProperties": false,
      "properties": {
        "evidenceId": {
          "type": "string",
          "minLength": 1,
          "maxLength": 512,
          "pattern": "^[^\\s]+$"
        },
        "evidenceRevisionId": {
          "type": "string",
          "minLength": 1,
          "maxLength": 512,
          "pattern": "^[^\\s]+$"
        },
        "provider": {
          "type": "string",
          "enum": [
            "github",
            "azure_devops"
          ]
        },
        "runId": {
          "type": "string",
          "minLength": 1,
          "maxLength": 512,
          "pattern": "^[^\\s]+$"
        },
        "commitSha": {
          "type": "string",
          "pattern": "^[a-f0-9]{40,64}$"
        },
        "artifacts": {
          "type": "array",
          "items": {
            "type": "object",
            "additionalProperties": false,
            "properties": {
              "id": {
                "type": "string",
                "minLength": 1,
                "maxLength": 512,
                "pattern": "^[^\\s]+$"
              },
              "sha256": {
                "type": "string",
                "pattern": "^[a-f0-9]{64}$"
              }
            },
            "required": [
              "id"
            ]
          },
          "maxItems": 20,
          "minItems": 0
        }
      },
      "required": [
        "evidenceId",
        "evidenceRevisionId",
        "provider",
        "runId",
        "commitSha"
      ]
    },
    "requestProjectVerificationOutput": {
      "type": "object",
      "additionalProperties": false,
      "properties": {
        "data": {
          "$ref": "#/$defs/Verification"
        },
        "idempotencyReplayed": {
          "type": "boolean"
        }
      },
      "required": [
        "data"
      ]
    },
    "Verification": {
      "type": "object",
      "additionalProperties": false,
      "properties": {
        "id": {
          "type": "string",
          "minLength": 1,
          "maxLength": 512,
          "pattern": "^[^\\s]+$"
        },
        "evidenceRevisionId": {
          "type": "string",
          "minLength": 1,
          "maxLength": 512,
          "pattern": "^[^\\s]+$"
        },
        "state": {
          "type": "string",
          "enum": [
            "queued",
            "running",
            "completed",
            "failed",
            "canceled"
          ]
        },
        "version": {
          "type": "integer",
          "minimum": 1,
          "maximum": 9007199254740991
        },
        "attempts": {
          "type": "integer",
          "minimum": 0,
          "maximum": 5
        },
        "nextAttemptAt": {
          "type": "string",
          "maxLength": 40
        },
        "failureCode": {
          "anyOf": [
            {
              "type": "string",
              "maxLength": 100
            },
            {
              "type": "null"
            }
          ]
        },
        "providerReceiptId": {
          "anyOf": [
            {
              "type": "string",
              "minLength": 1,
              "maxLength": 512,
              "pattern": "^[^\\s]+$"
            },
            {
              "type": "null"
            }
          ]
        },
        "receipt": {
          "anyOf": [
            {
              "$ref": "#/$defs/VerificationReceipt"
            },
            {
              "type": "null"
            }
          ]
        },
        "content": {
          "type": "array",
          "items": {
            "type": "object",
            "additionalProperties": false,
            "properties": {
              "id": {
                "type": "string",
                "minLength": 1,
                "maxLength": 512,
                "pattern": "^[^\\s]+$"
              },
              "artifactId": {
                "type": "string",
                "minLength": 1,
                "maxLength": 512,
                "pattern": "^[^\\s]+$"
              },
              "sha256": {
                "type": "string",
                "pattern": "^[a-f0-9]{64}$"
              },
              "expiresAt": {
                "type": "string",
                "maxLength": 40
              },
              "availability": {
                "type": "string",
                "enum": [
                  "available",
                  "expired",
                  "revoked"
                ]
              }
            },
            "required": [
              "id",
              "artifactId",
              "sha256",
              "expiresAt",
              "availability"
            ]
          },
          "maxItems": 20,
          "minItems": 0
        }
      },
      "required": [
        "id",
        "evidenceRevisionId",
        "state",
        "version",
        "attempts",
        "nextAttemptAt",
        "failureCode",
        "providerReceiptId",
        "receipt",
        "content"
      ]
    },
    "VerificationReceipt": {
      "type": "object",
      "additionalProperties": false,
      "properties": {
        "id": {
          "type": "string",
          "minLength": 1,
          "maxLength": 512,
          "pattern": "^[^\\s]+$"
        },
        "verificationId": {
          "type": "string",
          "minLength": 1,
          "maxLength": 512,
          "pattern": "^[^\\s]+$"
        },
        "evidenceRevisionId": {
          "type": "string",
          "minLength": 1,
          "maxLength": 512,
          "pattern": "^[^\\s]+$"
        },
        "provenance": {
          "type": "string",
          "enum": [
            "observed",
            "provider_verified"
          ]
        },
        "result": {
          "type": "string",
          "enum": [
            "passed",
            "failed",
            "pending",
            "canceled",
            "unknown",
            "unsupported",
            "mismatched",
            "stale",
            "inaccessible"
          ]
        },
        "provider": {
          "type": "string",
          "enum": [
            "github",
            "azure_devops"
          ]
        },
        "repositoryId": {
          "type": "string",
          "minLength": 1,
          "maxLength": 512,
          "pattern": "^[^\\s]+$"
        },
        "runId": {
          "type": "string",
          "minLength": 1,
          "maxLength": 512,
          "pattern": "^[^\\s]+$"
        },
        "commitSha": {
          "type": "string",
          "maxLength": 40
        },
        "state": {
          "type": "string",
          "enum": [
            "passed",
            "failed",
            "pending",
            "canceled",
            "unknown",
            "unsupported",
            "mismatched",
            "stale",
            "inaccessible"
          ]
        },
        "observedAt": {
          "type": "string",
          "maxLength": 40
        },
        "runAttempt": {
          "anyOf": [
            {
              "type": "integer",
              "minimum": 1,
              "maximum": 9007199254740991
            },
            {
              "type": "null"
            }
          ]
        },
        "assertions": {
          "type": "array",
          "items": {
            "type": "object",
            "additionalProperties": false,
            "properties": {
              "kind": {
                "type": "string",
                "enum": [
                  "run",
                  "job",
                  "check",
                  "test_run"
                ]
              },
              "id": {
                "type": "string",
                "minLength": 1,
                "maxLength": 512,
                "pattern": "^[^\\s]+$"
              },
              "state": {
                "type": "string",
                "enum": [
                  "passed",
                  "failed",
                  "pending",
                  "canceled",
                  "unknown",
                  "unsupported",
                  "mismatched",
                  "stale",
                  "inaccessible"
                ]
              }
            },
            "required": [
              "kind",
              "id",
              "state"
            ]
          },
          "maxItems": 201,
          "minItems": 0
        },
        "artifacts": {
          "type": "array",
          "items": {
            "type": "object",
            "additionalProperties": false,
            "properties": {
              "id": {
                "type": "string",
                "minLength": 1,
                "maxLength": 512,
                "pattern": "^[^\\s]+$"
              },
              "state": {
                "type": "string",
                "enum": [
                  "available",
                  "expired",
                  "inaccessible",
                  "unsupported",
                  "mismatched"
                ]
              },
              "sha256": {
                "anyOf": [
                  {
                    "type": "string",
                    "pattern": "^[a-f0-9]{64}$"
                  },
                  {
                    "type": "null"
                  }
                ]
              },
              "providerDigest": {
                "anyOf": [
                  {
                    "type": "string",
                    "maxLength": 71
                  },
                  {
                    "type": "null"
                  }
                ]
              },
              "expiresAt": {
                "anyOf": [
                  {
                    "type": "string",
                    "maxLength": 40
                  },
                  {
                    "type": "null"
                  }
                ]
              },
              "reports": {
                "type": "array",
                "items": {
                  "type": "object",
                  "additionalProperties": false,
                  "properties": {
                    "path": {
                      "type": "string",
                      "maxLength": 1024
                    },
                    "sha256": {
                      "type": "string",
                      "pattern": "^[a-f0-9]{64}$"
                    },
                    "format": {
                      "type": "string",
                      "enum": [
                        "junit",
                        "sarif",
                        "axe",
                        "load",
                        "migration",
                        "unsupported"
                      ]
                    },
                    "provenance": {
                      "const": "reported"
                    },
                    "result": {
                      "type": "string",
                      "enum": [
                        "passed",
                        "failed",
                        "unknown"
                      ]
                    },
                    "counts": {
                      "type": "object",
                      "additionalProperties": {
                        "type": "integer",
                        "minimum": 0,
                        "maximum": 9007199254740991
                      }
                    }
                  },
                  "required": [
                    "path",
                    "sha256",
                    "format",
                    "provenance",
                    "result",
                    "counts"
                  ]
                },
                "maxItems": 100,
                "minItems": 0
              }
            },
            "required": [
              "id",
              "state",
              "sha256",
              "providerDigest",
              "expiresAt",
              "reports"
            ]
          },
          "maxItems": 20,
          "minItems": 0
        },
        "completeness": {
          "type": "string",
          "enum": [
            "complete",
            "bounded"
          ]
        },
        "adapter": {
          "type": "string",
          "maxLength": 40
        },
        "adapterVersion": {
          "const": "1"
        },
        "scope": {
          "type": "string",
          "maxLength": 200
        },
        "artifactSha256": {
          "anyOf": [
            {
              "type": "string",
              "pattern": "^[a-f0-9]{64}$"
            },
            {
              "type": "null"
            }
          ]
        },
        "targets": {
          "type": "array",
          "items": {
            "$ref": "#/$defs/ExactTarget"
          },
          "maxItems": 100,
          "minItems": 1
        }
      },
      "required": [
        "id",
        "verificationId",
        "evidenceRevisionId",
        "provenance",
        "result",
        "provider",
        "repositoryId",
        "runId",
        "commitSha",
        "state",
        "observedAt",
        "runAttempt",
        "assertions",
        "artifacts",
        "completeness",
        "adapter",
        "adapterVersion",
        "scope",
        "artifactSha256",
        "targets"
      ]
    },
    "getProjectVerificationInput": {
      "type": "object",
      "additionalProperties": false,
      "properties": {
        "evidenceId": {
          "type": "string",
          "minLength": 1,
          "maxLength": 512,
          "pattern": "^[^\\s]+$"
        },
        "verificationId": {
          "type": "string",
          "minLength": 1,
          "maxLength": 512,
          "pattern": "^[^\\s]+$"
        }
      },
      "required": [
        "evidenceId",
        "verificationId"
      ]
    },
    "getProjectVerificationOutput": {
      "type": "object",
      "additionalProperties": false,
      "properties": {
        "data": {
          "$ref": "#/$defs/Verification"
        },
        "idempotencyReplayed": {
          "type": "boolean"
        }
      },
      "required": [
        "data"
      ]
    },
    "cancelProjectVerificationInput": {
      "type": "object",
      "additionalProperties": false,
      "properties": {
        "evidenceId": {
          "type": "string",
          "minLength": 1,
          "maxLength": 512,
          "pattern": "^[^\\s]+$"
        },
        "verificationId": {
          "type": "string",
          "minLength": 1,
          "maxLength": 512,
          "pattern": "^[^\\s]+$"
        }
      },
      "required": [
        "evidenceId",
        "verificationId"
      ]
    },
    "cancelProjectVerificationOutput": {
      "type": "object",
      "additionalProperties": false,
      "properties": {
        "data": {
          "$ref": "#/$defs/Verification"
        },
        "idempotencyReplayed": {
          "type": "boolean"
        }
      },
      "required": [
        "data"
      ]
    },
    "retryProjectVerificationInput": {
      "type": "object",
      "additionalProperties": false,
      "properties": {
        "evidenceId": {
          "type": "string",
          "minLength": 1,
          "maxLength": 512,
          "pattern": "^[^\\s]+$"
        },
        "verificationId": {
          "type": "string",
          "minLength": 1,
          "maxLength": 512,
          "pattern": "^[^\\s]+$"
        }
      },
      "required": [
        "evidenceId",
        "verificationId"
      ]
    },
    "retryProjectVerificationOutput": {
      "type": "object",
      "additionalProperties": false,
      "properties": {
        "data": {
          "$ref": "#/$defs/Verification"
        },
        "idempotencyReplayed": {
          "type": "boolean"
        }
      },
      "required": [
        "data"
      ]
    },
    "downloadProjectVerificationArtifactInput": {
      "type": "object",
      "additionalProperties": false,
      "properties": {
        "evidenceId": {
          "type": "string",
          "minLength": 1,
          "maxLength": 512,
          "pattern": "^[^\\s]+$"
        },
        "verificationId": {
          "type": "string",
          "minLength": 1,
          "maxLength": 512,
          "pattern": "^[^\\s]+$"
        },
        "contentId": {
          "type": "string",
          "minLength": 1,
          "maxLength": 512,
          "pattern": "^[^\\s]+$"
        }
      },
      "required": [
        "evidenceId",
        "verificationId",
        "contentId"
      ]
    },
    "downloadProjectVerificationArtifactOutput": {
      "type": "object",
      "additionalProperties": false,
      "properties": {
        "data": {
          "type": "object",
          "additionalProperties": false,
          "properties": {
            "base64": {
              "type": "string",
              "maxLength": 25165824
            },
            "sha256": {
              "type": "string",
              "pattern": "^[a-f0-9]{64}$"
            },
            "contentType": {
              "const": "application/zip"
            }
          },
          "required": [
            "base64",
            "sha256",
            "contentType"
          ]
        },
        "idempotencyReplayed": {
          "type": "boolean"
        }
      },
      "required": [
        "data"
      ]
    }
  }
}