Типы контента и поля

Схемы

Типы контента описываются схемами (имя, заголовок, поля). API: GET/POST/PUT/DELETE /schemas.

Типы полей

ТипОписание
string, text, number, booleanСтрока, текст, число, да/нет
date, datetimeДата и время
richTextRich text (TipTap)
image, fileМедиа
referenceСсылка на документ (referenceSchema)
array, objectМассив (of), объект (fields)
slug, url, email, colorСлаг, URL, email, цвет

Свойства полей

name, type, title, description, required, localized, hidden, readOnly, options, validation. У reference — referenceSchema; у array — of; у object — fields.