Skip to content

Latest commit

 

History

History
43 lines (31 loc) · 1.65 KB

README.md

File metadata and controls

43 lines (31 loc) · 1.65 KB

What this repository is

This repository contains sample JSON Schemas for various JSON-based formats found around the web.

There are many such formats, and this repository contains schemas for whatever formats I happened to stumble upon.

Existing schemas in this repository

This repository contains schemas for the following:

  • JSON-RPC 2.0;
  • GeoJSON;
  • SMD;
  • JSON Patch.

Note: these schemas may not be perfect. I have used my library to test these schemas with various data samples, and while I am fully confident about the library itself, I am not that confident about the schemas themselves: I have read the relevant specifications, but some obscure points may have escaped me. Not to mention that some constraints expressed by said specifications are not enforceable by JSON Schema proper.

Requests and contributions

Both are welcomed:

  • if you stumble upon a JSON data format which you would like a JSON Schema for, feel free to open a feature request so that a schema be written for that format;
  • if, on the other hand, you have written a schema for an existing format, and wish to add it to this repository, you are welcome to open a pull request so that this schema be included in the examples. Provided that you are ready to comply to the...

Licensing conditions

The licensing conditions are the same as they are for JSON Schema itself: content in this repository may be licensed under either of the AFL or BSD license.