{
  "$id": "https://www.gaipagents.com/schemas/counterparty-evidence-request-v1.schema.json",
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "additionalProperties": true,
  "properties": {
    "comparable_task_receipts": {
      "minimum": 0,
      "type": "integer"
    },
    "counterparty_identity_state": {
      "enum": [
        "IDENTITY_MATCHED",
        "METADATA_MATCHED_ONLY",
        "IDENTITY_CONFLICT",
        "DEPLOYMENT_CHANGED",
        "OPERATOR_UNVERIFIED",
        "AMBIGUOUS",
        "NOT_RESOLVED"
      ]
    },
    "counterparty_ref": {
      "minProperties": 1,
      "properties": {
        "canonical_agent_card_url": {
          "format": "uri",
          "type": "string"
        },
        "counterparty_id": {
          "type": "string"
        },
        "entra_id": {
          "type": "string"
        },
        "erc_8004_id": {
          "type": "string"
        },
        "mcp_url": {
          "format": "uri",
          "type": "string"
        },
        "openapi_url": {
          "format": "uri",
          "type": "string"
        },
        "operator_id": {
          "type": "string"
        }
      },
      "type": "object"
    },
    "data_classification": {
      "enum": [
        "PUBLIC",
        "NON_PERSONAL_PUBLIC"
      ]
    },
    "independent_outcomes": {
      "minimum": 0,
      "type": "integer"
    },
    "observations": {
      "items": {
        "type": "object"
      },
      "maxItems": 50,
      "type": "array"
    },
    "task_class": {
      "minLength": 1,
      "type": "string"
    }
  },
  "required": [
    "data_classification",
    "counterparty_ref",
    "task_class"
  ],
  "title": "GAIP Counterparty Evidence Request v1",
  "type": "object"
}