Skip to main content

bundled_message_schema

Function bundled_message_schema 

Source
pub fn bundled_message_schema(kind: MessageType) -> Result<Value>
Expand description

JSON Schema for one admitted message_type, selected from $defs.

The camel-case def name stays inside this module. The returned document carries type, properties, and the referenced $defs. It does not assign $id: a schema resource base URI cannot contain a fragment, and this extraction is not a second registered resource.