VeroXM Docs

Field Types

Every field on a collection has one of these thirteen types. The type decides which editor the dashboard shows, which validations are available, and how the value is shaped in the Content API (the “API type” column below).

TypeDescriptionAPI type
Text
text
Single line text (headings, titles)string
Long Text
richtext
Rich formatted text with a WYSIWYG editorstring
Email
email
Validated email addressstring
Number
number
Integer, decimal, or float valuesnumber
Enumeration
enumeration
Single choice from a defined list of valuesstring
Multi Enumeration
multi_enumeration
Multiple choices from a defined list of valuesstring
Boolean
boolean
Yes or no, true or falseboolean
Date
date
Date, with a pickerstring
Time
time
Time of day, with a pickerstring
Media Asset
media
Images, videos, or filesmedia
Relation
relation
Reference to another collection's entryrelation
JSON
json
Structured JSON dataobject
Password
password
Hashed, write-only password valuestring

Relation and Media fields

Relation fields point at entries in another collection (or the same one) and are the basis for where-through-relation filtering in the Content API. Media Asset fields reference files uploaded to the project's Media Library rather than storing files inline.

Password fields

Password fields are hashed on write and never returned by the Content API or shown again in the dashboard - they're write-only, intended for building your own authentication on top of VeroXM content rather than for display.