openactive / open-booking-api

Repository for the Open Booking API specification
Other
2 stars 3 forks source link

Rejected `OrderProposal` should still have `orderItemStatus` of `"https://openactive.io/OrderItemProposed"`. #157

Open nickevansuk opened 3 years ago

nickevansuk commented 3 years ago

Clarify that if an OrderProposal is rejected its orderItemStatus should still be "https://openactive.io/OrderItemProposed".

The status of an OrderItem with orderItemStatus of "https://openactive.io/OrderItemProposed" is defined by its Order's orderProposalStatus value, e.g. https://openactive.io/AwaitingSellerConfirmation.

This is already inferred by the current specification but should be made clearer.

nickevansuk commented 3 years ago

Do we OrderItems in OrderProposal or OrderQuote to have an orderItemStatus at all? The items themselves do not have a specific status within the container, so hence perhaps they should simply not have a status to clarify this (and reduce the need for this additional property to be maintained).

nickevansuk commented 3 years ago

https://openactive.io/OrderItemProposed has been removed from the tooling as per the above, to simplify further