Settings API - Nested properties in constraints example schema table
Nested properties in constraints example (builtin:example.nested-properties-in-constraints
)
Showcase of a usage of referencing nested properties in some built-in constraints: uniqueness schema constraint, uniqueness collection property constraint and container constraints
Schema ID | Schema groups | Scope |
---|---|---|
builtin:example.nested-properties-in-constraints |
| environment |
Parameters
Property | Label | Type | Description | Required |
---|---|---|---|---|
schemaUniqueName | Schema unique name | text | Name, unique on the schema level in a combination with | required |
schemaUniqueNameComplex | Nested unique name | Type1 | - | required |
integerValue | Integer value | integer | Integer value used in a container constraint | required |
complexInteger | Nested integer value | Type2 | Nested integer value used in a container constraint | required |
collectionWithConstraint | List with constraint | list | List with unique properties | required |
Request body objects
The Type1
object
Property | Label | Type | Description | Required |
---|---|---|---|---|
innerUniqueName | Nested name | text | Another name, unique on the schema level in a combination with | required |
The Type2
object
Property | Label | Type | Description | Required |
---|---|---|---|---|
innerIntegerValue | Nested integer value | integer | Nested integer value used in a container constraint | required |
The Type3
object
Property | Label | Type | Description | Required |
---|---|---|---|---|
innerTextValue | Inner text value | text | - | required |
The Type4
object
Property | Label | Type | Description | Required |
---|---|---|---|---|
textValue | Text value | text | - | required |
complexValue | Complex value | Type3 | - | required |