JTutor: JSON Schema Validation Explained

JSON Schema validators are essential tools in the JSON ecosystem. However, today's validators are primarily designed to be used programmatically. Even web-based tools are not didactic in their feedback regarding the oftentimes subtle interactions between schemas and JSON instances. We present JTutor, a validation framework specifically designed with humans in mind, that lets users explore the mutual dependencies between a schema and a candidate instance in JSON Schema validation: Users explore schemas and candidate instances interactively, by navigating between subschemas and the JSON instance based on a detailed proof tree that is generated by a well-principled and rule-based validator. JTutor comes with a "Smart Format" feature that generates a focused view of the proof tree. "Smart Format" highlights branches that are relevant for understanding why an instance is valid or invalid, while deemphasizing others. This focused view can serve as an explanation of the validation. Although JTutor is designed to be educational, it can also help developers debug schemas. In this paper, we explain the internals of JTutor and demonstrate the tool itself.

Authors

Institutions

Publication Details

Published
2025-06-22
DOI
https://doi.org/10.1145/3735106.3736532
Primary Topic
Software Testing and Debugging Techniques
Type
article
Field-Weighted Citation Impact
0.00

Funders

Controls
|||
ALL TIME
JAN
FEB
MAR
APR
MAY
JUN
JUL
AUG
SEP
OCT
article

JTutor: JSON Schema Validation Explained

Giorgio Ghelli, Carlo Sartiani, Stefan Klessinger, Stefanie Scherzinger et al.
Software Testing and Debugging Techniques
article

JTutor: JSON Schema Validation Explained

Giorgio Ghelli, Carlo Sartiani, Stefan Klessinger, Stefanie Scherzinger, Mohamed-Amine Baazizi, Lyes Attouche, Dario Colazzo, Kachimsirikwuo Caleb Imo
article en

Abstract

JSON Schema validators are essential tools in the JSON ecosystem. However, today's validators are primarily designed to be used programmatically. Even web-based tools are not didactic in their feedback regarding the oftentimes subtle interactions between schemas and JSON instances. We present JTutor, a validation framework specifically designed with humans in mind, that lets users explore the mutual dependencies between a schema and a candidate instance in JSON Schema validation: Users explore schemas and candidate instances interactively, by navigating between subschemas and the JSON instance based on a detailed proof tree that is generated by a well-principled and rule-based validator. JTutor comes with a "Smart Format" feature that generates a focused view of the proof tree. "Smart Format" highlights branches that are relevant for understanding why an instance is valid or invalid, while deemphasizing others. This focused view can serve as an explanation of the validation. Although JTutor is designed to be educational, it can also help developers debug schemas. In this paper, we explain the internals of JTutor and demonstrate the tool itself.

University of Pisa (IT), University of Passau (DE), University of Basilicata (IT), Sorbonne Université (FR), LIP6 (FR), Université Paris Dauphine-PSL (FR)
European Commission, Deutsche Forschungsgemeinschaft
Openalex Percentile: Top 84%
Software Testing and Debugging Techniques
AI Navigator

Ask Laika to Summarize, Analyze, and Connect papers live on the map.

Summarize Papers & Methodologies

Extract key findings, datasets, and comparative methods across publications.

Benchmark Rankings & Visual Analytics

Rank top research institutions, authors, funders, topics, and journals by Field-Weighted Citation Impact (FWCI) and paper volume with instant charts.

Connect Distant Disciplines

Bridge topological clusters on the map to find hidden collaborative intersections.

JTutor: JSON Schema Validation Explained — Giorgio Ghelli, Carlo Sartiani, et al. · (2025) | TGRS Research Map | TGRS