-
Notifications
You must be signed in to change notification settings - Fork 1
/
test-interface.jsonld
383 lines (382 loc) · 30.6 KB
/
test-interface.jsonld
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
{
"@context": [
"https://openactive.io/ns-extension",
{
"test": "https://openactive.io/test-interface#"
}
],
"@graph": [
{
"@id": "test:testOpenBookingFlow",
"@type": "Property",
"label": "testOpenBookingFlow",
"comment": "The [open booking flow](https://openactive.io/open-booking-api/EditorsDraft/1.0CR3/#booking-flows) that a created [Opportunity and Offer pair](https://openactive.io/open-booking-api/EditorsDraft/1.0CR3/#definition-of-a-bookable-opportunity-and-offer-pair) should support.",
"domainIncludes": [
"schema:Event"
],
"rangeIncludes": [
"test:TestOpenBookingFlowEnumeration"
]
},
{
"@id": "test:TestOpenBookingFlowEnumeration",
"@type": "Class",
"label": "TestOpenBookingFlowEnumeration",
"comment": "An enumeration of [open booking flow](https://openactive.io/open-booking-api/EditorsDraft/1.0CR3/#booking-flows) that an [Opportunity and Offer pair](https://openactive.io/open-booking-api/EditorsDraft/1.0CR3/#definition-of-a-bookable-opportunity-and-offer-pair) can be booked with.",
"subClassOf": [
"schema:Enumeration"
]
},
{
"@id": "https://openactive.io/test-interface#OpenBookingSimpleFlow",
"@type": "test:TestOpenBookingFlowEnumeration",
"label": "OpenBookingSimpleFlow",
"comment": "[Simple Booking Flow](https://openactive.io/open-booking-api/EditorsDraft/#simple-booking-flow): Booking flow that does not require approval"
},
{
"@id": "https://openactive.io/test-interface#OpenBookingApprovalFlow",
"@type": "test:TestOpenBookingFlowEnumeration",
"label": "OpenBookingApprovalFlow",
"comment": "[Booking Flow with Approval](https://openactive.io/open-booking-api/EditorsDraft/#booking-flow-with-approval): Booking flow that requires Seller approval before booking"
},
{
"@id": "test:testOpportunityCriteria",
"@type": "Property",
"label": "testOpportunityCriteria",
"comment": "The opportunity criteria which the Event conforms to.",
"domainIncludes": [
"schema:Event"
],
"rangeIncludes": [
"test:TestOpportunityCriteriaEnumeration"
]
},
{
"@id": "test:TestOpportunityCriteriaEnumeration",
"@type": "Class",
"label": "TestOpportunityCriteriaEnumeration",
"comment": "An enumeration of test opportunity criteria to which an opportunity must conform.",
"subClassOf": [
"schema:Enumeration"
]
},
{
"@id": "https://openactive.io/test-interface#TestOpportunityBookable",
"@type": "test:TestOpportunityCriteriaEnumeration",
"label": "TestOpportunityBookable",
"comment": "[Bookable Opportunity with Bookable Offer](https://www.openactive.io/open-booking-api/EditorsDraft/#definition-of-a-bookable-opportunity-and-offer-pair), with `remainingAttendeeCapacity > 1`. If both free and paid opportunities are supported by the Booking System, the resulting opportunity should be randomly either free or paid."
},
{
"@id": "https://openactive.io/test-interface#TestOpportunityBookableInPast",
"@type": "test:TestOpportunityCriteriaEnumeration",
"label": "TestOpportunityBookableInPast",
"comment": "[Bookable Opportunity with Bookable Offer](https://www.openactive.io/open-booking-api/EditorsDraft/#definition-of-a-bookable-opportunity-and-offer-pair), with `endDate` in the past."
},
{
"@id": "https://openactive.io/test-interface#TestOpportunityBookableNoSpaces",
"@type": "test:TestOpportunityCriteriaEnumeration",
"label": "TestOpportunityBookableNoSpaces",
"comment": "[Bookable Opportunity with Bookable Offer](https://www.openactive.io/open-booking-api/EditorsDraft/#definition-of-a-bookable-opportunity-and-offer-pair), with `remainingAttendeeCapacity == 0`."
},
{
"@id": "https://openactive.io/test-interface#TestOpportunityBookableOneSpace",
"@type": "test:TestOpportunityCriteriaEnumeration",
"label": "TestOpportunityBookableOneSpace",
"comment": "[Bookable Opportunity with Bookable Offer](https://www.openactive.io/open-booking-api/EditorsDraft/#definition-of-a-bookable-opportunity-and-offer-pair), with `remainingAttendeeCapacity == 1`."
},
{
"@id": "https://openactive.io/test-interface#TestOpportunityBookableFiveSpaces",
"@type": "test:TestOpportunityCriteriaEnumeration",
"label": "TestOpportunityBookableFiveSpaces",
"comment": "[Bookable Opportunity with Bookable Offer](https://www.openactive.io/open-booking-api/EditorsDraft/#definition-of-a-bookable-opportunity-and-offer-pair), with `remainingAttendeeCapacity == 5`."
},
{
"@id": "https://openactive.io/test-interface#TestOpportunityBookableFree",
"@type": "test:TestOpportunityCriteriaEnumeration",
"label": "TestOpportunityBookableFree",
"comment": "[Bookable Opportunity with Bookable Offer](https://www.openactive.io/open-booking-api/EditorsDraft/#definition-of-a-bookable-opportunity-and-offer-pair), with `remainingAttendeeCapacity > 1`, where at least one `Offer` has a `price` of `0`."
},
{
"@id": "https://openactive.io/test-interface#TestOpportunityBookableNonFree",
"@type": "test:TestOpportunityCriteriaEnumeration",
"label": "TestOpportunityBookableNonFree",
"comment": "[Bookable Opportunity with Bookable Offer](https://www.openactive.io/open-booking-api/EditorsDraft/#definition-of-a-bookable-opportunity-and-offer-pair), with `remainingAttendeeCapacity > 1` and includes at least one `Offer` with `Offer.price > 0`."
},
{
"@id": "https://openactive.io/test-interface#TestOpportunityBookableUsingPayment",
"@type": "test:TestOpportunityCriteriaEnumeration",
"label": "TestOpportunityBookableUsingPayment",
"comment": "[Bookable Opportunity with Bookable Offer](https://www.openactive.io/open-booking-api/EditorsDraft/#definition-of-a-bookable-opportunity-and-offer-pair), with `remainingAttendeeCapacity > 1` and includes at least one `Offer` with `Offer.price > 0` and a `openBookingPrepayment` value that is not `https://openactive.io/Unavailable`."
},
{
"@id": "https://openactive.io/test-interface#TestOpportunityBookableWithinValidFromBeforeStartDate",
"@type": "test:TestOpportunityCriteriaEnumeration",
"label": "TestOpportunityBookableWithinValidFromBeforeStartDate",
"comment": "[Bookable Opportunity with Bookable Offer](https://www.openactive.io/open-booking-api/EditorsDraft/#definition-of-a-bookable-opportunity-and-offer-pair), with `remainingAttendeeCapacity > 1` and a `startDate` in range of `validFromBeforeStartDate`."
},
{
"@id": "https://openactive.io/test-interface#TestOpportunityBookableOutsideValidFromBeforeStartDate",
"@type": "test:TestOpportunityCriteriaEnumeration",
"label": "TestOpportunityBookableOutsideValidFromBeforeStartDate",
"comment": "[Bookable Opportunity with Bookable Offer](https://www.openactive.io/open-booking-api/EditorsDraft/#definition-of-a-bookable-opportunity-and-offer-pair), with `remainingAttendeeCapacity > 1` and a `startDate` outside of range of `validFromBeforeStartDate`."
},
{
"@id": "https://openactive.io/test-interface#TestOpportunityBookableCancellable",
"@type": "test:TestOpportunityCriteriaEnumeration",
"label": "TestOpportunityBookableCancellable",
"comment": "[Bookable Opportunity with Bookable Offer](https://www.openactive.io/open-booking-api/EditorsDraft/#definition-of-a-bookable-opportunity-and-offer-pair), with `remainingAttendeeCapacity > 1` and includes at least one `Offer` without `latestCancellationBeforeStartDate` and with `allowCustomerCancellationFullRefund` set to `true`."
},
{
"@id": "https://openactive.io/test-interface#TestOpportunityBookableNotCancellable",
"@type": "test:TestOpportunityCriteriaEnumeration",
"label": "TestOpportunityBookableNotCancellable",
"comment": "[Bookable Opportunity with Bookable Offer](https://www.openactive.io/open-booking-api/EditorsDraft/#definition-of-a-bookable-opportunity-and-offer-pair), with `remainingAttendeeCapacity > 1` and includes at least one `Offer` with `latestCancellationBeforeStartDate` outside of range, or with `allowCustomerCancellationFullRefund` set to `false`."
},
{
"@id": "https://openactive.io/test-interface#TestOpportunityBookableCancellableWithinWindow",
"@type": "test:TestOpportunityCriteriaEnumeration",
"label": "TestOpportunityBookableCancellableWithinWindow",
"comment": "[Bookable Opportunity with Bookable Offer](https://www.openactive.io/open-booking-api/EditorsDraft/#definition-of-a-bookable-opportunity-and-offer-pair), with `remainingAttendeeCapacity > 1` and including at least one `Offer` with `allowCustomerCancellationFullRefund` set to `true` and with `latestCancellationBeforeStartDate` in range."
},
{
"@id": "https://openactive.io/test-interface#TestOpportunityBookableCancellableOutsideWindow",
"@type": "test:TestOpportunityCriteriaEnumeration",
"label": "TestOpportunityBookableCancellableOutsideWindow",
"comment": "[Bookable Opportunity with Bookable Offer](https://www.openactive.io/open-booking-api/EditorsDraft/#definition-of-a-bookable-opportunity-and-offer-pair), with `remainingAttendeeCapacity > 1` and including at least one `Offer` with `allowCustomerCancellationFullRefund` set to `true`, except with `latestCancellationBeforeStartDate` outside of range."
},
{
"@id": "https://openactive.io/test-interface#TestOpportunityBookableWithinValidFromBeforeStartDateWindow",
"@type": "test:TestOpportunityCriteriaEnumeration",
"label": "TestOpportunityBookableWithinValidFromBeforeStartDateWindow",
"comment": "[Bookable Opportunity with Bookable Offer](https://www.openactive.io/open-booking-api/EditorsDraft/#definition-of-a-bookable-opportunity-and-offer-pair), with `remainingAttendeeCapacity > 1` and including at least one `Offer` with `validFromBeforeStartDate` provided, and where `validFromBeforeStartDate` subtracted from the `startDate` is in the past."
},
{
"@id": "https://openactive.io/test-interface#TestOpportunityBookableOutsideValidFromBeforeStartDateWindow",
"@type": "test:TestOpportunityCriteriaEnumeration",
"label": "TestOpportunityBookableOutsideValidFromBeforeStartDateWindow",
"comment": "[Bookable Opportunity with Bookable Offer](https://www.openactive.io/open-booking-api/EditorsDraft/#definition-of-a-bookable-opportunity-and-offer-pair), with `remainingAttendeeCapacity > 1` and including at least one `Offer` with `validFromBeforeStartDate` provided, except where `validFromBeforeStartDate` subtracted from the `startDate` is in the future."
},
{
"@id": "https://openactive.io/test-interface#TestOpportunityBookableAttendeeDetails",
"@type": "test:TestOpportunityCriteriaEnumeration",
"label": "TestOpportunityBookableAttendeeDetails",
"comment": "[Bookable Opportunity with Bookable Offer](https://www.openactive.io/open-booking-api/EditorsDraft/#definition-of-a-bookable-opportunity-and-offer-pair), with `remainingAttendeeCapacity > 1` and including at least one `Offer` with an `openBookingFlowRequirement` of `https://openactive.io/OpenBookingAttendeeDetails`. If both free and paid opportunities are supported by the Booking System, the resulting opportunity should be randomly either free or paid."
},
{
"@id": "https://openactive.io/test-interface#TestOpportunityBookableAdditionalDetails",
"@type": "test:TestOpportunityCriteriaEnumeration",
"label": "TestOpportunityBookableAdditionalDetails",
"comment": "[Bookable Opportunity with Bookable Offer](https://www.openactive.io/open-booking-api/EditorsDraft/#definition-of-a-bookable-opportunity-and-offer-pair), with `remainingAttendeeCapacity > 1` and including at least one `Offer` with an `openBookingFlowRequirement` of `https://openactive.io/OpenBookingIntakeForm`."
},
{
"@id": "https://openactive.io/test-interface#TestOpportunityBookableFreePrepaymentOptional",
"@type": "test:TestOpportunityCriteriaEnumeration",
"label": "TestOpportunityBookableFreePrepaymentOptional",
"comment": "[Bookable Opportunity with Bookable Offer](https://www.openactive.io/open-booking-api/EditorsDraft/#definition-of-a-bookable-opportunity-and-offer-pair), with `remainingAttendeeCapacity > 1`, where at least one `Offer` has a `openBookingPrepayment` value of `https://openactive.io/Optional` and a `price` of `0`. This criteria [violates the specification](https://openactive.io/open-booking-api/EditorsDraft/#free-opportunities), and is only used internally by the OpenActive Test Suite. An implementation of the Test Interface on the Booking System must return an error for this value."
},
{
"@id": "https://openactive.io/test-interface#TestOpportunityBookableNonFreePrepaymentOptional",
"@type": "test:TestOpportunityCriteriaEnumeration",
"label": "TestOpportunityBookableNonFreePrepaymentOptional",
"comment": "[Bookable Opportunity with Bookable Offer](https://www.openactive.io/open-booking-api/EditorsDraft/#definition-of-a-bookable-opportunity-and-offer-pair), with `remainingAttendeeCapacity > 1`, where at least one `Offer` has a `openBookingPrepayment` value of `https://openactive.io/Optional` and a `price` greater than `0`."
},
{
"@id": "https://openactive.io/test-interface#TestOpportunityBookableNonFreePrepaymentUnavailable",
"@type": "test:TestOpportunityCriteriaEnumeration",
"label": "TestOpportunityBookableNonFreePrepaymentUnavailable",
"comment": "[Bookable Opportunity with Bookable Offer](https://www.openactive.io/open-booking-api/EditorsDraft/#definition-of-a-bookable-opportunity-and-offer-pair), with `remainingAttendeeCapacity > 1`, where at least one `Offer` has a `openBookingPrepayment` value of `https://openactive.io/Unavailable` and a `price` greater than `0`."
},
{
"@id": "https://openactive.io/test-interface#TestOpportunityBookableFreePrepaymentRequired",
"@type": "test:TestOpportunityCriteriaEnumeration",
"label": "TestOpportunityBookableFreePrepaymentRequired",
"comment": "[Bookable Opportunity with Bookable Offer](https://www.openactive.io/open-booking-api/EditorsDraft/#definition-of-a-bookable-opportunity-and-offer-pair), with `remainingAttendeeCapacity > 1`, where at least one `Offer` has a `openBookingPrepayment` value of `https://openactive.io/Required` and a `price` of `0`. This criteria [violates the specification](https://openactive.io/open-booking-api/EditorsDraft/#free-opportunities), and is only used internally by the OpenActive Test Suite. An implementation of the Test Interface on the Booking System must return an error for this value."
},
{
"@id": "https://openactive.io/test-interface#TestOpportunityBookableNonFreePrepaymentRequired",
"@type": "test:TestOpportunityCriteriaEnumeration",
"label": "TestOpportunityBookableNonFreePrepaymentRequired",
"comment": "[Bookable Opportunity with Bookable Offer](https://www.openactive.io/open-booking-api/EditorsDraft/#definition-of-a-bookable-opportunity-and-offer-pair), with `remainingAttendeeCapacity > 1`, where at least one `Offer` has either no `openBookingPrepayment` value specified or a `openBookingPrepayment` value of `https://openactive.io/Required`, and a `price` greater than `0`."
},
{
"@id": "https://openactive.io/test-interface#TestOpportunityBookableNonFreeTaxGross",
"@type": "test:TestOpportunityCriteriaEnumeration",
"label": "TestOpportunityBookableNonFreeTaxGross",
"comment": "[Bookable Opportunity with Bookable Offer](https://www.openactive.io/open-booking-api/EditorsDraft/#definition-of-a-bookable-opportunity-and-offer-pair), with `remainingAttendeeCapacity > 1`, and including at least one `Offer` with `Offer.price > 0`, and where `taxMode` of the `seller` is `https://openactive.io/TaxGross`."
},
{
"@id": "https://openactive.io/test-interface#TestOpportunityBookableNonFreeTaxNet",
"@type": "test:TestOpportunityCriteriaEnumeration",
"label": "TestOpportunityBookableNonFreeTaxNet",
"comment": "[Bookable Opportunity with Bookable Offer](https://www.openactive.io/open-booking-api/EditorsDraft/#definition-of-a-bookable-opportunity-and-offer-pair), with `remainingAttendeeCapacity > 1`, and including at least one `Offer` with `Offer.price > 0`, and where `taxMode` of the `seller` is `https://openactive.io/TaxNet`."
},
{
"@id": "https://openactive.io/test-interface#TestOpportunityBookableSellerTermsOfService",
"@type": "test:TestOpportunityCriteriaEnumeration",
"label": "TestOpportunityBookableSellerTermsOfService",
"comment": "[Bookable Opportunity with Bookable Offer](https://www.openactive.io/open-booking-api/EditorsDraft/#definition-of-a-bookable-opportunity-and-offer-pair), with `organizer` or `provider` containing a `termsOfService` property."
},
{
"@id": "https://openactive.io/test-interface#TestOpportunityOnlineBookable",
"@type": "test:TestOpportunityCriteriaEnumeration",
"label": "TestOpportunityOnlineBookable",
"comment": "[Bookable Opportunity with Bookable Offer](https://www.openactive.io/open-booking-api/EditorsDraft/#definition-of-a-bookable-opportunity-and-offer-pair), with `remainingAttendeeCapacity > 1`, and has `eventAttendanceMode` equal to `MixedEventAttendanceMode` or `OnlineEventAttendanceMode`. If both free and paid opportunities are supported by the Booking System, the resulting opportunity should be randomly either free or paid."
},
{
"@id": "https://openactive.io/test-interface#TestOpportunityOfflineBookable",
"@type": "test:TestOpportunityCriteriaEnumeration",
"label": "TestOpportunityOfflineBookable",
"comment": "[Bookable Opportunity with Bookable Offer](https://www.openactive.io/open-booking-api/EditorsDraft/#definition-of-a-bookable-opportunity-and-offer-pair), with `remainingAttendeeCapacity > 1`, and has `eventAttendanceMode` equal to `MixedEventAttendanceMode` or `OfflineEventAttendanceMode`. If both free and paid opportunities are supported by the Booking System, the resulting opportunity should be randomly either free or paid."
},
{
"@id": "https://openactive.io/test-interface#TestOpportunityBookableWithNegotiation",
"@type": "test:TestOpportunityCriteriaEnumeration",
"label": "TestOpportunityBookableWithNegotiation",
"comment": "[Bookable Opportunity with Bookable Offer](https://www.openactive.io/open-booking-api/EditorsDraft/#definition-of-a-bookable-opportunity-and-offer-pair), with `remainingAttendeeCapacity > 1` and including at least one `Offer` with an `openBookingFlowRequirement` of `https://openactive.io/OpenBookingNegotiation`. If both free and paid opportunities are supported by the Booking System, the resulting opportunity should be randomly either free or paid."
},
{
"@id": "test:OpenBookingSimulateAction",
"@type": "Class",
"label": "OpenBookingSimulateAction",
"comment": "An action that invokes a simulation of a specific behaviour within the booking system.",
"subClassOf": [
"schema:Action"
]
},
{
"@id": "test:SellerRequestedCancellationSimulateAction",
"@type": "Class",
"label": "SellerRequestedCancellationSimulationAction",
"comment": "Simulate the seller cancelling an activity that a customer has booked ([spec](https://www.openactive.io/open-booking-api/EditorsDraft/#seller-requested-cancellation)). Expectations: An OrderItem's `orderItemStatus` changes to `https://openactive.io/SellerCancelled`; and the Order is updated in the booking system's [Orders RPDE feed](https://openactive.io/open-booking-api/EditorsDraft/#orders-feed-notifications-updates-and-refunds).",
"subClassOf": [
"test:OpenBookingSimulateAction"
]
},
{
"@id": "test:SellerRequestedCancellationWithMessageSimulateAction",
"@type": "Class",
"label": "SellerRequestedCancellationWithMessageSimulateAction",
"comment": "Simulate the seller cancelling an activity that a customer has booked, and providing a message to the customer ([spec](https://www.openactive.io/open-booking-api/EditorsDraft/#seller-requested-cancellation)). Expectations: An OrderItem's `orderItemStatus` changes to `https://openactive.io/SellerCancelled`, and the same OrderItem has a `cancellationMessage` set; and the Order is updated in the booking system's [Orders RPDE feed](https://openactive.io/open-booking-api/EditorsDraft/#orders-feed-notifications-updates-and-refunds).",
"subClassOf": [
"test:OpenBookingSimulateAction"
]
},
{
"@id": "test:ReplacementSimulateAction",
"@type": "Class",
"label": "ReplacementSimulateAction",
"comment": "Simulate replacing a customer's booked Opportunity with another equivalent one ([spec](https://www.openactive.io/open-booking-api/EditorsDraft/#cancellation-replacement-refund-calculation-and-notification)). Expectations: An OrderItem should have its booked Opportunity (via `.orderedItem`) changed to a different Opportunity with, among other things, a different ID; and the Order is updated in the booking system's [Orders RPDE feed](https://openactive.io/open-booking-api/EditorsDraft/#orders-feed-notifications-updates-and-refunds), with the replaced opportunity included.",
"subClassOf": [
"test:OpenBookingSimulateAction"
]
},
{
"@id": "test:CustomerNoticeSimulateAction",
"@type": "Class",
"label": "CustomerNoticeSimulateAction",
"comment": "Simulate providing a notice to a customer about a booking that they have made ([spec](https://openactive.io/open-booking-api/EditorsDraft/#customer-notice-notifications)). Expectations: An OrderItem should have `customerNotice` set to some text; and the Order is updated in the booking system's [Orders RPDE feed](https://openactive.io/open-booking-api/EditorsDraft/#orders-feed-notifications-updates-and-refunds).",
"subClassOf": [
"test:OpenBookingSimulateAction"
]
},
{
"@id": "test:ChangeOfLogisticsTimeSimulateAction",
"@type": "Class",
"label": "ChangeOfLogisticsTimeSimulateAction",
"comment": "Simulate changing the time of an Opportunity after a customer has already booked it ([spec](https://openactive.io/open-booking-api/EditorsDraft/#change-of-logistics-notifications), with the opportunity data in the Orders RPDE feed as defined in [issue #198](https://github.com/openactive/open-booking-api/issues/198)). Expectations: A booked Opportunity's `startDate`, `endDate`, or `duration` changes to a new value; and the Order is updated in the booking system's [Orders RPDE feed](https://openactive.io/open-booking-api/EditorsDraft/#orders-feed-notifications-updates-and-refunds), with the modified opportunity data included.",
"subClassOf": [
"test:OpenBookingSimulateAction"
]
},
{
"@id": "test:ChangeOfLogisticsNameSimulateAction",
"@type": "Class",
"label": "ChangeOfLogisticsNameSimulateAction",
"comment": "Simulate changing the name of an Opportunity after a customer has already booked it ([spec](https://openactive.io/open-booking-api/EditorsDraft/#change-of-logistics-notifications), with the opportunity data in the Orders RPDE feed as defined in [issue #198](https://github.com/openactive/open-booking-api/issues/198)). Expectations: A booked Opportunity's `name` changes to a new value; and the Order is updated in the booking system's [Orders RPDE feed](https://openactive.io/open-booking-api/EditorsDraft/#orders-feed-notifications-updates-and-refunds), with the modified opportunity data included.",
"subClassOf": [
"test:OpenBookingSimulateAction"
]
},
{
"@id": "test:ChangeOfLogisticsLocationSimulateAction",
"@type": "Class",
"label": "ChangeOfLogisticsLocationSimulateAction",
"comment": "Simulate changing the location of an Opportunity after a customer has already booked it ([spec](https://openactive.io/open-booking-api/EditorsDraft/#change-of-logistics-notifications), with the opportunity data in the Orders RPDE feed as defined in [issue #198](https://github.com/openactive/open-booking-api/issues/198)). Expectations: A booked Opportunity's `location` changes to a new value; and the Order is updated in the booking system's [Orders RPDE feed](https://openactive.io/open-booking-api/EditorsDraft/#orders-feed-notifications-updates-and-refunds), with the modified opportunity data included.",
"subClassOf": [
"test:OpenBookingSimulateAction"
]
},
{
"@id": "test:AttendeeAttendedSimulateAction",
"@type": "Class",
"label": "AttendeeAttendedSimulateAction",
"comment": "Simulate confirming a customer as having attended the activity that they booked ([spec](https://openactive.io/open-booking-api/EditorsDraft/#opportunity-attendance-updates), with updated status values as defined in [issue #199](https://github.com/openactive/open-booking-api/issues/199)). Expectations: An OrderItem's `orderItemStatus` changes to `https://openactive.io/AttendeeAttended`; and the Order is updated in the booking system's [Orders RPDE feed](https://openactive.io/open-booking-api/EditorsDraft/#orders-feed-notifications-updates-and-refunds).",
"subClassOf": [
"test:OpenBookingSimulateAction"
]
},
{
"@id": "test:AttendeeAbsentSimulateAction",
"@type": "Class",
"label": "AttendeeAbsentSimulateAction",
"comment": "Simulate confirming a customer as not having attended the activity that they booked ([spec](https://openactive.io/open-booking-api/EditorsDraft/#opportunity-attendance-updates), with updated status values as defined in [issue #199](https://github.com/openactive/open-booking-api/issues/199)). Expectations: An OrderItem's `orderItemStatus` changes to `https://openactive.io/AttendeeAbsent`; and the Order is updated in the booking system's [Orders RPDE feed](https://openactive.io/open-booking-api/EditorsDraft/#orders-feed-notifications-updates-and-refunds).",
"subClassOf": [
"test:OpenBookingSimulateAction"
]
},
{
"@id": "test:AccessPassUpdateSimulateAction",
"@type": "Class",
"label": "AccessPassUpdateSimulateAction",
"comment": "Simulate an update to a booking's `accessPass` ([spec](https://www.openactive.io/open-booking-api/EditorsDraft/#other-notifications)). Expectations: An OrderItem's `accessPass` changes to a new value; and the Order is updated in the booking system's [Orders RPDE feed](https://openactive.io/open-booking-api/EditorsDraft/#orders-feed-notifications-updates-and-refunds).",
"subClassOf": [
"test:OpenBookingSimulateAction"
]
},
{
"@id": "test:AccessCodeUpdateSimulateAction",
"@type": "Class",
"label": "AccessCodeUpdateSimulateAction",
"comment": "Simulate an update to a booking's `accessCode` ([spec](https://www.openactive.io/open-booking-api/EditorsDraft/#other-notifications)). Expectations: An OrderItem's `accessCode` changes to a new value; and the Order is updated in the booking system's [Orders RPDE feed](https://openactive.io/open-booking-api/EditorsDraft/#orders-feed-notifications-updates-and-refunds).",
"subClassOf": [
"test:OpenBookingSimulateAction"
]
},
{
"@id": "test:SellerAcceptOrderProposalSimulateAction",
"@type": "Class",
"label": "SellerAcceptOrderProposalSimulateAction",
"comment": "Simulate the seller approving a customer's [OrderProposal](https://openactive.io/open-booking-api/EditorsDraft/#minimal-proposal-implementation) ([spec](https://openactive.io/open-booking-api/EditorsDraft/#proposal-approval), with the Order Proposals RPDE feed as defined in [issue #197](https://github.com/openactive/open-booking-api/issues/197)). Expectations: It should now be possible to complete the booking with **[B](https://openactive.io/open-booking-api/EditorsDraft/#dfn-b)**; the OrderProposal's `orderProposalStatus` is set to `https://openactive.io/SellerAccepted`; and the OrderProposal is updated in the booking system's [Order Proposals RPDE feed](https://github.com/openactive/open-booking-api/issues/197).",
"subClassOf": [
"test:OpenBookingSimulateAction"
]
},
{
"@id": "test:SellerAmendOrderProposalSimulateAction",
"@type": "Class",
"label": "SellerAmendOrderProposalSimulateAction",
"comment": "Simulate the seller amending a customer's [OrderProposal](https://openactive.io/open-booking-api/EditorsDraft/#minimal-proposal-implementation) ([spec](https://openactive.io/open-booking-api/EditorsDraft/#proposal-amendment), with the Order Proposals RPDE feed as defined in [issue #197](https://github.com/openactive/open-booking-api/issues/197)). Expectations: The OrderProposal's `orderProposalVersion` is changed and later attempts to complete the booking with **[B](https://openactive.io/open-booking-api/EditorsDraft/#dfn-b)** will only succeed with this new `orderProposalVersion`; and the OrderProposal is updated in the booking system's [Order Proposals RPDE feed](https://github.com/openactive/open-booking-api/issues/197).",
"subClassOf": [
"test:OpenBookingSimulateAction"
]
},
{
"@id": "test:SellerRejectOrderProposalSimulateAction",
"@type": "Class",
"label": "SellerRejectOrderProposalSimulateAction",
"comment": "Simulate the seller rejecting a customer's [OrderProposal](https://openactive.io/open-booking-api/EditorsDraft/#minimal-proposal-implementation) ([spec](https://openactive.io/open-booking-api/EditorsDraft/#proposal-rejection), with the Order Proposals RPDE feed as defined in [issue #197](https://github.com/openactive/open-booking-api/issues/197)). Expectations: It should not be possible to complete the booking with **[B](https://openactive.io/open-booking-api/EditorsDraft/#dfn-b)**; the OrderProposal's `orderProposalStatus` is set to `https://openactive.io/SellerRejected`; and the OrderProposal is updated in the booking system's [Order Proposals RPDE feed](https://github.com/openactive/open-booking-api/issues/197).",
"subClassOf": [
"test:OpenBookingSimulateAction"
]
},
{
"@id": "test:AccessChannelUpdateSimulateAction",
"@type": "Class",
"label": "AccessChannelUpdateSimulateAction",
"comment": "Simulate an update to a booking's `accessChannel` ([spec](https://www.openactive.io/open-booking-api/EditorsDraft/#other-notifications)). Expectations: An OrderItem's `accessChannel` changes to a new value; and the Order is updated in the booking system's [Orders RPDE feed](https://openactive.io/open-booking-api/EditorsDraft/#orders-feed-notifications-updates-and-refunds).",
"subClassOf": [
"test:OpenBookingSimulateAction"
]
}
]
}