themes-earthen/blocks/impact_report.schema.json
Alex Dunmow 8b8fb4d65d feat(earthen): Wave A theme lane — 49 overrides, 7 templates, seed (WO-TF-016)
Deliver the full conservation-nonprofit theme per OVERRIDE-CONTRACT (Wave A).

- 49 mandatory builtin overrides in templates/overrides/earthen/ (chrome,
  marketing, primitives, commerce, blog family, auth surface, page-suggestions),
  re-skinned from the frozen builtins into botanical/paper-grain chrome with
  all content fields, custom tags, provider vars, HTMX/auth wiring and JS
  preserved verbatim. Stale button/card/image/text/heading overrides fixed to
  the new field contract (link/style/label, media/text via {% img %}).
- 7 page templates: default, full-width, landing, article, blog-index, contact,
  auth.
- Blocks rework: impact_metrics/partner_logos/botanical_divider/footer converted
  to builtin overrides (deleted as theme blocks); donation_cta and field_note
  kept; impact_report added. Persona blocks now 3.
- 5 presets (all 19 tokens; mossbed/sage-morning/ember-loam are dual-mode).
- Bundled Fraunces + Work Sans woff2 (OFL) in assets/fonts/; fonts.json,
  RECOMMENDED_FONTS.md, RECOMMENDED_ICONS.md; required_icon_packs=[lucide].
- Seed: home/about/blog(3 posts)/contact/login as Rootline Trust, contact-form
  formConfig.targetTable=contact_submissions + row_inserted email-admins workflow.
- Themed email-safe wrapper; on-theme master pages; CSS-first botanical motion.

Verified: make (build) exit 0, make archive-check exit 0, check-safety exit 0.

Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
2026-07-05 11:13:01 +08:00

63 lines
1.7 KiB
JSON

{
"$schema": "http://json-schema.org/draft-07/schema#",
"title": "Impact Report",
"description": "Narrative impact report with a summary lede and a list of outcome rows",
"type": "object",
"properties": {
"period": {
"type": "string",
"title": "Period",
"description": "Reporting period label (e.g. 'Season 2025')",
"x-editor": "text"
},
"title": {
"type": "string",
"title": "Title",
"description": "Report heading",
"x-editor": "text",
"default": "What we grew together"
},
"summary": {
"type": "string",
"title": "Summary",
"description": "Opening paragraph of the report",
"x-editor": "richtext"
},
"outcomes": {
"type": "array",
"title": "Outcomes",
"description": "Reported outcomes shown as rows",
"x-editor": "collection",
"items": {
"type": "object",
"properties": {
"value": {
"type": "string",
"title": "Value",
"description": "Headline figure or result (e.g. '840 acres')",
"x-editor": "text"
},
"label": {
"type": "string",
"title": "Label",
"description": "What the figure counts",
"x-editor": "text"
},
"detail": {
"type": "string",
"title": "Detail",
"description": "One line of context",
"x-editor": "text"
}
}
}
},
"sourceNote": {
"type": "string",
"title": "Source Note",
"description": "Footnote crediting the source of the figures",
"x-editor": "text"
}
}
}