Classical and Modern JSON Schema: A Tutorial
The last few years have seen the ubiquitous diffusion of JSON as one of the most widely used formats for publishing and interchanging data, as it combines the flexibility of semistructured data models with well-known data structures such as objects and arrays. While various schema languages for describing JSON data have been proposed in the past (e.g., JSound and Joi), JSON Schema established itself as de-facto standard schema language for JSON data. The main aim of this tutorial is to provide the reader with the basic notions about JSON Schema. This tutorial focuses on four main aspects: (1) we first describe Classical JSON Schema and introduce the features that are shared with the latest versions of the specification; (2) we introduce, then, Modern JSON Schema, explain why it differs from Classical JSON Schema, and discuss its novel evaluation model; (3) we analyze tools that support or exploit JSON Schema, like, for example, validators and data generators; and (4) we highlight open research challenges and opportunities related to JSON Schema.
Authors
- Giorgio Ghelli (ORCID: https://orcid.org/0000-0002-0596-6395)
- Carlo Sartiani (ORCID: https://orcid.org/0000-0002-6514-3569)
- Stefanie Scherzinger (ORCID: https://orcid.org/0000-0002-1960-6171)
- Mohamed-Amine Baazizi (ORCID: https://orcid.org/0000-0003-2728-5838)
- Dario Colazzo (ORCID: https://orcid.org/0000-0002-6031-0049)
Institutions
- University of Pisa (IT)
- University of Passau (DE)
- University of Basilicata (IT)
- Sorbonne Université (FR)
- Université Paris Dauphine-PSL (FR)
Publication Details
- Journal
- ACM Computing Surveys
- Published
- 2026-10-22
- DOI
- https://doi.org/10.1145/3859866
- Primary Topic
- Advanced Database Systems and Queries
- Type
- article
- Field-Weighted Citation Impact
- 0.00