An Empirical Study on the “Usage of Not” in Real-World JSON Schema Documents

Mohamed Amine Baazizi, Dario Colazzo, Giorgio Ghelli, Carlo Sartiani, Stefanie Scherzinger

Research output: Chapter in Book/Report/Conference proceedingConference contributionpeer-review

Abstract

We study the usage of negation in JSON Schema data modeling. Negation is a logical operator rarely present in type systems and schema description languages, since it complicates decision problems: many software tools, but also formal frameworks for working with JSON Schema, do not fully support negation. This motivates us to study whether negation is actually used in practice, for which aims, and whether it could—in principle—be replaced by simpler operators. We have collected a large corpus of 80k open source JSON Schema documents from GitHub. We perform a systematic analysis, quantify usage patterns of negation, and also qualitatively analyze schemas. We show that negation is indeed used, albeit infrequently, following a stable set of patterns.

Original languageEnglish
Title of host publicationConceptual Modeling - 40th International Conference, ER 2021, Proceedings
EditorsAditya Ghose, Jennifer Horkoff, Vítor E. Silva Souza, Jeffrey Parsons, Joerg Evermann
PublisherSpringer Science and Business Media Deutschland GmbH
Pages102-112
Number of pages11
ISBN (Print)9783030890216
DOIs
Publication statusPublished - 1 Jan 2021
Externally publishedYes
Event40th International Conference on Conceptual Modeling, ER 2021 - Virtual, Online
Duration: 18 Oct 202121 Oct 2021

Publication series

NameLecture Notes in Computer Science (including subseries Lecture Notes in Artificial Intelligence and Lecture Notes in Bioinformatics)
Volume13011 LNCS
ISSN (Print)0302-9743
ISSN (Electronic)1611-3349

Conference

Conference40th International Conference on Conceptual Modeling, ER 2021
CityVirtual, Online
Period18/10/2121/10/21

Keywords

  • Conceptual modeling
  • Empirical study
  • JSON Schema

Fingerprint

Dive into the research topics of 'An Empirical Study on the “Usage of Not” in Real-World JSON Schema Documents'. Together they form a unique fingerprint.

Cite this