Additional Properties
Reference Records (Enums or Picklists):
To specify reference records that can be used for a field (for example, to create a field with limited options for selection) use schema like this:Reference Collection
When working in a context of a Connection, you can point to a specific Data Collection to use its records as possible values for a field. Example:Is Sensitive
There is an additional propertyisSensitive (boolean) that can be used to specify that the field contains sensitive information and should be treated accordingly (hidden in the UI, excluded from logs, etc).
Example:
Dynamic Data Schema
You can use Formulas in data schemas to make them dynamic. For example:parent.id property will reference the tasks collection if parent.type is tasks and the projects collection if parent.type is projects.
Schema will be evaluated in the context of the current value the schema is applied to.
It works in a special way for array schemas: when evaluating dynamic schemas, all arrays leading to the current value will be replaced with the current item that is being evaluated.
For example:
id field: parents.type. It treats parents as if it was an object rather than array. When evaluated, it will use the current item of the parents array.
For example, if the schema is applied to the following object:
parents list will be the following: