1. A Tool for JSON Schema Witness Generation
- Author
-
Attouche, Lyes, Baazizi, Mohamed-Amine, Colazzo, Dario, Falleni, Francesco, Ghelli, Giorgio, Landi, Cristiano, Sartiani, Carlo, Scherzinger, Stefanie, Bases de Données (BD), LIP6, and Sorbonne Université (SU)-Centre National de la Recherche Scientifique (CNRS)-Sorbonne Université (SU)-Centre National de la Recherche Scientifique (CNRS)
- Subjects
[INFO.INFO-DB]Computer Science [cs]/Databases [cs.DB] ,ComputingMethodologies_DOCUMENTANDTEXTPROCESSING - Abstract
International audience; JSON Schema is an evolving standard for the description of JSON documents. It is an extremely powerful language endowed with boolean operators and recursive definitions. Hence, classical problems like schema consistency and equivalence may be challenging without well-principled tools. Based on our recent effort for laying down an algebraic formal semantics of JSON Schema, we demonstrate an approach for generating valid witnesses of a userdefined schema. Our goal is not only to allow programmers to design schemas that meet their intentions, but also to guide them in their journey to understanding the semantics of existing schemas, in an interactive fashion. We thus aim to contribute to the adoption of the JSON Schema language by facilitating its use.
- Published
- 2021