Skip to main content

validate_change

Function validate_change 

Source
pub fn validate_change(
    documents: &[RenderedDocument],
    schema: &WorkflowSchema,
    change_folder: &str,
) -> Vec<Diagnostic>
Expand description

Validates a change’s rendered documents against its schema.

Reports missing required artifacts first, in schema declaration order, then grammar violations per document in document order. An empty result means the change is valid.