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).