Localess
Schemas

Overview

Schemas define the structure of your content — the fields editors fill in and the shape of the data returned by the API.

Schemas are the content models of your Localess space. They define what fields a content document contains, what types those fields are, and how editors interact with them. Every content document is bound to a ROOT schema; nested components use NODE schemas; fixed value lists use ENUM schemas.

Main Screen

Navigate to Schemas from the side menu. The list shows all schemas in your space.

Schemas list

ColumnDescription
TypeSchema type — Root, Node, or Enum
NameDisplay name with the internal identifier shown beneath (e.g. #docHeaderSection)
DescriptionOptional description set on the schema
LabelsLabels assigned to the schema for filtering
Updated AtTimestamp of the last change
ActionsThree-dot menu for edit and delete

Filtering

ControlDescription
SearchFilter schemas by name or identifier
LabelsFilter by one or more labels

Schema Types

TypeDescription
RootTop-level schema. Assigned directly to content documents. Only ROOT schemas appear in the Schema picker when creating a document.
NodeNested schema. Embedded within other schemas via Schema or Schemas fields. Use it for reusable components like buttons, cards, or sections.
EnumA fixed list of named values. Used as the source for Option and Options fields.

Add Schema

Click + Add Schema and fill in:

FieldRequiredDescription
NameInternal identifier used in the API response and generated types (e.g. heroSection). Cannot contain spaces.
Display NameLabel shown to editors in the UI. Falls back to Name if not set.
TypeRoot, Node, or Enum — see Schema Types above
DescriptionOptional note describing the schema's purpose
LabelsOne or more labels for grouping and filtering

ROOT and NODE Editor

Click the edit action on a Root or Node schema to open the editor.

Schema editor

The editor has two tabs:

Fields tab

The Fields tab is where you define the structure of the schema. Each field has a name, a type, and type-specific options.

To add a field, type its internal name in the input at the top and click Add. The field appears in the list where you can configure it. Fields can be reordered by dragging the handle on the right.

Each field entry shows:

  • The field type icon
  • The Display Name and internal #name
  • Type badge and any relevant constraint badges (e.g. Required, Schema: button)
  • A delete button

Each field type page documents all available options, including the base options shared by every field.

Settings tab

The Settings tab contains schema-level configuration:

SettingDescription
Display NameLabel shown in the UI
DescriptionOptional description for the schema
Preview FieldThe field name used as the label when this schema appears as a nested item in the content editor (e.g. set to title so nested blocks show their title in the list)
LabelsLabels for filtering

Press Save or ⌘S / Ctrl+S to save changes.

ENUM Editor

Click the edit action on an Enum schema to open the editor.

Enum editor

The editor has two tabs:

Values tab

The Values tab is where you manage the list of available options. To add a value, type its name in the input at the top and click Add. Values can be reordered by dragging the handle on the right and deleted with the trash icon.

Each value entry shows the Name (display label shown to editors, e.g. Default) and the internal identifier (e.g. #default). The identifier without the # prefix is the string stored in the API response.

Settings tab

SettingDescription
Display NameLabel shown in the UI
DescriptionOptional description for the enum
LabelsLabels for filtering

Press Save or ⌘S / Ctrl+S to save changes.

Enum values are referenced by Option and Options fields via the Source setting.

Field Types

FieldKindDescription
TextTEXTSingle-line string — titles, headlines
Text AreaTEXTAREAMulti-line plain text — descriptions, summaries
Rich TextRICH_TEXTFormatted text with bold, italic, links, lists, headings
MarkdownMARKDOWNMulti-line Markdown string
NumberNUMBERInteger or decimal — amounts, quantities
BooleanBOOLEANTrue / false toggle
ColorCOLORHex color picker — #rrggbb
DateDATECalendar date picker — YYYY-MM-DD
Date TimeDATETIMEDate and time picker — YYYY-MM-DDThh:mm
LinkLINKExternal URL or internal content reference
OptionOPTIONSingle value selected from an Enum or inline list
OptionsOPTIONSMultiple values selected from an Enum or inline list
ReferenceREFERENCEReference to a single content document
ReferencesREFERENCESReferences to multiple content documents
AssetASSETA single uploaded file (image, video, document)
AssetsASSETSMultiple uploaded files
SchemaSCHEMAA single embedded Node schema block
SchemasSCHEMASMultiple embedded Node schema blocks

On this page