Metadata Model Validator Element
X-Ref:
- Ast Metadata Model Validator Node
- Ast Scope Boundary Node
Attributes
Attribute | API Type | Default | Description |
---|---|---|---|
ExpectedResult | String | Specifies a string representation of the result that is expected when the Expression property is evaluated. This is a required property | |
Expression | String | Specifies the expression that will be evaluated and compared to the ExpectedRule to determine if the validation rule is satisfied. This is a required property | |
Message | String | Specifies the message that is displayed to the user when the validation rule is violated. This is a required property | |
Name | String | Specifies the name of the object. This name can be used to reference this object from anywhere else in the program. This is a required property | |
Severity | MetadataModelValidationSeverity | Fatal | Specifies the severity that will be reported when this validation rule is violated. This is a required property |
IsDocumentationVisible | Boolean | True | Specifies whether or not the autogenerated documentation for the parent metadata model will include this validator. |
Language | MetadataModelValidatorLanguage | CSharp | Specifies the language that will be used to specify the validator criteria expression. |
UiEditorLabel | String | Specifies the friendly name that will be used for this validator in user-facing documentation and UI. |
Collection Children
Child | API Type | Description |
---|---|---|
<Annotations> <Annotation /> </Annotations> | AstAnnotationNode | This is a collection of annotation items that can be used to specify documentation, tags, or other information. Annotations are particularly useful for storing information about nodes that can be used by BimlScript code. |