Witness Generation for JSON Schema Patterns
Autor(en):
Zusammenfassung
JSON Schema is a schema language for the popular data exchange format JSON. This paper introduces an approach to convert regular expressions, which appear in ECMA-262 syntax in JSON Schema, into an alternative syntax such that they may be compiled to finite-state automata.This is a step towards generating witnesses, i.e., JSON instances which are valid w.r.t. the given JSON Schema specification. Specifically, we address the challenge that the ECMA-262 pattern syntax uses anchor symbols to mark the beginning and end of a word, which is not compatible with available libraries for automata manipulation. We implement an algorithm proposed by Dominik Freydenberger to convert regular expressions into brics syntax. We show that we successfully address over 97% of the patterns found in a collection of thousands of JSON Schema specifications collected from GitHub.
- Vollständige Referenz
- BibTeX
Köhnen, C.,
(2023).
Witness Generation for JSON Schema Patterns.
In:
König-Ries, B., Scherzinger, S., Lehner, W. & Vossen, G.
(Hrsg.),
BTW 2023.
Gesellschaft für Informatik e.V..
DOI: 10.18420/BTW2023-79
@inproceedings{mci/Köhnen2023,
author = {Köhnen, Christoph},
title = {Witness Generation for JSON Schema Patterns},
booktitle = {BTW 2023},
year = {2023},
editor = {König-Ries, Birgitta AND Scherzinger, Stefanie AND Lehner, Wolfgang AND Vossen, Gottfried} ,
doi = { 10.18420/BTW2023-79 },
publisher = {Gesellschaft für Informatik e.V.},
address = {}
}
author = {Köhnen, Christoph},
title = {Witness Generation for JSON Schema Patterns},
booktitle = {BTW 2023},
year = {2023},
editor = {König-Ries, Birgitta AND Scherzinger, Stefanie AND Lehner, Wolfgang AND Vossen, Gottfried} ,
doi = { 10.18420/BTW2023-79 },
publisher = {Gesellschaft für Informatik e.V.},
address = {}
}
Sollte hier kein Volltext (PDF) verlinkt sein, dann kann es sein, dass dieser aus verschiedenen Gruenden (z.B. Lizenzen oder Copyright) nur in einer anderen Digital Library verfuegbar ist. Versuchen Sie in diesem Fall einen Zugriff ueber die verlinkte DOI: 10.18420/BTW2023-79
Haben Sie fehlerhafte Angaben entdeckt? Sagen Sie uns Bescheid: Feedback abschicken
Mehr Information
DOI: 10.18420/BTW2023-79
ISBN: 978-3-88579-725-8
Datum: 2023
Sprache:
(en)
(en)
Typ: Text/Conference Paper

