Your wrist-friendly JSON schema generator: Jakeson surveys you about your schema in a breadth-first manner, allowing you to finish enumerating all of a node's properties before proceeding with the next nested object.
The schema documents Jakeson produces are not meant to be detailed and final. It only aims to give a generic but valid draft of your specification; you might still need to fill in other details afterwards.
- Install Clojure.
- Invoke as
clojure jakeson.clj output.json. - If you have a bunch of pre-existing schemas that you want to reference, put
them under one directory and invoke as
clojure jakeson.clj output.json existing-schemas. - To stop enumerating properties, enter
jakeson.STOPfor theproperty key:prompt.
The initial run will install the required dependency.