aboutsummaryrefslogtreecommitdiffstats
path: root/docs/offeredapis/api_serviceCatalog/model.xsd
blob: 8be053c1bb6392415376fac50e206c13fc2c1d07 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
458
459
460
461
462
463
464
465
466
467
468
469
470
471
472
473
474
475
476
477
478
479
480
481
482
483
484
485
486
487
488
489
490
491
492
493
494
495
496
497
498
499
500
501
502
503
504
505
506
507
508
509
510
511
512
513
514
515
516
517
518
519
520
521
522
523
524
525
526
527
528
529
530
531
532
533
534
<?xml version="1.0" encoding="UTF-8"?>
<!--

        Copyright (c) 2018 Orange

        Licensed under the Apache License, Version 2.0 (the "License");
        you may not use this file except in compliance with the License.
        You may obtain a copy of the License at

            http://www.apache.org/licenses/LICENSE-2.0

        Unless required by applicable law or agreed to in writing, software
        distributed under the License is distributed on an "AS IS" BASIS,
        WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
        See the License for the specific language governing permissions and
        limitations under the License.

-->
<xs:schema xmlns:xmime="http://www.w3.org/2005/05/xmlmime"
           xmlns="http://orange.com/ONAPNBI/api/serviceCatalog/v3/model"
           xmlns:xs="http://www.w3.org/2001/XMLSchema"
           attributeFormDefault="unqualified"
           elementFormDefault="qualified"
           targetNamespace="http://orange.com/ONAPNBI/api/serviceCatalog/v3/model">
   <xs:annotation id="signature">
      <xs:appinfo>API Designer</xs:appinfo>
      <xs:documentation>Model: serviceCatalog
                    Version: 4.0.1
                    Owner: ONAPNBI
                    Generated on: 2019-03-12T17:02:42.013Z
                    Generated by: Orange API Designer v2, model-v1</xs:documentation>
   </xs:annotation>
   <xs:simpleType name="LifecycleStatusValues">
      <xs:restriction base="xs:string">
         <xs:enumeration value="NOT_CERTIFIED_CHECKOUT"/>
         <xs:enumeration value="NOT_CERTIFIED_CHECKIN"/>
         <xs:enumeration value="READY_FOR_CERTIFICATION"/>
         <xs:enumeration value="CERTIFICATION_IN_PROGRESS"/>
         <xs:enumeration value="CERTIFIED"/>
      </xs:restriction>
   </xs:simpleType>
   <xs:simpleType name="DistributionStatus">
      <xs:restriction base="xs:string">
         <xs:enumeration value="DISTRIBUTION_NOT_APPROVED"/>
         <xs:enumeration value="DISTRIBUTION_APPROVED"/>
         <xs:enumeration value="DISTRIBUTED"/>
         <xs:enumeration value="DISTRIBUTION_REJECTED"/>
      </xs:restriction>
   </xs:simpleType>
   <xs:element name="ErrorRepresentation" type="ErrorRepresentation">
      <xs:annotation>
         <xs:documentation source="public">This class is used to describe error.
for nbi Beijing release we do not manage additional error for serviceCatalog</xs:documentation>
      </xs:annotation>
   </xs:element>
   <xs:complexType name="ErrorRepresentation">
      <xs:annotation>
         <xs:documentation source="public">This class is used to describe error.
