LIXI is pleased to announce the upcoming support for JSON schema, in addition to our existing XML Schema, for each LIXI2 transaction release. Once requirements are finalised, LIXI will also provide an API for converting LIXI conformant XML to LIXI conformant JSON and vice versa.
This is a collaborative effort with the School of Systems, Management and Leadership within the Faculty of Engineering and Information Technology at the University of Technology Sydney.
Before releasing the first versions of the JSON LIXI2 Schema, we are seeking community feedback on the proposed conventions.
To assist, we have published some documentation describing the conventions that the LIXI2 JSON schema will be based on and some notes on the conversion process and a demonstration tool that converts LIXI2 messages between XML and JSON in both directions.
- The schema and conversion conventions should ensure no data is lost in either direction (XML to JSON or JSON to XML).
- A JSON message's tree structure will remain the same as the XML message structure (parent/child relationships are maintained) so that the existing documentation and related tools remain valid.
- A JSON message will implement native JSON types where appropriate (string, number, integer etc.).
- A non-breaking change to the XSD should also be non-breaking to the JSON schema.
Documentation & Resources
LIXI has prepared a demonstration tool (available to registered users) that allows testing of bi-directional message conversions based on the proposed structural and data type conventions.
The structural and data type conventions proposed are described in detail on this page.
More details about the JSON data format can be found at json.org.
Updated: 1st August 2017