rskit-schema
JSON Schema generation and validation helpers for rskit.
rskit-schema wraps schemars and jsonschema behind a small foundational API for generating schemas from Rust types, compiling schemas once, validating JSON values, and bounding structured-output validation.
Features
- Generate JSON Schema documents from
JsonSchematypes. - Compile schemas into reusable validators.
- Validate arbitrary
serde_json::Valueinputs. - Configure validation limits for structured outputs.
- Re-export
schemars::JsonSchemafor downstream derive usage.