CUE is an open source language, with a rich set of APIs and tooling, for defining, generating, and validating all kinds of data: configuration, APIs, database schemas, code, … you name it.
Validate text-based data files or programmatic data such as incoming RPCs or database documents.
Just add validation to existing data (CUE, YAML, JSON), reduce boilerplate in large-scale configurations, or both.
Define schema to communicate an API or standard and validate backwards compatibility.
Generate Code and Schema
Keep validation code in sync across code bases, Protobuf definitions, and OpenAPI definitions.
Automate the use of your data without writing yet another tool.
Find the locations of instances of CUE types and values in data.