Skip to main content

Crate mif_schema

Crate mif_schema 

Source
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.

Enums§

MifSchemaError
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.