hexdocs-prod / content-models

>

Content models

Schema definitions for every content type served by the delivery API.

schema synced 42s ago — branch main

MODELS

7

5 collection · 2 single

ENTRIES

10

across 2 locales

PUBLISHED

6

live on delivery API

DRAFT QUEUE

4

awaiting review

All models

7
NAMEAPI IDKINDFIELDSENTRIESSTATUSUPDATED
Blog Post
blogPostcollection12148SYNCED2h ago
showing 7 of 7 modelsschema hash 9f3a2c · no pending migrations

Model fields — blogPost

drag rows to reorder · order affects GraphQL output
titleTEXTrequired · max 120 charslocalized
slugSLUGrequired · unique · pattern ^[a-z0-9-]+$from title
bodyRICHTEXTrequired · markdown + embedsDRAGGING — drop above seo
heroImageMEDIAoptional · image/* · focal pointcdn transforms on
authorREFERENCErequired · → author · many-to-onecascade: null
tagsENUM[]optional · 14 allowed valuesfilterable
publishedAtDATETIMEoptional · ISO 8601 · schedules publishindexed
seoCOMPONENToptional · → seoMeta · nested 4 fieldsnot queryable
add field— 22 field types available

Recent schema activity

audit log · retained 90 days
  • Shipping the new docs pipelineblogPostPUBLISHED18 min agomara.kessler
Dual7 template preview — this is a fictional demonstration business.
TemplatePhosphor Caret
Theme
Remix this siteExit