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.
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. |
Dependency Topology
Section titled “Dependency Topology”Diagram source
graph { direction: right node vox_jsonschema_util: "vox-jsonschema-util" node vox_cli: "vox-cli" vox_cli -> vox_jsonschema_util node vox_cli_ci: "vox-cli-ci" vox_cli_ci -> vox_jsonschema_util node vox_cli_contracts: "vox-cli-contracts" vox_cli_contracts -> vox_jsonschema_util node vox_cli_core: "vox-cli-core" vox_cli_core -> vox_jsonschema_util node vox_cli_research: "vox-cli-research" vox_cli_research -> vox_jsonschema_util node vox_codegen: "vox-codegen" vox_codegen -> vox_jsonschema_util node vox_compiler: "vox-compiler" vox_compiler -> vox_jsonschema_util node vox_ml_cli: "vox-ml-cli" vox_ml_cli -> vox_jsonschema_util node vox_orchestrator_mcp: "vox-orchestrator-mcp" vox_orchestrator_mcp -> vox_jsonschema_util node vox_publisher: "vox-publisher" vox_publisher -> vox_jsonschema_util}Reverse Dependents (Used By)
Section titled “Reverse Dependents (Used By)”| Consumer Crate | Role |
|---|---|
vox-cli | Direct workspace dependent |
vox-cli-ci | Direct workspace dependent |
vox-cli-contracts | Direct workspace dependent |
vox-cli-core | Direct workspace dependent |
vox-cli-research | Direct workspace dependent |
vox-codegen | Direct workspace dependent |
vox-compiler | Direct workspace dependent |
vox-ml-cli | Direct workspace dependent |
vox-orchestrator-mcp | Direct workspace dependent |
vox-publisher | Direct workspace dependent |
Deep Public Symbols (Source-Anchored)
Section titled “Deep Public Symbols (Source-Anchored)”| Kind | Symbol | Signature | Source | Description |
|---|---|---|---|---|
fn | compile_validator | pub fn compile_validator( | crates/vox-jsonschema-util/src/lib.rs#L16 | Build a [jsonschema::Validator] from a parsed schema document. |
fn | compile_validator_from_utf8 | pub fn compile_validator_from_utf8( | crates/vox-jsonschema-util/src/lib.rs#L24 | Compile after reading UTF-8 JSON from path (caller-supplied reader for caps / policy). |
fn | validate | pub fn validate( | crates/vox-jsonschema-util/src/lib.rs#L34 | Run validation; errors include context and the underlying jsonschema diagnostic chain. |