Giter Club home page Giter Club logo

json-schema's Introduction

Welcome to JSONschema.Net

Hex.pm Twitter Follow

  1. Contact
  2. What is JSONSchema.Net?
  3. Who uses JSONSchema.Net?
  4. What is JSONSchema.Net’s goal?
  5. How can your organization benefit from using JSONSchema.Net?
  6. Specifications

Contact

What is JSONSchema.Net?

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.

Who uses JSONSchema.Net?

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.

What is JSONSchema.Net’s goal?

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.

How can your organization benefit from using JSONSchema.Net?

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.

Specifications

JSON Schema specificaiton is split into three parts

  1. Core - The basic foundation of JSON Schema.
  2. Validation - The validation keywords of JSON Schema.
  3. 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.

About

Created by Jack Wootton. Copyright 2017. Apache Licensed.

json-schema's People

Contributors

jackwootton avatar automated-droid avatar

Watchers

James Cloos avatar  avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.