English

JSON Schema Inclusion through Refutational Normalization: Reconciling Efficiency and Completeness

Databases 2026-04-14 v2

Abstract

JSON Schema is the de facto standard for describing the structure of JSON documents. Reasoning about JSON Schema inclusion -- whether every instance satisfying a schema S1 also satisfies a schema S2 -- is a key building block for a variety of tasks, including version and API compatibility checks, schema refactoring tools, and large-scale schema corpus analysis. Existing approaches fall into two families: rule-based algorithms that are efficient but incomplete and witness generation-based algorithms that are complete but oftentimes extremely slow. This paper introduces a new approach that reconciles the efficiency of rule-based procedures with the completeness of the witness-generation technique, by enriching the latter with a specialized form of normalization. This refutational normalization paves the way for use-cases that are too hard for current tools. Our experiments with real-world and synthetic schemas show that the refutational normalization greatly advances the state-of-the-art in JSON Schema inclusion checking.

Keywords

Cite

@article{arxiv.2603.25306,
  title  = {JSON Schema Inclusion through Refutational Normalization: Reconciling Efficiency and Completeness},
  author = {Mohamed-Amine Baazizi and Nour El Houda Ben Ali and Dario Colazzo and Giorgio Ghelli and Stefan Klessinger and Carlo Sartiani and Stefanie Scherzinger},
  journal= {arXiv preprint arXiv:2603.25306},
  year   = {2026}
}
R2 v1 2026-07-01T11:39:02.629Z