Validation

Set of classes used to perform validation on ECSchemas.

Classes

Name Description  
SchemaValidater Applies EC Rules, see SchemaValidater.ECRuleSet, to a given Schema and reports any violations. Beta
SchemaValidationVisitor A SchemaWalkerVisitor interface implementation that is used to validate ECObjects schemas using Beta

Constants

Name Description  
DiagnosticCodes The unique diagnostic codes for ECObjects rules. Beta
Diagnostics The list of IDiagnostic implementation classes used by the EC rule implementations. Beta
ECRuleSet All schema validation rules that fall under the category of ECObjects. Beta

Global Functions

Name Description  
validateCustomAttributeInstance Validates a custom attribute instance and yields EC-500, EC-501, and EC-502 rule violations.  
validateNavigationProperty Validates Navigation Properties.  
validateSchemaReferences Validates schema references against multiple EC rules.  
validateSchemaReferencesSync  

Interfaces

Name Description  
BaseRuleSuppressionMap Interface used to represent elements of a rule suppression Beta
IRuleSet Interface used to represent logical collection of IRule instances. Beta
IRuleSuppressionMap Interface used to represent elements of a rule suppression Beta
IRuleSuppressionSet Interface used to represent logical collection of ISuppressionRule instances. Beta

Type Aliases

Name Description  
AnyRuleSuppressionMap  
BaseRule Beta
BaseSuppressionRule Beta
IRule Interface used for all rule implementations used during schema validation. Beta
ISuppressionRule Interface used for all rule suppressions used during schema validation. Beta

Last Updated: 22 March, 2021