JSON Schema: Difference between revisions
Jump to navigation
Jump to search
No edit summary |
|||
Line 1: | Line 1: | ||
=External= | =External= | ||
* http://json-schema.org | |||
* https://tools.ietf.org/html/draft-wright-json-schema-00 | * https://tools.ietf.org/html/draft-wright-json-schema-00 | ||
* https://tools.ietf.org/html/draft-zyp-json-schema-04 | |||
=Internal= | =Internal= |
Revision as of 18:28, 27 February 2019
External
- http://json-schema.org
- https://tools.ietf.org/html/draft-wright-json-schema-00
- https://tools.ietf.org/html/draft-zyp-json-schema-04
Internal
Overview
JSON Schema is a vocabulary that allows to annotate and validate JSON documents. The schema describes the data format, and provides complete structural validation. Example:
{
"description":"A customer",
"type":"object",
"properties":
{
"first": {"type": "string"},
"last" : {"type" : "string"}
}
}