With this tool you can create a JSON schema and a complete JSON editor with your new JSON Schema as a ZIP file jsoneditor_app.zip (see GitHub-Repository: https://github.com/niebert/jsoneditor_app).
JSON Input Populate arrays just with one array element. You can add two different elements and JSON2Schema will create a oneOf-selector to the schema.
JSON2Schema developed by Engelbert Niehaus 2017-19
GitHub Repository with JSON2Schema Example
based on JSON Editor by Jeremy Dorn - current Version of JSON-Editor
Create your own JSON2Schema Editor Generator