Foundations of JSON Schema
Abstract
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.
Más información
Título según WOS: | ID WOS:000461467400023 Not found in local WOS DB |
Título de la Revista: | PROCEEDINGS OF THE 25TH INTERNATIONAL CONFERENCE ON WORLD WIDE WEB (WWW'16) |
Editorial: | ASSOC COMPUTING MACHINERY |
Fecha de publicación: | 2016 |
Página de inicio: | 263 |
Página final: | 273 |
DOI: |
10.1145/2872427.2883029 |
Notas: | ISI |