mif-core 0.6.1

Shared foundational types for the MIF (Modeled Information Format) ecosystem
Documentation
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
//! Shared foundational types for the MIF (Modeled Information Format) ecosystem.
//!
//! `mif-core` provides the types shared across the ecosystem's other crates:
//! [`OntologyReference`], [`EntityReference`], [`EntityData`], and
//! [`ConceptType`]. Field definitions are taken directly from the canonical
//! MIF JSON Schema (`mif.schema.json`, `entity-reference.schema.json`,
//! draft 2020-12; see <https://mif-spec.dev/schema/>).
//!
//! Validation of MIF documents against the schema itself lives in the
//! `mif-schema` crate; `mif-core` only defines the shared data shapes.

mod concept;
mod entity;
mod ontology;

pub use concept::ConceptType;
pub use entity::{EntityData, EntityId, EntityReference, EntityType, KnownEntityType};
pub use ontology::OntologyReference;