Skip to main content

cimschema/
lib.rs

1//! Parser for ENTSO-E RDFS application profile schemas.
2//!
3//! Reads the RDFS vocabularies of a profile family (CGMES, NCP) into a
4//! [`model::CimSpecification`]. `cimgen` uses this at build time to generate
5//! Rust sources; `cimmodel` uses it at runtime to load a class table from
6//! RDFS instead of the generated one.
7//!
8//! [`import::import_schema_files`] parses; [`processing::postprocess`] then
9//! fills in everything derived — attribute classification, profile origins and
10//! namespaces — and is **not** optional for either consumer.
11//!
12//! [`shacl`] does the same for the SHACL constraint files: `cimgen` generates
13//! validators from them, `cimvalidation` can load a shape table from them at
14//! runtime.
15
16pub mod family;
17pub mod import;
18pub mod model;
19pub mod processing;
20pub mod shacl;
21pub mod table;