Skip to content

Structured Content Field Types

Field types

Every field in a schema definition has a type property that determines what values are valid, how data is stored, and which indexing options are available.

TypeDescriptionMax length / constraintIndexable?
short-textSingle-line plain text string100 charactersYes
long-textMulti-line plain text50,000 charactersYes
date-timeISO 8601 date-time string (YYYY-MM-DDTHH:MM:SSZ)N/AYes
integerWhole numberN/AYes
decimalDecimal (floating-point) numberN/AYes
booleantrue or falseN/AYes
geo-pointGeographic coordinate object: { lat, lon }Lat: –90 to 90, Lon: –180 to 180Yes
enumOne value from a predefined list50 values max, each 1–100 charsYes
arrayJSON array of values. Free-form — no per-item type checking.Max 256 itemsNo
objectNested JSON object. Free-form — no type checking.Max 2 levels of nestingNo

Field definition properties

PropertyTypeRequiredDescription
keystringYesField identifier. Lowercase, hyphens/underscores allowed. 3–30 chars. Immutable after creation.
display_namestringYesLabel shown in the UI. 1–50 chars. Can be changed at any time.
typestringYesOne of the field types above. Immutable after creation.
is_requiredbooleanNoWhether the field is required on record creation. Defaults to false. Can be relaxed (true → false) but not tightened (false → true) after creation.
descriptionstringNoHelp text for editors. 0–500 chars. Can be changed at any time.
enum_valuesarrayConditionalRequired when type is enum. Array of string values. Max 50 values; each 1–100 chars; no duplicates.
search_settingsobjectNoEnables API-level indexing for this field.