Skip to main content

Module validation

Module validation 

Source
Expand description

Schema validation as plain records (feature validate).

Runs the facade’s validator against the schema the file declares and flattens its report into records every host can carry: strings, ids and counts, in the report’s stable sorted order. Without the feature the records still exist, so every host keeps one surface, and IfcModel::validate refuses with feature-disabled.

Structs§

ValidationFinding
One finding: what is wrong, and where.
ValidationReport
Everything one validation run found.
ValidationSummary
Counts by severity.

Functions§

findings_to_tagged
The report as one tagged list of findings, each a list of seven values: severity (text), rule (text), entity (ref, or null for the file), attribute index (integer or null), attribute name (text or null), path (text), message (text). The C binding’s tape form.