validateSchema MethodStatic
Validates a schema against the ECRuleSet.
validateSchema(schema: Schema, validaterRuleSet?: IRuleSet): Promise<AnyDiagnostic[]>
| Parameter | Type | Description | 
|---|---|---|
| schema | Schema | The schema to validate. | 
| validaterRuleSet | IRuleSet | Optional IRuleSet to be applied to the schema in addition to the default EC rules. | 
Returns - Promise<AnyDiagnostic[]>
Defined in
Last Updated: 24 June, 2025
Found something wrong, missing, or unclear on this page? Raise an issue in our repo.