for nbi Beijing release we do not manage additional error for serviceCatalog</xs:documentation>
      </xs:annotation>
      <xs:sequence minOccurs="1" maxOccurs="1">
         <xs:element name="code" type="xs:int" minOccurs="1">
            <xs:annotation>
               <xs:documentation source="public">Application related code (as defined in the API or from a common list)</xs:documentation>
            </xs:annotation>
         </xs:element>
         <xs:element name="reason" type="xs:string" minOccurs="1">
            <xs:annotation>
               <xs:documentation source="public">Text that explains the reason for error. This can be shown to a client user.</xs:documentation>
            </xs:annotation>
         </xs:element>
         <xs:element name="message" type="xs:string" minOccurs="0">
            <xs:annotation>
               <xs:documentation source="public">Text that provide more details and corrective actions related to the error. This can be shown to a client user</xs:documentation>
            </xs:annotation>
         </xs:element>
         <xs:element name="status" type="xs:string" minOccurs="0">
            <xs:annotation>
               <xs:documentation source="public">http error code extension like 400-2</xs:documentation>
            </xs:annotation>
         </xs:element>
         <xs:element name="referenceErrror" type="xs:string" minOccurs="0">
            <xs:annotation>
               <xs:documentation source="public">url pointing to documentation describing the error</xs:documentation>
            </xs:annotation>
         </xs:element>
         <xs:element name="@type" type="xs:string" minOccurs="0">
            <xs:annotation>
               <xs:documentation source="public">The class type of a REST resource.</xs:documentation>
            </xs:annotation>
         </xs:element>
         <xs:element name="@schemaLocation" type="xs:string" minOccurs="0">
            <xs:annotation>
               <xs:documentation source="public">it provides a link to the schema describing a REST resource.</xs:documentation>
            </xs:annotation>
         </xs:element>
      </xs:sequence>
   </xs:complexType>
   <xs:element name="TimePeriod" type="TimePeriod">
      <xs:annotation>
         <xs:documentation source="public">A time period</xs:documentation>
      </xs:annotation>
   </xs:element>
   <xs:complexType name="TimePeriod">
      <xs:annotation>
         <xs:documentation source="public">A time period</xs:documentation>
      </xs:annotation>
      <xs:sequence minOccurs="1" maxOccurs="1">
         <xs:element name="startDateTime" type="xs:dateTime" minOccurs="0">
            <xs:annotation>
               <xs:documentation source="public">Start date and time of the period</xs:documentation>
            </xs:annotation>
         </xs:element>
         <xs:element name="endDateTime" type="xs:dateTime" minOccurs="0">
            <xs:annotation>
               <xs:documentation source="public">End date and time of the period</xs:documentation>
            </xs:annotation>
         </xs:element>
      </xs:sequence>
   </xs:complexType>
   <xs:element name="RelatedPartyRef" type="RelatedPartyRef">
      <xs:annotation>
         <xs:documentation source="public">Party linked to the service catalog.
in nbi we retrieve information about last updater of the service in SDC</xs:documentation>
      </xs:annotation>
   </xs:element>
   <xs:complexType name="RelatedPartyRef">
      <xs:annotation>
         <xs:documentation source="public">Party linked to the service catalog.
in nbi we retrieve information about last updater of the service in SDC</xs:documentation>
      </xs:annotation>
      <xs:sequence minOccurs="1" maxOccurs="1">
         <xs:element name="id" type="xs:string" minOccurs="0">
            <xs:annotation>
               <xs:documentation source="public">Unique identifier of the related party. Filled with lastUpdaterUserId</xs:documentation>
            </xs:annotation>
         </xs:element>
         <xs:element name="role" type="xs:string" minOccurs="0">
            <xs:annotation>
               <xs:documentation source="public">Role payed by the related party
Only role 'lastUpdater' is retrieved in Beijing release</xs:documentation>
            </xs:annotation>
         </xs:element>
         <xs:element name="name" type="xs:string" minOccurs="0">
            <xs:annotation>
               <xs:documentation source="public">Name of the related party - Filled with lastUpdatedFullName</xs:documentation>
            </xs:annotation>
         </xs:element>
      </xs:sequence>
   </xs:complexType>
   <xs:element name="ServiceSpecification" type="ServiceSpecification">
      <xs:annotation>
         <xs:documentation source="public">ServiceSpecification is a class that offers characteristics to describe a type of service. Functionally, it acts as a template by which Services may be instantiated. By sharing the same specification, these services would therefore share the same set of characteristics.
the service information are retrieved in SDC</xs:documentation>
      </xs:annotation>
   </xs:element>
   <xs:complexType name="ServiceSpecification">
      <xs:annotation>
         <xs:documentation source="public">ServiceSpecification is a class that offers characteristics to describe a type of service. Functionally, it acts as a template by which Services may be instantiated. By sharing the same specification, these services would therefore share the same set of characteristics.
the service information are retrieved in SDC</xs:documentation>
      </xs:annotation>
      <xs:sequence minOccurs="1" maxOccurs="1">
         <xs:element name="id" type="xs:string" minOccurs="0">
            <xs:annotation>
               <xs:documentation source="public">Unique identifier of the service specification. Filled with SDC Service uuid</xs:documentation>
            </xs:annotation>
         </xs:element>
         <xs:element name="href" type="xs:string" minOccurs="0">
            <xs:annotation>
               <xs:documentation source="public">Reference of the service specification- not mapped in Beijing</xs:documentation>
            </xs:annotation>
         </xs:element>
         <xs:element name="name" type="xs:string" minOccurs="0">
            <xs:annotation>
               <xs:documentation source="public">Name of the service specification- Filled with SDC Service name</xs:documentation>
            </xs:annotation>
         </xs:element>
         <xs:element name="description" type="xs:string" minOccurs="0">
            <xs:annotation>
               <xs:documentation source="public">A narrative that explains in detail what the service specification is - Filled with SDC Service description</xs:documentation>
            </xs:annotation>
         </xs:element>
         <xs:element name="@type" type="xs:string" minOccurs="0">
            <xs:annotation>
               <xs:documentation source="public">This attribute allows to dynamically extends TMF class. Valued with 'ONAPservice'. We used this features to add following attributes:
invariantUUID
toscaModelURL
toscaResourceName
category (1)
subcategory (1)
distributionStatus</xs:documentation>
            </xs:annotation>
         </xs:element>
         <xs:element name="@schemaLocation" type="xs:string" minOccurs="0">
            <xs:annotation>
               <xs:documentation source="public">Not used for Beijing release</xs:documentation>
            </xs:annotation>
         </xs:element>
         <xs:element name="@baseType" type="xs:string" minOccurs="0">
            <xs:annotation>
               <xs:documentation source="public">Not used for Beijing release</xs:documentation>
            </xs:annotation>
         </xs:element>
         <xs:element name="invariantUUID" type="xs:string" minOccurs="1">
            <xs:annotation>
               <xs:documentation source="public">Additional attribute (not in the TMF API) - extended through @type - invariantUUID</xs:documentation>
            </xs:annotation>
         </xs:element>
         <xs:element name="toscaModelURL" type="xs:string" minOccurs="0">
            <xs:annotation>
               <xs:documentation source="public">Additional attribute (not in the TMF API) - extended through @type - toscaModelURL</xs:documentation>
            </xs:annotation>
         </xs:element>
         <xs:element name="toscaResourceName" type="xs:string" minOccurs="0">
            <xs:annotation>
               <xs:documentation source="public">Additional attribute (not in the TMF API) - extended through @type - toscaResourceName</xs:documentation>
            </xs:annotation>
         </xs:element>
         <xs:element name="category" type="xs:string" minOccurs="0">
            <xs:annotation>
               <xs:documentation source="public">Additional attribute - extended through @type - category
Please note that this attribute is managed in TMF - in future release we'll introduce category resource</xs:documentation>
            </xs:annotation>
         </xs:element>
         <xs:element name="subcategory" type="xs:string" minOccurs="0">
            <xs:annotation>
               <xs:documentation source="public">Additional attribute - extended through @type - category
Please note that this attribute is managed in TMF - in future release we'll introduce category resourc</xs:documentation>
            </xs:annotation>
         </xs:element>
         <xs:element name="distributionStatus" type="DistributionStatus" minOccurs="0">
            <xs:annotation>
               <xs:documentation source="public">Additional attribute - extended through @type - distributionStatus</xs:documentation>
            </xs:annotation>
         </xs:element>
         <xs:element name="version" type="xs:string" minOccurs="0">
            <xs:annotation>
               <xs:documentation source="public">Service specification version - Filled with SDC Service version</xs:documentation>
            </xs:annotation>
         </xs:element>
         <xs:element name="lifecycleStatus" type="LifecycleStatusValues" minOccurs="0">
            <xs:annotation>
               <xs:documentation source="public">Service Current status in the catalog - Filled with SDC Service life cycle state</xs:documentation>
            </xs:annotation>
         </xs:element>
         <xs:element name="targetServiceSchema"
                     type="TargetServiceSchemaRef"
                     minOccurs="0">
            <xs:annotation>
               <xs:documentation source="public">Not used in Beijing release</xs:documentation>
            </xs:annotation>
         </xs:element>
         <xs:element name="attachment"
                     type="Attachment"
                     minOccurs="0"
                     maxOccurs="unbounded">
            <xs:annotation>
               <xs:documentation source="public">A list of attachments concerning the service specification - Used to retrieve service artifacts</xs:documentation>
            </xs:annotation>
         </xs:element>
         <xs:element name="relatedParty"
                     type="RelatedPartyRef"
                     minOccurs="0"
                     maxOccurs="unbounded">
            <xs:annotation>
               <xs:documentation source="public">A list of parties linked to the service specification - Used to retrieve lastUpdater informative</xs:documentation>
            </xs:annotation>
         </xs:element>
         <xs:element name="resourceSpecification"
                     type="ResourceSpecificationRef"
                     minOccurs="0"
                     maxOccurs="unbounded">
            <xs:annotation>
               <xs:documentation source="public">A list of resource specification usable to deliver this service - used to retrieve resource</xs:documentation>
            </xs:annotation>
         </xs:element>
         <xs:element name="serviceSpecCharacteristic"
                     type="ServiceSpecCharacteristic"
                     minOccurs="0"
                     maxOccurs="unbounded">
            <xs:annotation>
               <xs:documentation source="public">A list of characteristic features of the service specification</xs:documentation>
            </xs:annotation>
         </xs:element>
      </xs:sequence>
   </xs:complexType>
   <xs:element name="ServiceSpecCharacteristic" type="ServiceSpecCharacteristic">
      <xs:annotation>
         <xs:documentation source="public">A characteristic quality or distinctive feature of a ServiceSpecification. 
ServiceSpecCharacteristic are retrieved in the serviceTosca file in the topology_template section in the inputs section.</xs:documentation>
      </xs:annotation>
   </xs:element>
   <xs:complexType name="ServiceSpecCharacteristic">
      <xs:annotation>
         <xs:documentation source="public">A characteristic quality or distinctive feature of a ServiceSpecification. 
ServiceSpecCharacteristic are retrieved in the serviceTosca file in the topology_template section in the inputs section.</xs:documentation>
      </xs:annotation>
      <xs:sequence minOccurs="1" maxOccurs="1">
         <xs:element name="name" type="xs:string" minOccurs="0">
            <xs:annotation>
               <xs:documentation source="public">Name of the characteristic - Filled with parameter_name</xs:documentation>
            </xs:annotation>
         </xs:element>
         <xs:element name="description" type="xs:string" minOccurs="0">
            <xs:annotation>
               <xs:documentation source="public">A narrative that explains in detail what the characteristic is - Filled with parameter_description</xs:documentation>
            </xs:annotation>
         </xs:element>
         <xs:element name="valueType" type="xs:string" minOccurs="0">
            <xs:annotation>
               <xs:documentation source="public">A kind of value that the characteristic can take on, such as numeric, text and so forth - Filled with parameter_type</xs:documentation>
            </xs:annotation>
         </xs:element>
         <xs:element name="@type" type="xs:string" minOccurs="0">
            <xs:annotation>
               <xs:documentation source="public">This attribute allows to dynamically extends TMF class. Valued with: 'ONAPserviceCharacteristic'. We do not used this features in nbi Beijing release.</xs:documentation>
            </xs:annotation>
         </xs:element>
         <xs:element name="@schemaLocation" type="xs:string" minOccurs="0">
            <xs:annotation>
               <xs:documentation source="public">An url pointing to type description - we do not use it in nbi Beijing release</xs:documentation>
            </xs:annotation>
         </xs:element>
         <xs:element name="required" type="xs:boolean" minOccurs="0">
            <xs:annotation>
               <xs:documentation source="public">A parameter to define if the characteristic is mandatory - Filled from parameter_required – if not fielded by default ‘true’</xs:documentation>
            </xs:annotation>
         </xs:element>
         <xs:element name="status" type="xs:string" minOccurs="0">
            <xs:annotation>
               <xs:documentation source="public">Status of the characteristic - filled with status_value</xs:documentation>
            </xs:annotation>
         </xs:element>
         <xs:element name="serviceSpecCharacteristicValue"
                     type="ServiceSpecCharacteristicValue"
                     minOccurs="0"
                     maxOccurs="unbounded">
            <xs:annotation>
               <xs:documentation source="public">Value that can be assigned to a characteristic</xs:documentation>
            </xs:annotation>
         </xs:element>
      </xs:sequence>
   </xs:complexType>
   <xs:element name="Attachment" type="Attachment">
      <xs:annotation>
         <xs:documentation source="public">An attachment is a file uses to describe the service.
In nbi we use attachment to retrieve ONAP artifacts.</xs:documentation>
      </xs:annotation>
   </xs:element>
   <xs:complexType name="Attachment">
      <xs:annotation>
         <xs:documentation source="public">An attachment is a file uses to describe the service.
