Skip to content

Schema Field Type Reference

See below for a list of all of the field types available in Apostrophe along with a brief description of their input. Click through to each for a complete description of its function, properties, and reference code to help you use them in your project.

FieldInput Description
areaOne or more content widgets (glossary entry)
arrayAn array of structured content using its own field schema
attachmentFile upload
booleantrue or false
checkboxesMulti-select checkbox options
colorColor selection
dateDate entry, stored in YYYY-MM-DD format
emailEmail address
floatA floating point number
integerA whole number, whether positive or negative
objectA sub-object of structured content using its own field schema
oembedMedia URL to be embedded via the oEmbed format
passwordText entry that obscures input
radioSingle value selection with a radio input interface
rangeA floating point number with a sliding interface
relationshipOne or more related content docs (pieces or pages)
relationshipReverseReveals the "other side" of a relationship
selectSingle value selection with a dropdown interface
slugText string value that is converted on save to lowercase and hyphenated
stringSimple text string
timeTime entry, stored in HH:MM:SS format
urlText input requiring URL structure
dateAndTimeA toggle button and two inputs for date and time, stored in ISO 8601 format YYYY-MM-DDTHH:MM:SSZ