Field types
Every object field type, what it stores, and the constraints that apply to it.
Scalar types
| Type | Stores | Notes |
|---|---|---|
text | string | minLength / maxLength, optional unique. |
multilineText | string | Same constraints, rendered as a textarea. |
richText | string | Rich text markup; see Rich text. |
email | string | Validated as an email. |
phone | string | Validated as a phone number. |
url | string | Validated as a URL. |
number | number | min, max, step, integer. |
boolean | boolean | — |
enum | string | enumOptions lists the allowed values. |
date | ISO date | Date only. |
dateTime | ISO timestamp | Uses dateTimeConfig. |
password | string | Hashed only on user kind; plain text elsewhere. |
Media and files
| Type | Stores | Notes |
|---|---|---|
image | file reference | allowedMimeTypes, maxFileSizeBytes. |
file | file reference | Same constraints as image. |
socialLink | { platform, url } | One link per platform. |
Schedule
schedule stores dated slots with a validUntil, weekday slots, blocked exact dates, blocked annual dates, and an optional maximum of entries per slot. Use it for bookings and availability.
Relations
| Type | Points at |
|---|---|
relation_object | An entry of relationObjectTypeId. |
relation_user | A website user entry. |
relation_role | A website user role. |
onDelete is soft_cascade, nullify, or restrict. A relation can be a single reference or a list.
Calculated
calculated fields derive a value from a formula: literal, path, number terms, date offset, comparison, logic, conditional, switch, lookup, or aggregate. resultType is number, date, dateTime, or boolean.
Behavior flags
localizable— one value per locale.sensitive— never returned without an explicit field grant.unique— one row per value.sessionOwned— the value belongs to the current session.