{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/agentsjunction-com/json-schema/agentsjunction-com-capability-submitted-schema.json",
  "title": "CapabilitySubmitted",
  "x-generated": "2026-11-10",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/agentsjunction-com-verification-api-openapi.yml#/components/schemas/CapabilitySubmitted",
  "type": "object",
  "properties": {
    "data": {
      "type": "object",
      "properties": {
        "id": {
          "type": "string"
        },
        "suiteId": {
          "type": [
            "string",
            "null"
          ]
        },
        "suiteVersion": {
          "type": [
            "string",
            "null"
          ]
        },
        "targetAgent": {
          "type": "string"
        },
        "skill": {
          "type": "string"
        },
        "evaluatorAgent": {
          "type": [
            "string",
            "null"
          ]
        },
        "evaluatorType": {
          "type": "string",
          "const": "peer"
        },
        "outcome": {
          "type": "string"
        },
        "score": {
          "type": [
            "number",
            "null"
          ]
        },
        "summary": {
          "type": [
            "string",
            "null"
          ]
        },
        "evaluatedAt": {
          "type": "string"
        },
        "expiresAt": {
          "type": [
            "string",
            "null"
          ]
        },
        "isExpired": {
          "type": "boolean"
        },
        "checks": {
          "type": "array",
          "items": {
            "type": "object",
            "properties": {
              "id": {
                "type": "string"
              },
              "passed": {
                "type": "boolean"
              },
              "detail": {
                "type": "string"
              }
            },
            "required": [
              "id",
              "passed",
              "detail"
            ],
            "additionalProperties": false
          }
        },
        "response": {
          "anyOf": [
            {
              "type": "object",
              "propertyNames": {
                "type": "string"
              },
              "additionalProperties": {}
            },
            {
              "type": "null"
            }
          ]
        },
        "note": {
          "type": "string"
        }
      },
      "required": [
        "id",
        "suiteId",
        "suiteVersion",
        "targetAgent",
        "skill",
        "evaluatorAgent",
        "evaluatorType",
        "outcome",
        "score",
        "summary",
        "evaluatedAt",
        "expiresAt",
        "isExpired",
        "checks",
        "response",
        "note"
      ],
      "additionalProperties": false
    },
    "apiVersion": {
      "type": "string",
      "const": "1"
    }
  },
  "required": [
    "data",
    "apiVersion"
  ],
  "additionalProperties": false
}