gs1 / EPCIS

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

fixes needed to XML/WithFullCombinationOfFields #335

Closed VladimirAlexiev closed 2 years ago

VladimirAlexiev commented 2 years ago

@sboeckelmann @dakbhavesh I converted XML/WithFullCombinationOfFields to JSON using your tool and then had to make the following fixes (you can see most of them in https://github.com/VladimirAlexiev/EPCIS/commit/47ad32804186eaab4f946cb8a47c65701d74400f):

Similarly in Example-TransactionEvent-2020_07_03y.xml:

Please make them in the XML. Thanks! (And quickly close this issue lest Craig slaps us :-)

CraigRe commented 2 years ago

@sboeckelmann , @dakbhavesh , @VladimirAlexiev ,

VladimirAlexiev commented 2 years ago

all instances of "someFurtherMetadata" already appeared to be "ext1:someFurtherMetadata"

This is https://github.com/gs1/EPCIS/issues/276 issue4

not sure why "cbvmda": "urn:epcglobal:cbv:mda" (which does not appear any most of those files) should be causing these files to fail validation...

Because cbvmda is included in the context and the context says @protectd: true, so no other context can redefine that term, even if it defines it to the same namespace.

Since EPCIS JSON doesn't carry MasterData, I think we should remove this prefix from the context. @CraigRe @dakbhavesh @mgh128 do you agree? The ilms field is supposed to carry gs1: Voc properties, not cbvmda: properties, right?

CraigRe commented 2 years ago

@VladimirAlexiev up to now, EPCIS 1.x ILMD fields carry cbvmda properties. Even if we were allow EPCIS 2.0 ILMD fields to carry gs1: properties, we'll still need to support/allow cbvmda properties, to ensure backward compatibility with EPCIS 1.x implementations (and EPCIS Documents captured in those deployments).

VladimirAlexiev commented 2 years ago

I've seen cbvmda describing GLNs and the like (using cryptic names like ssa, sst). I now grepped "ilmd" and found several that use example:bestBeforeDate, and just one with "cbvmda:lotNumber": "LOTABC"

@CraigRe

"cbvmda" does not appear any most of those files

Yes, but it appeared in a few XML that had some example master data. You can close this issue, since your comment shows the XML fix is correct.

CraigRe commented 2 years ago

@VladimirAlexiev those two examples (bestBeforeDate, lotNumber) are most common, in the DSCSA (Pharma) context. There is no online / linked data definition of cbvma.

VladimirAlexiev commented 2 years ago

@CraigRe please reopen and let's vote the last two bullets today

VladimirAlexiev commented 2 years ago

Decided in Sep 21 telco:

Discussion: whether to add to the cbvmda namespace a trailing colon, or trailing hash, or nothing

CraigRe commented 2 years ago

@CraigRe reflect above in CBV § 9.3.1, using : instead of #.