Closed bmeesters closed 2 years ago
Hi Bas,
Could you 'stretch' the subject of this issue to to also include documentation of functional reasons when to use 1 TransportOrder with 1 or multiple consignments?
The functional logic behind that probably automatically translates into how to use actors and constraints on each level.
Yes I think that makes sense, I'll update the description. I think that I can try to make a (proposal for) such documentation somewhere in October.
Going over all the open change requests again, sorry this has been delayed for a while. I will do this before the next release. So I'll just add the release tag
I have updated the documentation to reflect the situation
OTM5 has some flexibility how to structure certain messages. For example it is possible to add the shipping and carrier parties on the
TransportOrder
level or theConsignment
order level. The general unwritten rule was that you avoid duplication, so if an actor is used multiple times you use it onTransportOrder
and if it is unique for a singleConsignment
you use it there. However, this approach is not scalable and becomes inconsistent if the content of the messages start to change. See also the discussion in https://github.com/opentripmodel/otm5-change-requests/issues/32. A similar problem exists for the actors on a trip.To avoid confusion and become consistent OTM5 should make clear rules and document those.