data-dict.yaml is a YAML specification for defining data dictionaries — describing tables, columns, types, constraints, and relationships — along with a Rust CLI that validates data against those definitions and renders them as self-contained HTML documentation. It is designed for polyglot teams working across R, Python, and SQL.
The package turns human-readable YAML into an enforceable data contract by validating at three levels: spec conformance, metadata consistency, and actual data values. It can also draft dictionaries from Parquet files, translate assertions into R, Python, or SQL code, and export resolved JSON for programmatic use. The CLI includes a language server for editor support and a live-reloading development mode for customizing the rendered output.