Published July 26, 2026 | Version v1.5.0

AAAlvesJr/XDI-Validator: XDI-Validator v1.5.0

  • 1. CNPEM-Ilum
  • 2. INFN

Contributors

  • 1. U.S. Geoscience Information Netowork

Description

Latest production release.

XDI-Validator is a standalone JSON Schema based validator for XDI files. XDI (*.xdi) is a format used to save XAS data. This validator aiming to be fully compliant with the XDI/1.0 specification, as detailed in XAS Data Interchange Format Draft Specification, version 1.0 and Dictionary of XAS Data Interchange Metadata.

Changelog highlights:

  • Make Mono.d_spacing conditionally required per XDI/1.0 spec by @smrgeoinfo. From @smrgeoinfo 's PR #6 :

The XDI/1.0 specification requires Mono.d_spacing only when the abscissa (Column.1) is monochromator angle or encoder step count — the mono d-spacing is needed only to convert those units into energy:

The Mono.d_spacing header field must be specified if the abscissa is conveyed as monochromator angle.

The current schema requires Mono.d_spacing unconditionally, which produces spurious errors on the many XDI files whose abscissa is energy or wavelength (where d_spacing is optional).

New Contributors

  • @smrgeoinfo made their first contribution in https://github.com/AAAlvesJr/XDI-Validator/pull/6

Full Changelog: https://github.com/AAAlvesJr/XDI-Validator/compare/v1.4.0...v1.5.0

Files

AAAlvesJr/XDI-Validator-v1.5.0.zip

Files (44.7 kB)

Name Size Download all
md5:8341f6c97b10f3b9272c784d463a0fc9
44.7 kB Preview Download

Additional details

Related works