In nbi we use attachment to retrieve ONAP artifacts.</xs:documentation>
      </xs:annotation>
      <xs:sequence minOccurs="1" maxOccurs="1">
         <xs:element name="id" type="xs:string" minOccurs="0">
            <xs:annotation>
               <xs:documentation source="public">Unique identifier of the attachment - filled with artifactUUID.</xs:documentation>
            </xs:annotation>
         </xs:element>
         <xs:element name="name" type="xs:string" minOccurs="0">
            <xs:annotation>
               <xs:documentation source="public">Name of the attachment - filled with artifactName</xs:documentation>
            </xs:annotation>
         </xs:element>
         <xs:element name="description" type="xs:string" minOccurs="0">
            <xs:annotation>
               <xs:documentation source="public">Description of the attachment - filled with artifactDescription</xs:documentation>
            </xs:annotation>
         </xs:element>
         <xs:element name="@type" type="xs:string" minOccurs="0">
            <xs:annotation>
               <xs:documentation source="public">This attribute allows to dynamically extends TMF class. Valued with 'ONAPartifact'. We used this features to add following attributes: 
artifactLabel
artifactGroupType
artifactTimeout
artifactChecksum
artifactVersion
generatedFromUUID</xs:documentation>
            </xs:annotation>
         </xs:element>
         <xs:element name="artifactLabel" type="xs:string" minOccurs="0">
            <xs:annotation>
               <xs:documentation source="public">Additional attribute (not in the TMF API) - extended through @type - artifactLabel</xs:documentation>
            </xs:annotation>
         </xs:element>
         <xs:element name="artifactGroupType" type="xs:string" minOccurs="0">
            <xs:annotation>
               <xs:documentation source="public">Additional attribute (not in the TMF API) - extended through @type - artifactGroupType</xs:documentation>
            </xs:annotation>
         </xs:element>
         <xs:element name="artifactTimeout" type="xs:string" minOccurs="0">
            <xs:annotation>
               <xs:documentation source="public">Additional attribute (not in the TMF API) - extended through @type - artifactTimeout</xs:documentation>
            </xs:annotation>
         </xs:element>
         <xs:element name="artifactChecksum" type="xs:string" minOccurs="0">
            <xs:annotation>
               <xs:documentation source="public">Additional attribute (not in the TMF API) - extended through @type - artifactChecksum</xs:documentation>
            </xs:annotation>
         </xs:element>
         <xs:element name="artifactVersion" type="xs:string" minOccurs="0">
            <xs:annotation>
               <xs:documentation source="public">Additional attribute (not in the TMF API) - extended through @type - artifactVersion</xs:documentation>
            </xs:annotation>
         </xs:element>
         <xs:element name="generatedFromUUID" type="xs:string" minOccurs="0">
            <xs:annotation>
               <xs:documentation source="public">Additional attribute (not in the TMF API) - extended through @type - generatedFromUUID</xs:documentation>
            </xs:annotation>
         </xs:element>
         <xs:element name="url" type="xs:string" minOccurs="0">
            <xs:annotation>
               <xs:documentation source="public">Uniform Resource Locator, is a web page address - filled with artifactURL</xs:documentation>
            </xs:annotation>
         </xs:element>
         <xs:element name="mimeType" type="xs:string" minOccurs="0">
            <xs:annotation>
               <xs:documentation source="public">Filled with artifactType</xs:documentation>
            </xs:annotation>
         </xs:element>
      </xs:sequence>
   </xs:complexType>
   <xs:element name="ServiceSpecCharacteristicValue"
               type="ServiceSpecCharacteristicValue">
      <xs:annotation>
         <xs:documentation source="public">A number or text that can be assigned to a service specification characteristic.
ServiceSpecCharacteristicValue are retrieved in the service Tosca file</xs:documentation>
      </xs:annotation>
   </xs:element>
   <xs:complexType name="ServiceSpecCharacteristicValue">
      <xs:annotation>
         <xs:documentation source="public">A number or text that can be assigned to a service specification characteristic.
ServiceSpecCharacteristicValue are retrieved in the service Tosca file</xs:documentation>
      </xs:annotation>
      <xs:sequence minOccurs="1" maxOccurs="1">
         <xs:element name="valueType" type="xs:string" minOccurs="0">
            <xs:annotation>
               <xs:documentation source="public">A kind of value that the characteristic can take on, such as numeric, text, and so forth
Retrieved in the Tosca in the topology_template section in the inputs section - parameter_type. 
We do not manage parameter_type= list or map for Beijing release</xs:documentation>
            </xs:annotation>
         </xs:element>
         <xs:element name="isDefault" type="xs:boolean" minOccurs="0">
            <xs:annotation>
               <xs:documentation source="public">Information calculated from parameter default in the Tosca file</xs:documentation>
            </xs:annotation>
         </xs:element>
         <xs:element name="value" type="xs:string" minOccurs="0">
            <xs:annotation>
               <xs:documentation source="public">A discrete value that the characteristic can take on</xs:documentation>
            </xs:annotation>
         </xs:element>
      </xs:sequence>
   </xs:complexType>
   <xs:element name="ResourceSpecificationRef" type="ResourceSpecificationRef">
      <xs:annotation>
         <xs:documentation source="public">A list of resourceSpec identified to deliver the service.
for nbi we retrieve resource information available in service description (through SDC api) bu as well information retrieved in the TOSCA file.</xs:documentation>
      </xs:annotation>
   </xs:element>
   <xs:complexType name="ResourceSpecificationRef">
      <xs:annotation>
         <xs:documentation source="public">A list of resourceSpec identified to deliver the service.
for nbi we retrieve resource information available in service description (through SDC api) bu as well information retrieved in the TOSCA file.</xs:documentation>
      </xs:annotation>
      <xs:sequence minOccurs="1" maxOccurs="1">
         <xs:element name="id" type="xs:string" minOccurs="0">
            <xs:annotation>
               <xs:documentation source="public">Unique identifier of the resource specification - filled with resourceUUID</xs:documentation>
            </xs:annotation>
         </xs:element>
         <xs:element name="version" type="xs:string" minOccurs="0">
            <xs:annotation>
               <xs:documentation source="public">Version for this resource specification - filled with resourceVersion</xs:documentation>
            </xs:annotation>
         </xs:element>
         <xs:element name="name" type="xs:string" minOccurs="0">
            <xs:annotation>
               <xs:documentation source="public">Name of the resource specification - filled with resourceName</xs:documentation>
            </xs:annotation>
         </xs:element>
         <xs:element name="@type" type="xs:string" minOccurs="0">
            <xs:annotation>
               <xs:documentation source="public">This attribute allows to dynamically extends TMF class. Valued with: 'ONAPresource'. We used this features to add following attributes:
resourceInstanceName
resourceInvariantUUID
resourceType
modelCustomizationName
modelCustomizationId</xs:documentation>
            </xs:annotation>
         </xs:element>
         <xs:element name="resourceInstanceName" type="xs:string" minOccurs="0">
            <xs:annotation>
               <xs:documentation source="public">Additional attribute (not in the TMF API) - extended through @type - resourceInstanceName</xs:documentation>
            </xs:annotation>
         </xs:element>
         <xs:element name="resourceInvariantUUID" type="xs:string" minOccurs="0">
            <xs:annotation>
               <xs:documentation source="public">Additional attribute (not in the TMF API) - extended through @type - resourceInvariantUUID</xs:documentation>
            </xs:annotation>
         </xs:element>
         <xs:element name="resourceType" type="xs:string" minOccurs="0">
            <xs:annotation>
               <xs:documentation source="public">Additional attribute (not in the TMF API) - extended through @type - resoucreType</xs:documentation>
            </xs:annotation>
         </xs:element>
         <xs:element name="modelCustomizationName" type="xs:string" minOccurs="0">
            <xs:annotation>
               <xs:documentation source="public">Additional attribute (not in the TMF API) - extended through @type - Retrieved in the TOSCA file : attribute name in topology_template/node_template for the resource</xs:documentation>
            </xs:annotation>
         </xs:element>
         <xs:element name="modelCustomizationId" type="xs:string" minOccurs="0">
            <xs:annotation>
               <xs:documentation source="public">Additional attribute (not in the TMF API) - extended through @type - Retrieved in the TOSCA file : attribute customizationUUID in topology_template/node_template for the resource</xs:documentation>
            </xs:annotation>
         </xs:element>
      </xs:sequence>
   </xs:complexType>
   <xs:element name="TargetServiceSchemaRef" type="TargetServiceSchemaRef">
      <xs:annotation>
         <xs:documentation source="public"/>
      </xs:annotation>
   </xs:element>
   <xs:complexType name="TargetServiceSchemaRef">
      <xs:annotation>
         <xs:documentation source="public"/>
      </xs:annotation>
      <xs:sequence minOccurs="1" maxOccurs="1">
         <xs:element name="@type" type="xs:string" minOccurs="1"/>
         <xs:element name="@schemaLocation" type="xs:string" minOccurs="1"/>
      </xs:sequence>
   </xs:complexType>
</xs:schema>