Please use https://github.com/jsonsystems/public
- Contact
- What is JSONSchema.Net?
- Who uses JSONSchema.Net?
- What is JSONSchema.Net’s goal?
- How can your organization benefit from using JSONSchema.Net?
- Specifications
- About
- Cookie Policy
- Privacy Policy
- Email: [email protected]
JSONSchema.Net is a web application that generates JSON schema from JSON. JSON Schema is generated according to the JSON Schema Validation: A Vocabulary for Structural Validation of JSON.
Anyone wishing to generate JSON schema from JSON. Typical users are web developers and mobile app developers. Some educational institutions also use JSONSchema.Net to teach JSON Schema and the core options defined by JSON Schema Validation.
JSON Schema is great, but can be verbose. For example, a single empty JSON object, {}
, can be described by:
{
"$schema": "http://json-schema.org/draft-04/schema#",
"additionalProperties": true,
"definitions": {},
"id": "http://example.com/example.json",
"properties": {
"description": "This accepts anything, as long as it's valid JSON.",
"title": "Empty Object"
},
"type": [
"object",
"null"
]
}
Even schemas for small APIs can quickly become hundreds of lines long. Writing schemas by hand is tedious and time consuming, and often impractical. JSONSchema.Net makes schema generation quick and painless.
JSONSchema.Net can save you and anyone on your team a lot of time. If your software uses JSON, it's good practice to validate any (JSON) data it receives, against a schema.
JSON Schema specificaiton is split into three parts
- Core - The basic foundation of JSON Schema.
- Validation - The validation keywords of JSON Schema.
- Hyper-Schema - The hyper-media keywords of JSON Schema.
JSONSchema.Net follows the Validation part of the overall specification. json-schema.org/specification.html is a good place to learning more.
Versioning of JSON Schema specifications can be confusing. json-schema.org maintains a helpful list of specification-links. In reverse chronological order:
- Latest Snapshot (work in progress)
- Draft 7
- Draft 6
- Draft 5
- Draft 4
- Draft 3
- Drafts 0/1/2
Each version updates (to varying degrees) the three parts of JSON Schema specification: Core, Validation, and Hyper-Schema.
Created by Jack Wootton. Copyright 2017. Apache Licensed.
Our cookie policy can be read at cookies.md
Our privacy policy can be read at privacy.md