Settings 2.0 - Custom property validator on a set schema
Custom Property-Validator on a set (builtin:example.custom-validation.property-validator-for-set
)
Showcase of Custom Property-Validators working on a set property and executed in the cluster.
It will check that no duplicate email addresses (case insensitive) wil be added to the set.
For the Java implementation check out ExamplePropertyValidatorForSetSchema.java
Schema ID | Schema groups | Scope |
---|---|---|
builtin:example.custom-validation.property-validator-for-set |
| environment environment-default |
Parameters
Property | Label | Type | Description | Required |
---|---|---|---|---|
emailSet | Emails | set | A set of email addresses. This list may not contain duplicate entries (case insensitive). | required |