Add editable content
1
Create a schema
Add
src/schemas/BlogPost.json. The PascalCase filename must match the schema UID. Ask your coding agent to load the fimo-code schema reference before writing the file.2
Register the schema
3
Add content
For a Collection entry:For a Single:
4
Render it
Ask your coding agent to load the matching
fimo-code content and framework references. The generated client reads the content, and Fimo’s rendering components keep it editable in Studio.Manage schemas
Store one image or a gallery
Media fields default to one object. Arrays needmultiple: true in fields, even with one image:
Link entries with references
Usetarget when a reference always points to one content type. Use targets when each value may point to one of several content types:
Store true or false flags
true/false, so Studio knows which
field an editor clicked. Render it with the generated <Boolean> component, and
read .value everywhere else:
Store dates and exact moments
Usedate for a calendar day and datetime for an exact moment. A datetime
value must include an ISO 8601 UTC offset, such as Z or +02:00.
<DateTime> component. See frameworks
for the component surfaces.
Check that your site reads a content type
fimo validate reports a content type that nothing in the site appears to read:
--json, the same warnings are in warnings[] as text and in data.warnings[] with a stable code, the schema file, and the evidence the check used.
Manage entries and Singles
fimo singles get reads an existing Single: it returns not found when the Single has no content yet, and fimo singles update creates it.
Creating a Single through fimo entries create or fimo entries bulk-create returns SINGLE_CONTENT_TYPE in the CLI’s --json error envelope. Use fimo singles update <typeName> to create or update its content. REST callers receive HTTP 400 with code: "single_content_type"; the response message retains the update path, PUT /documents/<typeName>.
Use --locale <locale> for a non-default language. A translated variant of an existing Collection entry also needs its documentId when you create it. See Locales.
Entry lists use the shared pagination flags. The response includes nextCursor when another page exists. The older --offset flag remains accepted for existing scripts.
--populate on entries list, entries get, and singles get takes comma-separated top-level field names. Reference fields return the linked entry, media fields return the asset’s current facts such as width and height, and naming a blocks field populates the media inside it. Nested paths are not supported. Run fimo schemas get BlogPost --json to see field names and types.
Studio offers the everyday editing experience. Open Content → Collections or Content → Singles to add and update values without running commands.
For field definitions, filters, bulk actions, rich text, references, and every command option, see the CLI reference.
What’s next
CMS in Studio
Edit content without using the CLI.
Media
Upload files for media fields.