Edit online

JSON Schema Editor

Oxygen XML Editor includes a specialized JSON Schema editor with various editing features for files that have the jschema file extension, or for files that have json file extension and includes a meta-schema URL in the "$schema" key . The purpose of the JSON schema is to define the legal properties and values of a JSON document to keep it valid and well-formed.

New Document Templates

Oxygen XML Editor includes a new document template to help you get started creating a JSON Schema document. The template is called JSON Schema and it can be found in the New Document folder in the New document wizard. You can also customize your own JSON Schema templates and specify other versions (Draft 04, 06, 07, 2019-09, or 2020-12).
Tip: You can experiment with a sample of a JSON Schema file available at: [OXYGEN-INSTALL-DIR]/samples/json/personal-schema.json.

Text Mode Editor

When editing JSON Schema documents in Text editing mode, the usual text editing actions are available, along with various other actions, including:

Grid Mode Editor

Oxygen XML Editor allows you to view and edit the JSON Schema documents in the Grid mode. The JSON Schema is represented in Grid mode as a compound layout of nested tables and the JSON data and structure can be easily manipulated with table-specific operations or drag and drop operations on the grid components. For more details, see JSON Grid Mode Editor.

Author Visual Editor

It is also possible to edit JSON Schema files in the visual Author editing mode. Oxygen XML Editor provides a JSON Schema framework that uses a specific CSS for rendering JSON Schema documents in Author mode and you have access to the various features and actions that are available when editing XML documents in Author mode.

Figure 1. JSON Schema in Author Mode

Design Mode Editor

Oxygen XML Editor provides a powerful, expressive visual schema diagram editor (Design mode) for editing JSON Schemas. It is helpful for both content authors who want to visualize or understand a schema and schema designers who develop complex schemas. For all the details, see JSON Schema Design Mode.