From jsontypedef.com,
JSON Type Definition, aka RFC 8927, is an easy-to-learn, standardized way to define a schema for JSON data. You can use JSON Typedef to portably validate data across programming languages, create dummy data, generate code, and more.
This tool is based on jtd-codegen which is a code generator for JSON Type Definition.
You can find out how to write JSON Type Definition IDL files in the jsontypedef.com documentation.
Unlike the original JSON Type Definition toolings,
jtd-codebuild
supports YAML format for writing JSON Type Definition IDL files.
You can either write JSON Type Definition IDL files in JSON or YAML format.