
Compact, semantic, canonicalizable data for AI agents
and deterministic machine workflows.
JSON repeats keys for every object in an array. SDIF declares columns once — rows are tab-separated values. Fewer tokens, same semantics, canonical form, stable hash.
[
{ "id": "R1", "status": "done", "gate": "verify" },
{ "id": "R2", "status": "open", "gate": "release" }
]@sdif 1.0
kind Plan
milestones[id,status,gate]:
R1 done verify
R2 open releaseColumn headers defined once · Rows tab-delimited · Hash-stable canonical form
Maintained under the sdif-format GitHub organization.
Reference Python implementation: parser, CLI, canonicalizer, schema validator, JSON conversion, AI projection.
Reproducible benchmark suite — token efficiency, semantic density, round-trip fidelity across JSON/YAML/XML/TOON.
Tree-sitter grammar for SDIF. Enables syntax highlighting in any editor with Tree-sitter support.