Skip to main content
Data Schema is used whenever you need to describe the data structure without providing the actual value. Data Schema we use is based on JSONSchema with additional features.

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 Data Table

You can point to a specific Data Table to use its records as possible values for a field. Example:

Is Sensitive

There is an additional property isSensitive (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:
In this, parent.id property will reference the task table if parent.type is tasks and the project table 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:
Notice the locator in the 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:
The schema for the first item of the parents list will be the following:
But for the second item, it will be: