@itentialopensource/adapter-tmf638_service_inventory_management 1.0.0 → 1.1.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/CALLS.md +11 -11
- package/CHANGELOG.md +8 -0
- package/CONTRIBUTING.md +1 -160
- package/ENHANCE.md +2 -2
- package/README.md +31 -22
- package/adapter.js +159 -330
- package/adapterBase.js +538 -873
- package/changelogs/changelog.md +16 -0
- package/metadata.json +49 -0
- package/package.json +22 -25
- package/pronghorn.json +474 -142
- package/propertiesSchema.json +453 -40
- package/refs?service=git-upload-pack +0 -0
- package/report/adapter-openapi.json +3065 -0
- package/report/adapter-openapi.yaml +2807 -0
- package/report/adapterInfo.json +8 -8
- package/report/updateReport1691508412248.json +120 -0
- package/report/updateReport1692202894289.json +120 -0
- package/report/updateReport1694465090893.json +120 -0
- package/report/updateReport1698421776983.json +120 -0
- package/sampleProperties.json +63 -2
- package/test/integration/adapterTestBasicGet.js +1 -1
- package/test/integration/adapterTestConnectivity.js +91 -42
- package/test/integration/adapterTestIntegration.js +130 -2
- package/test/unit/adapterBaseTestUnit.js +388 -313
- package/test/unit/adapterTestUnit.js +306 -109
- package/utils/adapterInfo.js +1 -1
- package/utils/addAuth.js +1 -1
- package/utils/artifactize.js +1 -1
- package/utils/checkMigrate.js +1 -1
- package/utils/entitiesToDB.js +1 -0
- package/utils/findPath.js +1 -1
- package/utils/methodDocumentor.js +71 -23
- package/utils/modify.js +13 -15
- package/utils/packModificationScript.js +1 -1
- package/utils/taskMover.js +309 -0
- package/utils/tbScript.js +3 -10
- package/utils/tbUtils.js +2 -3
- package/utils/testRunner.js +1 -1
- package/utils/troubleshootingAdapter.js +1 -3
- package/workflows/README.md +0 -3
|
@@ -0,0 +1,3065 @@
|
|
|
1
|
+
{
|
|
2
|
+
"openapi": "3.0.0",
|
|
3
|
+
"info": {
|
|
4
|
+
"title": "Service Inventory Management",
|
|
5
|
+
"description": "## TMF API Reference : TMF 638 - Service Inventory Management\n\n Version 4.0 \n\nThe intent of this API is to provide a consistent/standardized mechanism to query and manipulate the Service inventory.\n\nThe Service Inventory API can be used to query the service instances for a customer via Self Service Portal or the Call Centre operator can query the service instances on behalf of the customer while a customer may have a complaint or a query.\nNote: Only the CustomerFacingServices instances will be presented to the customer.\n\nThe Service Inventory API can be called by the Service Order Management to create a new service instance/ update an existing service instance in the Service Inventory.\n\n### Service resource\nService is an abstract base class for defining the Service hierarchy. All Services are characterized as either being possibly visible and usable by a Customer or not. This gives rise to the two subclasses of Service: CustomerFacingService and ResourceFacingService.\n\n### Service Inventory API performs the following operations on service :\n- Retrieve a service or a collection of services depending on filter criteria\n- Partial update of a service (including updating rules)\n- Create a service (including default values and creation rules and for administration users only)\n- Delete a service (for administration users only)\n- Notification of events on service\n\nCopyright (c)TM Forum 2019. All Rights Reserved.",
|
|
6
|
+
"contact": {},
|
|
7
|
+
"version": "4.0.0"
|
|
8
|
+
},
|
|
9
|
+
"servers": [
|
|
10
|
+
{
|
|
11
|
+
"url": "https://serverRoot/tmf-api/serviceInventory/v4",
|
|
12
|
+
"variables": {}
|
|
13
|
+
}
|
|
14
|
+
],
|
|
15
|
+
"paths": {
|
|
16
|
+
"/service": {
|
|
17
|
+
"get": {
|
|
18
|
+
"tags": [
|
|
19
|
+
"service"
|
|
20
|
+
],
|
|
21
|
+
"summary": "listService",
|
|
22
|
+
"description": "This operation list or find Service entities",
|
|
23
|
+
"operationId": "listService",
|
|
24
|
+
"parameters": [
|
|
25
|
+
{
|
|
26
|
+
"name": "fields",
|
|
27
|
+
"in": "query",
|
|
28
|
+
"description": "Comma-separated properties to be provided in response",
|
|
29
|
+
"style": "form",
|
|
30
|
+
"explode": true,
|
|
31
|
+
"schema": {
|
|
32
|
+
"type": "string"
|
|
33
|
+
}
|
|
34
|
+
},
|
|
35
|
+
{
|
|
36
|
+
"name": "offset",
|
|
37
|
+
"in": "query",
|
|
38
|
+
"description": "Requested index for start of resources to be provided in response",
|
|
39
|
+
"style": "form",
|
|
40
|
+
"explode": true,
|
|
41
|
+
"schema": {
|
|
42
|
+
"type": "integer",
|
|
43
|
+
"format": "int32"
|
|
44
|
+
}
|
|
45
|
+
},
|
|
46
|
+
{
|
|
47
|
+
"name": "limit",
|
|
48
|
+
"in": "query",
|
|
49
|
+
"description": "Requested number of resources to be provided in response",
|
|
50
|
+
"style": "form",
|
|
51
|
+
"explode": true,
|
|
52
|
+
"schema": {
|
|
53
|
+
"type": "integer",
|
|
54
|
+
"format": "int32"
|
|
55
|
+
}
|
|
56
|
+
}
|
|
57
|
+
],
|
|
58
|
+
"responses": {
|
|
59
|
+
"200": {
|
|
60
|
+
"description": "Success",
|
|
61
|
+
"headers": {
|
|
62
|
+
"X-Result-Count": {
|
|
63
|
+
"description": "Actual number of items returned in the response body",
|
|
64
|
+
"content": {
|
|
65
|
+
"text/plain": {
|
|
66
|
+
"schema": {
|
|
67
|
+
"type": "string",
|
|
68
|
+
"description": "Actual number of items returned in the response body"
|
|
69
|
+
}
|
|
70
|
+
}
|
|
71
|
+
}
|
|
72
|
+
},
|
|
73
|
+
"X-Total-Count": {
|
|
74
|
+
"description": "Total number of items matching criteria",
|
|
75
|
+
"content": {
|
|
76
|
+
"text/plain": {
|
|
77
|
+
"schema": {
|
|
78
|
+
"type": "string",
|
|
79
|
+
"description": "Total number of items matching criteria"
|
|
80
|
+
}
|
|
81
|
+
}
|
|
82
|
+
}
|
|
83
|
+
}
|
|
84
|
+
},
|
|
85
|
+
"content": {
|
|
86
|
+
"application/json;charset=utf-8": {
|
|
87
|
+
"schema": {
|
|
88
|
+
"type": "array",
|
|
89
|
+
"items": {
|
|
90
|
+
"$ref": "#/components/schemas/Service"
|
|
91
|
+
},
|
|
92
|
+
"description": ""
|
|
93
|
+
}
|
|
94
|
+
}
|
|
95
|
+
}
|
|
96
|
+
},
|
|
97
|
+
"400": {
|
|
98
|
+
"description": "Bad Request",
|
|
99
|
+
"headers": {},
|
|
100
|
+
"content": {
|
|
101
|
+
"application/json;charset=utf-8": {
|
|
102
|
+
"schema": {
|
|
103
|
+
"$ref": "#/components/schemas/Error"
|
|
104
|
+
}
|
|
105
|
+
}
|
|
106
|
+
}
|
|
107
|
+
},
|
|
108
|
+
"401": {
|
|
109
|
+
"description": "Unauthorized",
|
|
110
|
+
"headers": {},
|
|
111
|
+
"content": {
|
|
112
|
+
"application/json;charset=utf-8": {
|
|
113
|
+
"schema": {
|
|
114
|
+
"$ref": "#/components/schemas/Error"
|
|
115
|
+
}
|
|
116
|
+
}
|
|
117
|
+
}
|
|
118
|
+
},
|
|
119
|
+
"403": {
|
|
120
|
+
"description": "Forbidden",
|
|
121
|
+
"headers": {},
|
|
122
|
+
"content": {
|
|
123
|
+
"application/json;charset=utf-8": {
|
|
124
|
+
"schema": {
|
|
125
|
+
"$ref": "#/components/schemas/Error"
|
|
126
|
+
}
|
|
127
|
+
}
|
|
128
|
+
}
|
|
129
|
+
},
|
|
130
|
+
"404": {
|
|
131
|
+
"description": "Not Found",
|
|
132
|
+
"headers": {},
|
|
133
|
+
"content": {
|
|
134
|
+
"application/json;charset=utf-8": {
|
|
135
|
+
"schema": {
|
|
136
|
+
"$ref": "#/components/schemas/Error"
|
|
137
|
+
}
|
|
138
|
+
}
|
|
139
|
+
}
|
|
140
|
+
},
|
|
141
|
+
"405": {
|
|
142
|
+
"description": "Method Not allowed",
|
|
143
|
+
"headers": {},
|
|
144
|
+
"content": {
|
|
145
|
+
"application/json;charset=utf-8": {
|
|
146
|
+
"schema": {
|
|
147
|
+
"$ref": "#/components/schemas/Error"
|
|
148
|
+
}
|
|
149
|
+
}
|
|
150
|
+
}
|
|
151
|
+
},
|
|
152
|
+
"409": {
|
|
153
|
+
"description": "Conflict",
|
|
154
|
+
"headers": {},
|
|
155
|
+
"content": {
|
|
156
|
+
"application/json;charset=utf-8": {
|
|
157
|
+
"schema": {
|
|
158
|
+
"$ref": "#/components/schemas/Error"
|
|
159
|
+
}
|
|
160
|
+
}
|
|
161
|
+
}
|
|
162
|
+
},
|
|
163
|
+
"500": {
|
|
164
|
+
"description": "Internal Server Error",
|
|
165
|
+
"headers": {},
|
|
166
|
+
"content": {
|
|
167
|
+
"application/json;charset=utf-8": {
|
|
168
|
+
"schema": {
|
|
169
|
+
"$ref": "#/components/schemas/Error"
|
|
170
|
+
}
|
|
171
|
+
}
|
|
172
|
+
}
|
|
173
|
+
}
|
|
174
|
+
},
|
|
175
|
+
"deprecated": false
|
|
176
|
+
},
|
|
177
|
+
"post": {
|
|
178
|
+
"tags": [
|
|
179
|
+
"service"
|
|
180
|
+
],
|
|
181
|
+
"summary": "createService",
|
|
182
|
+
"description": "This operation creates a Service entity.",
|
|
183
|
+
"operationId": "createService",
|
|
184
|
+
"parameters": [],
|
|
185
|
+
"requestBody": {
|
|
186
|
+
"description": "The Service to be created",
|
|
187
|
+
"content": {
|
|
188
|
+
"application/json": {
|
|
189
|
+
"schema": {
|
|
190
|
+
"allOf": [
|
|
191
|
+
{
|
|
192
|
+
"$ref": "#/components/schemas/Service_Create"
|
|
193
|
+
},
|
|
194
|
+
{
|
|
195
|
+
"description": "The Service to be created"
|
|
196
|
+
}
|
|
197
|
+
]
|
|
198
|
+
}
|
|
199
|
+
}
|
|
200
|
+
},
|
|
201
|
+
"required": true
|
|
202
|
+
},
|
|
203
|
+
"responses": {
|
|
204
|
+
"201": {
|
|
205
|
+
"description": "Created",
|
|
206
|
+
"headers": {},
|
|
207
|
+
"content": {
|
|
208
|
+
"application/json;charset=utf-8": {
|
|
209
|
+
"schema": {
|
|
210
|
+
"$ref": "#/components/schemas/Service"
|
|
211
|
+
}
|
|
212
|
+
}
|
|
213
|
+
}
|
|
214
|
+
},
|
|
215
|
+
"400": {
|
|
216
|
+
"description": "Bad Request",
|
|
217
|
+
"headers": {},
|
|
218
|
+
"content": {
|
|
219
|
+
"application/json;charset=utf-8": {
|
|
220
|
+
"schema": {
|
|
221
|
+
"$ref": "#/components/schemas/Error"
|
|
222
|
+
}
|
|
223
|
+
}
|
|
224
|
+
}
|
|
225
|
+
},
|
|
226
|
+
"401": {
|
|
227
|
+
"description": "Unauthorized",
|
|
228
|
+
"headers": {},
|
|
229
|
+
"content": {
|
|
230
|
+
"application/json;charset=utf-8": {
|
|
231
|
+
"schema": {
|
|
232
|
+
"$ref": "#/components/schemas/Error"
|
|
233
|
+
}
|
|
234
|
+
}
|
|
235
|
+
}
|
|
236
|
+
},
|
|
237
|
+
"403": {
|
|
238
|
+
"description": "Forbidden",
|
|
239
|
+
"headers": {},
|
|
240
|
+
"content": {
|
|
241
|
+
"application/json;charset=utf-8": {
|
|
242
|
+
"schema": {
|
|
243
|
+
"$ref": "#/components/schemas/Error"
|
|
244
|
+
}
|
|
245
|
+
}
|
|
246
|
+
}
|
|
247
|
+
},
|
|
248
|
+
"405": {
|
|
249
|
+
"description": "Method Not allowed",
|
|
250
|
+
"headers": {},
|
|
251
|
+
"content": {
|
|
252
|
+
"application/json;charset=utf-8": {
|
|
253
|
+
"schema": {
|
|
254
|
+
"$ref": "#/components/schemas/Error"
|
|
255
|
+
}
|
|
256
|
+
}
|
|
257
|
+
}
|
|
258
|
+
},
|
|
259
|
+
"409": {
|
|
260
|
+
"description": "Conflict",
|
|
261
|
+
"headers": {},
|
|
262
|
+
"content": {
|
|
263
|
+
"application/json;charset=utf-8": {
|
|
264
|
+
"schema": {
|
|
265
|
+
"$ref": "#/components/schemas/Error"
|
|
266
|
+
}
|
|
267
|
+
}
|
|
268
|
+
}
|
|
269
|
+
},
|
|
270
|
+
"500": {
|
|
271
|
+
"description": "Internal Server Error",
|
|
272
|
+
"headers": {},
|
|
273
|
+
"content": {
|
|
274
|
+
"application/json;charset=utf-8": {
|
|
275
|
+
"schema": {
|
|
276
|
+
"$ref": "#/components/schemas/Error"
|
|
277
|
+
}
|
|
278
|
+
}
|
|
279
|
+
}
|
|
280
|
+
}
|
|
281
|
+
},
|
|
282
|
+
"deprecated": false
|
|
283
|
+
}
|
|
284
|
+
},
|
|
285
|
+
"/service/{id}": {
|
|
286
|
+
"get": {
|
|
287
|
+
"tags": [
|
|
288
|
+
"service"
|
|
289
|
+
],
|
|
290
|
+
"summary": "retrieveService",
|
|
291
|
+
"description": "This operation retrieves a Service entity. Attribute selection is enabled for all first level attributes.",
|
|
292
|
+
"operationId": "retrieveService",
|
|
293
|
+
"parameters": [
|
|
294
|
+
{
|
|
295
|
+
"name": "id",
|
|
296
|
+
"in": "path",
|
|
297
|
+
"description": "Identifier of the Service",
|
|
298
|
+
"required": true,
|
|
299
|
+
"style": "simple",
|
|
300
|
+
"schema": {
|
|
301
|
+
"type": "string"
|
|
302
|
+
}
|
|
303
|
+
},
|
|
304
|
+
{
|
|
305
|
+
"name": "fields",
|
|
306
|
+
"in": "query",
|
|
307
|
+
"description": "Comma-separated properties to provide in response",
|
|
308
|
+
"style": "form",
|
|
309
|
+
"explode": true,
|
|
310
|
+
"schema": {
|
|
311
|
+
"type": "string"
|
|
312
|
+
}
|
|
313
|
+
}
|
|
314
|
+
],
|
|
315
|
+
"responses": {
|
|
316
|
+
"200": {
|
|
317
|
+
"description": "Success",
|
|
318
|
+
"headers": {},
|
|
319
|
+
"content": {
|
|
320
|
+
"application/json;charset=utf-8": {
|
|
321
|
+
"schema": {
|
|
322
|
+
"$ref": "#/components/schemas/Service"
|
|
323
|
+
}
|
|
324
|
+
}
|
|
325
|
+
}
|
|
326
|
+
},
|
|
327
|
+
"400": {
|
|
328
|
+
"description": "Bad Request",
|
|
329
|
+
"headers": {},
|
|
330
|
+
"content": {
|
|
331
|
+
"application/json;charset=utf-8": {
|
|
332
|
+
"schema": {
|
|
333
|
+
"$ref": "#/components/schemas/Error"
|
|
334
|
+
}
|
|
335
|
+
}
|
|
336
|
+
}
|
|
337
|
+
},
|
|
338
|
+
"401": {
|
|
339
|
+
"description": "Unauthorized",
|
|
340
|
+
"headers": {},
|
|
341
|
+
"content": {
|
|
342
|
+
"application/json;charset=utf-8": {
|
|
343
|
+
"schema": {
|
|
344
|
+
"$ref": "#/components/schemas/Error"
|
|
345
|
+
}
|
|
346
|
+
}
|
|
347
|
+
}
|
|
348
|
+
},
|
|
349
|
+
"403": {
|
|
350
|
+
"description": "Forbidden",
|
|
351
|
+
"headers": {},
|
|
352
|
+
"content": {
|
|
353
|
+
"application/json;charset=utf-8": {
|
|
354
|
+
"schema": {
|
|
355
|
+
"$ref": "#/components/schemas/Error"
|
|
356
|
+
}
|
|
357
|
+
}
|
|
358
|
+
}
|
|
359
|
+
},
|
|
360
|
+
"404": {
|
|
361
|
+
"description": "Not Found",
|
|
362
|
+
"headers": {},
|
|
363
|
+
"content": {
|
|
364
|
+
"application/json;charset=utf-8": {
|
|
365
|
+
"schema": {
|
|
366
|
+
"$ref": "#/components/schemas/Error"
|
|
367
|
+
}
|
|
368
|
+
}
|
|
369
|
+
}
|
|
370
|
+
},
|
|
371
|
+
"405": {
|
|
372
|
+
"description": "Method Not allowed",
|
|
373
|
+
"headers": {},
|
|
374
|
+
"content": {
|
|
375
|
+
"application/json;charset=utf-8": {
|
|
376
|
+
"schema": {
|
|
377
|
+
"$ref": "#/components/schemas/Error"
|
|
378
|
+
}
|
|
379
|
+
}
|
|
380
|
+
}
|
|
381
|
+
},
|
|
382
|
+
"409": {
|
|
383
|
+
"description": "Conflict",
|
|
384
|
+
"headers": {},
|
|
385
|
+
"content": {
|
|
386
|
+
"application/json;charset=utf-8": {
|
|
387
|
+
"schema": {
|
|
388
|
+
"$ref": "#/components/schemas/Error"
|
|
389
|
+
}
|
|
390
|
+
}
|
|
391
|
+
}
|
|
392
|
+
},
|
|
393
|
+
"500": {
|
|
394
|
+
"description": "Internal Server Error",
|
|
395
|
+
"headers": {},
|
|
396
|
+
"content": {
|
|
397
|
+
"application/json;charset=utf-8": {
|
|
398
|
+
"schema": {
|
|
399
|
+
"$ref": "#/components/schemas/Error"
|
|
400
|
+
}
|
|
401
|
+
}
|
|
402
|
+
}
|
|
403
|
+
}
|
|
404
|
+
},
|
|
405
|
+
"deprecated": false
|
|
406
|
+
},
|
|
407
|
+
"patch": {
|
|
408
|
+
"tags": [
|
|
409
|
+
"service"
|
|
410
|
+
],
|
|
411
|
+
"summary": "patchService",
|
|
412
|
+
"description": "This operation updates partially a Service entity.",
|
|
413
|
+
"operationId": "patchService",
|
|
414
|
+
"parameters": [
|
|
415
|
+
{
|
|
416
|
+
"name": "id",
|
|
417
|
+
"in": "path",
|
|
418
|
+
"description": "Identifier of the Service",
|
|
419
|
+
"required": true,
|
|
420
|
+
"style": "simple",
|
|
421
|
+
"schema": {
|
|
422
|
+
"type": "string"
|
|
423
|
+
}
|
|
424
|
+
}
|
|
425
|
+
],
|
|
426
|
+
"requestBody": {
|
|
427
|
+
"description": "The Service to be updated",
|
|
428
|
+
"content": {
|
|
429
|
+
"application/json": {
|
|
430
|
+
"schema": {
|
|
431
|
+
"allOf": [
|
|
432
|
+
{
|
|
433
|
+
"$ref": "#/components/schemas/Service_Update"
|
|
434
|
+
},
|
|
435
|
+
{
|
|
436
|
+
"description": "The Service to be updated"
|
|
437
|
+
}
|
|
438
|
+
]
|
|
439
|
+
}
|
|
440
|
+
}
|
|
441
|
+
},
|
|
442
|
+
"required": true
|
|
443
|
+
},
|
|
444
|
+
"responses": {
|
|
445
|
+
"200": {
|
|
446
|
+
"description": "Updated",
|
|
447
|
+
"headers": {},
|
|
448
|
+
"content": {
|
|
449
|
+
"application/json;charset=utf-8": {
|
|
450
|
+
"schema": {
|
|
451
|
+
"$ref": "#/components/schemas/Service"
|
|
452
|
+
}
|
|
453
|
+
}
|
|
454
|
+
}
|
|
455
|
+
},
|
|
456
|
+
"400": {
|
|
457
|
+
"description": "Bad Request",
|
|
458
|
+
"headers": {},
|
|
459
|
+
"content": {
|
|
460
|
+
"application/json;charset=utf-8": {
|
|
461
|
+
"schema": {
|
|
462
|
+
"$ref": "#/components/schemas/Error"
|
|
463
|
+
}
|
|
464
|
+
}
|
|
465
|
+
}
|
|
466
|
+
},
|
|
467
|
+
"401": {
|
|
468
|
+
"description": "Unauthorized",
|
|
469
|
+
"headers": {},
|
|
470
|
+
"content": {
|
|
471
|
+
"application/json;charset=utf-8": {
|
|
472
|
+
"schema": {
|
|
473
|
+
"$ref": "#/components/schemas/Error"
|
|
474
|
+
}
|
|
475
|
+
}
|
|
476
|
+
}
|
|
477
|
+
},
|
|
478
|
+
"403": {
|
|
479
|
+
"description": "Forbidden",
|
|
480
|
+
"headers": {},
|
|
481
|
+
"content": {
|
|
482
|
+
"application/json;charset=utf-8": {
|
|
483
|
+
"schema": {
|
|
484
|
+
"$ref": "#/components/schemas/Error"
|
|
485
|
+
}
|
|
486
|
+
}
|
|
487
|
+
}
|
|
488
|
+
},
|
|
489
|
+
"404": {
|
|
490
|
+
"description": "Not Found",
|
|
491
|
+
"headers": {},
|
|
492
|
+
"content": {
|
|
493
|
+
"application/json;charset=utf-8": {
|
|
494
|
+
"schema": {
|
|
495
|
+
"$ref": "#/components/schemas/Error"
|
|
496
|
+
}
|
|
497
|
+
}
|
|
498
|
+
}
|
|
499
|
+
},
|
|
500
|
+
"405": {
|
|
501
|
+
"description": "Method Not allowed",
|
|
502
|
+
"headers": {},
|
|
503
|
+
"content": {
|
|
504
|
+
"application/json;charset=utf-8": {
|
|
505
|
+
"schema": {
|
|
506
|
+
"$ref": "#/components/schemas/Error"
|
|
507
|
+
}
|
|
508
|
+
}
|
|
509
|
+
}
|
|
510
|
+
},
|
|
511
|
+
"409": {
|
|
512
|
+
"description": "Conflict",
|
|
513
|
+
"headers": {},
|
|
514
|
+
"content": {
|
|
515
|
+
"application/json;charset=utf-8": {
|
|
516
|
+
"schema": {
|
|
517
|
+
"$ref": "#/components/schemas/Error"
|
|
518
|
+
}
|
|
519
|
+
}
|
|
520
|
+
}
|
|
521
|
+
},
|
|
522
|
+
"500": {
|
|
523
|
+
"description": "Internal Server Error",
|
|
524
|
+
"headers": {},
|
|
525
|
+
"content": {
|
|
526
|
+
"application/json;charset=utf-8": {
|
|
527
|
+
"schema": {
|
|
528
|
+
"$ref": "#/components/schemas/Error"
|
|
529
|
+
}
|
|
530
|
+
}
|
|
531
|
+
}
|
|
532
|
+
}
|
|
533
|
+
},
|
|
534
|
+
"deprecated": false
|
|
535
|
+
},
|
|
536
|
+
"delete": {
|
|
537
|
+
"tags": [
|
|
538
|
+
"service"
|
|
539
|
+
],
|
|
540
|
+
"summary": "deleteService",
|
|
541
|
+
"description": "This operation deletes a Service entity.",
|
|
542
|
+
"operationId": "deleteService",
|
|
543
|
+
"parameters": [
|
|
544
|
+
{
|
|
545
|
+
"name": "id",
|
|
546
|
+
"in": "path",
|
|
547
|
+
"description": "Identifier of the Service",
|
|
548
|
+
"required": true,
|
|
549
|
+
"style": "simple",
|
|
550
|
+
"schema": {
|
|
551
|
+
"type": "string"
|
|
552
|
+
}
|
|
553
|
+
}
|
|
554
|
+
],
|
|
555
|
+
"responses": {
|
|
556
|
+
"204": {
|
|
557
|
+
"description": "Deleted",
|
|
558
|
+
"headers": {},
|
|
559
|
+
"content": {}
|
|
560
|
+
},
|
|
561
|
+
"400": {
|
|
562
|
+
"description": "Bad Request",
|
|
563
|
+
"headers": {},
|
|
564
|
+
"content": {
|
|
565
|
+
"application/json;charset=utf-8": {
|
|
566
|
+
"schema": {
|
|
567
|
+
"$ref": "#/components/schemas/Error"
|
|
568
|
+
}
|
|
569
|
+
}
|
|
570
|
+
}
|
|
571
|
+
},
|
|
572
|
+
"401": {
|
|
573
|
+
"description": "Unauthorized",
|
|
574
|
+
"headers": {},
|
|
575
|
+
"content": {
|
|
576
|
+
"application/json;charset=utf-8": {
|
|
577
|
+
"schema": {
|
|
578
|
+
"$ref": "#/components/schemas/Error"
|
|
579
|
+
}
|
|
580
|
+
}
|
|
581
|
+
}
|
|
582
|
+
},
|
|
583
|
+
"403": {
|
|
584
|
+
"description": "Forbidden",
|
|
585
|
+
"headers": {},
|
|
586
|
+
"content": {
|
|
587
|
+
"application/json;charset=utf-8": {
|
|
588
|
+
"schema": {
|
|
589
|
+
"$ref": "#/components/schemas/Error"
|
|
590
|
+
}
|
|
591
|
+
}
|
|
592
|
+
}
|
|
593
|
+
},
|
|
594
|
+
"404": {
|
|
595
|
+
"description": "Not Found",
|
|
596
|
+
"headers": {},
|
|
597
|
+
"content": {
|
|
598
|
+
"application/json;charset=utf-8": {
|
|
599
|
+
"schema": {
|
|
600
|
+
"$ref": "#/components/schemas/Error"
|
|
601
|
+
}
|
|
602
|
+
}
|
|
603
|
+
}
|
|
604
|
+
},
|
|
605
|
+
"405": {
|
|
606
|
+
"description": "Method Not allowed",
|
|
607
|
+
"headers": {},
|
|
608
|
+
"content": {
|
|
609
|
+
"application/json;charset=utf-8": {
|
|
610
|
+
"schema": {
|
|
611
|
+
"$ref": "#/components/schemas/Error"
|
|
612
|
+
}
|
|
613
|
+
}
|
|
614
|
+
}
|
|
615
|
+
},
|
|
616
|
+
"409": {
|
|
617
|
+
"description": "Conflict",
|
|
618
|
+
"headers": {},
|
|
619
|
+
"content": {
|
|
620
|
+
"application/json;charset=utf-8": {
|
|
621
|
+
"schema": {
|
|
622
|
+
"$ref": "#/components/schemas/Error"
|
|
623
|
+
}
|
|
624
|
+
}
|
|
625
|
+
}
|
|
626
|
+
},
|
|
627
|
+
"500": {
|
|
628
|
+
"description": "Internal Server Error",
|
|
629
|
+
"headers": {},
|
|
630
|
+
"content": {
|
|
631
|
+
"application/json;charset=utf-8": {
|
|
632
|
+
"schema": {
|
|
633
|
+
"$ref": "#/components/schemas/Error"
|
|
634
|
+
}
|
|
635
|
+
}
|
|
636
|
+
}
|
|
637
|
+
}
|
|
638
|
+
},
|
|
639
|
+
"deprecated": false
|
|
640
|
+
}
|
|
641
|
+
},
|
|
642
|
+
"/listener/serviceCreateEvent": {
|
|
643
|
+
"post": {
|
|
644
|
+
"tags": [
|
|
645
|
+
"notification listeners (client side)"
|
|
646
|
+
],
|
|
647
|
+
"summary": "listenToServiceCreateEvent",
|
|
648
|
+
"description": "Example of a client listener for receiving the notification ServiceCreateEvent",
|
|
649
|
+
"operationId": "listenToServiceCreateEvent",
|
|
650
|
+
"parameters": [],
|
|
651
|
+
"requestBody": {
|
|
652
|
+
"description": "The event data",
|
|
653
|
+
"content": {
|
|
654
|
+
"application/json": {
|
|
655
|
+
"schema": {
|
|
656
|
+
"allOf": [
|
|
657
|
+
{
|
|
658
|
+
"$ref": "#/components/schemas/ServiceCreateEvent"
|
|
659
|
+
},
|
|
660
|
+
{
|
|
661
|
+
"description": "The event data"
|
|
662
|
+
}
|
|
663
|
+
]
|
|
664
|
+
}
|
|
665
|
+
}
|
|
666
|
+
},
|
|
667
|
+
"required": true
|
|
668
|
+
},
|
|
669
|
+
"responses": {
|
|
670
|
+
"201": {
|
|
671
|
+
"description": "Notified",
|
|
672
|
+
"headers": {},
|
|
673
|
+
"content": {
|
|
674
|
+
"application/json;charset=utf-8": {
|
|
675
|
+
"schema": {
|
|
676
|
+
"$ref": "#/components/schemas/EventSubscription"
|
|
677
|
+
}
|
|
678
|
+
}
|
|
679
|
+
}
|
|
680
|
+
},
|
|
681
|
+
"400": {
|
|
682
|
+
"description": "Bad Request",
|
|
683
|
+
"headers": {},
|
|
684
|
+
"content": {
|
|
685
|
+
"application/json;charset=utf-8": {
|
|
686
|
+
"schema": {
|
|
687
|
+
"$ref": "#/components/schemas/Error"
|
|
688
|
+
}
|
|
689
|
+
}
|
|
690
|
+
}
|
|
691
|
+
},
|
|
692
|
+
"401": {
|
|
693
|
+
"description": "Unauthorized",
|
|
694
|
+
"headers": {},
|
|
695
|
+
"content": {
|
|
696
|
+
"application/json;charset=utf-8": {
|
|
697
|
+
"schema": {
|
|
698
|
+
"$ref": "#/components/schemas/Error"
|
|
699
|
+
}
|
|
700
|
+
}
|
|
701
|
+
}
|
|
702
|
+
},
|
|
703
|
+
"403": {
|
|
704
|
+
"description": "Forbidden",
|
|
705
|
+
"headers": {},
|
|
706
|
+
"content": {
|
|
707
|
+
"application/json;charset=utf-8": {
|
|
708
|
+
"schema": {
|
|
709
|
+
"$ref": "#/components/schemas/Error"
|
|
710
|
+
}
|
|
711
|
+
}
|
|
712
|
+
}
|
|
713
|
+
},
|
|
714
|
+
"404": {
|
|
715
|
+
"description": "Not Found",
|
|
716
|
+
"headers": {},
|
|
717
|
+
"content": {
|
|
718
|
+
"application/json;charset=utf-8": {
|
|
719
|
+
"schema": {
|
|
720
|
+
"$ref": "#/components/schemas/Error"
|
|
721
|
+
}
|
|
722
|
+
}
|
|
723
|
+
}
|
|
724
|
+
},
|
|
725
|
+
"405": {
|
|
726
|
+
"description": "Method Not allowed",
|
|
727
|
+
"headers": {},
|
|
728
|
+
"content": {
|
|
729
|
+
"application/json;charset=utf-8": {
|
|
730
|
+
"schema": {
|
|
731
|
+
"$ref": "#/components/schemas/Error"
|
|
732
|
+
}
|
|
733
|
+
}
|
|
734
|
+
}
|
|
735
|
+
},
|
|
736
|
+
"409": {
|
|
737
|
+
"description": "Conflict",
|
|
738
|
+
"headers": {},
|
|
739
|
+
"content": {
|
|
740
|
+
"application/json;charset=utf-8": {
|
|
741
|
+
"schema": {
|
|
742
|
+
"$ref": "#/components/schemas/Error"
|
|
743
|
+
}
|
|
744
|
+
}
|
|
745
|
+
}
|
|
746
|
+
},
|
|
747
|
+
"500": {
|
|
748
|
+
"description": "Internal Server Error",
|
|
749
|
+
"headers": {},
|
|
750
|
+
"content": {
|
|
751
|
+
"application/json;charset=utf-8": {
|
|
752
|
+
"schema": {
|
|
753
|
+
"$ref": "#/components/schemas/Error"
|
|
754
|
+
}
|
|
755
|
+
}
|
|
756
|
+
}
|
|
757
|
+
}
|
|
758
|
+
},
|
|
759
|
+
"deprecated": false
|
|
760
|
+
}
|
|
761
|
+
},
|
|
762
|
+
"/listener/serviceAttributeValueChangeEvent": {
|
|
763
|
+
"post": {
|
|
764
|
+
"tags": [
|
|
765
|
+
"notification listeners (client side)"
|
|
766
|
+
],
|
|
767
|
+
"summary": "listenToServiceAttributeValueChangeEvent",
|
|
768
|
+
"description": "Example of a client listener for receiving the notification ServiceAttributeValueChangeEvent",
|
|
769
|
+
"operationId": "listenToServiceAttributeValueChangeEvent",
|
|
770
|
+
"parameters": [],
|
|
771
|
+
"requestBody": {
|
|
772
|
+
"description": "The event data",
|
|
773
|
+
"content": {
|
|
774
|
+
"application/json": {
|
|
775
|
+
"schema": {
|
|
776
|
+
"allOf": [
|
|
777
|
+
{
|
|
778
|
+
"$ref": "#/components/schemas/ServiceAttributeValueChangeEvent"
|
|
779
|
+
},
|
|
780
|
+
{
|
|
781
|
+
"description": "The event data"
|
|
782
|
+
}
|
|
783
|
+
]
|
|
784
|
+
}
|
|
785
|
+
}
|
|
786
|
+
},
|
|
787
|
+
"required": true
|
|
788
|
+
},
|
|
789
|
+
"responses": {
|
|
790
|
+
"201": {
|
|
791
|
+
"description": "Notified",
|
|
792
|
+
"headers": {},
|
|
793
|
+
"content": {
|
|
794
|
+
"application/json;charset=utf-8": {
|
|
795
|
+
"schema": {
|
|
796
|
+
"$ref": "#/components/schemas/EventSubscription"
|
|
797
|
+
}
|
|
798
|
+
}
|
|
799
|
+
}
|
|
800
|
+
},
|
|
801
|
+
"400": {
|
|
802
|
+
"description": "Bad Request",
|
|
803
|
+
"headers": {},
|
|
804
|
+
"content": {
|
|
805
|
+
"application/json;charset=utf-8": {
|
|
806
|
+
"schema": {
|
|
807
|
+
"$ref": "#/components/schemas/Error"
|
|
808
|
+
}
|
|
809
|
+
}
|
|
810
|
+
}
|
|
811
|
+
},
|
|
812
|
+
"401": {
|
|
813
|
+
"description": "Unauthorized",
|
|
814
|
+
"headers": {},
|
|
815
|
+
"content": {
|
|
816
|
+
"application/json;charset=utf-8": {
|
|
817
|
+
"schema": {
|
|
818
|
+
"$ref": "#/components/schemas/Error"
|
|
819
|
+
}
|
|
820
|
+
}
|
|
821
|
+
}
|
|
822
|
+
},
|
|
823
|
+
"403": {
|
|
824
|
+
"description": "Forbidden",
|
|
825
|
+
"headers": {},
|
|
826
|
+
"content": {
|
|
827
|
+
"application/json;charset=utf-8": {
|
|
828
|
+
"schema": {
|
|
829
|
+
"$ref": "#/components/schemas/Error"
|
|
830
|
+
}
|
|
831
|
+
}
|
|
832
|
+
}
|
|
833
|
+
},
|
|
834
|
+
"404": {
|
|
835
|
+
"description": "Not Found",
|
|
836
|
+
"headers": {},
|
|
837
|
+
"content": {
|
|
838
|
+
"application/json;charset=utf-8": {
|
|
839
|
+
"schema": {
|
|
840
|
+
"$ref": "#/components/schemas/Error"
|
|
841
|
+
}
|
|
842
|
+
}
|
|
843
|
+
}
|
|
844
|
+
},
|
|
845
|
+
"405": {
|
|
846
|
+
"description": "Method Not allowed",
|
|
847
|
+
"headers": {},
|
|
848
|
+
"content": {
|
|
849
|
+
"application/json;charset=utf-8": {
|
|
850
|
+
"schema": {
|
|
851
|
+
"$ref": "#/components/schemas/Error"
|
|
852
|
+
}
|
|
853
|
+
}
|
|
854
|
+
}
|
|
855
|
+
},
|
|
856
|
+
"409": {
|
|
857
|
+
"description": "Conflict",
|
|
858
|
+
"headers": {},
|
|
859
|
+
"content": {
|
|
860
|
+
"application/json;charset=utf-8": {
|
|
861
|
+
"schema": {
|
|
862
|
+
"$ref": "#/components/schemas/Error"
|
|
863
|
+
}
|
|
864
|
+
}
|
|
865
|
+
}
|
|
866
|
+
},
|
|
867
|
+
"500": {
|
|
868
|
+
"description": "Internal Server Error",
|
|
869
|
+
"headers": {},
|
|
870
|
+
"content": {
|
|
871
|
+
"application/json;charset=utf-8": {
|
|
872
|
+
"schema": {
|
|
873
|
+
"$ref": "#/components/schemas/Error"
|
|
874
|
+
}
|
|
875
|
+
}
|
|
876
|
+
}
|
|
877
|
+
}
|
|
878
|
+
},
|
|
879
|
+
"deprecated": false
|
|
880
|
+
}
|
|
881
|
+
},
|
|
882
|
+
"/listener/serviceStateChangeEvent": {
|
|
883
|
+
"post": {
|
|
884
|
+
"tags": [
|
|
885
|
+
"notification listeners (client side)"
|
|
886
|
+
],
|
|
887
|
+
"summary": "listenToServiceStateChangeEvent",
|
|
888
|
+
"description": "Example of a client listener for receiving the notification ServiceStateChangeEvent",
|
|
889
|
+
"operationId": "listenToServiceStateChangeEvent",
|
|
890
|
+
"parameters": [],
|
|
891
|
+
"requestBody": {
|
|
892
|
+
"description": "The event data",
|
|
893
|
+
"content": {
|
|
894
|
+
"application/json": {
|
|
895
|
+
"schema": {
|
|
896
|
+
"allOf": [
|
|
897
|
+
{
|
|
898
|
+
"$ref": "#/components/schemas/ServiceStateChangeEvent"
|
|
899
|
+
},
|
|
900
|
+
{
|
|
901
|
+
"description": "The event data"
|
|
902
|
+
}
|
|
903
|
+
]
|
|
904
|
+
}
|
|
905
|
+
}
|
|
906
|
+
},
|
|
907
|
+
"required": true
|
|
908
|
+
},
|
|
909
|
+
"responses": {
|
|
910
|
+
"201": {
|
|
911
|
+
"description": "Notified",
|
|
912
|
+
"headers": {},
|
|
913
|
+
"content": {
|
|
914
|
+
"application/json;charset=utf-8": {
|
|
915
|
+
"schema": {
|
|
916
|
+
"$ref": "#/components/schemas/EventSubscription"
|
|
917
|
+
}
|
|
918
|
+
}
|
|
919
|
+
}
|
|
920
|
+
},
|
|
921
|
+
"400": {
|
|
922
|
+
"description": "Bad Request",
|
|
923
|
+
"headers": {},
|
|
924
|
+
"content": {
|
|
925
|
+
"application/json;charset=utf-8": {
|
|
926
|
+
"schema": {
|
|
927
|
+
"$ref": "#/components/schemas/Error"
|
|
928
|
+
}
|
|
929
|
+
}
|
|
930
|
+
}
|
|
931
|
+
},
|
|
932
|
+
"401": {
|
|
933
|
+
"description": "Unauthorized",
|
|
934
|
+
"headers": {},
|
|
935
|
+
"content": {
|
|
936
|
+
"application/json;charset=utf-8": {
|
|
937
|
+
"schema": {
|
|
938
|
+
"$ref": "#/components/schemas/Error"
|
|
939
|
+
}
|
|
940
|
+
}
|
|
941
|
+
}
|
|
942
|
+
},
|
|
943
|
+
"403": {
|
|
944
|
+
"description": "Forbidden",
|
|
945
|
+
"headers": {},
|
|
946
|
+
"content": {
|
|
947
|
+
"application/json;charset=utf-8": {
|
|
948
|
+
"schema": {
|
|
949
|
+
"$ref": "#/components/schemas/Error"
|
|
950
|
+
}
|
|
951
|
+
}
|
|
952
|
+
}
|
|
953
|
+
},
|
|
954
|
+
"404": {
|
|
955
|
+
"description": "Not Found",
|
|
956
|
+
"headers": {},
|
|
957
|
+
"content": {
|
|
958
|
+
"application/json;charset=utf-8": {
|
|
959
|
+
"schema": {
|
|
960
|
+
"$ref": "#/components/schemas/Error"
|
|
961
|
+
}
|
|
962
|
+
}
|
|
963
|
+
}
|
|
964
|
+
},
|
|
965
|
+
"405": {
|
|
966
|
+
"description": "Method Not allowed",
|
|
967
|
+
"headers": {},
|
|
968
|
+
"content": {
|
|
969
|
+
"application/json;charset=utf-8": {
|
|
970
|
+
"schema": {
|
|
971
|
+
"$ref": "#/components/schemas/Error"
|
|
972
|
+
}
|
|
973
|
+
}
|
|
974
|
+
}
|
|
975
|
+
},
|
|
976
|
+
"409": {
|
|
977
|
+
"description": "Conflict",
|
|
978
|
+
"headers": {},
|
|
979
|
+
"content": {
|
|
980
|
+
"application/json;charset=utf-8": {
|
|
981
|
+
"schema": {
|
|
982
|
+
"$ref": "#/components/schemas/Error"
|
|
983
|
+
}
|
|
984
|
+
}
|
|
985
|
+
}
|
|
986
|
+
},
|
|
987
|
+
"500": {
|
|
988
|
+
"description": "Internal Server Error",
|
|
989
|
+
"headers": {},
|
|
990
|
+
"content": {
|
|
991
|
+
"application/json;charset=utf-8": {
|
|
992
|
+
"schema": {
|
|
993
|
+
"$ref": "#/components/schemas/Error"
|
|
994
|
+
}
|
|
995
|
+
}
|
|
996
|
+
}
|
|
997
|
+
}
|
|
998
|
+
},
|
|
999
|
+
"deprecated": false
|
|
1000
|
+
}
|
|
1001
|
+
},
|
|
1002
|
+
"/listener/serviceDeleteEvent": {
|
|
1003
|
+
"post": {
|
|
1004
|
+
"tags": [
|
|
1005
|
+
"notification listeners (client side)"
|
|
1006
|
+
],
|
|
1007
|
+
"summary": "listenToServiceDeleteEvent",
|
|
1008
|
+
"description": "Example of a client listener for receiving the notification ServiceDeleteEvent",
|
|
1009
|
+
"operationId": "listenToServiceDeleteEvent",
|
|
1010
|
+
"parameters": [],
|
|
1011
|
+
"requestBody": {
|
|
1012
|
+
"description": "The event data",
|
|
1013
|
+
"content": {
|
|
1014
|
+
"application/json": {
|
|
1015
|
+
"schema": {
|
|
1016
|
+
"allOf": [
|
|
1017
|
+
{
|
|
1018
|
+
"$ref": "#/components/schemas/ServiceDeleteEvent"
|
|
1019
|
+
},
|
|
1020
|
+
{
|
|
1021
|
+
"description": "The event data"
|
|
1022
|
+
}
|
|
1023
|
+
]
|
|
1024
|
+
}
|
|
1025
|
+
}
|
|
1026
|
+
},
|
|
1027
|
+
"required": true
|
|
1028
|
+
},
|
|
1029
|
+
"responses": {
|
|
1030
|
+
"201": {
|
|
1031
|
+
"description": "Notified",
|
|
1032
|
+
"headers": {},
|
|
1033
|
+
"content": {
|
|
1034
|
+
"application/json;charset=utf-8": {
|
|
1035
|
+
"schema": {
|
|
1036
|
+
"$ref": "#/components/schemas/EventSubscription"
|
|
1037
|
+
}
|
|
1038
|
+
}
|
|
1039
|
+
}
|
|
1040
|
+
},
|
|
1041
|
+
"400": {
|
|
1042
|
+
"description": "Bad Request",
|
|
1043
|
+
"headers": {},
|
|
1044
|
+
"content": {
|
|
1045
|
+
"application/json;charset=utf-8": {
|
|
1046
|
+
"schema": {
|
|
1047
|
+
"$ref": "#/components/schemas/Error"
|
|
1048
|
+
}
|
|
1049
|
+
}
|
|
1050
|
+
}
|
|
1051
|
+
},
|
|
1052
|
+
"401": {
|
|
1053
|
+
"description": "Unauthorized",
|
|
1054
|
+
"headers": {},
|
|
1055
|
+
"content": {
|
|
1056
|
+
"application/json;charset=utf-8": {
|
|
1057
|
+
"schema": {
|
|
1058
|
+
"$ref": "#/components/schemas/Error"
|
|
1059
|
+
}
|
|
1060
|
+
}
|
|
1061
|
+
}
|
|
1062
|
+
},
|
|
1063
|
+
"403": {
|
|
1064
|
+
"description": "Forbidden",
|
|
1065
|
+
"headers": {},
|
|
1066
|
+
"content": {
|
|
1067
|
+
"application/json;charset=utf-8": {
|
|
1068
|
+
"schema": {
|
|
1069
|
+
"$ref": "#/components/schemas/Error"
|
|
1070
|
+
}
|
|
1071
|
+
}
|
|
1072
|
+
}
|
|
1073
|
+
},
|
|
1074
|
+
"404": {
|
|
1075
|
+
"description": "Not Found",
|
|
1076
|
+
"headers": {},
|
|
1077
|
+
"content": {
|
|
1078
|
+
"application/json;charset=utf-8": {
|
|
1079
|
+
"schema": {
|
|
1080
|
+
"$ref": "#/components/schemas/Error"
|
|
1081
|
+
}
|
|
1082
|
+
}
|
|
1083
|
+
}
|
|
1084
|
+
},
|
|
1085
|
+
"405": {
|
|
1086
|
+
"description": "Method Not allowed",
|
|
1087
|
+
"headers": {},
|
|
1088
|
+
"content": {
|
|
1089
|
+
"application/json;charset=utf-8": {
|
|
1090
|
+
"schema": {
|
|
1091
|
+
"$ref": "#/components/schemas/Error"
|
|
1092
|
+
}
|
|
1093
|
+
}
|
|
1094
|
+
}
|
|
1095
|
+
},
|
|
1096
|
+
"409": {
|
|
1097
|
+
"description": "Conflict",
|
|
1098
|
+
"headers": {},
|
|
1099
|
+
"content": {
|
|
1100
|
+
"application/json;charset=utf-8": {
|
|
1101
|
+
"schema": {
|
|
1102
|
+
"$ref": "#/components/schemas/Error"
|
|
1103
|
+
}
|
|
1104
|
+
}
|
|
1105
|
+
}
|
|
1106
|
+
},
|
|
1107
|
+
"500": {
|
|
1108
|
+
"description": "Internal Server Error",
|
|
1109
|
+
"headers": {},
|
|
1110
|
+
"content": {
|
|
1111
|
+
"application/json;charset=utf-8": {
|
|
1112
|
+
"schema": {
|
|
1113
|
+
"$ref": "#/components/schemas/Error"
|
|
1114
|
+
}
|
|
1115
|
+
}
|
|
1116
|
+
}
|
|
1117
|
+
}
|
|
1118
|
+
},
|
|
1119
|
+
"deprecated": false
|
|
1120
|
+
}
|
|
1121
|
+
},
|
|
1122
|
+
"/hub": {
|
|
1123
|
+
"post": {
|
|
1124
|
+
"tags": [
|
|
1125
|
+
"events subscription"
|
|
1126
|
+
],
|
|
1127
|
+
"summary": "registerListener",
|
|
1128
|
+
"description": "Sets the communication endpoint address the service instance must use to deliver information about its health state, execution state, failures and metrics.",
|
|
1129
|
+
"operationId": "registerListener",
|
|
1130
|
+
"parameters": [],
|
|
1131
|
+
"requestBody": {
|
|
1132
|
+
"description": "Data containing the callback endpoint to deliver the information",
|
|
1133
|
+
"content": {
|
|
1134
|
+
"application/json": {
|
|
1135
|
+
"schema": {
|
|
1136
|
+
"allOf": [
|
|
1137
|
+
{
|
|
1138
|
+
"$ref": "#/components/schemas/EventSubscriptionInput"
|
|
1139
|
+
},
|
|
1140
|
+
{
|
|
1141
|
+
"description": "Data containing the callback endpoint to deliver the information"
|
|
1142
|
+
}
|
|
1143
|
+
]
|
|
1144
|
+
}
|
|
1145
|
+
}
|
|
1146
|
+
},
|
|
1147
|
+
"required": true
|
|
1148
|
+
},
|
|
1149
|
+
"responses": {
|
|
1150
|
+
"201": {
|
|
1151
|
+
"description": "Subscribed",
|
|
1152
|
+
"headers": {},
|
|
1153
|
+
"content": {
|
|
1154
|
+
"application/json;charset=utf-8": {
|
|
1155
|
+
"schema": {
|
|
1156
|
+
"$ref": "#/components/schemas/EventSubscription"
|
|
1157
|
+
}
|
|
1158
|
+
}
|
|
1159
|
+
}
|
|
1160
|
+
},
|
|
1161
|
+
"400": {
|
|
1162
|
+
"description": "Bad Request",
|
|
1163
|
+
"headers": {},
|
|
1164
|
+
"content": {
|
|
1165
|
+
"application/json;charset=utf-8": {
|
|
1166
|
+
"schema": {
|
|
1167
|
+
"$ref": "#/components/schemas/Error"
|
|
1168
|
+
}
|
|
1169
|
+
}
|
|
1170
|
+
}
|
|
1171
|
+
},
|
|
1172
|
+
"401": {
|
|
1173
|
+
"description": "Unauthorized",
|
|
1174
|
+
"headers": {},
|
|
1175
|
+
"content": {
|
|
1176
|
+
"application/json;charset=utf-8": {
|
|
1177
|
+
"schema": {
|
|
1178
|
+
"$ref": "#/components/schemas/Error"
|
|
1179
|
+
}
|
|
1180
|
+
}
|
|
1181
|
+
}
|
|
1182
|
+
},
|
|
1183
|
+
"403": {
|
|
1184
|
+
"description": "Forbidden",
|
|
1185
|
+
"headers": {},
|
|
1186
|
+
"content": {
|
|
1187
|
+
"application/json;charset=utf-8": {
|
|
1188
|
+
"schema": {
|
|
1189
|
+
"$ref": "#/components/schemas/Error"
|
|
1190
|
+
}
|
|
1191
|
+
}
|
|
1192
|
+
}
|
|
1193
|
+
},
|
|
1194
|
+
"404": {
|
|
1195
|
+
"description": "Not Found",
|
|
1196
|
+
"headers": {},
|
|
1197
|
+
"content": {
|
|
1198
|
+
"application/json;charset=utf-8": {
|
|
1199
|
+
"schema": {
|
|
1200
|
+
"$ref": "#/components/schemas/Error"
|
|
1201
|
+
}
|
|
1202
|
+
}
|
|
1203
|
+
}
|
|
1204
|
+
},
|
|
1205
|
+
"405": {
|
|
1206
|
+
"description": "Method Not allowed",
|
|
1207
|
+
"headers": {},
|
|
1208
|
+
"content": {
|
|
1209
|
+
"application/json;charset=utf-8": {
|
|
1210
|
+
"schema": {
|
|
1211
|
+
"$ref": "#/components/schemas/Error"
|
|
1212
|
+
}
|
|
1213
|
+
}
|
|
1214
|
+
}
|
|
1215
|
+
},
|
|
1216
|
+
"409": {
|
|
1217
|
+
"description": "Conflict",
|
|
1218
|
+
"headers": {},
|
|
1219
|
+
"content": {
|
|
1220
|
+
"application/json;charset=utf-8": {
|
|
1221
|
+
"schema": {
|
|
1222
|
+
"$ref": "#/components/schemas/Error"
|
|
1223
|
+
}
|
|
1224
|
+
}
|
|
1225
|
+
}
|
|
1226
|
+
},
|
|
1227
|
+
"500": {
|
|
1228
|
+
"description": "Internal Server Error",
|
|
1229
|
+
"headers": {},
|
|
1230
|
+
"content": {
|
|
1231
|
+
"application/json;charset=utf-8": {
|
|
1232
|
+
"schema": {
|
|
1233
|
+
"$ref": "#/components/schemas/Error"
|
|
1234
|
+
}
|
|
1235
|
+
}
|
|
1236
|
+
}
|
|
1237
|
+
}
|
|
1238
|
+
},
|
|
1239
|
+
"deprecated": false
|
|
1240
|
+
}
|
|
1241
|
+
},
|
|
1242
|
+
"/hub/{id}": {
|
|
1243
|
+
"delete": {
|
|
1244
|
+
"tags": [
|
|
1245
|
+
"events subscription"
|
|
1246
|
+
],
|
|
1247
|
+
"summary": "unregisterListener",
|
|
1248
|
+
"description": "Resets the communication endpoint address the service instance must use to deliver information about its health state, execution state, failures and metrics.",
|
|
1249
|
+
"operationId": "unregisterListener",
|
|
1250
|
+
"parameters": [
|
|
1251
|
+
{
|
|
1252
|
+
"name": "id",
|
|
1253
|
+
"in": "path",
|
|
1254
|
+
"description": "The id of the registered listener",
|
|
1255
|
+
"required": true,
|
|
1256
|
+
"style": "simple",
|
|
1257
|
+
"schema": {
|
|
1258
|
+
"type": "string"
|
|
1259
|
+
}
|
|
1260
|
+
}
|
|
1261
|
+
],
|
|
1262
|
+
"responses": {
|
|
1263
|
+
"204": {
|
|
1264
|
+
"description": "Deleted",
|
|
1265
|
+
"headers": {},
|
|
1266
|
+
"content": {}
|
|
1267
|
+
},
|
|
1268
|
+
"400": {
|
|
1269
|
+
"description": "Bad request",
|
|
1270
|
+
"headers": {},
|
|
1271
|
+
"content": {
|
|
1272
|
+
"application/json;charset=utf-8": {
|
|
1273
|
+
"schema": {
|
|
1274
|
+
"$ref": "#/components/schemas/Error"
|
|
1275
|
+
}
|
|
1276
|
+
}
|
|
1277
|
+
}
|
|
1278
|
+
},
|
|
1279
|
+
"401": {
|
|
1280
|
+
"description": "Unauthorized",
|
|
1281
|
+
"headers": {},
|
|
1282
|
+
"content": {
|
|
1283
|
+
"application/json;charset=utf-8": {
|
|
1284
|
+
"schema": {
|
|
1285
|
+
"$ref": "#/components/schemas/Error"
|
|
1286
|
+
}
|
|
1287
|
+
}
|
|
1288
|
+
}
|
|
1289
|
+
},
|
|
1290
|
+
"403": {
|
|
1291
|
+
"description": "Forbidden",
|
|
1292
|
+
"headers": {},
|
|
1293
|
+
"content": {
|
|
1294
|
+
"application/json;charset=utf-8": {
|
|
1295
|
+
"schema": {
|
|
1296
|
+
"$ref": "#/components/schemas/Error"
|
|
1297
|
+
}
|
|
1298
|
+
}
|
|
1299
|
+
}
|
|
1300
|
+
},
|
|
1301
|
+
"404": {
|
|
1302
|
+
"description": "Not Found",
|
|
1303
|
+
"headers": {},
|
|
1304
|
+
"content": {
|
|
1305
|
+
"application/json;charset=utf-8": {
|
|
1306
|
+
"schema": {
|
|
1307
|
+
"$ref": "#/components/schemas/Error"
|
|
1308
|
+
}
|
|
1309
|
+
}
|
|
1310
|
+
}
|
|
1311
|
+
},
|
|
1312
|
+
"405": {
|
|
1313
|
+
"description": "Method not allowed",
|
|
1314
|
+
"headers": {},
|
|
1315
|
+
"content": {
|
|
1316
|
+
"application/json;charset=utf-8": {
|
|
1317
|
+
"schema": {
|
|
1318
|
+
"$ref": "#/components/schemas/Error"
|
|
1319
|
+
}
|
|
1320
|
+
}
|
|
1321
|
+
}
|
|
1322
|
+
},
|
|
1323
|
+
"500": {
|
|
1324
|
+
"description": "Internal Server Error",
|
|
1325
|
+
"headers": {},
|
|
1326
|
+
"content": {
|
|
1327
|
+
"application/json;charset=utf-8": {
|
|
1328
|
+
"schema": {
|
|
1329
|
+
"$ref": "#/components/schemas/Error"
|
|
1330
|
+
}
|
|
1331
|
+
}
|
|
1332
|
+
}
|
|
1333
|
+
}
|
|
1334
|
+
},
|
|
1335
|
+
"deprecated": false
|
|
1336
|
+
}
|
|
1337
|
+
}
|
|
1338
|
+
},
|
|
1339
|
+
"components": {
|
|
1340
|
+
"schemas": {
|
|
1341
|
+
"Addressable": {
|
|
1342
|
+
"title": "Addressable",
|
|
1343
|
+
"type": "object",
|
|
1344
|
+
"properties": {
|
|
1345
|
+
"id": {
|
|
1346
|
+
"type": "string",
|
|
1347
|
+
"description": "unique identifier"
|
|
1348
|
+
},
|
|
1349
|
+
"href": {
|
|
1350
|
+
"type": "string",
|
|
1351
|
+
"description": "Hyperlink reference"
|
|
1352
|
+
}
|
|
1353
|
+
},
|
|
1354
|
+
"description": "Base schema for adressable entities"
|
|
1355
|
+
},
|
|
1356
|
+
"Characteristic": {
|
|
1357
|
+
"title": "Characteristic",
|
|
1358
|
+
"required": [
|
|
1359
|
+
"name",
|
|
1360
|
+
"value"
|
|
1361
|
+
],
|
|
1362
|
+
"type": "object",
|
|
1363
|
+
"properties": {
|
|
1364
|
+
"id": {
|
|
1365
|
+
"type": "string",
|
|
1366
|
+
"description": "Unique identifier of the characteristic"
|
|
1367
|
+
},
|
|
1368
|
+
"name": {
|
|
1369
|
+
"type": "string",
|
|
1370
|
+
"description": "Name of the characteristic"
|
|
1371
|
+
},
|
|
1372
|
+
"valueType": {
|
|
1373
|
+
"type": "string",
|
|
1374
|
+
"description": "Data type of the value of the characteristic"
|
|
1375
|
+
},
|
|
1376
|
+
"characteristicRelationship": {
|
|
1377
|
+
"type": "array",
|
|
1378
|
+
"items": {
|
|
1379
|
+
"$ref": "#/components/schemas/CharacteristicRelationship"
|
|
1380
|
+
},
|
|
1381
|
+
"description": ""
|
|
1382
|
+
},
|
|
1383
|
+
"value": {},
|
|
1384
|
+
"@baseType": {
|
|
1385
|
+
"type": "string",
|
|
1386
|
+
"description": "When sub-classing, this defines the super-class"
|
|
1387
|
+
},
|
|
1388
|
+
"@schemaLocation": {
|
|
1389
|
+
"type": "string",
|
|
1390
|
+
"description": "A URI to a JSON-Schema file that defines additional attributes and relationships"
|
|
1391
|
+
},
|
|
1392
|
+
"@type": {
|
|
1393
|
+
"type": "string",
|
|
1394
|
+
"description": "When sub-classing, this defines the sub-class Extensible name"
|
|
1395
|
+
}
|
|
1396
|
+
},
|
|
1397
|
+
"description": "Describes a given characteristic of an object or entity through a name/value pair."
|
|
1398
|
+
},
|
|
1399
|
+
"CharacteristicRelationship": {
|
|
1400
|
+
"title": "CharacteristicRelationship",
|
|
1401
|
+
"type": "object",
|
|
1402
|
+
"properties": {
|
|
1403
|
+
"id": {
|
|
1404
|
+
"type": "string",
|
|
1405
|
+
"description": "Unique identifier of the characteristic"
|
|
1406
|
+
},
|
|
1407
|
+
"relationshipType": {
|
|
1408
|
+
"type": "string",
|
|
1409
|
+
"description": "The type of relationship"
|
|
1410
|
+
}
|
|
1411
|
+
},
|
|
1412
|
+
"description": "Another Characteristic that is related to the current Characteristic;"
|
|
1413
|
+
},
|
|
1414
|
+
"ConstraintRef": {
|
|
1415
|
+
"title": "ConstraintRef",
|
|
1416
|
+
"required": [
|
|
1417
|
+
"id"
|
|
1418
|
+
],
|
|
1419
|
+
"type": "object",
|
|
1420
|
+
"properties": {
|
|
1421
|
+
"id": {
|
|
1422
|
+
"type": "string",
|
|
1423
|
+
"description": "reference id to the target constraint"
|
|
1424
|
+
},
|
|
1425
|
+
"href": {
|
|
1426
|
+
"type": "string",
|
|
1427
|
+
"description": "Hyperlink reference to the target constraint"
|
|
1428
|
+
},
|
|
1429
|
+
"name": {
|
|
1430
|
+
"type": "string",
|
|
1431
|
+
"description": "Name given to the constraint"
|
|
1432
|
+
},
|
|
1433
|
+
"version": {
|
|
1434
|
+
"type": "string",
|
|
1435
|
+
"description": "constraint version"
|
|
1436
|
+
},
|
|
1437
|
+
"@baseType": {
|
|
1438
|
+
"type": "string",
|
|
1439
|
+
"description": "When sub-classing, this defines the super-class"
|
|
1440
|
+
},
|
|
1441
|
+
"@schemaLocation": {
|
|
1442
|
+
"type": "string",
|
|
1443
|
+
"description": "A URI to a JSON-Schema file that defines additional attributes and relationships"
|
|
1444
|
+
},
|
|
1445
|
+
"@type": {
|
|
1446
|
+
"type": "string",
|
|
1447
|
+
"description": "When sub-classing, this defines the sub-class Extensible name"
|
|
1448
|
+
},
|
|
1449
|
+
"@referredType": {
|
|
1450
|
+
"type": "string",
|
|
1451
|
+
"description": "The (class) type of the referred constraint"
|
|
1452
|
+
}
|
|
1453
|
+
},
|
|
1454
|
+
"description": "Constraint reference. The Constraint resource represents a policy/rule applied to an entity or entity spec."
|
|
1455
|
+
},
|
|
1456
|
+
"EntityRef": {
|
|
1457
|
+
"title": "EntityRef",
|
|
1458
|
+
"required": [
|
|
1459
|
+
"id"
|
|
1460
|
+
],
|
|
1461
|
+
"type": "object",
|
|
1462
|
+
"properties": {
|
|
1463
|
+
"id": {
|
|
1464
|
+
"type": "string",
|
|
1465
|
+
"description": "unique identifier"
|
|
1466
|
+
},
|
|
1467
|
+
"href": {
|
|
1468
|
+
"type": "string",
|
|
1469
|
+
"description": "Hyperlink reference"
|
|
1470
|
+
},
|
|
1471
|
+
"name": {
|
|
1472
|
+
"type": "string",
|
|
1473
|
+
"description": "Name of the related entity."
|
|
1474
|
+
},
|
|
1475
|
+
"@baseType": {
|
|
1476
|
+
"type": "string",
|
|
1477
|
+
"description": "When sub-classing, this defines the super-class"
|
|
1478
|
+
},
|
|
1479
|
+
"@schemaLocation": {
|
|
1480
|
+
"type": "string",
|
|
1481
|
+
"description": "A URI to a JSON-Schema file that defines additional attributes and relationships"
|
|
1482
|
+
},
|
|
1483
|
+
"@type": {
|
|
1484
|
+
"type": "string",
|
|
1485
|
+
"description": "When sub-classing, this defines the sub-class Extensible name"
|
|
1486
|
+
},
|
|
1487
|
+
"@referredType": {
|
|
1488
|
+
"type": "string",
|
|
1489
|
+
"description": "The actual type of the target instance when needed for disambiguation."
|
|
1490
|
+
}
|
|
1491
|
+
},
|
|
1492
|
+
"description": "Entity reference schema to be use for all entityRef class."
|
|
1493
|
+
},
|
|
1494
|
+
"EntityValue": {
|
|
1495
|
+
"title": "EntityValue",
|
|
1496
|
+
"type": "object",
|
|
1497
|
+
"properties": {
|
|
1498
|
+
"id": {
|
|
1499
|
+
"type": "string",
|
|
1500
|
+
"description": "Unique identifier of a related entity."
|
|
1501
|
+
},
|
|
1502
|
+
"href": {
|
|
1503
|
+
"type": "string",
|
|
1504
|
+
"description": "Reference of the related entity."
|
|
1505
|
+
}
|
|
1506
|
+
},
|
|
1507
|
+
"description": "Base entity value schema for use in TMForum Open-APIs"
|
|
1508
|
+
},
|
|
1509
|
+
"Extensible": {
|
|
1510
|
+
"title": "Extensible",
|
|
1511
|
+
"type": "object",
|
|
1512
|
+
"properties": {
|
|
1513
|
+
"@baseType": {
|
|
1514
|
+
"type": "string",
|
|
1515
|
+
"description": "When sub-classing, this defines the super-class"
|
|
1516
|
+
},
|
|
1517
|
+
"@schemaLocation": {
|
|
1518
|
+
"type": "string",
|
|
1519
|
+
"description": "A URI to a JSON-Schema file that defines additional attributes and relationships"
|
|
1520
|
+
},
|
|
1521
|
+
"@type": {
|
|
1522
|
+
"type": "string",
|
|
1523
|
+
"description": "When sub-classing, this defines the sub-class Extensible name"
|
|
1524
|
+
}
|
|
1525
|
+
},
|
|
1526
|
+
"description": "Base Extensible schema for use in TMForum Open-APIs"
|
|
1527
|
+
},
|
|
1528
|
+
"Feature": {
|
|
1529
|
+
"title": "Feature",
|
|
1530
|
+
"required": [
|
|
1531
|
+
"id",
|
|
1532
|
+
"name",
|
|
1533
|
+
"featureCharacteristic"
|
|
1534
|
+
],
|
|
1535
|
+
"type": "object",
|
|
1536
|
+
"properties": {
|
|
1537
|
+
"id": {
|
|
1538
|
+
"type": "string",
|
|
1539
|
+
"description": "Unique identifier of the feature."
|
|
1540
|
+
},
|
|
1541
|
+
"isBundle": {
|
|
1542
|
+
"type": "boolean",
|
|
1543
|
+
"description": "True if this is a feature group. Default is false."
|
|
1544
|
+
},
|
|
1545
|
+
"isEnabled": {
|
|
1546
|
+
"type": "boolean",
|
|
1547
|
+
"description": "True if this feature is enabled. Default is true."
|
|
1548
|
+
},
|
|
1549
|
+
"name": {
|
|
1550
|
+
"type": "string",
|
|
1551
|
+
"description": "This is the name for the feature."
|
|
1552
|
+
},
|
|
1553
|
+
"constraint": {
|
|
1554
|
+
"type": "array",
|
|
1555
|
+
"items": {
|
|
1556
|
+
"$ref": "#/components/schemas/ConstraintRef"
|
|
1557
|
+
},
|
|
1558
|
+
"description": "This is a list of feature constraints."
|
|
1559
|
+
},
|
|
1560
|
+
"featureCharacteristic": {
|
|
1561
|
+
"minItems": 1,
|
|
1562
|
+
"type": "array",
|
|
1563
|
+
"items": {
|
|
1564
|
+
"$ref": "#/components/schemas/Characteristic"
|
|
1565
|
+
},
|
|
1566
|
+
"description": "This is a list of Characteristics for a particular feature."
|
|
1567
|
+
},
|
|
1568
|
+
"featureRelationship": {
|
|
1569
|
+
"type": "array",
|
|
1570
|
+
"items": {
|
|
1571
|
+
"$ref": "#/components/schemas/FeatureRelationship"
|
|
1572
|
+
},
|
|
1573
|
+
"description": ""
|
|
1574
|
+
}
|
|
1575
|
+
},
|
|
1576
|
+
"description": "Configuration feature."
|
|
1577
|
+
},
|
|
1578
|
+
"FeatureRelationship": {
|
|
1579
|
+
"title": "FeatureRelationship",
|
|
1580
|
+
"required": [
|
|
1581
|
+
"name",
|
|
1582
|
+
"relationshipType"
|
|
1583
|
+
],
|
|
1584
|
+
"type": "object",
|
|
1585
|
+
"properties": {
|
|
1586
|
+
"id": {
|
|
1587
|
+
"type": "string",
|
|
1588
|
+
"description": "Unique identifier of the target feature."
|
|
1589
|
+
},
|
|
1590
|
+
"name": {
|
|
1591
|
+
"type": "string",
|
|
1592
|
+
"description": "This is the name of the target feature."
|
|
1593
|
+
},
|
|
1594
|
+
"relationshipType": {
|
|
1595
|
+
"type": "string",
|
|
1596
|
+
"description": "This is the type of the feature relationship."
|
|
1597
|
+
},
|
|
1598
|
+
"validFor": {
|
|
1599
|
+
"allOf": [
|
|
1600
|
+
{
|
|
1601
|
+
"$ref": "#/components/schemas/TimePeriod"
|
|
1602
|
+
},
|
|
1603
|
+
{
|
|
1604
|
+
"description": "A period of time, either as a deadline (endDateTime only) a startDateTime only, or both"
|
|
1605
|
+
}
|
|
1606
|
+
]
|
|
1607
|
+
}
|
|
1608
|
+
},
|
|
1609
|
+
"description": "Configuration feature"
|
|
1610
|
+
},
|
|
1611
|
+
"Note": {
|
|
1612
|
+
"title": "Note",
|
|
1613
|
+
"required": [
|
|
1614
|
+
"author",
|
|
1615
|
+
"date",
|
|
1616
|
+
"text"
|
|
1617
|
+
],
|
|
1618
|
+
"type": "object",
|
|
1619
|
+
"properties": {
|
|
1620
|
+
"id": {
|
|
1621
|
+
"type": "string",
|
|
1622
|
+
"description": "Identifier of the note within its containing entity (may or may not be globally unique, depending on provider implementation)"
|
|
1623
|
+
},
|
|
1624
|
+
"author": {
|
|
1625
|
+
"type": "string",
|
|
1626
|
+
"description": "Author of the note"
|
|
1627
|
+
},
|
|
1628
|
+
"date": {
|
|
1629
|
+
"type": "string",
|
|
1630
|
+
"description": "Date of the note",
|
|
1631
|
+
"format": "date-time"
|
|
1632
|
+
},
|
|
1633
|
+
"text": {
|
|
1634
|
+
"type": "string",
|
|
1635
|
+
"description": "Text of the note"
|
|
1636
|
+
}
|
|
1637
|
+
},
|
|
1638
|
+
"description": "Extra information about a given entity"
|
|
1639
|
+
},
|
|
1640
|
+
"OrderItemActionType": {
|
|
1641
|
+
"title": "OrderItemActionType",
|
|
1642
|
+
"enum": [
|
|
1643
|
+
"add",
|
|
1644
|
+
"modify",
|
|
1645
|
+
"delete",
|
|
1646
|
+
"noChange"
|
|
1647
|
+
],
|
|
1648
|
+
"type": "string",
|
|
1649
|
+
"description": "action to be performed on the product"
|
|
1650
|
+
},
|
|
1651
|
+
"Place": {
|
|
1652
|
+
"title": "Place",
|
|
1653
|
+
"type": "object",
|
|
1654
|
+
"properties": {
|
|
1655
|
+
"id": {
|
|
1656
|
+
"type": "string",
|
|
1657
|
+
"description": "Unique identifier of the place"
|
|
1658
|
+
},
|
|
1659
|
+
"href": {
|
|
1660
|
+
"type": "string",
|
|
1661
|
+
"description": "Unique reference of the place"
|
|
1662
|
+
},
|
|
1663
|
+
"name": {
|
|
1664
|
+
"type": "string",
|
|
1665
|
+
"description": "A user-friendly name for the place, such as [Paris Store], [London Store], [Main Home]"
|
|
1666
|
+
}
|
|
1667
|
+
},
|
|
1668
|
+
"description": "Place reference. Place defines the places where the products are sold or delivered."
|
|
1669
|
+
},
|
|
1670
|
+
"PlaceRef": {
|
|
1671
|
+
"title": "PlaceRef",
|
|
1672
|
+
"required": [
|
|
1673
|
+
"id"
|
|
1674
|
+
],
|
|
1675
|
+
"type": "object",
|
|
1676
|
+
"properties": {
|
|
1677
|
+
"id": {
|
|
1678
|
+
"type": "string",
|
|
1679
|
+
"description": "unique identifier"
|
|
1680
|
+
},
|
|
1681
|
+
"href": {
|
|
1682
|
+
"type": "string",
|
|
1683
|
+
"description": "Hyperlink reference"
|
|
1684
|
+
},
|
|
1685
|
+
"name": {
|
|
1686
|
+
"type": "string",
|
|
1687
|
+
"description": "Name of the related entity."
|
|
1688
|
+
},
|
|
1689
|
+
"@baseType": {
|
|
1690
|
+
"type": "string",
|
|
1691
|
+
"description": "When sub-classing, this defines the super-class"
|
|
1692
|
+
},
|
|
1693
|
+
"@schemaLocation": {
|
|
1694
|
+
"type": "string",
|
|
1695
|
+
"description": "A URI to a JSON-Schema file that defines additional attributes and relationships"
|
|
1696
|
+
},
|
|
1697
|
+
"@type": {
|
|
1698
|
+
"type": "string",
|
|
1699
|
+
"description": "When sub-classing, this defines the sub-class Extensible name"
|
|
1700
|
+
},
|
|
1701
|
+
"@referredType": {
|
|
1702
|
+
"type": "string",
|
|
1703
|
+
"description": "The actual type of the target instance when needed for disambiguation."
|
|
1704
|
+
}
|
|
1705
|
+
},
|
|
1706
|
+
"description": "Place reference. PlaceRef defines the placeRefs where the products are sold or delivered."
|
|
1707
|
+
},
|
|
1708
|
+
"RelatedEntityRefOrValue": {
|
|
1709
|
+
"title": "RelatedEntityRefOrValue",
|
|
1710
|
+
"required": [
|
|
1711
|
+
"role"
|
|
1712
|
+
],
|
|
1713
|
+
"type": "object",
|
|
1714
|
+
"properties": {
|
|
1715
|
+
"id": {
|
|
1716
|
+
"type": "string",
|
|
1717
|
+
"description": "Unique identifier of a related entity."
|
|
1718
|
+
},
|
|
1719
|
+
"href": {
|
|
1720
|
+
"type": "string",
|
|
1721
|
+
"description": "Reference of the related entity."
|
|
1722
|
+
},
|
|
1723
|
+
"name": {
|
|
1724
|
+
"type": "string",
|
|
1725
|
+
"description": "Name of the related entity."
|
|
1726
|
+
},
|
|
1727
|
+
"role": {
|
|
1728
|
+
"type": "string"
|
|
1729
|
+
},
|
|
1730
|
+
"@baseType": {
|
|
1731
|
+
"type": "string",
|
|
1732
|
+
"description": "When sub-classing, this defines the super-class"
|
|
1733
|
+
},
|
|
1734
|
+
"@schemaLocation": {
|
|
1735
|
+
"type": "string",
|
|
1736
|
+
"description": "A URI to a JSON-Schema file that defines additional attributes and relationships"
|
|
1737
|
+
},
|
|
1738
|
+
"@type": {
|
|
1739
|
+
"type": "string",
|
|
1740
|
+
"description": "When sub-classing, this defines the sub-class Extensible name"
|
|
1741
|
+
},
|
|
1742
|
+
"@referredType": {
|
|
1743
|
+
"type": "string",
|
|
1744
|
+
"description": "The actual type of the target instance when needed for disambiguation."
|
|
1745
|
+
}
|
|
1746
|
+
},
|
|
1747
|
+
"description": "A reference to an entity, where the type of the entity is not known in advance. A related entity defines a entity described by reference or by value linked to a specific entity. The polymorphic attributes @type, @schemaLocation & @referredType are related to the Entity and not the RelatedEntityRefOrValue class itself"
|
|
1748
|
+
},
|
|
1749
|
+
"RelatedParty": {
|
|
1750
|
+
"title": "RelatedParty",
|
|
1751
|
+
"required": [
|
|
1752
|
+
"id",
|
|
1753
|
+
"@referredType"
|
|
1754
|
+
],
|
|
1755
|
+
"type": "object",
|
|
1756
|
+
"properties": {
|
|
1757
|
+
"id": {
|
|
1758
|
+
"type": "string",
|
|
1759
|
+
"description": "unique identifier"
|
|
1760
|
+
},
|
|
1761
|
+
"href": {
|
|
1762
|
+
"type": "string",
|
|
1763
|
+
"description": "Hyperlink reference"
|
|
1764
|
+
},
|
|
1765
|
+
"name": {
|
|
1766
|
+
"type": "string",
|
|
1767
|
+
"description": "Name of the related entity."
|
|
1768
|
+
},
|
|
1769
|
+
"role": {
|
|
1770
|
+
"type": "string",
|
|
1771
|
+
"description": "Role played by the related party"
|
|
1772
|
+
},
|
|
1773
|
+
"@baseType": {
|
|
1774
|
+
"type": "string",
|
|
1775
|
+
"description": "When sub-classing, this defines the super-class"
|
|
1776
|
+
},
|
|
1777
|
+
"@schemaLocation": {
|
|
1778
|
+
"type": "string",
|
|
1779
|
+
"description": "A URI to a JSON-Schema file that defines additional attributes and relationships"
|
|
1780
|
+
},
|
|
1781
|
+
"@type": {
|
|
1782
|
+
"type": "string",
|
|
1783
|
+
"description": "When sub-classing, this defines the sub-class Extensible name"
|
|
1784
|
+
},
|
|
1785
|
+
"@referredType": {
|
|
1786
|
+
"type": "string",
|
|
1787
|
+
"description": "The actual type of the target instance when needed for disambiguation."
|
|
1788
|
+
}
|
|
1789
|
+
},
|
|
1790
|
+
"description": "Related Entity reference. A related party defines party or party role linked to a specific entity."
|
|
1791
|
+
},
|
|
1792
|
+
"RelatedPlaceRefOrValue": {
|
|
1793
|
+
"title": "RelatedPlaceRefOrValue",
|
|
1794
|
+
"required": [
|
|
1795
|
+
"role"
|
|
1796
|
+
],
|
|
1797
|
+
"type": "object",
|
|
1798
|
+
"properties": {
|
|
1799
|
+
"id": {
|
|
1800
|
+
"type": "string",
|
|
1801
|
+
"description": "Unique identifier of the place"
|
|
1802
|
+
},
|
|
1803
|
+
"href": {
|
|
1804
|
+
"type": "string",
|
|
1805
|
+
"description": "Unique reference of the place"
|
|
1806
|
+
},
|
|
1807
|
+
"name": {
|
|
1808
|
+
"type": "string",
|
|
1809
|
+
"description": "A user-friendly name for the place, such as [Paris Store], [London Store], [Main Home]"
|
|
1810
|
+
},
|
|
1811
|
+
"role": {
|
|
1812
|
+
"type": "string"
|
|
1813
|
+
},
|
|
1814
|
+
"@baseType": {
|
|
1815
|
+
"type": "string",
|
|
1816
|
+
"description": "When sub-classing, this defines the super-class"
|
|
1817
|
+
},
|
|
1818
|
+
"@schemaLocation": {
|
|
1819
|
+
"type": "string",
|
|
1820
|
+
"description": "A URI to a JSON-Schema file that defines additional attributes and relationships"
|
|
1821
|
+
},
|
|
1822
|
+
"@type": {
|
|
1823
|
+
"type": "string",
|
|
1824
|
+
"description": "When sub-classing, this defines the sub-class Extensible name"
|
|
1825
|
+
},
|
|
1826
|
+
"@referredType": {
|
|
1827
|
+
"type": "string",
|
|
1828
|
+
"description": "The actual type of the target instance when needed for disambiguation."
|
|
1829
|
+
}
|
|
1830
|
+
},
|
|
1831
|
+
"description": "Related Entity reference. A related place defines a place described by reference or by value linked to a specific entity. The polymorphic attributes @type, @schemaLocation & @referredType are related to the place entity and not the RelatedPlaceRefOrValue class itself"
|
|
1832
|
+
},
|
|
1833
|
+
"RelatedServiceOrderItem": {
|
|
1834
|
+
"title": "RelatedServiceOrderItem",
|
|
1835
|
+
"required": [
|
|
1836
|
+
"itemId",
|
|
1837
|
+
"serviceOrderId"
|
|
1838
|
+
],
|
|
1839
|
+
"type": "object",
|
|
1840
|
+
"properties": {
|
|
1841
|
+
"itemId": {
|
|
1842
|
+
"type": "string",
|
|
1843
|
+
"description": "Identifier of the order item where the service was managed"
|
|
1844
|
+
},
|
|
1845
|
+
"role": {
|
|
1846
|
+
"type": "string",
|
|
1847
|
+
"description": "role of the service order item for this service"
|
|
1848
|
+
},
|
|
1849
|
+
"serviceOrderHref": {
|
|
1850
|
+
"type": "string",
|
|
1851
|
+
"description": "Reference of the related entity."
|
|
1852
|
+
},
|
|
1853
|
+
"serviceOrderId": {
|
|
1854
|
+
"type": "string",
|
|
1855
|
+
"description": "Unique identifier of a related entity."
|
|
1856
|
+
},
|
|
1857
|
+
"itemAction": {
|
|
1858
|
+
"allOf": [
|
|
1859
|
+
{
|
|
1860
|
+
"$ref": "#/components/schemas/OrderItemActionType"
|
|
1861
|
+
},
|
|
1862
|
+
{
|
|
1863
|
+
"description": "action to be performed on the product"
|
|
1864
|
+
}
|
|
1865
|
+
]
|
|
1866
|
+
},
|
|
1867
|
+
"@referredType": {
|
|
1868
|
+
"type": "string",
|
|
1869
|
+
"description": "The actual type of the target instance when needed for disambiguation."
|
|
1870
|
+
}
|
|
1871
|
+
},
|
|
1872
|
+
"description": "RelatedServiceOrderItem (a ServiceOrder item) .The service order item which triggered service creation/change/termination."
|
|
1873
|
+
},
|
|
1874
|
+
"ResourceRef": {
|
|
1875
|
+
"title": "ResourceRef",
|
|
1876
|
+
"required": [
|
|
1877
|
+
"id"
|
|
1878
|
+
],
|
|
1879
|
+
"type": "object",
|
|
1880
|
+
"properties": {
|
|
1881
|
+
"id": {
|
|
1882
|
+
"type": "string",
|
|
1883
|
+
"description": "unique identifier"
|
|
1884
|
+
},
|
|
1885
|
+
"href": {
|
|
1886
|
+
"type": "string",
|
|
1887
|
+
"description": "Hyperlink reference"
|
|
1888
|
+
},
|
|
1889
|
+
"name": {
|
|
1890
|
+
"type": "string",
|
|
1891
|
+
"description": "Name of the related entity."
|
|
1892
|
+
},
|
|
1893
|
+
"@baseType": {
|
|
1894
|
+
"type": "string",
|
|
1895
|
+
"description": "When sub-classing, this defines the super-class"
|
|
1896
|
+
},
|
|
1897
|
+
"@schemaLocation": {
|
|
1898
|
+
"type": "string",
|
|
1899
|
+
"description": "A URI to a JSON-Schema file that defines additional attributes and relationships"
|
|
1900
|
+
},
|
|
1901
|
+
"@type": {
|
|
1902
|
+
"type": "string",
|
|
1903
|
+
"description": "When sub-classing, this defines the sub-class Extensible name"
|
|
1904
|
+
},
|
|
1905
|
+
"@referredType": {
|
|
1906
|
+
"type": "string",
|
|
1907
|
+
"description": "The actual type of the target instance when needed for disambiguation."
|
|
1908
|
+
}
|
|
1909
|
+
}
|
|
1910
|
+
},
|
|
1911
|
+
"Service": {
|
|
1912
|
+
"title": "Service",
|
|
1913
|
+
"type": "object",
|
|
1914
|
+
"properties": {
|
|
1915
|
+
"id": {
|
|
1916
|
+
"type": "string",
|
|
1917
|
+
"description": "Unique identifier of the service"
|
|
1918
|
+
},
|
|
1919
|
+
"href": {
|
|
1920
|
+
"type": "string",
|
|
1921
|
+
"description": "Reference of the service"
|
|
1922
|
+
},
|
|
1923
|
+
"category": {
|
|
1924
|
+
"type": "string",
|
|
1925
|
+
"description": "Is it a customer facing or resource facing service"
|
|
1926
|
+
},
|
|
1927
|
+
"description": {
|
|
1928
|
+
"type": "string",
|
|
1929
|
+
"description": "Free-text description of the service"
|
|
1930
|
+
},
|
|
1931
|
+
"endDate": {
|
|
1932
|
+
"type": "string",
|
|
1933
|
+
"description": "Date when the service ends",
|
|
1934
|
+
"format": "date-time"
|
|
1935
|
+
},
|
|
1936
|
+
"hasStarted": {
|
|
1937
|
+
"type": "boolean",
|
|
1938
|
+
"description": "If TRUE, this Service has already been started"
|
|
1939
|
+
},
|
|
1940
|
+
"isBundle": {
|
|
1941
|
+
"type": "boolean",
|
|
1942
|
+
"description": "If true, the service is a ServiceBundle which regroup a service hierachy. If false, the service is a 'atomic' service (hierachy leaf)."
|
|
1943
|
+
},
|
|
1944
|
+
"isServiceEnabled": {
|
|
1945
|
+
"type": "boolean",
|
|
1946
|
+
"description": "If FALSE and hasStarted is FALSE, this particular Service has NOT been enabled for use - if FALSE and hasStarted is TRUE then the service has failed"
|
|
1947
|
+
},
|
|
1948
|
+
"isStateful": {
|
|
1949
|
+
"type": "boolean",
|
|
1950
|
+
"description": "If TRUE, this Service can be changed without affecting any other services"
|
|
1951
|
+
},
|
|
1952
|
+
"name": {
|
|
1953
|
+
"type": "string",
|
|
1954
|
+
"description": "Name of the service"
|
|
1955
|
+
},
|
|
1956
|
+
"serviceDate": {
|
|
1957
|
+
"type": "string",
|
|
1958
|
+
"description": "Date when the service was created (whatever its status)."
|
|
1959
|
+
},
|
|
1960
|
+
"serviceType": {
|
|
1961
|
+
"type": "string",
|
|
1962
|
+
"description": "Business type of the service"
|
|
1963
|
+
},
|
|
1964
|
+
"startDate": {
|
|
1965
|
+
"type": "string",
|
|
1966
|
+
"description": "Date when the service starts",
|
|
1967
|
+
"format": "date-time"
|
|
1968
|
+
},
|
|
1969
|
+
"startMode": {
|
|
1970
|
+
"type": "string",
|
|
1971
|
+
"description": "This attribute is an enumerated integer that indicates how the Service is started, such as: 0: Unknown; 1: Automatically by the managed environment; 2: Automatically by the owning device; 3: Manually by the Provider of the Service; 4: Manually by a Customer of the Provider; 5: Any of the above"
|
|
1972
|
+
},
|
|
1973
|
+
"feature": {
|
|
1974
|
+
"type": "array",
|
|
1975
|
+
"items": {
|
|
1976
|
+
"$ref": "#/components/schemas/Feature"
|
|
1977
|
+
},
|
|
1978
|
+
"description": "A list of feature associated with this service"
|
|
1979
|
+
},
|
|
1980
|
+
"note": {
|
|
1981
|
+
"type": "array",
|
|
1982
|
+
"items": {
|
|
1983
|
+
"$ref": "#/components/schemas/Note"
|
|
1984
|
+
},
|
|
1985
|
+
"description": "A list of notes made on this service"
|
|
1986
|
+
},
|
|
1987
|
+
"place": {
|
|
1988
|
+
"type": "array",
|
|
1989
|
+
"items": {
|
|
1990
|
+
"$ref": "#/components/schemas/RelatedPlaceRefOrValue"
|
|
1991
|
+
},
|
|
1992
|
+
"description": "A list of places (Place [*]). Used to define a place useful for the service (for example a geographical place whre the service is installed)"
|
|
1993
|
+
},
|
|
1994
|
+
"relatedEntity": {
|
|
1995
|
+
"type": "array",
|
|
1996
|
+
"items": {
|
|
1997
|
+
"$ref": "#/components/schemas/RelatedEntityRefOrValue"
|
|
1998
|
+
},
|
|
1999
|
+
"description": "A list of related entity in relationship with this service"
|
|
2000
|
+
},
|
|
2001
|
+
"relatedParty": {
|
|
2002
|
+
"type": "array",
|
|
2003
|
+
"items": {
|
|
2004
|
+
"$ref": "#/components/schemas/RelatedParty"
|
|
2005
|
+
},
|
|
2006
|
+
"description": "A list of related party references (RelatedParty [*]). A related party defines party or party role linked to a specific entity"
|
|
2007
|
+
},
|
|
2008
|
+
"serviceCharacteristic": {
|
|
2009
|
+
"type": "array",
|
|
2010
|
+
"items": {
|
|
2011
|
+
"$ref": "#/components/schemas/Characteristic"
|
|
2012
|
+
},
|
|
2013
|
+
"description": "A list of characteristics that characterize this service (ServiceCharacteristic [*])"
|
|
2014
|
+
},
|
|
2015
|
+
"serviceOrderItem": {
|
|
2016
|
+
"type": "array",
|
|
2017
|
+
"items": {
|
|
2018
|
+
"$ref": "#/components/schemas/RelatedServiceOrderItem"
|
|
2019
|
+
},
|
|
2020
|
+
"description": "A list of service order items related to this service"
|
|
2021
|
+
},
|
|
2022
|
+
"serviceRelationship": {
|
|
2023
|
+
"type": "array",
|
|
2024
|
+
"items": {
|
|
2025
|
+
"$ref": "#/components/schemas/ServiceRelationship"
|
|
2026
|
+
},
|
|
2027
|
+
"description": "A list of service relationships (ServiceRelationship [*]). Describes links with other service(s) in the inventory."
|
|
2028
|
+
},
|
|
2029
|
+
"serviceSpecification": {
|
|
2030
|
+
"allOf": [
|
|
2031
|
+
{
|
|
2032
|
+
"$ref": "#/components/schemas/ServiceSpecificationRef"
|
|
2033
|
+
},
|
|
2034
|
+
{
|
|
2035
|
+
"description": "Service specification reference: ServiceSpecification(s) required to realize a ProductSpecification."
|
|
2036
|
+
}
|
|
2037
|
+
]
|
|
2038
|
+
},
|
|
2039
|
+
"state": {
|
|
2040
|
+
"allOf": [
|
|
2041
|
+
{
|
|
2042
|
+
"$ref": "#/components/schemas/ServiceStateType"
|
|
2043
|
+
},
|
|
2044
|
+
{
|
|
2045
|
+
"description": "Valid values for the lifecycle state of the service"
|
|
2046
|
+
}
|
|
2047
|
+
]
|
|
2048
|
+
},
|
|
2049
|
+
"supportingResource": {
|
|
2050
|
+
"type": "array",
|
|
2051
|
+
"items": {
|
|
2052
|
+
"$ref": "#/components/schemas/ResourceRef"
|
|
2053
|
+
},
|
|
2054
|
+
"description": "A list of supporting resources (SupportingResource [*]).Note: only Service of type RFS can be associated with Resources"
|
|
2055
|
+
},
|
|
2056
|
+
"supportingService": {
|
|
2057
|
+
"type": "array",
|
|
2058
|
+
"items": {
|
|
2059
|
+
"$ref": "#/components/schemas/ServiceRefOrValue"
|
|
2060
|
+
},
|
|
2061
|
+
"description": "A list of supporting services (SupportingService [*]). A collection of services that support this service (bundling, link CFS to RFS)"
|
|
2062
|
+
}
|
|
2063
|
+
},
|
|
2064
|
+
"description": "Service is a base class for defining the Service hierarchy. All Services are characterized as either being possibly visible and usable by a Customer or not. This gives rise to the two subclasses of Service: CustomerFacingService and ResourceFacingService."
|
|
2065
|
+
},
|
|
2066
|
+
"Service_Create": {
|
|
2067
|
+
"title": "Service_Create",
|
|
2068
|
+
"required": [
|
|
2069
|
+
"serviceSpecification",
|
|
2070
|
+
"state"
|
|
2071
|
+
],
|
|
2072
|
+
"type": "object",
|
|
2073
|
+
"properties": {
|
|
2074
|
+
"category": {
|
|
2075
|
+
"type": "string",
|
|
2076
|
+
"description": "Is it a customer facing or resource facing service"
|
|
2077
|
+
},
|
|
2078
|
+
"description": {
|
|
2079
|
+
"type": "string",
|
|
2080
|
+
"description": "Free-text description of the service"
|
|
2081
|
+
},
|
|
2082
|
+
"endDate": {
|
|
2083
|
+
"type": "string",
|
|
2084
|
+
"description": "Date when the service ends",
|
|
2085
|
+
"format": "date-time"
|
|
2086
|
+
},
|
|
2087
|
+
"hasStarted": {
|
|
2088
|
+
"type": "boolean",
|
|
2089
|
+
"description": "If TRUE, this Service has already been started"
|
|
2090
|
+
},
|
|
2091
|
+
"isBundle": {
|
|
2092
|
+
"type": "boolean",
|
|
2093
|
+
"description": "If true, the service is a ServiceBundle which regroup a service hierachy. If false, the service is a 'atomic' service (hierachy leaf)."
|
|
2094
|
+
},
|
|
2095
|
+
"isServiceEnabled": {
|
|
2096
|
+
"type": "boolean",
|
|
2097
|
+
"description": "If FALSE and hasStarted is FALSE, this particular Service has NOT been enabled for use - if FALSE and hasStarted is TRUE then the service has failed"
|
|
2098
|
+
},
|
|
2099
|
+
"isStateful": {
|
|
2100
|
+
"type": "boolean",
|
|
2101
|
+
"description": "If TRUE, this Service can be changed without affecting any other services"
|
|
2102
|
+
},
|
|
2103
|
+
"name": {
|
|
2104
|
+
"type": "string",
|
|
2105
|
+
"description": "Name of the service"
|
|
2106
|
+
},
|
|
2107
|
+
"serviceDate": {
|
|
2108
|
+
"type": "string",
|
|
2109
|
+
"description": "Date when the service was created (whatever its status)."
|
|
2110
|
+
},
|
|
2111
|
+
"serviceType": {
|
|
2112
|
+
"type": "string",
|
|
2113
|
+
"description": "Business type of the service"
|
|
2114
|
+
},
|
|
2115
|
+
"startDate": {
|
|
2116
|
+
"type": "string",
|
|
2117
|
+
"description": "Date when the service starts",
|
|
2118
|
+
"format": "date-time"
|
|
2119
|
+
},
|
|
2120
|
+
"startMode": {
|
|
2121
|
+
"type": "string",
|
|
2122
|
+
"description": "This attribute is an enumerated integer that indicates how the Service is started, such as: 0: Unknown; 1: Automatically by the managed environment; 2: Automatically by the owning device; 3: Manually by the Provider of the Service; 4: Manually by a Customer of the Provider; 5: Any of the above"
|
|
2123
|
+
},
|
|
2124
|
+
"feature": {
|
|
2125
|
+
"type": "array",
|
|
2126
|
+
"items": {
|
|
2127
|
+
"$ref": "#/components/schemas/Feature"
|
|
2128
|
+
},
|
|
2129
|
+
"description": "A list of feature associated with this service"
|
|
2130
|
+
},
|
|
2131
|
+
"note": {
|
|
2132
|
+
"type": "array",
|
|
2133
|
+
"items": {
|
|
2134
|
+
"$ref": "#/components/schemas/Note"
|
|
2135
|
+
},
|
|
2136
|
+
"description": "A list of notes made on this service"
|
|
2137
|
+
},
|
|
2138
|
+
"place": {
|
|
2139
|
+
"type": "array",
|
|
2140
|
+
"items": {
|
|
2141
|
+
"$ref": "#/components/schemas/RelatedPlaceRefOrValue"
|
|
2142
|
+
},
|
|
2143
|
+
"description": "A list of places (Place [*]). Used to define a place useful for the service (for example a geographical place whre the service is installed)"
|
|
2144
|
+
},
|
|
2145
|
+
"relatedEntity": {
|
|
2146
|
+
"type": "array",
|
|
2147
|
+
"items": {
|
|
2148
|
+
"$ref": "#/components/schemas/RelatedEntityRefOrValue"
|
|
2149
|
+
},
|
|
2150
|
+
"description": "A list of related entity in relationship with this service"
|
|
2151
|
+
},
|
|
2152
|
+
"relatedParty": {
|
|
2153
|
+
"type": "array",
|
|
2154
|
+
"items": {
|
|
2155
|
+
"$ref": "#/components/schemas/RelatedParty"
|
|
2156
|
+
},
|
|
2157
|
+
"description": "A list of related party references (RelatedParty [*]). A related party defines party or party role linked to a specific entity"
|
|
2158
|
+
},
|
|
2159
|
+
"serviceCharacteristic": {
|
|
2160
|
+
"type": "array",
|
|
2161
|
+
"items": {
|
|
2162
|
+
"$ref": "#/components/schemas/Characteristic"
|
|
2163
|
+
},
|
|
2164
|
+
"description": "A list of characteristics that characterize this service (ServiceCharacteristic [*])"
|
|
2165
|
+
},
|
|
2166
|
+
"serviceOrderItem": {
|
|
2167
|
+
"type": "array",
|
|
2168
|
+
"items": {
|
|
2169
|
+
"$ref": "#/components/schemas/RelatedServiceOrderItem"
|
|
2170
|
+
},
|
|
2171
|
+
"description": "A list of service order items related to this service"
|
|
2172
|
+
},
|
|
2173
|
+
"serviceRelationship": {
|
|
2174
|
+
"type": "array",
|
|
2175
|
+
"items": {
|
|
2176
|
+
"$ref": "#/components/schemas/ServiceRelationship"
|
|
2177
|
+
},
|
|
2178
|
+
"description": "A list of service relationships (ServiceRelationship [*]). Describes links with other service(s) in the inventory."
|
|
2179
|
+
},
|
|
2180
|
+
"serviceSpecification": {
|
|
2181
|
+
"allOf": [
|
|
2182
|
+
{
|
|
2183
|
+
"$ref": "#/components/schemas/ServiceSpecificationRef"
|
|
2184
|
+
},
|
|
2185
|
+
{
|
|
2186
|
+
"description": "Service specification reference: ServiceSpecification(s) required to realize a ProductSpecification."
|
|
2187
|
+
}
|
|
2188
|
+
]
|
|
2189
|
+
},
|
|
2190
|
+
"state": {
|
|
2191
|
+
"allOf": [
|
|
2192
|
+
{
|
|
2193
|
+
"$ref": "#/components/schemas/ServiceStateType"
|
|
2194
|
+
},
|
|
2195
|
+
{
|
|
2196
|
+
"description": "Valid values for the lifecycle state of the service"
|
|
2197
|
+
}
|
|
2198
|
+
]
|
|
2199
|
+
},
|
|
2200
|
+
"supportingResource": {
|
|
2201
|
+
"type": "array",
|
|
2202
|
+
"items": {
|
|
2203
|
+
"$ref": "#/components/schemas/ResourceRef"
|
|
2204
|
+
},
|
|
2205
|
+
"description": "A list of supporting resources (SupportingResource [*]).Note: only Service of type RFS can be associated with Resources"
|
|
2206
|
+
},
|
|
2207
|
+
"supportingService": {
|
|
2208
|
+
"type": "array",
|
|
2209
|
+
"items": {
|
|
2210
|
+
"$ref": "#/components/schemas/ServiceRefOrValue"
|
|
2211
|
+
},
|
|
2212
|
+
"description": "A list of supporting services (SupportingService [*]). A collection of services that support this service (bundling, link CFS to RFS)"
|
|
2213
|
+
}
|
|
2214
|
+
},
|
|
2215
|
+
"description": "Service is a base class for defining the Service hierarchy. All Services are characterized as either being possibly visible and usable by a Customer or not. This gives rise to the two subclasses of Service: CustomerFacingService and ResourceFacingService.\nSkipped properties: id,href"
|
|
2216
|
+
},
|
|
2217
|
+
"Service_Update": {
|
|
2218
|
+
"title": "Service_Update",
|
|
2219
|
+
"type": "object",
|
|
2220
|
+
"properties": {
|
|
2221
|
+
"category": {
|
|
2222
|
+
"type": "string",
|
|
2223
|
+
"description": "Is it a customer facing or resource facing service"
|
|
2224
|
+
},
|
|
2225
|
+
"description": {
|
|
2226
|
+
"type": "string",
|
|
2227
|
+
"description": "Free-text description of the service"
|
|
2228
|
+
},
|
|
2229
|
+
"endDate": {
|
|
2230
|
+
"type": "string",
|
|
2231
|
+
"description": "Date when the service ends",
|
|
2232
|
+
"format": "date-time"
|
|
2233
|
+
},
|
|
2234
|
+
"hasStarted": {
|
|
2235
|
+
"type": "boolean",
|
|
2236
|
+
"description": "If TRUE, this Service has already been started"
|
|
2237
|
+
},
|
|
2238
|
+
"isBundle": {
|
|
2239
|
+
"type": "boolean",
|
|
2240
|
+
"description": "If true, the service is a ServiceBundle which regroup a service hierachy. If false, the service is a 'atomic' service (hierachy leaf)."
|
|
2241
|
+
},
|
|
2242
|
+
"isServiceEnabled": {
|
|
2243
|
+
"type": "boolean",
|
|
2244
|
+
"description": "If FALSE and hasStarted is FALSE, this particular Service has NOT been enabled for use - if FALSE and hasStarted is TRUE then the service has failed"
|
|
2245
|
+
},
|
|
2246
|
+
"isStateful": {
|
|
2247
|
+
"type": "boolean",
|
|
2248
|
+
"description": "If TRUE, this Service can be changed without affecting any other services"
|
|
2249
|
+
},
|
|
2250
|
+
"name": {
|
|
2251
|
+
"type": "string",
|
|
2252
|
+
"description": "Name of the service"
|
|
2253
|
+
},
|
|
2254
|
+
"serviceType": {
|
|
2255
|
+
"type": "string",
|
|
2256
|
+
"description": "Business type of the service"
|
|
2257
|
+
},
|
|
2258
|
+
"startDate": {
|
|
2259
|
+
"type": "string",
|
|
2260
|
+
"description": "Date when the service starts",
|
|
2261
|
+
"format": "date-time"
|
|
2262
|
+
},
|
|
2263
|
+
"startMode": {
|
|
2264
|
+
"type": "string",
|
|
2265
|
+
"description": "This attribute is an enumerated integer that indicates how the Service is started, such as: 0: Unknown; 1: Automatically by the managed environment; 2: Automatically by the owning device; 3: Manually by the Provider of the Service; 4: Manually by a Customer of the Provider; 5: Any of the above"
|
|
2266
|
+
},
|
|
2267
|
+
"feature": {
|
|
2268
|
+
"type": "array",
|
|
2269
|
+
"items": {
|
|
2270
|
+
"$ref": "#/components/schemas/Feature"
|
|
2271
|
+
},
|
|
2272
|
+
"description": "A list of feature associated with this service"
|
|
2273
|
+
},
|
|
2274
|
+
"note": {
|
|
2275
|
+
"type": "array",
|
|
2276
|
+
"items": {
|
|
2277
|
+
"$ref": "#/components/schemas/Note"
|
|
2278
|
+
},
|
|
2279
|
+
"description": "A list of notes made on this service"
|
|
2280
|
+
},
|
|
2281
|
+
"place": {
|
|
2282
|
+
"type": "array",
|
|
2283
|
+
"items": {
|
|
2284
|
+
"$ref": "#/components/schemas/RelatedPlaceRefOrValue"
|
|
2285
|
+
},
|
|
2286
|
+
"description": "A list of places (Place [*]). Used to define a place useful for the service (for example a geographical place whre the service is installed)"
|
|
2287
|
+
},
|
|
2288
|
+
"relatedEntity": {
|
|
2289
|
+
"type": "array",
|
|
2290
|
+
"items": {
|
|
2291
|
+
"$ref": "#/components/schemas/RelatedEntityRefOrValue"
|
|
2292
|
+
},
|
|
2293
|
+
"description": "A list of related entity in relationship with this service"
|
|
2294
|
+
},
|
|
2295
|
+
"relatedParty": {
|
|
2296
|
+
"type": "array",
|
|
2297
|
+
"items": {
|
|
2298
|
+
"$ref": "#/components/schemas/RelatedParty"
|
|
2299
|
+
},
|
|
2300
|
+
"description": "A list of related party references (RelatedParty [*]). A related party defines party or party role linked to a specific entity"
|
|
2301
|
+
},
|
|
2302
|
+
"serviceCharacteristic": {
|
|
2303
|
+
"type": "array",
|
|
2304
|
+
"items": {
|
|
2305
|
+
"$ref": "#/components/schemas/Characteristic"
|
|
2306
|
+
},
|
|
2307
|
+
"description": "A list of characteristics that characterize this service (ServiceCharacteristic [*])"
|
|
2308
|
+
},
|
|
2309
|
+
"serviceOrderItem": {
|
|
2310
|
+
"type": "array",
|
|
2311
|
+
"items": {
|
|
2312
|
+
"$ref": "#/components/schemas/RelatedServiceOrderItem"
|
|
2313
|
+
},
|
|
2314
|
+
"description": "A list of service order items related to this service"
|
|
2315
|
+
},
|
|
2316
|
+
"serviceRelationship": {
|
|
2317
|
+
"type": "array",
|
|
2318
|
+
"items": {
|
|
2319
|
+
"$ref": "#/components/schemas/ServiceRelationship"
|
|
2320
|
+
},
|
|
2321
|
+
"description": "A list of service relationships (ServiceRelationship [*]). Describes links with other service(s) in the inventory."
|
|
2322
|
+
},
|
|
2323
|
+
"serviceSpecification": {
|
|
2324
|
+
"allOf": [
|
|
2325
|
+
{
|
|
2326
|
+
"$ref": "#/components/schemas/ServiceSpecificationRef"
|
|
2327
|
+
},
|
|
2328
|
+
{
|
|
2329
|
+
"description": "Service specification reference: ServiceSpecification(s) required to realize a ProductSpecification."
|
|
2330
|
+
}
|
|
2331
|
+
]
|
|
2332
|
+
},
|
|
2333
|
+
"state": {
|
|
2334
|
+
"allOf": [
|
|
2335
|
+
{
|
|
2336
|
+
"$ref": "#/components/schemas/ServiceStateType"
|
|
2337
|
+
},
|
|
2338
|
+
{
|
|
2339
|
+
"description": "Valid values for the lifecycle state of the service"
|
|
2340
|
+
}
|
|
2341
|
+
]
|
|
2342
|
+
},
|
|
2343
|
+
"supportingResource": {
|
|
2344
|
+
"type": "array",
|
|
2345
|
+
"items": {
|
|
2346
|
+
"$ref": "#/components/schemas/ResourceRef"
|
|
2347
|
+
},
|
|
2348
|
+
"description": "A list of supporting resources (SupportingResource [*]).Note: only Service of type RFS can be associated with Resources"
|
|
2349
|
+
},
|
|
2350
|
+
"supportingService": {
|
|
2351
|
+
"type": "array",
|
|
2352
|
+
"items": {
|
|
2353
|
+
"$ref": "#/components/schemas/ServiceRefOrValue"
|
|
2354
|
+
},
|
|
2355
|
+
"description": "A list of supporting services (SupportingService [*]). A collection of services that support this service (bundling, link CFS to RFS)"
|
|
2356
|
+
}
|
|
2357
|
+
},
|
|
2358
|
+
"description": "Service is a base class for defining the Service hierarchy. All Services are characterized as either being possibly visible and usable by a Customer or not. This gives rise to the two subclasses of Service: CustomerFacingService and ResourceFacingService.\nSkipped properties: id,href,serviceDate"
|
|
2359
|
+
},
|
|
2360
|
+
"ServiceRef": {
|
|
2361
|
+
"title": "ServiceRef",
|
|
2362
|
+
"required": [
|
|
2363
|
+
"id"
|
|
2364
|
+
],
|
|
2365
|
+
"type": "object",
|
|
2366
|
+
"properties": {
|
|
2367
|
+
"id": {
|
|
2368
|
+
"type": "string",
|
|
2369
|
+
"description": "unique identifier"
|
|
2370
|
+
},
|
|
2371
|
+
"href": {
|
|
2372
|
+
"type": "string",
|
|
2373
|
+
"description": "Hyperlink reference"
|
|
2374
|
+
},
|
|
2375
|
+
"name": {
|
|
2376
|
+
"type": "string",
|
|
2377
|
+
"description": "Name of the related entity."
|
|
2378
|
+
},
|
|
2379
|
+
"@baseType": {
|
|
2380
|
+
"type": "string",
|
|
2381
|
+
"description": "When sub-classing, this defines the super-class"
|
|
2382
|
+
},
|
|
2383
|
+
"@schemaLocation": {
|
|
2384
|
+
"type": "string",
|
|
2385
|
+
"description": "A URI to a JSON-Schema file that defines additional attributes and relationships"
|
|
2386
|
+
},
|
|
2387
|
+
"@type": {
|
|
2388
|
+
"type": "string",
|
|
2389
|
+
"description": "When sub-classing, this defines the sub-class Extensible name"
|
|
2390
|
+
},
|
|
2391
|
+
"@referredType": {
|
|
2392
|
+
"type": "string",
|
|
2393
|
+
"description": "The actual type of the target instance when needed for disambiguation."
|
|
2394
|
+
}
|
|
2395
|
+
},
|
|
2396
|
+
"description": "Service reference, for when Service is used by other entities"
|
|
2397
|
+
},
|
|
2398
|
+
"ServiceRefOrValue": {
|
|
2399
|
+
"title": "ServiceRefOrValue",
|
|
2400
|
+
"required": [
|
|
2401
|
+
"id"
|
|
2402
|
+
],
|
|
2403
|
+
"type": "object",
|
|
2404
|
+
"properties": {
|
|
2405
|
+
"id": {
|
|
2406
|
+
"type": "string",
|
|
2407
|
+
"description": "Unique identifier of the service"
|
|
2408
|
+
},
|
|
2409
|
+
"href": {
|
|
2410
|
+
"type": "string",
|
|
2411
|
+
"description": "Reference of the service"
|
|
2412
|
+
},
|
|
2413
|
+
"category": {
|
|
2414
|
+
"type": "string",
|
|
2415
|
+
"description": "Is it a customer facing or resource facing service"
|
|
2416
|
+
},
|
|
2417
|
+
"description": {
|
|
2418
|
+
"type": "string",
|
|
2419
|
+
"description": "Free-text description of the service"
|
|
2420
|
+
},
|
|
2421
|
+
"endDate": {
|
|
2422
|
+
"type": "string",
|
|
2423
|
+
"description": "Date when the service ends",
|
|
2424
|
+
"format": "date-time"
|
|
2425
|
+
},
|
|
2426
|
+
"hasStarted": {
|
|
2427
|
+
"type": "boolean",
|
|
2428
|
+
"description": "If TRUE, this Service has already been started"
|
|
2429
|
+
},
|
|
2430
|
+
"isBundle": {
|
|
2431
|
+
"type": "boolean",
|
|
2432
|
+
"description": "If true, the service is a ServiceBundle which regroup a service hierachy. If false, the service is a 'atomic' service (hierachy leaf)."
|
|
2433
|
+
},
|
|
2434
|
+
"isServiceEnabled": {
|
|
2435
|
+
"type": "boolean",
|
|
2436
|
+
"description": "If FALSE and hasStarted is FALSE, this particular Service has NOT been enabled for use - if FALSE and hasStarted is TRUE then the service has failed"
|
|
2437
|
+
},
|
|
2438
|
+
"isStateful": {
|
|
2439
|
+
"type": "boolean",
|
|
2440
|
+
"description": "If TRUE, this Service can be changed without affecting any other services"
|
|
2441
|
+
},
|
|
2442
|
+
"name": {
|
|
2443
|
+
"type": "string",
|
|
2444
|
+
"description": "Name of the service"
|
|
2445
|
+
},
|
|
2446
|
+
"serviceDate": {
|
|
2447
|
+
"type": "string",
|
|
2448
|
+
"description": "Date when the service was created (whatever its status)."
|
|
2449
|
+
},
|
|
2450
|
+
"serviceType": {
|
|
2451
|
+
"type": "string",
|
|
2452
|
+
"description": "Business type of the service"
|
|
2453
|
+
},
|
|
2454
|
+
"startDate": {
|
|
2455
|
+
"type": "string",
|
|
2456
|
+
"description": "Date when the service starts",
|
|
2457
|
+
"format": "date-time"
|
|
2458
|
+
},
|
|
2459
|
+
"startMode": {
|
|
2460
|
+
"type": "string",
|
|
2461
|
+
"description": "This attribute is an enumerated integer that indicates how the Service is started, such as: 0: Unknown; 1: Automatically by the managed environment; 2: Automatically by the owning device; 3: Manually by the Provider of the Service; 4: Manually by a Customer of the Provider; 5: Any of the above"
|
|
2462
|
+
},
|
|
2463
|
+
"feature": {
|
|
2464
|
+
"type": "array",
|
|
2465
|
+
"items": {
|
|
2466
|
+
"$ref": "#/components/schemas/Feature"
|
|
2467
|
+
},
|
|
2468
|
+
"description": "A list of feature associated with this service"
|
|
2469
|
+
},
|
|
2470
|
+
"note": {
|
|
2471
|
+
"type": "array",
|
|
2472
|
+
"items": {
|
|
2473
|
+
"$ref": "#/components/schemas/Note"
|
|
2474
|
+
},
|
|
2475
|
+
"description": "A list of notes made on this service"
|
|
2476
|
+
},
|
|
2477
|
+
"place": {
|
|
2478
|
+
"type": "array",
|
|
2479
|
+
"items": {
|
|
2480
|
+
"$ref": "#/components/schemas/RelatedPlaceRefOrValue"
|
|
2481
|
+
},
|
|
2482
|
+
"description": "A list of places (Place [*]). Used to define a place useful for the service (for example a geographical place whre the service is installed)"
|
|
2483
|
+
},
|
|
2484
|
+
"relatedEntity": {
|
|
2485
|
+
"type": "array",
|
|
2486
|
+
"items": {
|
|
2487
|
+
"$ref": "#/components/schemas/RelatedEntityRefOrValue"
|
|
2488
|
+
},
|
|
2489
|
+
"description": "A list of related entity in relationship with this service"
|
|
2490
|
+
},
|
|
2491
|
+
"relatedParty": {
|
|
2492
|
+
"type": "array",
|
|
2493
|
+
"items": {
|
|
2494
|
+
"$ref": "#/components/schemas/RelatedParty"
|
|
2495
|
+
},
|
|
2496
|
+
"description": "A list of related party references (RelatedParty [*]). A related party defines party or party role linked to a specific entity"
|
|
2497
|
+
},
|
|
2498
|
+
"serviceCharacteristic": {
|
|
2499
|
+
"type": "array",
|
|
2500
|
+
"items": {
|
|
2501
|
+
"$ref": "#/components/schemas/Characteristic"
|
|
2502
|
+
},
|
|
2503
|
+
"description": "A list of characteristics that characterize this service (ServiceCharacteristic [*])"
|
|
2504
|
+
},
|
|
2505
|
+
"serviceOrderItem": {
|
|
2506
|
+
"type": "array",
|
|
2507
|
+
"items": {
|
|
2508
|
+
"$ref": "#/components/schemas/RelatedServiceOrderItem"
|
|
2509
|
+
},
|
|
2510
|
+
"description": "A list of service order items related to this service"
|
|
2511
|
+
},
|
|
2512
|
+
"serviceRelationship": {
|
|
2513
|
+
"type": "array",
|
|
2514
|
+
"items": {
|
|
2515
|
+
"$ref": "#/components/schemas/ServiceRelationship"
|
|
2516
|
+
},
|
|
2517
|
+
"description": "A list of service relationships (ServiceRelationship [*]). Describes links with other service(s) in the inventory."
|
|
2518
|
+
},
|
|
2519
|
+
"serviceSpecification": {
|
|
2520
|
+
"allOf": [
|
|
2521
|
+
{
|
|
2522
|
+
"$ref": "#/components/schemas/ServiceSpecificationRef"
|
|
2523
|
+
},
|
|
2524
|
+
{
|
|
2525
|
+
"description": "Service specification reference: ServiceSpecification(s) required to realize a ProductSpecification."
|
|
2526
|
+
}
|
|
2527
|
+
]
|
|
2528
|
+
},
|
|
2529
|
+
"state": {
|
|
2530
|
+
"allOf": [
|
|
2531
|
+
{
|
|
2532
|
+
"$ref": "#/components/schemas/ServiceStateType"
|
|
2533
|
+
},
|
|
2534
|
+
{
|
|
2535
|
+
"description": "Valid values for the lifecycle state of the service"
|
|
2536
|
+
}
|
|
2537
|
+
]
|
|
2538
|
+
},
|
|
2539
|
+
"supportingResource": {
|
|
2540
|
+
"type": "array",
|
|
2541
|
+
"items": {
|
|
2542
|
+
"$ref": "#/components/schemas/ResourceRef"
|
|
2543
|
+
},
|
|
2544
|
+
"description": "A list of supporting resources (SupportingResource [*]).Note: only Service of type RFS can be associated with Resources"
|
|
2545
|
+
},
|
|
2546
|
+
"supportingService": {
|
|
2547
|
+
"type": "array",
|
|
2548
|
+
"items": {
|
|
2549
|
+
"$ref": "#/components/schemas/ServiceRefOrValue"
|
|
2550
|
+
},
|
|
2551
|
+
"description": "A list of supporting services (SupportingService [*]). A collection of services that support this service (bundling, link CFS to RFS)"
|
|
2552
|
+
},
|
|
2553
|
+
"@baseType": {
|
|
2554
|
+
"type": "string",
|
|
2555
|
+
"description": "When sub-classing, this defines the super-class"
|
|
2556
|
+
},
|
|
2557
|
+
"@schemaLocation": {
|
|
2558
|
+
"type": "string",
|
|
2559
|
+
"description": "A URI to a JSON-Schema file that defines additional attributes and relationships"
|
|
2560
|
+
},
|
|
2561
|
+
"@type": {
|
|
2562
|
+
"type": "string",
|
|
2563
|
+
"description": "When sub-classing, this defines the sub-class Extensible name"
|
|
2564
|
+
},
|
|
2565
|
+
"@referredType": {
|
|
2566
|
+
"type": "string",
|
|
2567
|
+
"description": "The actual type of the target instance when needed for disambiguation."
|
|
2568
|
+
}
|
|
2569
|
+
},
|
|
2570
|
+
"description": "A Service to be created defined by value or existing defined by reference. The polymorphic attributes @type, @schemaLocation & @referredType are related to the Service entity and not the RelatedServiceRefOrValue class itself"
|
|
2571
|
+
},
|
|
2572
|
+
"ServiceRelationship": {
|
|
2573
|
+
"title": "ServiceRelationship",
|
|
2574
|
+
"required": [
|
|
2575
|
+
"relationshipType",
|
|
2576
|
+
"service"
|
|
2577
|
+
],
|
|
2578
|
+
"type": "object",
|
|
2579
|
+
"properties": {
|
|
2580
|
+
"relationshipType": {
|
|
2581
|
+
"type": "string"
|
|
2582
|
+
},
|
|
2583
|
+
"service": {
|
|
2584
|
+
"allOf": [
|
|
2585
|
+
{
|
|
2586
|
+
"$ref": "#/components/schemas/ServiceRefOrValue"
|
|
2587
|
+
},
|
|
2588
|
+
{
|
|
2589
|
+
"description": "A Service to be created defined by value or existing defined by reference. The polymorphic attributes @type, @schemaLocation & @referredType are related to the Service entity and not the RelatedServiceRefOrValue class itself"
|
|
2590
|
+
}
|
|
2591
|
+
]
|
|
2592
|
+
},
|
|
2593
|
+
"serviceRelationshipCharacteristic": {
|
|
2594
|
+
"type": "array",
|
|
2595
|
+
"items": {
|
|
2596
|
+
"$ref": "#/components/schemas/Characteristic"
|
|
2597
|
+
},
|
|
2598
|
+
"description": ""
|
|
2599
|
+
}
|
|
2600
|
+
}
|
|
2601
|
+
},
|
|
2602
|
+
"ServiceSpecificationRef": {
|
|
2603
|
+
"title": "ServiceSpecificationRef",
|
|
2604
|
+
"required": [
|
|
2605
|
+
"id"
|
|
2606
|
+
],
|
|
2607
|
+
"type": "object",
|
|
2608
|
+
"properties": {
|
|
2609
|
+
"id": {
|
|
2610
|
+
"type": "string",
|
|
2611
|
+
"description": "unique identifier"
|
|
2612
|
+
},
|
|
2613
|
+
"href": {
|
|
2614
|
+
"type": "string",
|
|
2615
|
+
"description": "Hyperlink reference"
|
|
2616
|
+
},
|
|
2617
|
+
"name": {
|
|
2618
|
+
"type": "string",
|
|
2619
|
+
"description": "Name of the related entity."
|
|
2620
|
+
},
|
|
2621
|
+
"version": {
|
|
2622
|
+
"type": "string",
|
|
2623
|
+
"description": "Service specification version"
|
|
2624
|
+
},
|
|
2625
|
+
"@baseType": {
|
|
2626
|
+
"type": "string",
|
|
2627
|
+
"description": "When sub-classing, this defines the super-class"
|
|
2628
|
+
},
|
|
2629
|
+
"@schemaLocation": {
|
|
2630
|
+
"type": "string",
|
|
2631
|
+
"description": "A URI to a JSON-Schema file that defines additional attributes and relationships"
|
|
2632
|
+
},
|
|
2633
|
+
"@type": {
|
|
2634
|
+
"type": "string",
|
|
2635
|
+
"description": "When sub-classing, this defines the sub-class Extensible name"
|
|
2636
|
+
},
|
|
2637
|
+
"@referredType": {
|
|
2638
|
+
"type": "string",
|
|
2639
|
+
"description": "The actual type of the target instance when needed for disambiguation."
|
|
2640
|
+
}
|
|
2641
|
+
},
|
|
2642
|
+
"description": "Service specification reference: ServiceSpecification(s) required to realize a ProductSpecification."
|
|
2643
|
+
},
|
|
2644
|
+
"ServiceStateType": {
|
|
2645
|
+
"title": "ServiceStateType",
|
|
2646
|
+
"enum": [
|
|
2647
|
+
"feasibilityChecked",
|
|
2648
|
+
"designed",
|
|
2649
|
+
"reserved",
|
|
2650
|
+
"inactive",
|
|
2651
|
+
"active",
|
|
2652
|
+
"terminated"
|
|
2653
|
+
],
|
|
2654
|
+
"type": "string",
|
|
2655
|
+
"description": "Valid values for the lifecycle state of the service"
|
|
2656
|
+
},
|
|
2657
|
+
"TimePeriod": {
|
|
2658
|
+
"title": "TimePeriod",
|
|
2659
|
+
"type": "object",
|
|
2660
|
+
"properties": {
|
|
2661
|
+
"endDateTime": {
|
|
2662
|
+
"type": "string",
|
|
2663
|
+
"description": "End of the time period, using IETC-RFC-3339 format",
|
|
2664
|
+
"format": "date-time",
|
|
2665
|
+
"example": "1985-04-12T23:20:50.52Z"
|
|
2666
|
+
},
|
|
2667
|
+
"startDateTime": {
|
|
2668
|
+
"type": "string",
|
|
2669
|
+
"description": "Start of the time period, using IETC-RFC-3339 format",
|
|
2670
|
+
"format": "date-time",
|
|
2671
|
+
"example": "1985-04-12T23:20:50.52Z"
|
|
2672
|
+
}
|
|
2673
|
+
},
|
|
2674
|
+
"description": "A period of time, either as a deadline (endDateTime only) a startDateTime only, or both"
|
|
2675
|
+
},
|
|
2676
|
+
"EventSubscription": {
|
|
2677
|
+
"title": "EventSubscription",
|
|
2678
|
+
"required": [
|
|
2679
|
+
"id",
|
|
2680
|
+
"callback"
|
|
2681
|
+
],
|
|
2682
|
+
"type": "object",
|
|
2683
|
+
"properties": {
|
|
2684
|
+
"id": {
|
|
2685
|
+
"type": "string",
|
|
2686
|
+
"description": "Id of the listener"
|
|
2687
|
+
},
|
|
2688
|
+
"callback": {
|
|
2689
|
+
"type": "string",
|
|
2690
|
+
"description": "The callback being registered."
|
|
2691
|
+
},
|
|
2692
|
+
"query": {
|
|
2693
|
+
"type": "string",
|
|
2694
|
+
"description": "additional data to be passed"
|
|
2695
|
+
}
|
|
2696
|
+
},
|
|
2697
|
+
"description": "Sets the communication endpoint address the service instance must use to deliver notification information"
|
|
2698
|
+
},
|
|
2699
|
+
"EventSubscriptionInput": {
|
|
2700
|
+
"title": "EventSubscriptionInput",
|
|
2701
|
+
"required": [
|
|
2702
|
+
"callback"
|
|
2703
|
+
],
|
|
2704
|
+
"type": "object",
|
|
2705
|
+
"properties": {
|
|
2706
|
+
"callback": {
|
|
2707
|
+
"type": "string",
|
|
2708
|
+
"description": "The callback being registered."
|
|
2709
|
+
},
|
|
2710
|
+
"query": {
|
|
2711
|
+
"type": "string",
|
|
2712
|
+
"description": "additional data to be passed"
|
|
2713
|
+
}
|
|
2714
|
+
},
|
|
2715
|
+
"description": "Sets the communication endpoint address the service instance must use to deliver notification information"
|
|
2716
|
+
},
|
|
2717
|
+
"ServiceCreateEvent": {
|
|
2718
|
+
"title": "ServiceCreateEvent",
|
|
2719
|
+
"type": "object",
|
|
2720
|
+
"properties": {
|
|
2721
|
+
"event": {
|
|
2722
|
+
"allOf": [
|
|
2723
|
+
{
|
|
2724
|
+
"$ref": "#/components/schemas/ServiceCreateEventPayload"
|
|
2725
|
+
},
|
|
2726
|
+
{
|
|
2727
|
+
"description": "The event data structure"
|
|
2728
|
+
}
|
|
2729
|
+
]
|
|
2730
|
+
},
|
|
2731
|
+
"eventId": {
|
|
2732
|
+
"type": "string",
|
|
2733
|
+
"description": "The identifier of the notification."
|
|
2734
|
+
},
|
|
2735
|
+
"eventTime": {
|
|
2736
|
+
"type": "string",
|
|
2737
|
+
"description": "Time of the event occurrence.",
|
|
2738
|
+
"format": "date-time"
|
|
2739
|
+
},
|
|
2740
|
+
"eventType": {
|
|
2741
|
+
"type": "string",
|
|
2742
|
+
"description": "The type of the notification."
|
|
2743
|
+
},
|
|
2744
|
+
"correlationId": {
|
|
2745
|
+
"type": "string",
|
|
2746
|
+
"description": "The correlation id for this event."
|
|
2747
|
+
},
|
|
2748
|
+
"domain": {
|
|
2749
|
+
"type": "string",
|
|
2750
|
+
"description": "The domain of the event."
|
|
2751
|
+
},
|
|
2752
|
+
"title": {
|
|
2753
|
+
"type": "string",
|
|
2754
|
+
"description": "The title of the event."
|
|
2755
|
+
},
|
|
2756
|
+
"description": {
|
|
2757
|
+
"type": "string",
|
|
2758
|
+
"description": "An explnatory of the event."
|
|
2759
|
+
},
|
|
2760
|
+
"priority": {
|
|
2761
|
+
"type": "string",
|
|
2762
|
+
"description": "A priority."
|
|
2763
|
+
},
|
|
2764
|
+
"timeOcurred": {
|
|
2765
|
+
"type": "string",
|
|
2766
|
+
"description": "The time the event occured.",
|
|
2767
|
+
"format": "date-time"
|
|
2768
|
+
}
|
|
2769
|
+
},
|
|
2770
|
+
"description": "The notification data structure"
|
|
2771
|
+
},
|
|
2772
|
+
"ServiceCreateEventPayload": {
|
|
2773
|
+
"title": "ServiceCreateEventPayload",
|
|
2774
|
+
"type": "object",
|
|
2775
|
+
"properties": {
|
|
2776
|
+
"service": {
|
|
2777
|
+
"allOf": [
|
|
2778
|
+
{
|
|
2779
|
+
"$ref": "#/components/schemas/Service"
|
|
2780
|
+
},
|
|
2781
|
+
{
|
|
2782
|
+
"description": "Service is a base class for defining the Service hierarchy. All Services are characterized as either being possibly visible and usable by a Customer or not. This gives rise to the two subclasses of Service: CustomerFacingService and ResourceFacingService."
|
|
2783
|
+
}
|
|
2784
|
+
]
|
|
2785
|
+
}
|
|
2786
|
+
},
|
|
2787
|
+
"description": "The event data structure"
|
|
2788
|
+
},
|
|
2789
|
+
"ServiceAttributeValueChangeEvent": {
|
|
2790
|
+
"title": "ServiceAttributeValueChangeEvent",
|
|
2791
|
+
"type": "object",
|
|
2792
|
+
"properties": {
|
|
2793
|
+
"eventId": {
|
|
2794
|
+
"type": "string",
|
|
2795
|
+
"description": "The identifier of the notification."
|
|
2796
|
+
},
|
|
2797
|
+
"eventTime": {
|
|
2798
|
+
"type": "string",
|
|
2799
|
+
"description": "Time of the event occurrence.",
|
|
2800
|
+
"format": "date-time"
|
|
2801
|
+
},
|
|
2802
|
+
"eventType": {
|
|
2803
|
+
"type": "string",
|
|
2804
|
+
"description": "The type of the notification."
|
|
2805
|
+
},
|
|
2806
|
+
"correlationId": {
|
|
2807
|
+
"type": "string",
|
|
2808
|
+
"description": "The correlation id for this event."
|
|
2809
|
+
},
|
|
2810
|
+
"domain": {
|
|
2811
|
+
"type": "string",
|
|
2812
|
+
"description": "The domain of the event."
|
|
2813
|
+
},
|
|
2814
|
+
"title": {
|
|
2815
|
+
"type": "string",
|
|
2816
|
+
"description": "The title of the event."
|
|
2817
|
+
},
|
|
2818
|
+
"description": {
|
|
2819
|
+
"type": "string",
|
|
2820
|
+
"description": "An explnatory of the event."
|
|
2821
|
+
},
|
|
2822
|
+
"priority": {
|
|
2823
|
+
"type": "string",
|
|
2824
|
+
"description": "A priority."
|
|
2825
|
+
},
|
|
2826
|
+
"timeOcurred": {
|
|
2827
|
+
"type": "string",
|
|
2828
|
+
"description": "The time the event occured.",
|
|
2829
|
+
"format": "date-time"
|
|
2830
|
+
},
|
|
2831
|
+
"fieldPath": {
|
|
2832
|
+
"type": "string",
|
|
2833
|
+
"description": "The path identifying the object field concerned by this notification."
|
|
2834
|
+
},
|
|
2835
|
+
"event": {
|
|
2836
|
+
"allOf": [
|
|
2837
|
+
{
|
|
2838
|
+
"$ref": "#/components/schemas/ServiceAttributeValueChangeEventPayload"
|
|
2839
|
+
},
|
|
2840
|
+
{
|
|
2841
|
+
"description": "The event data structure"
|
|
2842
|
+
}
|
|
2843
|
+
]
|
|
2844
|
+
}
|
|
2845
|
+
},
|
|
2846
|
+
"description": "The notification data structure"
|
|
2847
|
+
},
|
|
2848
|
+
"ServiceAttributeValueChangeEventPayload": {
|
|
2849
|
+
"title": "ServiceAttributeValueChangeEventPayload",
|
|
2850
|
+
"type": "object",
|
|
2851
|
+
"properties": {
|
|
2852
|
+
"service": {
|
|
2853
|
+
"allOf": [
|
|
2854
|
+
{
|
|
2855
|
+
"$ref": "#/components/schemas/Service"
|
|
2856
|
+
},
|
|
2857
|
+
{
|
|
2858
|
+
"description": "Service is a base class for defining the Service hierarchy. All Services are characterized as either being possibly visible and usable by a Customer or not. This gives rise to the two subclasses of Service: CustomerFacingService and ResourceFacingService."
|
|
2859
|
+
}
|
|
2860
|
+
]
|
|
2861
|
+
}
|
|
2862
|
+
},
|
|
2863
|
+
"description": "The event data structure"
|
|
2864
|
+
},
|
|
2865
|
+
"ServiceStateChangeEvent": {
|
|
2866
|
+
"title": "ServiceStateChangeEvent",
|
|
2867
|
+
"type": "object",
|
|
2868
|
+
"properties": {
|
|
2869
|
+
"event": {
|
|
2870
|
+
"allOf": [
|
|
2871
|
+
{
|
|
2872
|
+
"$ref": "#/components/schemas/ServiceStateChangeEventPayload"
|
|
2873
|
+
},
|
|
2874
|
+
{
|
|
2875
|
+
"description": "The event data structure"
|
|
2876
|
+
}
|
|
2877
|
+
]
|
|
2878
|
+
},
|
|
2879
|
+
"eventId": {
|
|
2880
|
+
"type": "string",
|
|
2881
|
+
"description": "The identifier of the notification."
|
|
2882
|
+
},
|
|
2883
|
+
"eventTime": {
|
|
2884
|
+
"type": "string",
|
|
2885
|
+
"description": "Time of the event occurrence.",
|
|
2886
|
+
"format": "date-time"
|
|
2887
|
+
},
|
|
2888
|
+
"eventType": {
|
|
2889
|
+
"type": "string",
|
|
2890
|
+
"description": "The type of the notification."
|
|
2891
|
+
},
|
|
2892
|
+
"correlationId": {
|
|
2893
|
+
"type": "string",
|
|
2894
|
+
"description": "The correlation id for this event."
|
|
2895
|
+
},
|
|
2896
|
+
"domain": {
|
|
2897
|
+
"type": "string",
|
|
2898
|
+
"description": "The domain of the event."
|
|
2899
|
+
},
|
|
2900
|
+
"title": {
|
|
2901
|
+
"type": "string",
|
|
2902
|
+
"description": "The title of the event."
|
|
2903
|
+
},
|
|
2904
|
+
"description": {
|
|
2905
|
+
"type": "string",
|
|
2906
|
+
"description": "An explnatory of the event."
|
|
2907
|
+
},
|
|
2908
|
+
"priority": {
|
|
2909
|
+
"type": "string",
|
|
2910
|
+
"description": "A priority."
|
|
2911
|
+
},
|
|
2912
|
+
"timeOcurred": {
|
|
2913
|
+
"type": "string",
|
|
2914
|
+
"description": "The time the event occured.",
|
|
2915
|
+
"format": "date-time"
|
|
2916
|
+
}
|
|
2917
|
+
},
|
|
2918
|
+
"description": "The notification data structure"
|
|
2919
|
+
},
|
|
2920
|
+
"ServiceStateChangeEventPayload": {
|
|
2921
|
+
"title": "ServiceStateChangeEventPayload",
|
|
2922
|
+
"type": "object",
|
|
2923
|
+
"properties": {
|
|
2924
|
+
"service": {
|
|
2925
|
+
"allOf": [
|
|
2926
|
+
{
|
|
2927
|
+
"$ref": "#/components/schemas/Service"
|
|
2928
|
+
},
|
|
2929
|
+
{
|
|
2930
|
+
"description": "Service is a base class for defining the Service hierarchy. All Services are characterized as either being possibly visible and usable by a Customer or not. This gives rise to the two subclasses of Service: CustomerFacingService and ResourceFacingService."
|
|
2931
|
+
}
|
|
2932
|
+
]
|
|
2933
|
+
}
|
|
2934
|
+
},
|
|
2935
|
+
"description": "The event data structure"
|
|
2936
|
+
},
|
|
2937
|
+
"ServiceDeleteEvent": {
|
|
2938
|
+
"title": "ServiceDeleteEvent",
|
|
2939
|
+
"type": "object",
|
|
2940
|
+
"properties": {
|
|
2941
|
+
"event": {
|
|
2942
|
+
"allOf": [
|
|
2943
|
+
{
|
|
2944
|
+
"$ref": "#/components/schemas/ServiceDeleteEventPayload"
|
|
2945
|
+
},
|
|
2946
|
+
{
|
|
2947
|
+
"description": "The event data structure"
|
|
2948
|
+
}
|
|
2949
|
+
]
|
|
2950
|
+
},
|
|
2951
|
+
"eventId": {
|
|
2952
|
+
"type": "string",
|
|
2953
|
+
"description": "The identifier of the notification."
|
|
2954
|
+
},
|
|
2955
|
+
"eventTime": {
|
|
2956
|
+
"type": "string",
|
|
2957
|
+
"description": "Time of the event occurrence.",
|
|
2958
|
+
"format": "date-time"
|
|
2959
|
+
},
|
|
2960
|
+
"eventType": {
|
|
2961
|
+
"type": "string",
|
|
2962
|
+
"description": "The type of the notification."
|
|
2963
|
+
},
|
|
2964
|
+
"correlationId": {
|
|
2965
|
+
"type": "string",
|
|
2966
|
+
"description": "The correlation id for this event."
|
|
2967
|
+
},
|
|
2968
|
+
"domain": {
|
|
2969
|
+
"type": "string",
|
|
2970
|
+
"description": "The domain of the event."
|
|
2971
|
+
},
|
|
2972
|
+
"title": {
|
|
2973
|
+
"type": "string",
|
|
2974
|
+
"description": "The title of the event."
|
|
2975
|
+
},
|
|
2976
|
+
"description": {
|
|
2977
|
+
"type": "string",
|
|
2978
|
+
"description": "An explnatory of the event."
|
|
2979
|
+
},
|
|
2980
|
+
"priority": {
|
|
2981
|
+
"type": "string",
|
|
2982
|
+
"description": "A priority."
|
|
2983
|
+
},
|
|
2984
|
+
"timeOcurred": {
|
|
2985
|
+
"type": "string",
|
|
2986
|
+
"description": "The time the event occured.",
|
|
2987
|
+
"format": "date-time"
|
|
2988
|
+
}
|
|
2989
|
+
},
|
|
2990
|
+
"description": "The notification data structure"
|
|
2991
|
+
},
|
|
2992
|
+
"ServiceDeleteEventPayload": {
|
|
2993
|
+
"title": "ServiceDeleteEventPayload",
|
|
2994
|
+
"type": "object",
|
|
2995
|
+
"properties": {
|
|
2996
|
+
"service": {
|
|
2997
|
+
"allOf": [
|
|
2998
|
+
{
|
|
2999
|
+
"$ref": "#/components/schemas/Service"
|
|
3000
|
+
},
|
|
3001
|
+
{
|
|
3002
|
+
"description": "Service is a base class for defining the Service hierarchy. All Services are characterized as either being possibly visible and usable by a Customer or not. This gives rise to the two subclasses of Service: CustomerFacingService and ResourceFacingService."
|
|
3003
|
+
}
|
|
3004
|
+
]
|
|
3005
|
+
}
|
|
3006
|
+
},
|
|
3007
|
+
"description": "The event data structure"
|
|
3008
|
+
},
|
|
3009
|
+
"Error": {
|
|
3010
|
+
"title": "Error",
|
|
3011
|
+
"required": [
|
|
3012
|
+
"code",
|
|
3013
|
+
"reason"
|
|
3014
|
+
],
|
|
3015
|
+
"type": "object",
|
|
3016
|
+
"properties": {
|
|
3017
|
+
"code": {
|
|
3018
|
+
"type": "string",
|
|
3019
|
+
"description": "Application relevant detail, defined in the API or a common list."
|
|
3020
|
+
},
|
|
3021
|
+
"reason": {
|
|
3022
|
+
"type": "string",
|
|
3023
|
+
"description": "Explanation of the reason for the error which can be shown to a client user."
|
|
3024
|
+
},
|
|
3025
|
+
"message": {
|
|
3026
|
+
"type": "string",
|
|
3027
|
+
"description": "More details and corrective actions related to the error which can be shown to a client user."
|
|
3028
|
+
},
|
|
3029
|
+
"status": {
|
|
3030
|
+
"type": "string",
|
|
3031
|
+
"description": "HTTP Error code extension"
|
|
3032
|
+
},
|
|
3033
|
+
"referenceError": {
|
|
3034
|
+
"type": "string",
|
|
3035
|
+
"description": "URI of documentation describing the error."
|
|
3036
|
+
},
|
|
3037
|
+
"@baseType": {
|
|
3038
|
+
"type": "string",
|
|
3039
|
+
"description": "When sub-classing, this defines the super-class."
|
|
3040
|
+
},
|
|
3041
|
+
"@schemaLocation": {
|
|
3042
|
+
"type": "string",
|
|
3043
|
+
"description": "A URI to a JSON-Schema file that defines additional attributes and relationships"
|
|
3044
|
+
},
|
|
3045
|
+
"@type": {
|
|
3046
|
+
"type": "string",
|
|
3047
|
+
"description": "When sub-classing, this defines the sub-class entity name."
|
|
3048
|
+
}
|
|
3049
|
+
},
|
|
3050
|
+
"description": "Used when an API throws an Error, typically with a HTTP error response-code (3xx, 4xx, 5xx)"
|
|
3051
|
+
}
|
|
3052
|
+
}
|
|
3053
|
+
},
|
|
3054
|
+
"tags": [
|
|
3055
|
+
{
|
|
3056
|
+
"name": "service"
|
|
3057
|
+
},
|
|
3058
|
+
{
|
|
3059
|
+
"name": "notification listeners (client side)"
|
|
3060
|
+
},
|
|
3061
|
+
{
|
|
3062
|
+
"name": "events subscription"
|
|
3063
|
+
}
|
|
3064
|
+
]
|
|
3065
|
+
}
|