Edit online

Associating a Schema to JSON Documents

To provide as-you-type validation and to compute valid proposals for the Content Completion Assistant, Oxygen XML Editor requires a schema to be associated with the JSON document. The schema specifies how the internal structure is defined.

Detecting the Schema(s) for Validation and Content Completion

For validation, Oxygen XML Editor tries to detect the JSON Schema by searching in the following order:
  1. The schema referenced in validation stages from the validation scenario(s) associated with the current JSON document.
  2. If a schema is not detected, then it falls back to the schema associated directly in the JSON document.
    Tip: To quickly open the schema used for validating the current document, select the Open Associated Schema action from the toolbar (or Document > Schema menu).