A lightweight domain-specific language for representing JSON Schema constraints, optimized for small language model consumption.
Why ConstraintDSL?
Raw JSON Schema is a hierarchical, nested format designed for validation — not for language model reasoning. ConstraintDSL flattens schema constraints into explicit, line-oriented statements that small models (200M–1.5B parameters) can parse and follow reliably.
Empirical evidence… See the full description on the dataset page: https://huggingface.co/datasets/ottema/constraint-dsl.