Skip to main content

Module schema

Module schema 

Source
Expand description

Runtime schema validation (spec §19): validate incoming CL payloads against a compiled IDL schema BEFORE processing.

Build time: aclc gen schema vocab.acl emits <ns>.schema.json. Runtime: RuntimeSchema::from_json loads it; validate() checks a Body::Cl payload against the declared vocabulary. This closes the loop started in §18 — types are enforced at build time AND on the wire.

Structs§

RuntimeSchema
SchemaOp