Objectvalidation
Class: metadata
Validation rules enhance data quality by comparing user-entered data with Admin-defined rules for an object record.
Learn about Record Validation Rules in Vault Help.
| Attribute | Metadata | Description |
|---|---|---|
label | Type: String Required Max length: 40 | UI-friendly string in the Vault’s base language. |
active | Type: Boolean Required | Indicates whether the validation is active. |
expression | Type: String Required Max length: 3900 | A valid expression. |
description | Type: String Max length: 255 | Describes the details of the validation rule. |
error_message | Type: String Required Max length: 255 | Describes the error that displays if the rule fails. |
error_location | Type: String Required Max length: 255 Multi-value | Select fields for the error location. |
Supported Operations
Section link for Supported Operations| Operation | Support |
|---|---|
| Create | |
| Recreate | |
| Alter | |
| Drop | |
| Rename | |
| Describe | |
| Generate Recreate | |
| Queryable |
Notes:
- Alter: MDL Operation may not be supported for some multi-value attributes.