Upcoming JSON Specifications for LIXI2 Standards

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.

Key requirements
Key requirements taken into consideration in determining the conventions to be used include:

  1. The schema and conversion conventions should ensure no data is lost in either direction (XML to JSON or JSON to XML).
  2. 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.
  3. A JSON message will implement native JSON types where appropriate (string, number, integer etc.).
  4. A non-breaking change to the XSD should also be non-breaking to the JSON schema.
Documentation & Resources
Message Conversion Tool
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.

Conventions Documentation
The structural and data type conventions proposed are described in detail on this page.

JSON is a data format that was designed to encode object data derived from Javascript (JSON is an abbreviation for JavaScript Object Notation). It is now very widely used as a data exchange format on the internet, and in particular for providing data to APIs.

More details about the JSON data format can be found at json.org.

Updated: 1st August 2017