Leveraging Model-Driven Technologies for JSONArtefacts: The Shipyard Case Study
With JSON’s increasing adoption, the need for structural constraints and validation capabilities led to JSON Schema, a dedicated meta-language to specify languages which are in turn used to validate JSON documents. Currently, the standardisation process of JSON Schema as well as the implementation of adequate tool support (e.g., validators and editors) are work in progress. However, the periodic issuing of newer JSON Schema drafts makes tool development challenging. Nevertheless, many JSON Schemas as language definitions exist, but JSON documents are still mostly edited in basic text-based editors.
In order to tackle this challenge, we investigate in this paper how Model-Driven Engineering (MDE) methods for language engineering can help in this area. Instead of re-inventing the wheel of building up particular technologies directly for JSON, we study how the existing MDE infrastructures may be utilized for JSON. In particular, we present a bridge between the JSONware and Modelware technical spaces to exchange languages and documents. Based on this bridge, our approach supports language engineers, domain experts, and tool providers in editing, validating, and generating tool support with enhanced capabilities for JSON schemas and their documents. We evaluate our approach with Shipyard, a JSON Schema-based language for workflow specification for Keptn, an open source tool for DevOps automation of cloud-native applications. The results of the case study show that proper editors as well as language evolution support from MDE can be reused and at the same time, the surface syntax of JSON is maintained.
Fri 15 OctDisplayed time zone: Osaka, Sapporo, Tokyo change
00:00 - 01:00
|Leveraging Model-Driven Technologies for JSONArtefacts: The Shipyard Case StudyP&I|
|Playground for multi-level modeling constructsJ1ST|
|Multi-Language Support in TouchCOREDEMO|