For the complete documentation index, see llms.txt. This page is also available as Markdown.

Document

The Document tab defines the JSON schema for a building block's data structure. This schema specifies which data fields the building block uses, their types, and validation constraints. When a building block is linked to a case, its document schema is merged with the case's document schema.


Configuring the document schema

1

Navigate to Admin in the sidebar

2

Click Building blocks

3

Select a building block from the list

4

Click the Document tab

Document tab with schema editor

Schema editor

The schema editor displays the JSON schema in a tree view. Use the toolbar to navigate and modify the schema.

Action
Description

text / tree / table

Switch between view modes

Expand all / Collapse all

Expand or collapse all nested objects

Sort

Sort properties alphabetically

Search (Ctrl+F)

Find text within the schema

Undo / Redo

Revert or reapply changes

Edit values by clicking on them directly in the tree. After making changes, click Save to persist the schema.

Use Download to export the schema as a JSON file.


Managing required fields

The required fields panel provides a convenient way to mark properties as required without manually editing the required array in the schema.

1

Click Manage required fields in the toolbar

2

The panel displays all properties grouped by object level (root and nested objects)

3

Check or uncheck properties to mark them as required or optional

4

Click Save to apply the changes

Required fields panel

Last updated