Settings API - Custom Property-Validator on a list schema table
Custom Property-Validator on a list (builtin:example.custom-validation.property-validator-for-list
)
Showcase of a Custom Property-Validator working on a list property and executed in the cluster.
It will check that no duplicate range entries will be added to the list.
For the Java implementation check out ExamplePropertyValidatorForListSchema.java
Schema ID | Schema groups | Scope |
---|---|---|
builtin:example.custom-validation.property-validator-for-list |
| environment environment-default |
Parameters
Property | Label | Type | Description | Required |
---|---|---|---|---|
numberRangeList | Range List | list | A list of number ranges. This list may not contain duplicate entries. | required |
Request body objects
The NumberRange
object
Property | Label | Type | Description | Required |
---|---|---|---|---|
start | Start | integer | Start of the range. | required |
end | End | integer | End of the range. | required |