Leveraging Model-Driven Technologies for JSONArtefacts: The Shipyard Case StudyP&I
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 | Modeling languages IITechnical Papers at Room 2 Chair(s): Sébastien Mosser Université du Québec à Montréal | ||
00:00 20mFull-paper | Leveraging Model-Driven Technologies for JSONArtefacts: The Shipyard Case StudyP&I Technical Papers Alessandro Colantoni Johannes Kepler University Linz, Antonio Garmendia , Luca Berardinelli Johannes Kepler University Linz, Manuel Wimmer JKU Linz, Johannes Braeuer | ||
00:20 20mTalk | Playground for multi-level modeling constructsJ1ST Technical Papers | ||
00:40 10mDemonstration | Multi-Language Support in TouchCOREDEMO Technical Papers Maximilian Schiedermeier McGill University, Bo Wen Li , Jörg Kienzle McGill University, Canada, Hyacinth Ali , Ian X. Gauthier McGill University, Gunter Mussbacher McGill University, Ryan Languay , Qiutan Wu , Greta Freitag |