Data Schema
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.

Reference Records (Enums or Picklists):

To specify reference records that can be used for a field (for example, to create field with limited option for selection) use schema like this:
type: number // Type of `id` keys below
- name: Open // Title of that option displayed in the UI
id: 1 // Actual value that will be used after selecting an option
- name: Won
id: 2
- name: Lost
id: 3
Copy link