Top 1K Features Creators Events Podcasts Books Extensions Interviews Blog Explorer CSV

JSON Schema

< >

JSON Schema is a data validation language created in 2010 by Kris Zyp.

#423on PLDB 14Years Old
Download source code:
git clone https://github.com/json-schema-org/json-schema-spec
Homepage · Source Code

JSON Schema is a vocabulary that allows you to annotate and validate JSON documents.


Example from the web:
{ "$id": "https://example.com/calendar.schema.json", "$schema": "https://json-schema.org/draft/2020-12/schema", "description": "A representation of an event", "type": "object", "required": [ "dtstart", "summary" ], "properties": { "dtstart": { "type": "string", "description": "Event starting time" }, "dtend": { "type": "string", "description": "Event ending time" }, "summary": { "type": "string" }, "location": { "type": "string" }, "url": { "type": "string" }, "duration": { "type": "string", "description": "Event duration" }, "rdate": { "type": "string", "description": "Recurrence date" }, "rrule": { "type": "string", "description": "Recurrence rule" }, "category": { "type": "string" }, "description": { "type": "string" }, "geo": { "$ref": "https://example.com/geographical-location.schema.json" } } }

- Build the next great programming language · Add · Issues · About · Search · Keywords · Livestreams · Labs · Resources · Acknowledgements

Built with Scroll v164.7.0