gs1 / EPCIS

Draft files being shared for EPCIS 2.0 development
Other
22 stars 7 forks source link

EPCIS Document containing error declaration mechanism will be a good addition to the JSON directory. #161

Closed shalikasingh closed 3 years ago

shalikasingh commented 3 years ago

Hi @joelvogt, @mgh128,

Including a few EPCIS Documents in JSON format depicting error declaration and error correction events will be helpful.

mgh128 commented 3 years ago

Hi @shalikasingh

I've prepared https://github.com/gs1/EPCIS/blob/master/JSON/Example_9.6.1-ObjectEvent-with-error-declaration.json

In doing this, I needed to make a minor update to https://github.com/gs1/EPCIS/blob/master/epcis-context.jsonld

Let me know what you think of the example.

shalikasingh commented 3 years ago

Hi @mgh128 ,

We did go through the example Example_9.6.1-ObjectEvent-with-error-declaration.json and it made sense. Still have a concern regarding the error declaration mechanism have described below

Value of field eventID should be a URI otherwise the example fails against JSON schema. We have raised issue #163 for the same as every example under folder JSON has an incorrect value.