-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathEXAMPLE ORDER
More file actions
61 lines (61 loc) · 1.45 KB
/
EXAMPLE ORDER
File metadata and controls
61 lines (61 loc) · 1.45 KB
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
{
"@context": "https://openactive.io/ns/oa.jsonld",
"type": "Order",
"id": "https://example.com/orders/890",
"acceptedOffer": [{
"type": "Offer",
"description": "Winger space for Speedball.",
"id": "https://example.com/offers/567",
"itemOffered": {
"type": "Event",
"id": "https://example.com/events/123"
},
"name": "Speedball winger position",
"price": "10.00",
"priceCurrency": "GBP",
"validFrom": "2018-04-29T12:14:35Z",
"validTo": "2018-04-01T12:14:35Z"
}],
"broker": {
"type": "Organization",
"name": "MyFitnessApp",
"url": "https://myfitnessapp.example.com"
},
"customer": {
"type": "Person",
"email": "geoffcapes@example.com",
"givenName": "Geoff",
"familyName": "Capes"
},
"orderDate": "2018-02-20T11:00:00Z",
"orderedItem": [{
"type": "OrderItem",
"orderQuantity": 1,
"orderedItem": {
"type": "Event",
"id": "https://example.com/events/123"
}
}],
"orderLeaseDuration": "PT15M",
"orderStatus": "https://schema.org/OrderPaymentDue",
"partOfInvoice": {
"type": "Invoice",
"paymentStatus": "PaymentDue",
"totalPaymentDue": {
"type": "MonetaryAmount",
"value": "10.00",
"currency": "GBP"
}
},
"paymentDueDate": "2018-02-20T11:00:00Z",
"potentialAction": [{
"type": "PayAction",
"name": "Pay",
"target": {
"type": "EntryPoint",
"urlTemplate": "https://example.com/orders/{order_id}",
"encodingType": "application/vnd.openactive.v0.8+json",
"httpMethod": "PATCH"
}
}]
}