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
SourceThe Enum schema that supplies the options. Create the Enum first — each of its values becomes one choice in the editor.
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 ValueStored with the field definition. It is not currently pre-filled into new documents.

On this page