pub fn validate_document( doc: &EtlDocument, registry: &AsyncApiRegistry, diagnostics: &mut Vec<Diagnostic>, )