Associating a Schema to JSON Documents
To provide as-you-type validation and to compute valid proposals for the Content Completion Assistant, Oxygen JSON 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 JSON Editor tries to detect the JSON Schema by searching in the
following order:
- The schema referenced in validation stages from the validation scenario(s) associated with the current JSON document.
- 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 menu).