Using the built-in JSON Schema generator

Do you want to quickly generate a basic JSON Schema in your editor from any JSON input to avoid repetitive typing? A quick skeleton schema as a starting point, with current properties defined and their basic types already resolved? You can do this in JSONBuddy with ease.

This is how you do it in the editor:

  1. Open your JSON data as a document. It does not matter if you use the text or grid view.
  2. Use the command JSON | Generate JSON schema from document to open a new document with the generated JSON Schema.
Generate a JSON Schema from the current document in the editor

Generate a JSON Schema from the current document in the editor.

The generated schema is opened as a new document in the editor. Basic types are resolved and all objects which are not part of the top level are added as definitions to the schema. Equal object definitions appear only once.

Automatic schema generation in the background

Even if you do not use the command to generate a schema, a JSON Schema is automatically generated in the background for any JSON document with currently no schema assigned. This schema is used to fill the Elements pane and provide entry-helper windows.

Take a detailed look at some other features of JSONBuddy

JSONBuddy is more than just a JSON editor for Windows ®. Learn more on clicking the images and links below.