Mirror of https://github.com/cue-lang/cue cuelang.org
cue go

encoding/jsonschema: initial JSON Schema to CUE conversion master

This does not yet introduce the API, but merely the conversion of JSON Schema to CUE. Also, several things, like formats, are not yet supported. Note that the input to the conversion is CUE itself. This allows any of the encodings (like YAML or JSON) to be used as a base. The conversion will preserve line information from the original file. That is, if a YAML file was converted to CUE, which is then converted to OpenAPI, the line information in the resulting AST corresponds to the original YAML. Change-Id: I512502ce3d98443a530e75f606ca3c533b0c4299 Reviewed-on: https://cue-review.googlesource.com/c/cue/+/4604 Reviewed-by: Marcel van Lohuizen <mpvl@golang.org>