Crate json_schema_ast

Crate json_schema_ast 

Source
Expand description

A thin convenience wrapper that exposes strict Draft 2020‑12 validation and a Schema AST builder.

Re-exports§

pub use ast::build_and_resolve_schema;
pub use ast::build_schema_ast;
pub use ast::resolve_refs;
pub use ast::SchemaNode;
pub use ast::SchemaNodeKind;

Modules§

ast

Structs§

JSONSchema
The structure that holds a JSON Schema compiled into a validation tree

Functions§

compile
Compile the provided raw JSON Schema into the proven validator, enforcing Draft 2020‑12 semantics. Higher‑level crates use this to avoid relying on the partial validator that was in place during prototyping.