The field model contains technical rules and editorial meaning. A text field can specify a label, help text, width, length limit, and list visibility.
Mica derives five things from this one model:
- TypeScript types for templates
- Runtime validation for saves
- Navigation, tables, and forms in the editor
- Astro Content Layer collections
- The layout of content on disk
Rename a field and the website build fails. You find the error before an empty value reaches production.