JSD logo

JSON Schema

CategoryData Interchange Format

JSON Schema is a vocabulary that allows to annotate and validate JavaScript Object Notation (JSON) documents. A pre-defined schema asserts what a JSON document must look like, how to extract information from it, and how to interact with it in the application context.


Specifications


JSON Data Validation


Cloud and Mobile Application Enablement

JSON is a lightweight data interchange format — easy for developers to read and write, and easy for browser and mobile applications to interpret and process.

JSON Schema is a powerful tool for validating the structure of JSON data, a task that is often overlooked with the relaxed mechanism of constructing and using REST application services. When a client application requests a record of some business object from an API, it needs to know exactly how that record should be organized. That is where the notion of schema comes to the rescue, with a declarative format of describing the structure of data based on the JavaScript syntax, which is easy to share between devices.

Adoption of JSON Schema and related message description techniques helps both API providers and consumers deliver technologies that take less time to build, inexpensive to maintain and easy to integrate into the Web 2.0 ecosystem. While JSON is becoming a dominating message format in the API Management space, schema documentation and validation facilities allow to expand the market reach to new platforms.

JSON schema