{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/odei-ai/json-schema/odei-ai-agent-access-plans-response-schema.json",
  "title": "AgentAccessPlansResponse",
  "description": "Base USDC activation plan catalog with discover, quote, payment, and claim links",
  "x-generated": "2026-11-19",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/odei-ai-openapi.json#/components/schemas/AgentAccessPlansResponse",
  "type": "object",
  "required": [
    "ok",
    "artifact",
    "plans",
    "quoteUrl",
    "claimUrl",
    "receiptUrlTemplate",
    "flow",
    "payment",
    "network",
    "signing"
  ],
  "properties": {
    "ok": {
      "type": "boolean",
      "enum": [
        true
      ]
    },
    "artifact": {
      "type": "string",
      "enum": [
        "odei.agent-access.plans"
      ]
    },
    "schema": {
      "type": "string",
      "enum": [
        "odei.agent_access.plans.v1"
      ]
    },
    "service": {
      "type": "string"
    },
    "quoteUrl": {
      "type": "string",
      "format": "uri"
    },
    "claimUrl": {
      "type": "string",
      "format": "uri"
    },
    "receiptUrlTemplate": {
      "type": "string"
    },
    "network": {
      "type": "string",
      "enum": [
        "eip155:8453"
      ]
    },
    "payment": {
      "type": "object",
      "additionalProperties": true
    },
    "signing": {
      "type": "object",
      "additionalProperties": true
    },
    "flow": {
      "type": "object",
      "required": [
        "discover",
        "quote",
        "pay",
        "claim",
        "receipt",
        "activation"
      ],
      "properties": {
        "discover": {
          "type": "string"
        },
        "quote": {
          "type": "string"
        },
        "pay": {
          "type": "string"
        },
        "claim": {
          "type": "string"
        },
        "receipt": {
          "type": "string"
        },
        "activation": {
          "type": "string"
        }
      }
    },
    "plans": {
      "type": "array",
      "items": {
        "type": "object",
        "required": [
          "id",
          "name",
          "price",
          "payment",
          "claimable",
          "deliverable",
          "status"
        ],
        "properties": {
          "id": {
            "type": "string"
          },
          "name": {
            "type": "string"
          },
          "description": {
            "type": "string"
          },
          "price": {
            "type": "object",
            "additionalProperties": true
          },
          "payment": {
            "type": "object",
            "additionalProperties": true
          },
          "claimable": {
            "type": "boolean"
          },
          "deliverable": {
            "type": "string"
          },
          "status": {
            "type": "string"
          }
        }
      }
    }
  }
}