Languages Features Creators CSV Resources Challenges Add Language
GitHub icon

JSON Schema

JSON Schema - Data validation language

< >

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

#340on PLDB 13Years Old 3.4kUsers
0Books 0Papers

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" } } }
spark.html 路 json-schema.html 路 asn-1.html

View source

- Build the next great programming language Search Day 209 About Blog Acknowledgements Traffic Traffic Today GitHub feedback@pldb.com