alux-shape-jsonschema
alux-shape-jsonschema interprets an alux-shape shape as the JSON
Schema that describes it.
A shape states what data is; this crate expresses the same meaning as JSON Schema. Named shapes are
collected as definitions and referenced under the appropriate prefix: #/$defs/ for a standalone
schema, or #/components/schemas/ for an OpenAPI document.
use ;
use JsonSchemaShape;
let schema = new;
let reading = u32shape_of.into_value;
assert_eq!;