1. Documentation
  2. collections
  3. Schema & fields

Schema & fields

Collection field types, how to configure the schema, and which input appears for each type.

What is a schema?

The schema defines a collection’s structure — which fields each entry has and what kind of data each field accepts. When you add or edit an entry, the form is built automatically from this schema.

You configure the schema when you create the collection (Collections → Create collection → Schema fields), or later by editing the collection.

How to manage fields

  1. Open Collections → Create collection (or edit an existing one).
  2. In the Schema fields step:
    • Click Add field.
    • Set the name (shown above the input) and the slug (internal key, e.g. price).
    • Choose the field type.
    • Mark Required and/or Unique if needed.
  3. Drag fields with drag-and-drop to change the order — that order is used in the entry form and on the public page section.
  4. For Select / Multi-select fields, add the options (one per line).

Field options

OptionMeaning
RequiredThe entry cannot be saved without this field
UniqueTwo entries cannot share the same value (e.g. a product code)
Show field name on the pageThe field name appears above the value on the website (when the section has “Show labels” enabled)

Field types

Text

TypeWhen to use itExample
TextShort single-line valuesProduct name, title, city
Long textDescriptions without advanced formattingShort bio, notes
Rich TextArticles and descriptions with lists and emphasisBlog post, detailed description

Numbers and dates

TypeWhen to use itExample
NumberPrices, quantities, year, rating24.90, 2024
DateDates without a timeEvent date, expiry
Date & timeAppointments, reservations2026-08-15 19:30
TypeWhen to use it
EmailContact email address
PhonePhone or WhatsApp number
URLWebsite, social profile, PDF

Choice

TypeWhen to use it
SelectOne option from a list (menu category, size)
Multi-selectSeveral options (allergens, tags, skills)
Yes / NoAvailable, on offer, recommended

Media and advanced data

TypeWhen to use it
Asset / photoImage from the Assets library
ColorBrand or category color
JSONImage galleries, complex metadata (for advanced users)

Example schemas by business

Blog

FieldType
TitleText
SummaryLong text
BodyRich Text
Featured photoAsset
Publish dateDate

Restaurant menu

FieldType
Dish nameText
DescriptionLong text
PriceNumber
CategorySelect (Starters, Mains, Desserts)
PhotoAsset
VegetarianYes / No

Team

FieldType
NameText
RoleText
BioLong text
PhotoAsset
EmailEmail
LinkedInURL

Editing the schema after creation

  1. Open the collection from the list.
  2. Click Edit collection (pencil icon).
  3. Add, remove, or reorder fields.

Initial entries (sample)

When you create the collection, you can enable Add initial entries now for 2–3 sample rows (demo products, team members, etc.). This is optional — you can create an empty collection and add entries later.

Binding to page sections

When you bind the collection to the Collection section in the builder:

  • Field order in the schema affects the order of labels (if “Show labels” is enabled).
  • Asset and Rich Text types render as images and formatted content on public cards.
  • Number fields can be used for prices or sorting.

See Collection entries for managing content.