MESAInternational / B2MML-BatchML

B2MML is an XML implementation of the ANSI/ISA-95, Enterprise-Control System Integration, family of standards (ISA-95), known internationally as IEC/ISO 62264. B2MML consists of a set of XML schemas written using the World Wide Web Consortium's XML Schema language (XSD) that implement the data models in the ISA-95 standard.
Other
92 stars 45 forks source link

Automation for XSD to json-schema #93

Open FelixReuthlingerGE opened 2 weeks ago

FelixReuthlingerGE commented 2 weeks ago

Since XML is a very much outdated technology and not usable in many recent technologies (like streaming data via Kafka, would require json to use most common feature like a schema registry) it would be great to have an automation included in this repository that creates and validates a json-schema from the XSD files and picks up also all updates. From my point of view it is not feasible to use a one-time generated json-schema that was even not really validated. I am also looking into automating the conversion, using something like jaxb - java classes and generating json-schema from there. Any help would be greatly appreciated.

ArnoClaeys commented 2 weeks ago

For similar reasons, our research group at Ghent University / Flanders Make is working on a JSON(-LD) approach. Should MESA decide to include it in their roadmap, we would be happy to contribute to JSON schemas based on the ISA-95/B2MML specification.

@Dennis-Brandl, what is your perspective on this matter?