Open civsiv opened 3 years ago
Surely in this case the customer
would be the seller Organization that is placing the booking?
That would be the broker
as per the spec: see https://openactive.io/open-booking-api/EditorsDraft/1.0CR3/#scope-of-specification and https://openactive.io/open-booking-api/EditorsDraft/1.0CR3/#conformance-criteria
Proposal
The property
customer
must be optional forOrder
(and any type that subclasses it likeOrderQuote
).Justification
When the
broker
is aResellerBroker
thecustomer
property inOrder
is optional due to the nature of the relationship between thebroker
and theseller
. The Modelling Spec clearly states this in section 6.1.5.However in the model definition of
Order
it is stated thatcustomer
is aRequired
property. This can be seen in section 10.1.1. This is what must be changed.