forked from adobe/xdm
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathprofile-telecom-subscription.schema.json
More file actions
328 lines (328 loc) · 24.2 KB
/
profile-telecom-subscription.schema.json
File metadata and controls
328 lines (328 loc) · 24.2 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
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
{
"meta:license": [
"Copyright 2021 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/profile/profile-telecom-subscription",
"$schema": "http://json-schema.org/draft-06/schema#",
"title": "Telecom Subscription",
"type": "object",
"meta:extensible": true,
"meta:abstract": true,
"meta:tags": {
"industry": [
"telecom"
]
},
"meta:intendedToExtend": [
"https://ns.adobe.com/xdm/context/profile"
],
"description": "Collects all generic details related to a customer's telecom subscription plan, including pricing, packages, and individual product subscriptions.",
"definitions": {
"telecom-subscriptions": {
"properties": {
"xdm:telecomSubscription": {
"type": "object",
"properties": {
"xdm:primarySubscriber": {
"title": "Primary Subscriber",
"$ref": "https://ns.adobe.com/xdm/context/person",
"description": "The owner of the subscription.",
"meta:titleId": "profile-telecom-subscription##xdm:primarySubscriber##title##85721",
"meta:descriptionId": "profile-telecom-subscription##xdm:primarySubscriber##description##37611"
},
"xdm:primaryPartyID": {
"title": "Primary Party ID",
"type": "string",
"description": "Identifier for the primary person responsible for the subscription, which typically could be their device phone number.",
"meta:titleId": "profile-telecom-subscription##xdm:primaryPartyID##title##20581",
"meta:descriptionId": "profile-telecom-subscription##xdm:primaryPartyID##description##87131"
},
"xdm:bundleName": {
"title": "Bundle Name",
"type": "string",
"description": "Captures the name of any type of subscription bundle in which the customer is enrolled, such as 'Internet + Media'.",
"meta:titleId": "profile-telecom-subscription##xdm:bundleName##title##58001",
"meta:descriptionId": "profile-telecom-subscription##xdm:bundleName##description##66971"
},
"xdm:internetSubscription": {
"type": "array",
"description": "Internet subscription plan details such as data cap, connection type, and speed details.",
"items": {
"type": "object",
"properties": {
"xdm:subscriptionDetails": {
"title": "Subscription Details",
"$ref": "https://ns.adobe.com/xdm/datatypes/telecom-subscription",
"description": "Extension of the subscription data type to include subscription length, fees, status, etc.",
"meta:titleId": "profile-telecom-subscription##xdm:subscriptionDetails##title##45921",
"meta:descriptionId": "profile-telecom-subscription##xdm:subscriptionDetails##description##55081"
},
"xdm:dataCap": {
"title": "Data Cap",
"type": "integer",
"description": "Captures the data cap limit for the account, in megabytes (MB).",
"meta:titleId": "profile-telecom-subscription##xdm:dataCap##title##20171",
"meta:descriptionId": "profile-telecom-subscription##xdm:dataCap##description##77591"
},
"xdm:connectionType": {
"title": "Connection Type",
"type": "string",
"enum": [
"cable",
"dsl",
"fiber",
"mobile",
"satellite"
],
"meta:enum": {
"cable": "Cable",
"dsl": "DSL",
"fiber": "Fiber",
"mobile": "Mobile",
"satellite": "Satellite"
},
"description": "Tracks the type of connection type for the subscription.",
"meta:titleId": "profile-telecom-subscription##xdm:connectionType##title##41901",
"meta:descriptionId": "profile-telecom-subscription##xdm:connectionType##description##13601"
},
"xdm:downloadSpeed": {
"title": "Download Speed",
"type": "integer",
"description": "Records the maximum download speed available for the subscription, in megabytes (MB).",
"meta:titleId": "profile-telecom-subscription##xdm:downloadSpeed##title##78141",
"meta:descriptionId": "profile-telecom-subscription##xdm:downloadSpeed##description##73941"
},
"xdm:uploadSpeed": {
"title": "Upload Speed",
"type": "integer",
"description": "Records the maximum upload speed available for the subscription, in megabytes (MB).",
"meta:titleId": "profile-telecom-subscription##xdm:uploadSpeed##title##76861",
"meta:descriptionId": "profile-telecom-subscription##xdm:uploadSpeed##description##52631"
},
"xdm:selfSetup": {
"title": "Self-Setup",
"type": "boolean",
"description": "Flags if a customer is eligible for internet setup without a technican visit.",
"meta:titleId": "profile-telecom-subscription##xdm:selfSetup##title##6331",
"meta:descriptionId": "profile-telecom-subscription##xdm:selfSetup##description##4941"
}
}
},
"meta:descriptionId": "profile-telecom-subscription##xdm:internetSubscription##description##91581"
},
"xdm:landlineSubscription": {
"type": "array",
"description": "Landline subscription plan details including selected features, minutes, and dialing plans.",
"items": {
"type": "object",
"properties": {
"xdm:subscriptionDetails": {
"title": "Subscription Details",
"$ref": "https://ns.adobe.com/xdm/datatypes/telecom-subscription",
"description": "Extension of the subscription data type to include subscription length, fees, status, etc.",
"meta:titleId": "profile-telecom-subscription##xdm:subscriptionDetails##title##77391",
"meta:descriptionId": "profile-telecom-subscription##xdm:subscriptionDetails##description##34981"
},
"xdm:phoneNumber": {
"title": "Phone Number",
"$ref": "https://ns.adobe.com/xdm/context/phonenumber",
"description": "Captures the phone number assigned to this device.",
"meta:titleId": "profile-telecom-subscription##xdm:phoneNumber##title##60901",
"meta:descriptionId": "profile-telecom-subscription##xdm:phoneNumber##description##56501"
},
"xdm:minutes": {
"title": "Minutes",
"type": "integer",
"description": "Number of monthly minutes available within the subscription.",
"meta:titleId": "profile-telecom-subscription##xdm:minutes##title##45901",
"meta:descriptionId": "profile-telecom-subscription##xdm:minutes##description##61981"
},
"xdm:voicemail": {
"title": "Voicemail",
"type": "boolean",
"description": "Flags if the landline subscription features include Voicemail.",
"meta:titleId": "profile-telecom-subscription##xdm:voicemail##title##18751",
"meta:descriptionId": "profile-telecom-subscription##xdm:voicemail##description##4521"
},
"xdm:callForwarding": {
"title": "Call Forwarding",
"type": "boolean",
"description": "Flags if the landline subscription features include Call Forwarding.",
"meta:titleId": "profile-telecom-subscription##xdm:callForwarding##title##17281",
"meta:descriptionId": "profile-telecom-subscription##xdm:callForwarding##description##39201"
},
"xdm:callerID": {
"title": "Caller ID",
"type": "boolean",
"description": "Flags if the landline subscription features include Caller ID.",
"meta:titleId": "profile-telecom-subscription##xdm:callerID##title##6501",
"meta:descriptionId": "profile-telecom-subscription##xdm:callerID##description##21471"
},
"xdm:callBlocking": {
"title": "Call Blocking",
"type": "boolean",
"description": "Flags if the landline subscription features include Call Blocking.",
"meta:titleId": "profile-telecom-subscription##xdm:callBlocking##title##49861",
"meta:descriptionId": "profile-telecom-subscription##xdm:callBlocking##description##57901"
},
"xdm:callWaiting": {
"title": "Call Waiting",
"type": "boolean",
"description": "Flags if the landline subscription features include Call Waiting.",
"meta:titleId": "profile-telecom-subscription##xdm:callWaiting##title##87371",
"meta:descriptionId": "profile-telecom-subscription##xdm:callWaiting##description##46931"
},
"xdm:threeWayCalling": {
"title": "Three-Way Dialing",
"type": "boolean",
"description": "Flags if the landline subscription features include Three-Way Dialing.",
"meta:titleId": "profile-telecom-subscription##xdm:threeWayCalling##title##27471",
"meta:descriptionId": "profile-telecom-subscription##xdm:threeWayCalling##description##35821"
},
"xdm:internationalCalling": {
"title": "International Calling",
"type": "boolean",
"description": "Flags if the landline subscription features include International Calling.",
"meta:titleId": "profile-telecom-subscription##xdm:internationalCalling##title##82141",
"meta:descriptionId": "profile-telecom-subscription##xdm:internationalCalling##description##92231"
},
"xdm:unlimitedLocalCalling": {
"title": "Unlimited Local Calling",
"type": "boolean",
"description": "Flags if the landline subscription features include Unlimited Local Calling.",
"meta:titleId": "profile-telecom-subscription##xdm:unlimitedLocalCalling##title##10491",
"meta:descriptionId": "profile-telecom-subscription##xdm:unlimitedLocalCalling##description##45861"
},
"xdm:unlimitedDomesticLongDistance": {
"title": "Unlimited Domestic Long Distance",
"type": "boolean",
"description": "Flags if the landline subscription features include Unlimited Domestic Long Distance.",
"meta:titleId": "profile-telecom-subscription##xdm:unlimitedDomesticLongDistance##title##65291",
"meta:descriptionId": "profile-telecom-subscription##xdm:unlimitedDomesticLongDistance##description##38691"
}
}
},
"meta:descriptionId": "profile-telecom-subscription##xdm:landlineSubscription##description##96941"
},
"xdm:mediaSubscription": {
"type": "array",
"description": "media subscription plan details including number of channels & included streaming services.",
"items": {
"type": "object",
"properties": {
"xdm:subscriptionDetails": {
"title": "Subscription Details",
"$ref": "https://ns.adobe.com/xdm/datatypes/telecom-subscription",
"description": "Extension of the subscription data type to include subscription length, fees, status, etc.",
"meta:titleId": "profile-telecom-subscription##xdm:subscriptionDetails##title##52871",
"meta:descriptionId": "profile-telecom-subscription##xdm:subscriptionDetails##description##52681"
},
"xdm:channels": {
"title": "Channels",
"type": "integer",
"description": "Records the number of channels included with the media subscription.",
"meta:titleId": "profile-telecom-subscription##xdm:channels##title##79551",
"meta:descriptionId": "profile-telecom-subscription##xdm:channels##description##47431"
},
"xdm:streamingServices": {
"title": "Streaming Services",
"description": "Array of all streaming services included with the subscription.",
"type": "array",
"items": {
"type": "object",
"properties": {
"xdm:serviceName": {
"title": "Service Name",
"type": "integer",
"description": "Records the name of the streaming service.",
"meta:titleId": "profile-telecom-subscription##xdm:serviceName##title##83871",
"meta:descriptionId": "profile-telecom-subscription##xdm:serviceName##description##20291"
},
"xdm:promotionalAddition": {
"title": "Promotional Addition",
"type": "boolean",
"description": "Flags if the streaming service was added as part of a promotion.",
"meta:titleId": "profile-telecom-subscription##xdm:promotionalAddition##title##46091",
"meta:descriptionId": "profile-telecom-subscription##xdm:promotionalAddition##description##17181"
},
"xdm:promotionLength": {
"title": "Promotion Length",
"type": "integer",
"description": "Tracks the length of the promotion, in months, if the streaming service was added as part of a promotion.",
"meta:titleId": "profile-telecom-subscription##xdm:promotionLength##title##29001",
"meta:descriptionId": "profile-telecom-subscription##xdm:promotionLength##description##43591"
}
}
},
"meta:titleId": "profile-telecom-subscription##xdm:streamingServices##title##10361",
"meta:descriptionId": "profile-telecom-subscription##xdm:streamingServices##description##44721"
}
}
},
"meta:descriptionId": "profile-telecom-subscription##xdm:mediaSubscription##description##20231"
},
"xdm:mobileSubscription": {
"type": "array",
"description": "Mobile plan details including number of lines, data rates, cost, etc.",
"items": {
"type": "object",
"properties": {
"xdm:subscriptionDetails": {
"title": "Subscription Details",
"$ref": "https://ns.adobe.com/xdm/datatypes/telecom-subscription",
"description": "Extension of the subscription data type to include subscription length, fees, status, etc.",
"meta:titleId": "profile-telecom-subscription##xdm:subscriptionDetails##title##81411",
"meta:descriptionId": "profile-telecom-subscription##xdm:subscriptionDetails##description##47551"
},
"xdm:earlyUpgradeEnrollment": {
"title": "Early Upgrade Enrollment",
"type": "boolean",
"description": "Captures if the customer opts into early upgrades.",
"meta:titleId": "profile-telecom-subscription##xdm:earlyUpgradeEnrollment##title##1651",
"meta:descriptionId": "profile-telecom-subscription##xdm:earlyUpgradeEnrollment##description##26931"
},
"xdm:planLevel": {
"title": "Plan Level",
"type": "string",
"description": "Captures the name of the mobile plan assigned to this device.",
"meta:titleId": "profile-telecom-subscription##xdm:planLevel##title##10641",
"meta:descriptionId": "profile-telecom-subscription##xdm:planLevel##description##80231"
},
"xdm:phoneNumber": {
"title": "Phone Number",
"$ref": "https://ns.adobe.com/xdm/context/phonenumber",
"description": "Captures the phone number assigned to this device.",
"meta:titleId": "profile-telecom-subscription##xdm:phoneNumber##title##4491",
"meta:descriptionId": "profile-telecom-subscription##xdm:phoneNumber##description##75481"
},
"xdm:portedNumber": {
"title": "Ported Number",
"type": "boolean",
"description": "Captures if the customer ports their number from another carrier.",
"meta:titleId": "profile-telecom-subscription##xdm:portedNumber##title##75991",
"meta:descriptionId": "profile-telecom-subscription##xdm:portedNumber##description##121"
}
}
},
"meta:descriptionId": "profile-telecom-subscription##xdm:mobileSubscription##description##381"
}
}
}
}
}
},
"allOf": [
{
"$ref": "#/definitions/telecom-subscriptions"
}
],
"meta:status": "stable",
"meta:titleId": "profile-telecom-subscription##title##34441",
"meta:descriptionId": "profile-telecom-subscription##description##98821",
"examples": [
{}
]
}