Skip to main content
CMS schema fields Fields define the structure of a CMS database. Each field controls both the entry form and how values appear in the table list and details drawer.

Field Types

CMS supports these field groups:
  • Text and numbers: Text Input, Text Area, Rich Text, Number, Slider, and JSON.
  • Selection: Dropdown, Checkbox, Radio, Toggle, and Rating.
  • Date and time: Date, Time, and Date & Time.
  • Media and files: File, Image, Color, and Icon.
  • Relations: Many to One, One to Many, and Many to Many.
  • Geo and maps: Map Point.

Schema Settings

The Schema tab controls the field key, data type, labels, helper text, placeholder text, default value, localization, and basic storage behavior. The field key is the most important setting. It is used in saved entry values, filters, generated TypeScript types, API examples, and relation display templates. Use keys like title, slug, description, hero_image, published_at, and sort_order.

Field Settings

The Field tab changes based on the field type. Examples:
  • Text fields can set input type, prefix, suffix, min length, max length, and character count.
  • Select fields can define options, multiple selection, search, clear behavior, and custom values.
  • Number fields can define min, max, step, precision, prefix, and suffix.
  • File and image fields can define accepted types, max file size, max files, folder, crop, and aspect ratio.
  • Relation fields choose a related table, display field, display template, delete behavior, and create or edit behavior.
  • JSON fields can use raw JSON or tags mode.
  • Map point fields can set default zoom and center.

Interface Settings

The Interface tab controls how the entry form is arranged. Use it to add tabs, sections, groups, dividers, field width, icons, font style, trimming, clear buttons, masked input, and copy controls. This is useful when a database has many fields and editors need a cleaner form.

Display Settings

The Display tab controls table and detail presentation. You can choose display type, template, date format, number format, column width, sortable behavior, filterable behavior, and hidden behavior. Hide fields from display when they are needed for API logic but should not clutter the entry list.

Conditions

The Conditions tab lets a field appear only when another field matches a rule. Use conditions for optional sections. For example, show External URL only when Link Type equals External.