Skip to content
Unverified: This page has not yet been anchored to automated code tests.

vox-jsonschema-util API Reference (generated)

Crate: vox-jsonschema-util · Version: 0.6.0 · Target: Library (lib.rs)

Shared JSON Schema compile + validate helpers for CLI, contracts, and tooling.

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.

ModuleDescription
codegen—
FunctionDescription
compile_validatorBuild a [jsonschema::Validator] from a parsed schema document.
compile_validator_from_utf8Compile after reading UTF-8 JSON from path (caller-supplied reader for caps / policy).
validateRun validation; errors include context and the underlying jsonschema diagnostic chain.