TY - JOUR
T1 - Negation-closure for JSON Schema
AU - Baazizi, Mohamed Amine
AU - Colazzo, Dario
AU - Ghelli, Giorgio
AU - Sartiani, Carlo
AU - Scherzinger, Stefanie
N1 - Publisher Copyright:
© 2023 Elsevier B.V.
PY - 2023/4/26
Y1 - 2023/4/26
N2 - JSON Schema is an evolving standard for describing families of JSON documents. It is a logical language, based on a set of assertions that describe features of the JSON value under analysis and on logical or structural combinators for these assertions, including a negation operator. Most logical languages with negation enjoy negation closure: for every operator, they have a negation-dual that allows negation to be pushed through the operator. We show that this is not the case for JSON Schema, study how that changed with the latest versions of the Draft, and discuss how the language may be enriched accordingly. To this aim, we exploit an algebraic reformulation of JSON Schema, which is helpful for the formal manipulation of the language.
AB - JSON Schema is an evolving standard for describing families of JSON documents. It is a logical language, based on a set of assertions that describe features of the JSON value under analysis and on logical or structural combinators for these assertions, including a negation operator. Most logical languages with negation enjoy negation closure: for every operator, they have a negation-dual that allows negation to be pushed through the operator. We show that this is not the case for JSON Schema, study how that changed with the latest versions of the Draft, and discuss how the language may be enriched accordingly. To this aim, we exploit an algebraic reformulation of JSON Schema, which is helpful for the formal manipulation of the language.
KW - JSON Schema
KW - Negation closure
KW - Schema languages
U2 - 10.1016/j.tcs.2023.113823
DO - 10.1016/j.tcs.2023.113823
M3 - Article
AN - SCOPUS:85151040095
SN - 0304-3975
VL - 955
JO - Theoretical Computer Science
JF - Theoretical Computer Science
M1 - 113823
ER -