JSON Schema Configurator user interface
The JSON Schema Configurator displays $ref
,
definition
, and other nodes on the node tree, if they
exist. The node order respects the order in the json
file.
Similar to properties
of type object
, definition
is not
displayed as a node on the tree. All definitions are displayed directly under the root-level
node.
Instead of JSON Root
, the root node is the
json schema file name without the .json suffix. If this
is a new file, then the root node is untitled
and only has
the schema
property.
The JSON Root
node is under the top-level node, and is
created by default. The properties are the same as the previous JSON Root
node.
New schema files include:
- Basic schema file that contains no
definition
, andreference
, that only has some fields:JSON schema file name JSON Root Field 1 Subfield 11 Subfield 12 Field 2 Field 3
- Schema file that contains
definition
and some fields:JSON schema file name Definition 1 Definition 2 JSON Root Field 1 Field 2 Field 3
- Schema file that contains
$ref
anddefinition
:JSON schema file name JSON Root (This is a reference node) Field 01 Field 02 Reference 01 Reference 011 Field 011 Field 012 Field 03 Definition 1 Reference 11 Field 11 Field 12 Definition 2 Field 21 Field 22
The structure of an individual definition, field, and reference are shown in the same configuration.
The reference
node, definition
node, and
field
node are displayed with different icons.