Settings 2.0 - Unique properties constraints example schema
Unique Properties Constraints Example (builtin:example.unique-properties-constraints
)
Showcase of constraints checking for the uniqueness of properties. The constraint can be either set on the top level for multi value schemas or for items in a collection property.
Schema ID | Schema groups | Scope |
---|---|---|
builtin:example.unique-properties-constraints |
| environment |
Parameters
Property | Label | Type | Description | Required |
---|---|---|---|---|
fieldA | Field A | text | The combination of Field A and B has to be unique within the settings | required |
fieldB | Field B | text | The combination of Field A and B has to be unique within the settings | optional |
fieldC | Field C | text | Can be any value | optional |
listOfUniqueItems | A list of unique items | list | - | required |
Request body objects
The UniqueLstItem
object
Property | Label | Type | Description | Required |
---|---|---|---|---|
fieldX | Field X | text | The combination of Field X and Y has to be unique within the list | required |
fieldY | Field Y | text | The combination of Field X and Y has to be unique within the list | optional |
fieldZ | Field Z | text | Can be any value | optional |