JSONBuddy offers a lot of functionality while you are editing a JSON schema file. It is even not always easy to have all of the information visible on the screen. So here is the editor layout I am using whenever I have a JSON schema file open in JSONBuddy: This way I have a lot of entry helpers and additional information… Read more »
tl;dr Use JSONBuddy or XML ValidatorBuddy to generate a live preview of JSON sample data while editing your JSON schema. JSONBuddy has already some powerful features to support you in creating JSON schema documents. You can check your JSON schema at any time for syntax errors. You can validate your JSON schema to see if your schema can be parsed and used… Read more »
To extend the support for the JSON standard, JSONBuddy will get a brand new view to parse and display any JSON schema as a good looking and clearly arranged tree diagram. The screen-shot below shows the POI (point of interest) JSON schema as it is partly displayed in the new view: The first version allows to fully expand and collapse tree… Read more »
For almost all of your XML you need to assign an XSD in the editor if you also want to run the XML validator. Starting a new XML and assigning a W3C schema to it can be cumbersome if you have to type all of the information and XML text manually. You need to enter the path to the XSD and all… Read more »
You might have noticed that JSON has become a quite popular text format over the last years. Especially for everyone who is working in a Java environment. But how do you check your JSON instance documents in a convenient and standardized way like you can do for any XML file? For this purpose JSON Schema was introduced. In order to… Read more »
Get a detailed error report on XML validation Until today the free XML Validator Buddy shell tool, which uses the Xerces parser internally, only reported if the XML instance is valid or not. This has changed with the latest release 3.2.2 of the XML command line tool. Now it is also possible to get a detailed error report with the… Read more »
This post explains how to run the XML validator to use a specific schema in XML ValidatorBuddy to check XML. If you use the “Validate against a specific Schema…” functionality of XML ValidatorBuddy the editor looks for a schemaLocation or noNamespaceSchemaLocation attribute in the XML instance file. The validator also checks the selected schema if any targetNamespace is defined. If a schemaLocation or noNamespaceSchemaLocation… Read more »