Expand description
JSON Schema validation for the MIF (Modeled Information Format) ecosystem.
Validates MIF documents and citation objects against the canonical MIF
JSON Schema (draft 2020-12; see https://mif-spec.dev/schema/). Schemas
are vendored at compile time (src/schemas/, synced from the canonical
MIF repo) and resolved entirely offline — no network access happens at
validation time.
Structs§
- Schema
Compilation Source - The original
serde_json/jsonschemaerror message behind aMifSchemaError::SchemaCompilationfailure.
Enums§
- MifSchema
Error - Error validating a MIF document or citation against the canonical schema.
Functions§
- validate_
citation - Validates a standalone MIF citation object against
citation.schema.json. - validate_
document - Validates a MIF document (a JSON-LD-projected memory) against the
canonical
mif.schema.json. - validate_
ontology_ definition - Validates an ontology definition object against
ontology.schema.json.