vox-jsonschema-util API Reference (generated)
vox-jsonschema-util
Section titled “vox-jsonschema-util”Crate: vox-jsonschema-util · Version: 0.6.0 · Target: Library (lib.rs)
Shared JSON Schema compile + validate helpers for CLI, contracts, and tooling.
Crate Overview
Section titled “Crate Overview”Compile [serde_json::Value] JSON Schemas with [jsonschema] and validate instances with stable anyhow context.
File I/O stays with callers (e.g. vox_bounded_fs); this crate only centralizes compile/validate.
Public API Surface
Section titled “Public API Surface”Modules
Section titled “Modules”| Module | Description |
|---|---|
codegen | — |
Functions
Section titled “Functions”| Function | Description |
|---|---|
compile_validator | Build a [jsonschema::Validator] from a parsed schema document. |
compile_validator_from_utf8 | Compile after reading UTF-8 JSON from path (caller-supplied reader for caps / policy). |
validate | Run validation; errors include context and the underlying jsonschema diagnostic chain. |