cue
cue copied to clipboard
jsonschema.Marshal
Is your feature request related to a problem? Please describe. When exporting a config, I sometimes need the value of a field to equal the json-schema of another cue type. For example: LLM tool definitions.
Describe the solution you'd like Similar to json.Marshal, I would like a jsonschema.Marshal that takes a cue definition and outputs json-schema.
Describe alternatives you've considered Alternatively, I have to maintain json-schema by hand, or do a two-phase build process.