API Reference > ecschema-metadata > Validation > validateSchemaReferences validateSchemaReferences Function Validates schema references against multiple EC rules. validateSchemaReferences(schema: Schema): AsyncIterable<SchemaDiagnostic<any[]>> Parameter Type Description schema Schema The schema to validate. Returns - AsyncIterable<SchemaDiagnostic<any[]>> Defined in core/ecschema-metadata/src/Validation/ECRules.ts Line 251 Last Updated: 12 June, 2024