Example
Below is an example CUE schema:CUE
- type specification -
number,string,bool, etc. - numeric constraints-
>=,<=,==,!=,=~,!~, etc. - default values -
| *value - enumerations -
| "value1" | "value2" | "value3" - intersection of constraints -
&
CUE version
Miru fully supports CUE and stays up to date with the latest CUE features and syntax. Currently, Miru uses CUE APIv0.14.2.
File formats
Unlike JSON Schema, CUE can only be written in the CUE file format and must have the.cue extension:
- CUE (
.cue)
- JSON (
.json)


