Skip to main navigation Skip to search Skip to main content

Witness Generation for JSON Schema

  • Lyes Attouche
  • , Mohamed Amine Baazizi
  • , Dario Colazzo
  • , Giorgio Ghelli
  • , Carlo Sartiani
  • , Stefanie Scherzinger
  • Université Paris Dauphine
  • Sorbonne Université
  • University of Pisa
  • Università della Basilicata
  • Universität Passau

Research output: Contribution to journalConference articlepeer-review

11 Citations (Scopus)

Abstract

JSON Schema is a schema language for JSON documents, based on a complex combination of structural operators, Boolean operators (negation included), and recursive variables. The static analysis of JSON Schema documents comprises practically relevant problems, including schema satisfiability, inclusion, and equivalence. These problems can be reduced to witness generation: given a schema, generate an element of the schema — if it exists — and report failure otherwise. Schema satisfiability, inclusion, and equivalence have been shown to be decidable. However, no witness generation algorithm has yet been formally described. We contribute a first, direct algorithm for JSON Schema witness generation, and study its effectiveness and efficiency in experiments over several schema collections, including thousands of real-world schemas.

Original languageEnglish
Pages (from-to)4002-4014
Number of pages13
JournalProceedings of the VLDB Endowment
Volume15
Issue number13
DOIs
Publication statusPublished - 1 Jan 2022
Externally publishedYes
Event48th International Conference on Very Large Data Bases, VLDB 2022 - Sydney, Australia
Duration: 5 Sept 20229 Sept 2022

Fingerprint

Dive into the research topics of 'Witness Generation for JSON Schema'. Together they form a unique fingerprint.

Cite this