SchemaValidater Class

Deprecated  Moved to the ecschema-editing package.

Beta  

Applies EC Rules, see ECRuleSet, to a given Schema and reports any violations.

Methods

Name Description
constructor(): SchemaValidater    
validateSchema(schema: Schema, validaterRuleSet?: IRuleSet): Promise<AnyDiagnostic[]> Static Validates a schema against the ECRuleSet.  

Defined in

Last Updated: 29 November, 2022