Official Modules
CUE modules are published collections of packages that contain schemas, policy, and data.
Official modules contains CUE schemas published and maintained by the creators of a project, tool, or service. They provide users with an accurate, source-of-truth definition for how to configure software, directly from its upstream.
Official modules are published from the software's official namespace, ensuring ownership and creating trust. Publishing an official module for the users of your software allows you to:
- Improve developer experience by enabling validation, autocomplete, and early error detection.
- Ensure consistency by maintaining a single, versioned schema that stays up to date.
- Reduce support effort by helping users avoid common mistakes.
- Increase adoption by making integration easier and more predictable.
- Connect with the wider CUE ecosystem where users can compose and validate configuration across tools and services and data formats such as YAML, JSON, and TOML.
Official modules help users configure your software correctly - right from the very first time they use it. The Central Registry provides the standard way to publish, version, and distribute schemas to your users.
Learn how to publish a module to the Central Registry. To explore how to use the Central Registry and CUE to make configuration easy for your users, please get in touch.