Liquid Studio Documentation
JSON Schema Editor / Graphical Notation Overview / JsonEditorNotation DefinitionContainer
In This Topic
    JsonEditorNotation DefinitionContainer
    In This Topic
    Draft 04 Draft 06 Draft 07 Draft 2019-09 Draft 2020-12

    The root schema may contain a definition container, this holds the definitions for named schemas that can then be referenced within the schema.

    This provides a mechanism for re-use and extensibility within the Json Schema.

    It is good practice to define any commonly used data types here and then reference them.

    It is allowable for a definition to contain references to other definitions (and even itself).

    Prior to draft 2019-09 definitions were defined in the 'definitions' property, from draft 2019-09 that has been renamed '$defs'.

    See Also