-
Notifications
You must be signed in to change notification settings - Fork 1.1k
JSON2Schema
Engelbert Niehaus edited this page Dec 12, 2018
·
15 revisions
The JSON-Editor written by Jeremy Dorn needs a JSON Schema to define the required valid input for the JSON file processed with the editor. The tool json2schema.html runs entirely in the browser and creates a JSON schema.
- You can start the JSON2Schema tool directly via https://niebert.github.io/JSON2Schema or
- you can populate the JSON input via a HTML form submission with the following HTML code in your website.
- Source Code JSON2Schema as ZIP: Download the JSON2Schema repository from GitHub and try on your local computer (just HTML and Javascript)
<form action="https://niebert.github.io/JSON2Schema/index.html"
method="get" target="_blank">
<textarea name="jsoninput" rows="5" cols="85">
{
"name":"John Miller",
"color":"#3412AB",
"age": 35,
"male": true
}
</textarea>
<br>
<input type="submit">
</form>