Edit online

Manual Validation Actions

You can choose to validate JSON documents at any time by using the manual validation actions that are available in Oxygen XML.

Manual Validation Actions

To manually validate the currently edited document, use one of the following actions:

Validate
Available from the Validation drop-down menu on the toolbar, the Document > ValidateJSON menu, or from the Validate submenu when invoking the contextual menu on one or more JSON documents in the ProjectProject Explorer view.
Validate with

Available from the Validation drop-down menu on the toolbar or the Document > ValidateJSON menu. This action opens a dialog box that allows you to specify a schema for validating the current document.

Note:
The Validate with action does not work for files loaded through a custom protocol plugin developed independently and added to Oxygen XML after installation.
Validate with Schema

Available from the Validate submenu when invoking the contextual menu on one or more JSON documents in the ProjectProject Explorer view. This action opens a dialog box that allows you to specify a JSON or Schematron schema to be used for the validation.

Other Validation Options

To clear the error markers added to the Problems view in the last validation, select Clear Validation Markers from the Validate submenu when invoking the contextual menu in the Project Explorer view.

Tip:
If a large number of validation errors are detected and the validation process takes too long, you can limit the maximum number of reported errors in the Document Checking preferences page.