validate

Function validate 

Source
pub fn validate(
    filename_stem: &str,
    rec: &DefinitionRecord,
) -> Result<(), DefValidationError>
Expand description

Per-row validation. Mirrors schema::validate: reject anything that would surface a malformed definition to the roster. Failures are skipped (not auto-fixed), logged, and the file stays on disk for ops triage.