Model your content

8 min read

A good content model is the contract between your editors and your code. Mojimoto gives you typed fields, reusable components, and references so the structure stays honest no matter who edits it.

Types come in three kinds

Choose the right field for the job

Every field is typed, so a date is a date and a number is a number. That means fewer defensive checks in your front end and fewer surprises in production. The core field types are short text, long text, rich text, number, boolean, date, select, media, reference, slug, location and JSON.

Add a Slug field to any collection so its entries are addressable by a stable, URL-friendly key rather than a numeric id.

Compose pages from components

Rather than one giant page type, give the page a Blocks field with a palette of block types - Hero, Feature grid, Quote - and let editors add, reorder and remove sections inside the entry. The page stays flexible without ever going off-model, and your front end renders each block by its type. Save References for content that genuinely belongs to more than one page, like a shared call to action.

The Blocks guide walks through the block syntax, the editor and rendering blocks in React.

Link entries with references

A Reference field connects one entry to another - an article to its author, a product to its category. When you read content, references resolve to the linked entry inline (one level deep by default), so you get the related data in the same response without a second request.

resolve nested references
# depth=2 inlines references two levels deep (max 3)
curl "https://your-domain.com/api/v1/your-project/documents?depth=2" \
  -H "Authorization: Bearer mjmt_your_public_read_token"
Next

Build it for real

Spin up a project and try this yourself - your first project is free.

© 2026 Your Ikigai Ltd · Registered in England & Wales, no. 15274889 文 · モジモト