Catalog: | Using JSON Schema examples | |
Items: | ||
The JSON Validate tool was created by Joe McIntyre. It is part of the Using JSON Schema project.
The JSON Validate repository is hosted on GitHub. MIT license (link)
Libraries used:
JSON Schema definitions, JSON content, and referenced schema definitions can be entered, or pasted into, their corresponding text areas. Up to 8 JSON Schema Reference ($ref) definitions can be loaded (use the tabs 1 to 8 to navigate between each).
The Validate button runs the schema validator and displays the validation result in the Results text area. If any of the content is invalid, its text area will be bordered in red. For the reference schemas, the tabs corresponding to any invalid content will also be bordered in red.
To reset all entry areas press the Reset All button.
Pre-defined content is provided through a catalog of examples to work with. These are available using Import at the top right. The Import window shows the catalog contents. Select the item to work with from the Items selection list and press the Load button. The Import window is modeless, it can be left open while working with the content if desired.
JSON Schema provides data definition for JSON content. It can be used to enable validation of content against the schema, or for tools / applications to generate or manipulate content with guidance from the constraints defined by the schema.
The specification of JSON Schema is managed through the IETF, in the following draft specifications (version 4),
The following resources are available,
There are JSON Schema validation libraries for a wide variety of programming languages and runtime platforms. See the Software page on the JSON Schema home site for a list.