Abstract
JSON is a very popular data exchange format, and JSON Schema an increasingly popular schema language for JSON. Evidently, schemas play an important role in implementing conceptual models. For JSON Schema, there is a first generation of tools for checking whether one schema is contained in another. This is an important task when comparing schemas, and ultimately, the conceptual models that they capture. Testing whether such tool implementations are correct is difficult, since writing test cases requires a deep understanding of the JSON Schema language. In this demo, we present the first systematically generated test suite for JSON Schema containment checking. This test suite consists of pairs of schemas where the containment relationship is known by construction. Our test suite aims at covering all language features of JSON Schema. Applying existing containment checkers (including our own implementation) to our test suite, we discovered implementation bugs not known to us. We offer our test suite to the research community as well as to tool developers, hoping to contribute to the development of JSON Schema containment checkers.
| Original language | English |
|---|---|
| Pages (from-to) | 19-25 |
| Number of pages | 7 |
| Journal | CEUR Workshop Proceedings |
| Volume | 2958 |
| Publication status | Published - 1 Jan 2021 |
| Externally published | Yes |
| Event | 2021 ER Demos and Posters, ER-Demos-Posters 2021, co-located with 40th International Conference on Conceptual Modeling, ER 2021 - St. John's, Canada Duration: 18 Oct 2021 → 21 Oct 2021 |
Keywords
- Comparing Conceptual Models
- JSON Schema Containment Checking
- Test Suite
Fingerprint
Dive into the research topics of 'A test suite for JSON schema containment'. Together they form a unique fingerprint.Cite this
- APA
- Author
- BIBTEX
- Harvard
- Standard
- RIS
- Vancouver