JSON schema definitions can be created globally or locally.
•Global definitions are created in the Definitions Overview Grid of the main window by adding a definition and then specifying its properties. A global definition can be referenced by other definitions in the same schema or by definitions in other schemas. This enables the reuse of definitions across your project. All the global definitions of the current schema are displayed in the schema's Definitions Overview Grid. Global definitions from other schemas can be made available for reuse by adding the external schema in the Overview entry helper.
•Local definitions are created within global definitions, that is, by adding descendant or sibling definitions to a global definition.
To reuse a global definition, do one of the following:
•In Design View, drag the global definition from the Overview entry helper onto the definition where it is to be used.
•In the Definitions Overview Grid or in Design View, select the definition for which you want the reuse. In the Reference field of the Details entry helper, select the global definition you want to reuse. See the description of the Details entry helper for details.
|Note:||If you change the name of a global definition after it has been referenced by another definition in the same schema, then the name is also changed in the reference. References from other schemas, however, will need to be edited manually to reflect the name change.|
To convert a local definition, right-click it in Design View and select Make Global. A global definition is created and a reference to it will be created on the local definition. Since the name of the global definition is generated automatically, you can edit it and the change will be passed to the reference of the local definition.
A reference to a global definition can exist on both local and global definitions. To remove the reference and make its properties local, right-click the (local or global) definition in Design View and select Make Local. The global definition's properties are created locally on the definition.