Skip to content
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.

<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>