|
411 | 411 | <dl class="typography">
|
412 | 412 | <dt><dfn>Customer</dfn></dt>
|
413 | 413 | <dd>The user who places a booking using an application provided by
|
414 |
| - a <a>Broker</a>. The <a>Customers</a> is not necessarily the attendee, |
| 414 | + a <a>Broker</a>. The <a>Customer</a> is not necessarily the attendee, |
415 | 415 | so e.g. a parent may book on behalf of their child.</dd>
|
416 | 416 | <dt><dfn>Broker</dfn></dt>
|
417 | 417 | <dd>The organisation or developer providing an application that
|
|
1363 | 1363 | | [`schema:logo`](http://schema.org/logo) | RECOMMENDED | - | [`schema:ImageObject`](https://schema.org/ImageObject) | Logo of the <a>Broker</a>, used within the <a>Booking System</a>. |
|
1364 | 1364 | | [`schema:termsOfService`](http://schema.org/termsOfService) | OPTIONAL | - | Array of [`oa:Terms`](https://openactive.io/Terms) | The terms of service of the <a>Broker</a>. |
|
1365 | 1365 |
|
| 1366 | + |
1366 | 1367 | ### `schema:OrderItem`
|
1367 | 1368 |
|
1368 | 1369 | | Property | Broker Request | Booking System Response | Type | Notes |
|
|
1376 | 1377 | | [`schema:acceptedOffer`](http://schema.org/acceptedOffer) | REQUIRED | REQUIRED | [`schema:Offer`](https://schema.org/Offer) | The offer from the associated `orderedItem` that has been selected by the <a>Customer</a>. The price of which includes or excludes tax depending on the `taxMode` of the `Order`. |
|
1377 | 1378 | | [`schema:orderedItem`](http://schema.org/orderedItem) | REQUIRED | REQUIRED | [`oa:ScheduledSession`](https://openactive.io/ScheduledSession), [`oa:Slot`](https://openactive.io/Slot), [`oa:HeadlineEvent`](https://openactive.io/HeadlineEvent), [`schema:Event`](https://schema.org/Event) or [`schema:CourseInstance`](https://schema.org/CourseInstance) | The specific bookable Thing that has been selected by the <a>Customer</a>. See the [[Modelling-Opportunity-Data]] for more information on these types. Note that the Broker Request and Orders feed only requires `id` within these objects to be included, all other properties are ignored. |
|
1378 | 1379 | | [`oa:accessToken`](https://openactive.io/accessToken) | - | RECOMMENDED | Array of [`schema:Barcode`](https://schema.org/Barcode) | `Barcode` that contains reference to an asset (e.g. Barcode, QR code image or PDF) usable for entrance, not applicable for an `OrderQuote`. |
|
1379 |
| -| [`oa:error`](https://openactive.io/error) | - | REQUIRED | Array of [`oa:Error`](https://openactive.io/Error) | Array of errors related to the OrderItem being included in the Order, only applicable for an `OrderQuote`. | |
| 1380 | +| [`oa:error`](https://openactive.io/error) | - | REQUIRED | Array of [`oa:OpenBookingError`](https://openactive.io/OpenBookingError) | Array of errors related to the OrderItem being included in the Order, only applicable for an `OrderQuote`. | |
1380 | 1381 | | [`oa:cancellationMessage`](https://openactive.io/cancellationMessage) | - | OPTIONAL | [`schema:Text`](https://schema.org/Text) | A message set by the Seller in the event of opportunity cancellation, only applicable for an `Order` and where the `OrderItem` has `orderItemStatus` set to `https://openactive.io/SellerCancelled` |
|
1381 | 1382 |
|
1382 | 1383 | Note that [`schema:orderQuantity`](http://schema.org/orderQuantity) is only used during the booking flow, and MUST NOT be used within the completed `Order`.
|
|
0 commit comments