Skip to main content

Module schema

Module schema 

Source
Expand description

JSON Schema helpers.

Model-facing structures derive schemars::JsonSchema; the runtime records a SchemaFingerprint of the interpreter schema in every replay record so a turn can be reproduced against the exact schema that was in force.

Structs§

SchemaFingerprint
BLAKE3 digest of the canonical JSON rendering of a schema.

Functions§

schema_for
Generates the root JSON Schema for T with the library’s default settings.
validate_against
Validates instance against schema, reporting paths only.