Astro Content Collections (stable since 2.0, modernized in Content Layer API late 2024): Zod-validated frontmatter, build-time TypeScript types
Claim: Astro's Content Collections (stable since Astro 2.0; Content Layer API in Astro 5, late 2024) use Zod schemas for build-time validation of Markdown/MDX frontmatter, with auto-generated TypeScript types. The Astro team's own astro.build website uses Zod-validated Content Collections for blog, integrations, showcase, and authors — with refinements that explicitly reject scraping-error strings like "Just a moment…" in titles.
Sources: https://docs.astro.build/en/guides/content-collections; deepwiki.com/withastro/astro.build.
Confidence: Verified.
Why this matters for Candid: Astro Content Collections (or the equivalent in any framework: gray-matter + Zod, MDX-on-Next.js, Contentlayer) is the structural mechanism that makes a KB-shaped marketing site practical. Schema validation at build time is the structural equivalent of Wikipedia's verifiability policy — it makes missing sources, dates, or confidence flags impossible to ship. This is the technical pattern Candid uses on candidcreative.ca.