Foundations of JSON']JSON Schema

被引:241
|
作者
Pezoa, Felipe [1 ]
Reutter, Juan L. [1 ]
Suarez, Fernando [1 ]
Ugarte, Martin [2 ]
Vrgoc, Domagoj [1 ]
机构
[1] PUC Chile, Santiago, Chile
[2] Univ Libre Bruxelless, Brussels, Belgium
关键词
D O I
10.1145/2872427.2883029
中图分类号
TP [自动化技术、计算机技术];
学科分类号
0812 ;
摘要
JSON the most popular data format for sending API requests and responses is still lacking a standardized schema or meta-data definition that allows the developers to specify the structure of JSON documents. JSON Schema is an attempt to provide a general purpose schema language for JSON, but it is still work in progress, and the formal specification has not yet been agreed upon. Why this could be a problem becomes evident when examining the behaviour of numerous tools for validating JSON documents against this initial schema proposal: although they agree on most general cases, when presented with the greyer areas of the specification they tend to differ significantly. In this paper we provide the first formal definition of syntax and semantics for JSON Schema and use it to show that implementing this layer on top of JSON is feasible in practice. This is done both by analysing the theoretical aspects of the validation problem and by showing how to set up and validate a JSON Schema for Wikidata, the central storage for Wikimedia.
引用
收藏
页码:263 / 273
页数:11
相关论文
共 50 条
  • [1] JSON']JSON Schema Inference Approaches
    Contos, Pavel
    Svoboda, Martin
    ADVANCES IN CONCEPTUAL MODELING, ER 2020, 2020, 12584 : 173 - 183
  • [2] Witness Generation for JSON']JSON Schema
    Attouche, Lyes
    Baazizi, Mohamed-Amine
    Colazzo, Dario
    Ghelli, Giorgio
    Sartiani, Carlo
    Scherzinger, Stefanie
    PROCEEDINGS OF THE VLDB ENDOWMENT, 2022, 15 (13): : 4002 - 4014
  • [3] An Approach for Schema Extraction of JSON']JSON and Extended JSON']JSON Document Collections
    Frozza, Angelo Augusto
    Mello, Ronaldo dos Santos
    da Costa, Felipe de Souza
    2018 IEEE INTERNATIONAL CONFERENCE ON INFORMATION REUSE AND INTEGRATION (IRI), 2018, : 356 - 363
  • [4] A web service based on RESTful API and JSON']JSON Schema/JSON']JSON Meta Schema to construct knowledge graphs
    Agocs, Adam
    Le Goff, Jean-Marie
    2018 INTERNATIONAL CONFERENCE ON COMPUTER, INFORMATION AND TELECOMMUNICATION SYSTEMS (IEEE CITS 2018), 2018, : 167 - 171
  • [5] Nested Schema Mappings for Integrating JSON']JSON
    Hai, Rihan
    Quix, Christoph
    Kensche, David
    CONCEPTUAL MODELING, ER 2018, 2018, 11157 : 397 - 405
  • [6] Negation-closure for JSON']JSON Schema
    Baazizi, Mohamed -Amine
    Colazzo, Dario
    Ghelli, Giorgio
    Sartiani, Carlo
    Scherzinger, Stefanie
    THEORETICAL COMPUTER SCIENCE, 2023, 955
  • [7] JSON']JSON Schema Matching: Empirical Observations
    Waghray, Kunal
    SIGMOD'20: PROCEEDINGS OF THE 2020 ACM SIGMOD INTERNATIONAL CONFERENCE ON MANAGEMENT OF DATA, 2020, : 2887 - 2889
  • [8] Reducing Ambiguity in Json']Json Schema Discovery
    Spoth, William
    Kennedy, Oliver
    Lu, Ying
    Hammerschmidt, Beda
    Liu, Zhen Hua
    SIGMOD '21: PROCEEDINGS OF THE 2021 INTERNATIONAL CONFERENCE ON MANAGEMENT OF DATA, 2021, : 1732 - 1744
  • [9] JSON']JSONDISCOVERER: Visualizing the schema lurking behind JSON']JSON documents
    Canovas Izquierdo, Javier Luis
    Cabot, Jordi
    KNOWLEDGE-BASED SYSTEMS, 2016, 103 : 52 - 55
  • [10] Json']JsonCurer: Data Quality Management for JSON']JSON Based on an Aggregated Schema
    Xiong, Kai
    Xu, Xinyi
    Fu, Siwei
    Weng, Di
    Wang, Yongheng
    Wu, Yingcai
    IEEE TRANSACTIONS ON VISUALIZATION AND COMPUTER GRAPHICS, 2024, 30 (06) : 3008 - 3021