https://github.com/skytreader/jakeson
Your friendly JSON schema generator
https://github.com/skytreader/jakeson
Last synced: about 2 months ago
JSON representation
Your friendly JSON schema generator
- Host: GitHub
- URL: https://github.com/skytreader/jakeson
- Owner: skytreader
- License: mit
- Created: 2021-06-03T19:06:33.000Z (almost 5 years ago)
- Default Branch: master
- Last Pushed: 2024-09-16T18:17:14.000Z (over 1 year ago)
- Last Synced: 2024-09-17T22:11:17.961Z (over 1 year ago)
- Language: Clojure
- Size: 74.2 KB
- Stars: 0
- Watchers: 3
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: readme.markdown
- License: LICENSE.txt
Awesome Lists containing this project
README
# jakeson
Your wrist-friendly [JSON schema](https://json-schema.org/) 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.
## Usage
1. Install Clojure.
2. Invoke as `clojure jakeson.clj output.json`.
3. 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`.
4. To stop enumerating properties, enter `jakeson.STOP` for the `property key: `
prompt.
The initial run will install the required dependency.