The file
schema.json
The complete 1.0 schema — every event, message, and the run input.
$id, so a validator that follows
references resolves them against it without configuration. The address serves
the file directly: no redirect stands between a tool and the schema, and the
response carries a cross-origin header so a browser-based tool can read it.
It is JSON Schema draft 2020-12.
Every definition is reachable by anchor — #TextMessageStartEvent,
#RunAgentInput — so a tool can address one shape without slicing the file.
Using it
metadata and the
JSON Patch operations among them — because the protocol carries whatever a
consumer puts there. That strictness is for authoring and for tests. A runtime consumer
does the opposite — it accepts unrecognised material and strips it, as
Processing model requires. Do not
wire the strict schema into a receive path and call the result conformance.