Expand description
Backward-compatibility checks for evolving JSON Schema documents.
Build input documents with SchemaDocument::from_json, then call
check_compat with a Role. This crate intentionally exposes only the
document-level compatibility API; lower-level resolved IR types live in
json_schema_ast.
Structs§
- Schema
Document - Fully resolved JSON Schema document.
Enums§
- Compatibility
Error - Compatibility-check failures that are distinct from a proven incompatibility.
- Role
- The role under which a compatibility check is performed.
Functions§
- check_
compat - Return whether
newis backward-compatible witholdunderrole.
Type Aliases§
- Schema
Build Error - Public schema-build error name used by
SchemaDocument::from_json.