The JSON Schema specification defines no way to assign a schema to a JSON data file. The schema used for validation is either set by the application or by metadata like transmission headers or filename patterns. As an editor for JSON Schema, JSONBuddy supports methods to assign a JSON Schema to the JSON data you are currently working on.
The most straightforward way is to use the Quick associations pane of the editor to select a local JSON Schema file from disk for the current document. This assignment is saved and restored the next time you open the instance in the JSON editor.
You can use the Open from JSON schema library... dialog in the editor to automatically generate sample data from any schema available at schemastore.org. The schema is also assigned to the generated JSON instance.
Many entries in the JSON Schema library at schemastore.org define a file-name pattern used to load a schema from the library
for validating JSON data. For example, if you load a JSON document named test.bower.json, the data is recognized as
a Bower package description file and you get the following message in the editor results window:
Automatically assigned Bower schema from schemastore.org.
As a quick way to get a JSON instance from any schema, use the command to generate sample JSON data. This creates a new document in the editor and assigns the source schema in a single step.
JSONBuddy is more than just a JSON editor for Windows ®. Learn more on clicking the images and links below.
See in detail how your JSON data is validated using the JSON Schema validation debugger.
Try hereXML, JSON, CSV and HTML conversion tool. Import CSV text and get JSON, XML or HTML.
Read MoreUse the streaming JSON formatter to get pretty JSON.
Verify how a set of data files align with your JSON Schema resources. Easy and automated.
Get a complete JSON Schema designer with extended support for creating and testing JSON schema specifications.
Read MoreImport from any CSV text and get structured JSON or XML data in the editor.
Read MoreJSON editor with built-in JSON pointer engine. Useful on creating JSON Schema documents and for navigation.