{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://a2ui.org/specification/v1_0/agent_capabilities.json",
  "title": "A2UI Agent Capabilities Schema",
  "description": "A schema for the agent capabilities object, which is used by an A2UI Agent to advertise its supported UI features to renderers. This can be embedded in an Agent Card for A2A or used in other transport protocols like MCP.",
  "type": "object",
  "properties": {
    "v1.0": {
      "type": "object",
      "description": "The agent capabilities structure for version 1.0 of the A2UI protocol.",
      "properties": {
        "supportedCatalogIds": {
          "type": "array",
          "description": "An array of strings, where each is an ID identifying a Catalog for which the agent can generate content. This is not a resolvable URI. Multiple catalogs can be mixed in a single surface.",
          "items": {"type": "string"}
        },
        "acceptsInlineCatalogs": {
          "type": "boolean",
          "description": "A boolean indicating if the agent can accept an 'inlineCatalogs' array in the renderer's a2uiRendererCapabilities. If omitted, this defaults to false.",
          "default": false
        }
      }
    }
  },
  "required": ["v1.0"]
}
