A community-maintained companion to the TOON specification describing how to validate decoded TOON data against JSON Schema 2020-12.
Non-normative. This is not part of the TOON spec and is not endorsed by toon-format. It tracks the spec but cannot extend it.
- Read the guide: GUIDE.md
- Runnable examples:
examples/typescript/,examples/rust/ - Versioning: pinned to TOON v3.x and JSON Schema 2020-12 — see VERSIONING.md
- Contributing: CONTRIBUTING.md
A short, reference-shaped doc and two runnable example suites (TypeScript via Ajv, Rust via the jsonschema crate) that show how to:
- Decode TOON into a host-language value.
- Validate that value against a JSON Schema 2020-12 document.
- Avoid the integer/number portability footgun (§5) — the one place where the same schema can produce different results across host languages, with a documented workaround.
MIT. See LICENSE.