Skip to content

Commit f5bbbe4

Browse files
committed
Clarify object validation operators in documentation for self-service experiences
1 parent f700564 commit f5bbbe4

File tree

1 file changed

+2
-2
lines changed
  • docs/actions-and-automations/create-self-service-experiences/setup-ui-for-action/user-inputs

1 file changed

+2
-2
lines changed

docs/actions-and-automations/create-self-service-experiences/setup-ui-for-action/user-inputs/object.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -153,8 +153,8 @@ resource "port_action" "myAction" {
153153

154154
Object validations support the following operators:
155155

156-
- `properties` - which keys must appear and what their type should be;
157-
- `additionalProperties` - are keys not defined in `properties` allowed and what their type should be;
156+
- `properties` - defines the type for keys if they appear (use `required` array to make keys mandatory);
157+
- `additionalProperties` - whether keys not defined in `properties` are allowed (boolean) or what type they should be (type definition);
158158
- `patternProperties` - which regex pattern should properties follow
159159

160160
:::tip

0 commit comments

Comments
 (0)