pub fn validate_workload(ast: &Value, mode: Mode) -> Vec<Violation>
Validate an entire (possibly partial) workload AST against the construction grammar.