Every file below lives in the repo's examples/ directory and is validated on every npm run check — nothing here is aspirational or out of date with the schema it demonstrates. npm run check additionally confirms any example built from hand-split fragments (scripts/compose.js) still matches what those fragments say.

For the example most directly relevant to a specific schema feature, see that feature's own description on the Schema page or its mention on Quick start — this page is the full index, not a curated tour.

anti-patterns/

Documents that validate cleanly and are still worth avoiding — the schema checks structure, not judgment. See each file's own leading comment.

base/

Full base documents — a system with multiple entries, split across files via rel: file.

entries/

Standalone entry files, one per kind, plus the source/manifest/story files a couple of them point at.

interop/

Worked pairs showing a DSDS entry pointing at a real DTCG token file or CEM manifest, instead of restating it.

invalid/

One broken example per semantic rule (DSDS-XX-*.yaml) plus schema-shape fixtures (schema-*.yaml) — the negative-test corpus scripts/conformance-test.js runs against.

quickstart/

The Quick Start guide's own snippets, one per step, building up from a bare base document to a described, related entry.

80 files across 6 categories, generated from the examples/ directory by scripts/generate-examples-index.mjs — do not edit by hand.