Negation-Closure for JSON Schema

02/27/2022
by   Mohamed-Amine Baazizi, et al.
0

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, that is, for every operator they have a negation dual that expresses its negation. We show that this is not the case for JSON Schema, we study how that changed with the latest versions of the Draft, and we discuss how the language may be enriched accordingly. In the process, we define an algebraic reformulation of JSON Schema, which we successfully employed in a prototype system for generating schema witnesses.

READ FULL TEXT

page 1

page 2

page 3

page 4

research
04/30/2021

Not Elimination and Witness Generation for JSON Schema

JSON Schema is an evolving standard for the description of families of J...
research
07/19/2023

Validation of Modern JSON Schema: Formalization and Complexity

JSON Schema is the de-facto standard schema language for JSON data. The ...
research
07/19/2021

An Empirical Study on the "Usage of Not" in Real-World JSON Schema Documents (Long Version)

In this paper, we study the usage of negation in JSON Schema data modeli...
research
05/03/2018

Learning Pretopological Spaces to Model Complex Propagation Phenomena: A Multiple Instance Learning Approach Based on a Logical Modeling

This paper addresses the problem of learning the concept of "propagation...
research
06/12/2023

Extracting JSON Schemas with Tagged Unions

With data lakes and schema-free NoSQL document stores, extracting a desc...
research
11/26/2014

A Fuzzy Syllogistic Reasoning Schema for Generalized Quantifiers

In this paper, a new approximate syllogistic reasoning schema is describ...
research
11/23/2022

Benchmarking JSON BinPack

In this paper, we present benchmark results for a pre-production impleme...

Please sign up or login with your details

Forgot password? Click here to reset