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 like records 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 audience with the basic notions for exploiting JSON Schema while processing and manipulating JSON data. 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.
Everything You Always Wanted to Know About JSON Schema (But Were Afraid to Ask)
Dario ColazzoMembro del Collaboration Group
;Giorgio GhelliWriting – Original Draft Preparation
;Carlo Sartiani
Writing – Original Draft Preparation
;
2025-01-01
Abstract
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 like records 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 audience with the basic notions for exploiting JSON Schema while processing and manipulating JSON data. 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.File | Dimensione | Formato | |
---|---|---|---|
paper-T3.pdf
accesso aperto
Tipologia:
Pdf editoriale
Licenza:
Creative commons
Dimensione
436.62 kB
Formato
Adobe PDF
|
436.62 kB | Adobe PDF | Visualizza/Apri |
I documenti in IRIS sono protetti da copyright e tutti i diritti sono riservati, salvo diversa indicazione.