Skip to main content

REXS V1.6

File formats

The REXS model structure can be represented in the XML or JSON file formats. A ZIP file can be used to store the REXS model file and additional related data (files, folders) in an orderly manner. It contains exactly one XML or JSON REXS model file along with any additional files or subfolders.

file_formats.png

The following file extensions are permitted:

  • XML: ".rexs" or ".rexs.xml"

  • JSON: ".rexsj" or ".rexs.json"

  • ZIP: ".rexsz" or "rexs.zip"

XML file format

The following rules must be observed when creating a REXS model as an XML file:

  • Encoding: UTF 8 with byte-order-marker (BOM)

  • The XML file must well-formed

  • The associated XML schema must be able to validate the XML file.

  • Permissible file extensions: .rexs or .rexs.xml

JSON file format

The following rules must be observed when creating a REXS Modell as a JSON file:

  • Encoding: UTF 8 with byte-order-marker (BOM)

  • The JSON file must be well-formed

  • The associated JSON schema must be able to validate the JSON file

  • Permissible file extensions: .rexsj or .rexs.json

ZIP file format

ZIP file can be used to store the REXS model file (XML or JSON) and additional related data (files, folders) in an orderly manner.

file_formats.png

The following rules must be observed when creating a REXS ZIP file:

  • Compression: ZIP

  • Relative paths must be used when referencing files or folders in the Model of a REXS ZIP file.

  • Permissible file extensions: .rexsz or .rexs.zip