Schema
19 articles tagged Schema.
- AI Lock — Field-Level Content Protection
How AI Lock prevents AI agents from overwriting human edits — field-level protection enforced at the engine level.
- Blocks
Build content-rich pages with reusable block components — hero, features, CTA, and custom blocks.
- Collection Metadata (kind & description)
Tell AI tools what each collection is FOR with `kind` and `description` fields.
- Collection Naming Best Practices
Reserved names to avoid, recommended naming patterns, and why the validator catches conflicts.
- Collections
Browse, filter, create, and manage documents in your content collections.
- Configuration Reference
Complete reference for cms.config.ts — collections, fields, storage, build, and API settings.
- Content API
Programmatic API for reading and writing content — ContentService methods and REST endpoints.
- Content Relationships
Connect documents across collections with relation fields — single, multi, and reverse lookups.
- Content Structure
How documents are stored as JSON files — the document format, directory layout, and conventions.
- Field Types
Complete reference for all 22 field types — text, richtext, image, blocks, relation, and more.
- Form Engine
Collect form submissions with zero third-party dependencies. Define forms in config, render at build time, receive submissions in the admin inbox.
- Globals settings
Single-record collections for site-wide data — footers, legal text, contact info, anything that appears on many pages.
- Interactives
Data-driven interactive content — charts, calculators, demos with CMS-managed data.
- Introduction
What is @webhouse/cms and why it exists — a file-based, AI-native CMS for TypeScript projects.
- Next.js Patterns
How to read CMS content in Next.js — loader functions, pages, static generation, and metadata.
- Schema Export — webhouse-schema.json
Generate a JSON Schema document from cms.config.ts so PHP, Python, Ruby, Go, Java, and .NET reader libraries can introspect your content model.
- Schema settings
Edit collections and field definitions live — the same schema you'd write in cms.config.ts, but from the admin UI. Only visible when schema-edit is enabled.
- Shared Snippets — Reusable Code Blocks
How we built a shared snippets system for docs.webhouse.app using our own CMS — and how you can do the same.
- WordPress migration (F03)
Probe a live WordPress site, review its theme/builder/content, and import posts, pages, media and taxonomies into a fresh @webhouse/cms site.