Skip to main content

check_section_formats

Function check_section_formats 

Source
pub fn check_section_formats(schema: &Schema) -> Result<(), SchemaLoadError>
Expand description

Refuse a schema whose section-format declarations are defective — the install / strict-validation half of the loader-honesty rule. Same posture as check_reserved_metadata_keys: install and strict validation call this and refuse (naming EVERY problem of the first defective section); boot and sealed-schema loads must NOT — the recorded format_problems surface as health findings instead, and the defective declaration is never enforced.