Open Fak3 opened 3 years ago
@Fak3, that sounds like modeling work. I know we're doing a bit of "business decisions" in the NDR (particularly https://github.com/edi3/edi3-json-ld-ndr/issues/9), but defining an event model is IMO beyond the edi3 scope and I'd prefer for us to avoid it if possible.
CEFACT BSP RDM has few special Event types - Communication_Event, SupplyChain_Event, Transport_Event, and Referenced_Transport_Event
Some of those have numerous associated properties, clumped together to describe possible attributes of multiple real-world events of completely different nature. Thus making it hard to tell how exactly a data producer should use these properties to encode some real-world event, such as "Vessel Arrival" or "Cargo Unload".
For example, Transport Event (UN01004791) has 41 properties:
I suggest we decompose this into appropriate subclasses like CargoUnloadEvent, TransportArrivalEvent, etc. in our vocabualry. And we should decide which of the properties listed above should be present in the domain of which Event subclass.