The manifest is just a file in your repo —
hiveku.cms.json at the root. You can edit it from the CMS panel’s Collection Manager, ask the AI to update it, or open it directly in the code editor.File Location
hiveku.cms.json. The CMS panel won’t pick it up from a subdirectory.
Top-Level Schema
Per-Collection Schema
Each entry incollections looks like:
Validation Rules
The CMS panel and the AI tools validate the manifest before saving. Common rules:- Unique
idper collection — two collections can’t share an ID. - Valid identifiers —
idshould match[a-z][a-z0-9-]*. Lowercase, no spaces, hyphens allowed. - Path must be a relative directory — no absolute paths, no
..traversal. - Exactly one
isBody: truefield per MDX collection — the body slot is required for MDX format. JSON collections must not have anyisBodyfields. - Field names are unique within a collection — no duplicate
namevalues inside a single collection’sfieldsarray. - References point at real collection IDs — a
referencefield’scollectionvalue must match another collection’sidin the same manifest. slugFrom: "field:<name>"requires a string field — and that field must berequired: true.
Full Example
Here’s a manifest covering a real site with blog posts, authors, products, and testimonials:Webhooks
Webhooks fire when CMS entries change. Each webhook entry takes:
Hiveku retries failed webhook deliveries up to 3 times with exponential backoff.
Editing the Manifest
- From the AI
- From the CMS Panel
- From the Code Editor
Just describe what you want:The AI reads the manifest, proposes the addition, and saves it after you confirm.
Versioning
Every edit tohiveku.cms.json is versioned the same way as any other file in your project, through the builder_code_versions system. Open the version history drawer for the manifest from the code editor to roll back schema changes.
What’s Next?
Field Types
Every supported field type with examples
Collections
Naming, format choice, and reusable patterns
Add a Collection
Three ways to add a new collection
Initialize Your CMS
Scaffold a manifest from scratch