JSON Schema
Somewhat similarly to OpenAPI, Glue offers jsonschema as a code generation target, allowing you to generate JSON Schema specifications from Glue files. This can be useful for validating data structures and generating client libraries or server stubs in various programming languages.
In fact, this is used internally in the Glue codebase for Glue's configuration! See glue/assets/config_schema.glue
Simply run:
shell
#Example
For this Glue spec:
glue
...generating a JSON Schema spec...
shell
...will produce:
json