Please use https://github.com/jsonsystems/public
[]()
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
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:
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