Localess
Schemas

Option (One)

Stores a single selected value from a predefined list. The list can be defined inline or sourced from an Enum schema.

Stores a single selected value from a predefined list. Rendered as a dropdown in the content editor. For multiple selections use Options.

Value shape

"primary"

The value stored is the Value of the selected option, not its display name.

Options

OptionDescription
SourceWhere the available options come from. Self means the options are defined inline on this field; selecting an Enum schema uses its values instead.
OptionsWhen Source is Self — the list of available options. Each option has a Name (shown in the editor) and a Value (stored in the API response).
NameUnique field name in the Schema. Appears in the generated model and in the API response.
Display NameLabel shown to editors in the Content Editor.
RequiredWhen set, editors cannot save the document without a value.
TranslatableWhen set, the field stores a separate value per locale.
DescriptionHelp text shown to editors under the field.
Default ValueValue applied when a document is first created.

On this page