{
  "$id": "https://capitalguard.io/observatory/challenges/agent-security-index/v0.1.0/submission.schema.json",
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "additionalProperties": false,
  "properties": {
    "attestation": {
      "const": "The operator attests that the declared product version was evaluated against the named challenge without changing expected outcomes after execution, and that every evidence digest identifies the retained evidence for that case."
    },
    "cases": {
      "items": {
        "type": "object"
      },
      "minItems": 22,
      "maxItems": 22,
      "type": "array"
    },
    "challengeId": {
      "const": "CG-AGENT-SECURITY-CHALLENGE-0.1.0"
    },
    "execution": {
      "type": "object"
    },
    "methodologyDigestSha256": {
      "pattern": "^[a-f0-9]{64}$",
      "type": "string"
    },
    "operator": {
      "type": "object"
    },
    "product": {
      "type": "object"
    },
    "schemaVersion": {
      "const": "cg-agent-security-challenge-submission-0.1.0"
    },
    "signature": {
      "type": "object"
    }
  },
  "required": [
    "attestation",
    "cases",
    "challengeId",
    "execution",
    "methodologyDigestSha256",
    "operator",
    "product",
    "schemaVersion",
    "signature"
  ],
  "title": "CapitalGuard Agent Security Challenge signed submission",
  "type": "object"
}
