Data Standard Implementation
A Data Standard or "datastandard" enforces a number of behaviors both on the UI and in the backend, including validation and submission handling in the adapter.
Validation in a datastandard operates at two levels:
- Attribute restrictions validate a single attribute's value in isolation: length, patterns (regular expressions), lists of values, numeric ranges. These are defined on each attribute — see Attributes.
- Business rules validate across attributes: an attribute that is required only when another attribute is set (
conditionallyRequired), attributes whose values depend on each other (dependentAttribute), uniqueness constraints, and arbitrary Groovy-based rules. See Business Rule Implementation.
Cross-field and conditional requirementsIf your target system requires "at least one of these fields" or "field X is mandatory when field Y is filled", model it as a business rule, not an attribute restriction — see Rule Types for the available templates.
Updated about 1 month ago
Did this page help you?
