-
Notifications
You must be signed in to change notification settings - Fork 1
/
experienceevent-live-event-ticket-purchase.schema.json
204 lines (204 loc) · 10.6 KB
/
experienceevent-live-event-ticket-purchase.schema.json
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
{
"meta:license": [
"Copyright 2022 Adobe Systems Incorporated. All rights reserved.",
"This work is licensed under a Creative Commons Attribution 4.0 International (CC BY 4.0) license",
"you may not use this file except in compliance with the License. You may obtain a copy",
"of the License at https://creativecommons.org/licenses/by/4.0/"
],
"$id": "https://ns.adobe.com/xdm/mixins/experienceevent-live-event-purchase",
"$schema": "http://json-schema.org/draft-06/schema#",
"title": "Live Event Ticket Purchase",
"type": "object",
"meta:extensible": true,
"meta:abstract": true,
"meta:intendedToExtend": [
"https://ns.adobe.com/xdm/context/experienceevent"
],
"description": "Purchase history for tickets to a live event, e.g., a concert or sports game.",
"definitions": {
"experienceevent-live-event-purchase": {
"properties": {
"xdm:eventPurchaseDetails": {
"type": "object",
"properties": {
"xdm:ticketPurchaseID": {
"title": "Ticket Purchase ID",
"description": "Unique ID for the ticket purchase order.",
"type": "string"
},
"xdm:liveEventID": {
"title": "Live Event Identifier",
"description": "Unique ID for the event in which the ticket was purchased for.",
"type": "string"
},
"xdm:ticketMasterEventCode": {
"title": "TicketMaster.com Event Code",
"description": "TicketMaster.com Event Code",
"type": "string"
},
"xdm:liveEventName": {
"title": "Live Event Name",
"description": "Name of the live event.",
"type": "string"
},
"xdm:corporateSponsorshipFlag": {
"title": "Corporate Sponsorship Flag ",
"description": "Indicates if the ticket was provided by a corporate sponsorship.",
"type": "boolean"
},
"xdm:tickets": {
"type": "array",
"description": "Ticket(s) Purchased",
"title": "Tickets",
"items": {
"type": "object",
"properties": {
"xdm:barcodeID": {
"title": "Ticket Bar Code",
"description": "Unique bar code assigned to a ticket.",
"type": "string"
},
"xdm:deliveryMethod": {
"title": "Delivery Method",
"description": "Ticket Delivery Method, for example, postal or digital.",
"type": "string",
"meta:enum": {
"postal": "Postal Delivery",
"digital": "Digital Delivery"
}
},
"xdm:rowName": {
"title": "Seat Row Name",
"description": "Seat row name as printed on the ticket",
"type": "string"
},
"xdm:seatingArea": {
"title": "Seating Area",
"description": "Seating area as printed on ticket",
"type": "string"
},
"xdm:seatName": {
"title": "Seat Name",
"description": "Seat name as printed on ticket.",
"type": "string"
},
"xdm:seatingAreaNumeric": {
"title": "Seating Area Numeric",
"description": "Numeric Seating Area value",
"type": "integer"
},
"xdm:sectionCategory": {
"title": "Seating Section Category",
"description": "Category of section, used to describe tier of ticket, balcony, box, etc...",
"type": "string"
},
"xdm:sectionGroup": {
"title": "Seating Section Group",
"description": "Section Group as presented on ticket",
"type": "string"
},
"xdm:sectionLevel": {
"title": "Seating Section Level",
"description": "Section Level as presented on ticket.",
"type": "string"
},
"xdm:sectionName": {
"title": "Seating Section Name",
"description": "Section name as presented on the ticket.",
"type": "string"
},
"xdm:sectionRowName": {
"title": "Seating Section Row Name",
"description": "Seating section row name as presented on ticket.",
"type": "string"
},
"xdm:ticketClassCategory": {
"title": "Ticket Class Category",
"description": "Category of the ticket class.",
"type": "string"
},
"xdm:ticketClassGroupName": {
"title": "Ticket Class Group Name",
"description": "Group name of the ticket class.",
"type": "string"
},
"xdm:ticketClassName": {
"title": "Ticket Class Name",
"description": "Name of the ticket class.",
"type": "string"
},
"xdm:ticketType": {
"enum": [
"season",
"package",
"single"
],
"title": "ticketType",
"description": "Enum: Type of ticket purchase, season, package, or single ticket.",
"type": "string",
"meta:enum": {
"season": "Season Ticket Purchase",
"package": "Mini-Package Purchase",
"single": "Single Ticket Purchase"
}
}
}
}
},
"xdm:ticketPurchase": {
"$ref": "https://ns.adobe.com/xdm/datatypes/transaction",
"description": "Transaction details for ticket purchase.",
"title": "Ticket Purchase Transaction"
}
}
}
}
}
},
"allOf": [
{
"$ref": "#/definitions/experienceevent-live-event-purchase"
}
],
"meta:status": "experimental",
"examples": [
{
"xdm:eventPurchaseDetails": {
"xdm:ticketPurchaseID": "ABC-123",
"xdm:liveEventID": "123-456",
"xdm:ticketMasterEventCode": "XYZ",
"xdm:liveEventName": "Sports Game",
"xdm:corporateSponsorshipFlag": true,
"xdm:tickets": [
{
"xdm:barcodeID": "8819624561542398",
"xdm:deliveryMethod": "digital",
"xdm:rowName": "A",
"xdm:seatingArea": "balcony",
"xdm:seatName": "A1",
"xdm:seatingAreaNumeric": 1,
"xdm:sectionCategory": "A",
"xdm:sectionGroup": "1",
"xdm:sectionLevel": "2",
"xdm:sectionName": "50",
"xdm:sectionRowName": "1",
"xdm:ticketClassCategory": "premium",
"xdm:ticketClassGroupName": "box",
"xdm:ticketClassName": "63141",
"xdm:ticketType": "single",
"xdm:ticketPurchase": {
"transactionAmount": {
"amount": 54.32,
"conversionDate": "2022-01-01T20:20:39+00:00",
"currencyCode": "USD"
},
"transactionDate": "2022-01-01T20:20:39+00:00",
"transactionID": "ABC-123",
"transactionType": "Sample value"
}
}
]
}
}
]
}