CUE is an open source data constraint language that simplifies defining and using data. It is a superset of JSON and allows users to define validation schema, reduce boilerplate in data, and extract schema from code. The same CUE definition can be used for validating data and reducing boilerplate. Constraints provide a simple and powerful alternative to inheritance common with configuration languages. CUE scripting defines declarative scripting on top of data to work around the closedness of CUE definitions, share common scripts, and optimize validation. CUE is designed for automation, with tooling for YAML and JSON conversion, formatting, and arbitrary-precision arithmetic. To learn CUE, follow the tutorial on basic language constructs. Contributions can be made on Github. The CUE community can be reached via GitHub Discussions or Slack.
don't have tea/gui yet? download here
Copy the tea one-liner above into your terminal to install cuelang.org. tea will interpret the documentation and take care of any dependencies.