RalphTro / epcis-event-hash-generator

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).
MIT License
8 stars 4 forks source link

Normalization of "bare string" notation #72

Closed Echsecutor closed 1 year ago

Echsecutor commented 2 years ago

EPCIS 2.0 introduced the "bare string" notation for canonical values of certain attributes in the JSON serialisation. Those need to be normalised to the canonical (GS1 web vocabulary) format.

Echsecutor commented 1 year ago

might want to use https://github.com/digitalbazaar/pyld

Echsecutor commented 1 year ago

For the bare string "resolution" see https://gs1.github.io/EPCIS/epcis-context.jsonld

Echsecutor commented 1 year ago

fixed