Module schema_family

Module schema_family 

Source
Expand description

The four schema families this workspace converts between and labels files with: IFC2X3, IFC4, IFC4X3 and IFC5 (C6-1, D44).

This is the ONE classifier of a FILE_SCHEMA label into a family. Before it existed the same prefix test was spelled in export’s canon, step_log’s schema_family, processing’s schema_of_identifier and two starts_with allowlists, each with its own order, trimming and fallback.

Lookups return Option: a label that names no family is None, and every caller states its own default (IFC4 for re-export, fail closed for reads by attribute name). That is the whole point; there is no default here.

SchemaVersion::from_file_schema stays the registry selector (exact family plus _ADD/_TC/_RC suffixes). A family is looser by design: any label that begins with the family name.

Enums§

SchemaFamily
An IFC schema family.