An Analysis of Defects in Public JSON Schemas - Mines Paris Accéder directement au contenu
Communication Dans Un Congrès Année : 2023

An Analysis of Defects in Public JSON Schemas

Fabien Coelho

Résumé

JSON is a simple de facto standard cross-language textual format used to represent, exchange and store data and documents in computer systems. JSON Schema is a description language, based on JSON, proposed to describe JSON types and validate JSON data. We investigate over 57,800 distinct public schemas for various defects through static analysis, and identify cases of mistyping, misplacing, misnaming, misspelling, misversioning and other miscellaneous issues. Over 60% of schemas are defective, allowing in the worst case unintended data to be validated. These findings suggest to make key changes to the current JSON Schema draft so as to limit potential issues. It also leads us to design JSON Model, an alternative compact and expressive JSON data structure description language.
Fichier principal
Vignette du fichier
A-794-DepotHAL.pdf (661.96 Ko) Télécharger le fichier
Origine : Fichiers produits par l'(les) auteur(s)

Dates et versions

hal-04415517 , version 1 (24-01-2024)

Identifiants

  • HAL Id : hal-04415517 , version 1

Citer

Claire Yannou-Medrala, Fabien Coelho. An Analysis of Defects in Public JSON Schemas. 39èmes journées de la conférence BDA Gestion de Données – Principes, Technologies et Applications, Oct 2023, Montpellier, France. ⟨hal-04415517⟩
9 Consultations
16 Téléchargements

Partager

Gmail Facebook X LinkedIn More