ALGORITHM and SOFTWARE PROTOTYPE to uniquely identify/validate the integrity of any EPCIS event through a common, syntax-agnostic approach based on hashing. Takes an EPCIS Document (formatted in either XML or JSON-LD) and returns the corresponding hash value(s).
Just tested this with epcisDocWithSensorComponent (both for jsonld and xml) and it looks nice!
E.g. values are properly expanded/canonicalised to
https://gs1.org/voc/Angle
orhttps://ref.gs1.org/cbv/Comp-longitude
(how it should be!)Many thanks, @dakbhavesh!