Reference
Preview Data Reference
Preview Data is the JSON content input for @zeropress/build. Use this index when writing a generator or importer, or validating exported site data.
The current contract is v0.7: specification · JSON Schema.
Find A Topic
| Topic | Specification |
|---|---|
| Smallest valid input | Minimal valid payload |
| Required fields and optional maps | Top-level contract |
| Site identity, locale, timezone, and defaults | Site contract |
| Site, media, and integration URLs | URL classes |
| Image delivery and dimensions | Media origin, media metadata |
| Posts, pages, authors, and taxonomies | Content contract |
| Search-engine and automatic-list visibility | Document discovery |
| Custom scalar and structured data | Meta and data |
| Menus, widgets, and curated reading order | Menus, widgets, and collections |
| CSS and trusted HTML slots | Site customization inputs |
| Slugs and public URLs | Path safety, permalinks |
| Home page and post-index selection | Front page and post index |
| Validation beyond JSON Schema | Semantic invariants |
| Stable JSON output | Deterministic serialization |
See CLI Tools for validation tools. The version index includes earlier contracts.