Skip to main content

Module schema

Module schema 

Source
Expand description

Schema discovery: GET /api/v1/schema and GET /api/v1/schema/{event_type}.

Per D7 the client does not validate notifications against schemas; this module is a pure discovery pass-through for tooling such as the aviso schema list/get CLI subcommands.

Schemas are deserialized into permissive maps backed by serde_json::Value, so the client survives the server adding new identifier-rule fields or payload-config fields without a schema migration on this side.

Structs§

SchemaCatalog
Response body from GET /api/v1/schema.
SchemaResponse
Response body from GET /api/v1/schema/{event_type}.
StreamSchema
A single stream’s schema as the server reports it.