Skip to content

Commit 7906ab0

Browse files
committed
Fix error reference
1 parent eee7574 commit 7906ab0

File tree

2 files changed

+5
-4
lines changed

2 files changed

+5
-4
lines changed

EditorsDraft/edit.html

+3-2
Original file line numberDiff line numberDiff line change
@@ -411,7 +411,7 @@
411411
<dl class="typography">
412412
<dt><dfn>Customer</dfn></dt>
413413
<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,
415415
so e.g. a parent may book on behalf of their child.</dd>
416416
<dt><dfn>Broker</dfn></dt>
417417
<dd>The organisation or developer providing an application that
@@ -1363,6 +1363,7 @@
13631363
| [`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>. |
13641364
| [`schema:termsOfService`](http://schema.org/termsOfService) | OPTIONAL | - | Array of [`oa:Terms`](https://openactive.io/Terms) | The terms of service of the <a>Broker</a>. |
13651365

1366+
13661367
### `schema:OrderItem`
13671368

13681369
| Property | Broker Request | Booking System Response | Type | Notes |
@@ -1376,7 +1377,7 @@
13761377
| [`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`. |
13771378
| [`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. |
13781379
| [`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`. |
13801381
| [`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` |
13811382

13821383
Note that [`schema:orderQuantity`](http://schema.org/orderQuantity) is only used during the booking flow, and MUST NOT be used within the completed `Order`.

EditorsDraft/index.html

+2-2
Original file line numberDiff line numberDiff line change
@@ -869,7 +869,7 @@ <h2>
869869
</figure><dl class="typography">
870870
<dt><dfn data-dfn-type="dfn" data-plurals="customers" id="dfn-customer">Customer</dfn></dt>
871871
<dd>The user who places a booking using an application provided by
872-
a <a href="#dfn-broker" class="internalDFN" data-link-type="dfn">Broker</a>. The <a href="#dfn-customer" class="internalDFN" data-link-type="dfn">Customers</a> is not necessarily the attendee,
872+
a <a href="#dfn-broker" class="internalDFN" data-link-type="dfn">Broker</a>. The <a href="#dfn-customer" class="internalDFN" data-link-type="dfn">Customer</a> is not necessarily the attendee,
873873
so e.g. a parent may book on behalf of their child.</dd>
874874
<dt><dfn data-dfn-type="dfn" data-plurals="brokers" id="dfn-broker">Broker</dfn></dt>
875875
<dd>The organisation or developer providing an application that
@@ -2987,7 +2987,7 @@ <h2>
29872987
<td><a href="https://openactive.io/error"><code>oa:error</code></a></td>
29882988
<td>-</td>
29892989
<td><em class="rfc2119" title="REQUIRED">REQUIRED</em></td>
2990-
<td>Array of <a href="https://openactive.io/Error"><code>oa:Error</code></a></td>
2990+
<td>Array of <a href="https://openactive.io/OpenBookingError"><code>oa:OpenBookingError</code></a></td>
29912991
<td>Array of errors related to the OrderItem being included in the Order, only applicable for an <code>OrderQuote</code>.</td>
29922992
</tr>
29932993
<tr>

0 commit comments

Comments
 (0)