Closed VladimirAlexiev closed 3 years ago
From a Linked Data perspective, I agree. However, within the XML data binding we have a field called eventID which was optional in v1.2. The standard also makes reference to the eventID field, particular for handling of error declarations. This is another example where we have a potential conflict between:
There's a further complication here, because ReadPoint
or BizLocation
also permit user-defined / vendor-defined data from other namespaces to be included. In the XML data binding, the <id>
child element contains the SGLN URI whereas other child elements from other namespaces express any extension fields.
@mgh128 this issue talks about the RDF prop. It should have no effect on XML and JSON.
Adding extra data to BizLocation or an Object (the thing identified with an EPC) will not be a problem. It will be added against the URI and doesn't require an RDF prop id
. We should add examples for both situations if we don't have such (can you add a separate issue?).
eventID
is the same situation: it's present in JSON, mapped to @id
, but doesn't need an rdf prop (i think the link in ErrorDeclaration is called correctiveEvent
)
epcis:id
is described at https://ns.mh1.eu/epcis/ as "xsd:anyURI: An identifier that denotes a specific ReadPoint or BizLocation", and then those classes showepcis:id
as their sole attribute.Following existing examples, we'd have to use
epcis:id
as follows:Now you see that
epcis:id
is redundant because it's nothing else but the URN of the object. Please delete it.(Instead, business locations should describe their CBV/master data like name, address, etc)