Just as XMLSpy pioneered the first graphical XML Schema editor, it now also includes the first enterprise-grade, graphical JSON Schema editor to greatly speed schema generation, development, and validation for developers working with JSON.
JSON Schema View will be immediately familiar to XMLSpy customers who’ve used XML Schema View and are now learning to design JSON Schemas, while at the same time being easy to comprehend for new users.
You can start from scratch with a new schema document in XMLSpy, or generate a JSON Schema from an existing JSON instance or XSD, and customize it as required.
In JSON Schema View, you can toggle between the Definitions Overview Grid and Design View for each node as you work. The Definitions Overview shows the current document's main schema (listed as "Document Schema"), plus any definitions that you add to the schema. Here you can add and delete definitions, as well as modify their properties.
The Overview, Details, and Constraints entry helper windows are available in both the Definitions Overview and Design View, making it easy to instantly visualize information about the schema and its definitions, and enter information and values related to definitions.
Clicking the tree icon next to any definition in the Definitions Overview opens it for further viewing and editing in Design View, which is shown above.
Clicking the tree icon next to any global component opens the detailed graphical view of its content model in Design View. Here, you can specify the structure and allowed values of individual global definitions. The JSON Schema editor makes it easy with drag and drop editing to re-arrange definitions, easy-to-understand entry helper windows, and a right-click context menu that offers valid choices.
As you work, strong validation of JSON Schemas is provided with hot-linked error messages listed in the interactive Messages window.
If you are new to JSON Schema development, more detailed information is provided in the XMLSpy Help file.
To jumpstart JSON Schema development, you can use the JSON Schema generator to create a valid schema based an existing XML Schema or JSON instance document. Useful dialogs make it easy to specify options to:
The JSON Schema generator is another tool that makes working with JSON alongside XML productive in XMLSpy.