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: 20 June, 2023