ProtocolSchemas

The specification's own schema documents, embedded in the library.

A catalog is not self-contained. Nearly every property it defines is a $ref into common_types.json — thirty-two of them to DynamicString alone — and the definition that combines a component's envelope with its catalog-defined half lives in agent_to_renderer.json. Resolving those over the network would let whoever sent the payload choose what the payload is validated against, so the documents ship with the library instead.

The text is generated from a2ui-core/spec/ at build time and is byte-for-byte the specification's own; see a2ui-core/spec/README.md for the revision each was taken from.

Properties

Link copied to clipboard

The URI agent_to_renderer.json publishes as its $id.

Link copied to clipboard
val agentToRenderer: JsonObject

agent_to_renderer.json.

Link copied to clipboard
val catalogDefinition: JsonObject

catalog_definition.json, which describes a catalog rather than a message.

Link copied to clipboard

The URI common_types.json publishes as its $id.

Link copied to clipboard
val commonTypes: JsonObject

common_types.json.

Link copied to clipboard

Where a component is checked from: agent_to_renderer.json#/$defs/Component.

Link copied to clipboard
val documents: List<JsonObject>

Every document, in the shape SchemaRegistry.of takes.

Link copied to clipboard

Where a FunctionCall is checked from: common_types.json#/$defs/FunctionCall.

Link copied to clipboard

The URI of the JSON Schema 2020-12 meta-schema. See metaSchemaStandIn.

Link copied to clipboard

The URI renderer_to_agent.json publishes as its $id.

Link copied to clipboard
val rendererToAgent: JsonObject

renderer_to_agent.json.

Functions

Link copied to clipboard

Where a whole message is checked from.