Content modelling
Field types, validations, activation and migrations.
A content type is a list of typed fields. Edits change the draft model; entries keep validating against the last activated model until you activate.
Field types
- Symbol (short text, up to 256 characters), Text, RichText, Slug
- Integer, Number, Boolean, Date (ISO 8601)
- Media and Reference (links), Array of Symbol, Reference or Media
- JSON (up to 64 KB)
Validations
required, unique, size, range, regex (a safe subset), allowed values, linked content types, mime groups, file size, image dimensions and date range.
Migrations
Changing a field type shows a dry-run report. Values that cannot convert move to a shadow for 30 days instead of being deleted; you confirm before activating. Activation is locked per content type, so two people cannot activate at once.