Witness Generation for JSON Schema
Lyes Attouche, Mohamed-Amine Baazizi, Dario Colazzo, Giorgio Ghelli, Carlo Sartiani, Stefanie Scherzinger
摘要
JSON Schema is an important, evolving standard schema language for families of JSON documents. It is based on a complex combination of structural operators, Boolean operators, including full negation, and mutually recursive variables. The static analysis of JSON Schema documents comprises practically relevant problems, including schema satisfiability, inclusion, and equivalence. These three can be reduced to witness generation: given a schema, generate an element of the schema -if it exists -otherwise report failure. Schema satisfiability, inclusion, and equivalence have been shown to be decidable, by reduction to reachability in alternating tree automata. However, no witness generation algorithm has yet been formally described. We contribute a first, direct algorithm for JSON Schema witness generation. We study its effectiveness and efficiency, in experiments over several schema collections, including thousands of real-world schemas. Our focus is on the completeness of the language (where we only exclude the "uniqueItems" operator) and on the ability of the algorithm to run in reasonable time on a large set of real-world examples, despite the exponential complexity of the problem.
问问这篇 Paper
智能体会读完全文。
Lune 把这篇 Paper 索引到了每一个公式,引用它的顶会 Paper 也一样。你提问,回答直接引用原文。
引用它的顶会 Paper2
- Validation of Modern JSON Schema: Formalization and ComplexityLyes Attouche, Mohamed-Amine Baazizi, Dario Colazzo, Giorgio Ghelli 等POPL 2024 · 被引用 19 次
- GIO: Generating Efficient Matrix and Frame Readers for Custom Data Formats by ExampleSaeed Fathollahzadeh, Matthias BoehmSIGMOD 2023 · 被引用 4 次
它引用的顶会 Paper1
相关 Paper
- ReCG: Bottom-Up JSON Schema Discovery Using a Repetitive Cluster-and-Generalize FrameworkJoohyung Yun, Byungchul Tak, Wook-Shin HanVLDB 2024 · 被引用 7 次
- Streaming Validation of JSON Documents Against SchemasAlexis Le Glaunec, Angela W. Li, Konstantinos MamourasVLDB 2026 · 被引用 2 次
- Scalable Reasoning on Document Stores via Instance-Aware Query RewritingOlivier Rodriguez, Federico Ulliana, Marie-Laure MugnierVLDB 2023 · 被引用 1 次
- Reducing Ambiguity in Json Schema DiscoveryWilliam Spoth, Oliver Kennedy, Ying Lu, Beda Christoph Hammerschmidt 等SIGMOD 2021 · 被引用 18 次
- Learning to Generate Structured Output with Schema Reinforcement LearningYaxi Lu, Haolun Li, Xin Cong, Zhong Zhang 等ACL 2025 · 被引用 21 次
