1 <?xml version="1.0" encoding="UTF-8"?>
2 <xs:schema xmlns:xmime="http://www.w3.org/2005/05/xmlmime"
3 xmlns="http://orange.com/ONAPNBI/api/serviceInventory/v4/model"
4 xmlns:xs="http://www.w3.org/2001/XMLSchema"
5 attributeFormDefault="unqualified"
6 elementFormDefault="qualified"
7 targetNamespace="http://orange.com/ONAPNBI/api/serviceInventory/v4/model">
8 <xs:annotation id="signature">
9 <xs:appinfo>API Designer</xs:appinfo>
10 <xs:documentation>Model: serviceInventory
11 Version: 4.0.0_inProgress
13 Generated on: 2019-03-12T16:45:37.288Z
14 Generated by: Orange API Designer v2, model-v1</xs:documentation>
16 <xs:simpleType name="eventType">
17 <xs:restriction base="xs:string">
18 <xs:enumeration value="ServiceCreationNotification"/>
19 <xs:enumeration value="ServiceAttributeValueChangeNotification"/>
20 <xs:enumeration value="ServiceRemoveNotification"/>
23 <xs:element name="ErrorRepresentation" type="ErrorRepresentation">
25 <xs:documentation source="public">This class is used to describe error.</xs:documentation>
28 <xs:complexType name="ErrorRepresentation">
30 <xs:documentation source="public">This class is used to describe error.</xs:documentation>
32 <xs:sequence minOccurs="1" maxOccurs="1">
33 <xs:element name="code" type="xs:int" minOccurs="1">
35 <xs:documentation source="public">Application related code (as defined in the API or from a common list)</xs:documentation>
38 <xs:element name="reason" type="xs:string" minOccurs="1">
40 <xs:documentation source="public">Text that explains the reason for error. This can be shown to a client user.</xs:documentation>
43 <xs:element name="message" type="xs:string" minOccurs="0">
45 <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>
48 <xs:element name="status" type="xs:string" minOccurs="0">
50 <xs:documentation source="public">http error code extension like 400-2</xs:documentation>
53 <xs:element name="referenceError" type="xs:string" minOccurs="0">
55 <xs:documentation source="public">url pointing to documentation describing the error</xs:documentation>
58 <xs:element name="@type" type="xs:string" minOccurs="0">
60 <xs:documentation source="public">The class type of a REST resource.</xs:documentation>
63 <xs:element name="@schemaLocation" type="xs:string" minOccurs="0">
65 <xs:documentation source="public">it provides a link to the schema describing a REST resource.</xs:documentation>
70 <xs:element name="Service" type="Service">
72 <xs:documentation source="public">Instantiated service (service_instance) in AAI</xs:documentation>
75 <xs:complexType name="Service">
77 <xs:documentation source="public">Instantiated service (service_instance) in AAI</xs:documentation>
79 <xs:sequence minOccurs="1" maxOccurs="1">
80 <xs:element name="id" type="xs:string" minOccurs="0">
82 <xs:documentation source="public">Unique identifier of the service - Valued with service-instance-id</xs:documentation>
85 <xs:element name="href" type="xs:string" minOccurs="0">
87 <xs:documentation source="public">Reference of the service
88 Not managed in Beijing release</xs:documentation>
91 <xs:element name="name" type="xs:string" minOccurs="0">
93 <xs:documentation source="public">Name of the service - Valued with service-instance-name</xs:documentation>
96 <xs:element name="type" type="xs:string" minOccurs="0">
98 <xs:documentation source="public">Service type - valued with 'service-instance'</xs:documentation>
101 <xs:element name="state" type="xs:string" minOccurs="0">
103 <xs:documentation source="public">State of the service.</xs:documentation>
106 <xs:element name="@type" type="xs:string" minOccurs="0">
108 <xs:documentation source="public">This attribute allows to dynamically extends TMF class. Not used in Beijing release.</xs:documentation>
111 <xs:element name="@baseType" type="xs:string" minOccurs="0">
113 <xs:documentation source="public">Not managed in Beijing release</xs:documentation>
116 <xs:element name="@schemaLocation" type="xs:string" minOccurs="0">
118 <xs:documentation source="public">Not managed in Beijing release</xs:documentation>
121 <xs:element name="serviceSpecification"
122 type="ServiceSpecificationRef"
125 <xs:documentation source="public">A service specification reference required to realize a ProductSpecification</xs:documentation>
128 <xs:element name="characteristic"
129 type="ServiceCharacteristic"
131 maxOccurs="unbounded">
133 <xs:documentation source="public">A list of service characteristics i.e. name/value pairs that define the service characteristics</xs:documentation>
136 <xs:element name="supportingResource"
137 type="SupportingResource"
139 maxOccurs="unbounded">
141 <xs:documentation source="public">A list of supporting resources
142 A supportingResource will be retrieved for each relationship of the relationship-list where related-link describe a vnf</xs:documentation>
145 <xs:element name="relatedParty"
146 type="RelatedPartyRef"
148 maxOccurs="unbounded">
150 <xs:documentation source="public">A list of related party references . A related party defines party or party role linked to a specific entity.</xs:documentation>
155 <xs:element name="ServiceSpecificationRef" type="ServiceSpecificationRef">
157 <xs:documentation source="public">Service specification reference: ServiceSpecification of this service (catalog information)</xs:documentation>
160 <xs:complexType name="ServiceSpecificationRef">
162 <xs:documentation source="public">Service specification reference: ServiceSpecification of this service (catalog information)</xs:documentation>
164 <xs:sequence minOccurs="1" maxOccurs="1">
165 <xs:element name="id" type="xs:string" minOccurs="0">
167 <xs:documentation source="public">Unique identifier of the service specification. valued to model-version-id</xs:documentation>
170 <xs:element name="href" type="xs:string" minOccurs="0">
172 <xs:documentation source="public">Reference of the service specification.
173 not managed in Beijing release.</xs:documentation>
176 <xs:element name="name" type="xs:string" minOccurs="0">
178 <xs:documentation source="public">Name of the required service specification</xs:documentation>
181 <xs:element name="version" type="xs:string" minOccurs="0">
183 <xs:documentation source="public">Service specification version.
184 Not managed in Beijing release</xs:documentation>
187 <xs:element name="@referredType" type="xs:string" minOccurs="0">
189 <xs:documentation source="public">This attribute allows to dynamically extends TMF class. Valued with 'ONAPservice'. We used this features to add following attribute: invariantUUID</xs:documentation>
192 <xs:element name="@schemaLocation" type="xs:string" minOccurs="0">
194 <xs:documentation source="public">Not managed in Beijing release</xs:documentation>
197 <xs:element name="invariantUUID" type="xs:string" minOccurs="0">
199 <xs:documentation source="public">Additional attribute (not in the TMF API) - extended through @referredType - model-invariant-id</xs:documentation>
204 <xs:element name="ServiceCharacteristic" type="ServiceCharacteristic">
206 <xs:documentation source="public">A list of name value pairs that define the service characteristics
207 Not managed in Beijing release.</xs:documentation>
210 <xs:complexType name="ServiceCharacteristic">
212 <xs:documentation source="public">A list of name value pairs that define the service characteristics
213 Not managed in Beijing release.</xs:documentation>
215 <xs:sequence minOccurs="1" maxOccurs="1">
216 <xs:element name="name" type="xs:string" minOccurs="1">
218 <xs:documentation source="public">Name of the characteristic
219 Not managed in Beijing release.</xs:documentation>
222 <xs:element name="valueType" type="xs:string" minOccurs="0">
224 <xs:documentation source="public">Type of value for this characteristic.
225 Not managed in Beijing release.</xs:documentation>
228 <xs:element name="value" type="Value" minOccurs="0">
230 <xs:documentation source="public">Value of the characteristic
231 Not managed in Beijing release.</xs:documentation>
236 <xs:element name="SupportingResource" type="SupportingResource">
238 <xs:documentation source="public">Supporting resource - A supportingResource will be retrieved for each relationship of the relationship-list where related-link describe a vnf</xs:documentation>
241 <xs:complexType name="SupportingResource">
243 <xs:documentation source="public">Supporting resource - A supportingResource will be retrieved for each relationship of the relationship-list where related-link describe a vnf</xs:documentation>
245 <xs:sequence minOccurs="1" maxOccurs="1">
246 <xs:element name="id" type="xs:string" minOccurs="0">
248 <xs:documentation source="public">Unique identifier of the supporting resource - Valued to vnf-id</xs:documentation>
251 <xs:element name="href" type="xs:string" minOccurs="0">
253 <xs:documentation source="public">Reference of the supporting resource</xs:documentation>
256 <xs:element name="role" type="xs:string" minOccurs="0">
258 <xs:documentation source="public">Not managed in Beijing release.</xs:documentation>
261 <xs:element name="name" type="xs:string" minOccurs="0">
263 <xs:documentation source="public">Name of the supporting resource - Valued with vnf_-name</xs:documentation>
266 <xs:element name="@referredType" type="xs:string" minOccurs="0">
268 <xs:documentation source="public">This attribute allows to dynamically extends TMF class. Valued with 'ONAP resource'. We used this features to add following attributes:
272 modelCustomisationId</xs:documentation>
275 <xs:element name="@schemaLocation" type="xs:string" minOccurs="0">
277 <xs:documentation source="public">Not managed in Beijing release.</xs:documentation>
280 <xs:element name="status" type="xs:string" minOccurs="0">
282 <xs:documentation source="public">Additional attribute (not in the TMF API) - extended through @referredType - valued with prov-status</xs:documentation>
285 <xs:element name="modelInvariantId" type="xs:string" minOccurs="0">
287 <xs:documentation source="public">Additional attribute (not in the TMF API) - extended through @referredType - valued with model-invariant-id</xs:documentation>
290 <xs:element name="modelVersionId" type="xs:string" minOccurs="0">
292 <xs:documentation source="public">Additional attribute (not in the TMF API) - extended through @referredType - valued with model-verson-id</xs:documentation>
295 <xs:element name="modelCustomisationId" type="xs:string" minOccurs="0">
297 <xs:documentation source="public">Additional attribute (not in the TMF API) - extended through @referredType - valued with model-customisation-id</xs:documentation>
302 <xs:element name="RelatedPartyRef" type="RelatedPartyRef">
304 <xs:documentation source="public">RelatedParty reference. A related party defines party or party role linked to a specific entity.</xs:documentation>
307 <xs:complexType name="RelatedPartyRef">
309 <xs:documentation source="public">RelatedParty reference. A related party defines party or party role linked to a specific entity.</xs:documentation>
311 <xs:sequence minOccurs="1" maxOccurs="1">
312 <xs:element name="id" type="xs:string" minOccurs="0">
314 <xs:documentation source="public">Unique identifier of a related party</xs:documentation>
317 <xs:element name="href" type="xs:string" minOccurs="0">
319 <xs:documentation source="public">Reference of a related party.
320 Not filled in Beijing release.</xs:documentation>
323 <xs:element name="role" type="xs:string" minOccurs="0">
325 <xs:documentation source="public">Role played by the related party.
326 Filled with 'ONAPcustomer'</xs:documentation>
329 <xs:element name="@referredType" type="xs:string" minOccurs="0">
331 <xs:documentation source="public">Not managed in the Beijing release.</xs:documentation>
336 <xs:element name="Value" type="Value">
338 <xs:documentation source="public">Structure used to describe characteristic value.
339 Not managed in Beijing release.</xs:documentation>
342 <xs:complexType name="Value">
344 <xs:documentation source="public">Structure used to describe characteristic value.
345 Not managed in Beijing release.</xs:documentation>
347 <xs:sequence minOccurs="1" maxOccurs="1">
348 <xs:element name="@type" type="xs:string" minOccurs="0">
350 <xs:documentation source="public">Not managed in Beijing release.</xs:documentation>
353 <xs:element name="@schemaLocation" type="xs:string" minOccurs="0">
355 <xs:documentation source="public">Not managed in Beijing release.</xs:documentation>
358 <xs:element name="serviceCharacteristicValue" type="xs:string" minOccurs="0">
360 <xs:documentation source="public">Not managed in Beijing release.</xs:documentation>
365 <xs:element name="ListRelatedPartyRef" type="ListRelatedPartyRef">
367 <xs:documentation source="public">This class is used to structure list of service(s) retrieved</xs:documentation>
370 <xs:complexType name="ListRelatedPartyRef">
372 <xs:documentation source="public">This class is used to structure list of service(s) retrieved</xs:documentation>
374 <xs:sequence minOccurs="1" maxOccurs="1">
375 <xs:element name="id" type="xs:string" minOccurs="0">
377 <xs:documentation source="public">Unique identifier of a related party</xs:documentation>
380 <xs:element name="role" type="xs:string" minOccurs="0">
382 <xs:documentation source="public">Role played by the related party - only role “ONAPcustomer” is managed in Beijing release.</xs:documentation>
387 <xs:element name="ListServiceSpecificationRef" type="ListServiceSpecificationRef">
389 <xs:documentation source="public">This class is used to structure list of service(s) retrieved</xs:documentation>
392 <xs:complexType name="ListServiceSpecificationRef">
394 <xs:documentation source="public">This class is used to structure list of service(s) retrieved</xs:documentation>
396 <xs:sequence minOccurs="1" maxOccurs="1">
397 <xs:element name="id" type="xs:string" minOccurs="0">
399 <xs:documentation source="public">Unique identifier of the service specification</xs:documentation>
402 <xs:element name="name" type="xs:string" minOccurs="0">
404 <xs:documentation source="public">Name of the required service specification</xs:documentation>
409 <xs:element name="ListService" type="ListService">
411 <xs:documentation source="public">This class is used to structure list of service(s) retrieved</xs:documentation>
414 <xs:complexType name="ListService">
416 <xs:documentation source="public">This class is used to structure list of service(s) retrieved</xs:documentation>
418 <xs:sequence minOccurs="1" maxOccurs="1">
419 <xs:element name="id" type="xs:string" minOccurs="0">
421 <xs:documentation source="public">Unique identifier of the service</xs:documentation>
424 <xs:element name="name" type="xs:string" minOccurs="0">
426 <xs:documentation source="public">Name of the service</xs:documentation>
429 <xs:element name="serviceSpecification"
430 type="ListServiceSpecificationRef"
433 <xs:documentation source="public">A service specification reference required to realize a ProductSpecification</xs:documentation>
436 <xs:element name="relatedParty" type="ListRelatedPartyRef" minOccurs="0">
438 <xs:documentation source="public">Related Party to the service (only ONAP customer is managed)</xs:documentation>
443 <xs:element name="ServiceInventoryEvent" type="ServiceInventoryEvent">
445 <xs:documentation source="public">Structure for a service inventory event notification</xs:documentation>
448 <xs:complexType name="ServiceInventoryEvent">
450 <xs:documentation source="public">Structure for a service inventory event notification</xs:documentation>
452 <xs:sequence minOccurs="1" maxOccurs="1">
453 <xs:element name="id" type="xs:string" minOccurs="1">
455 <xs:documentation source="public">The Service Instance Id</xs:documentation>
458 <xs:element name="href" type="xs:string" minOccurs="1">
460 <xs:documentation source="public">A reference to the service inventory</xs:documentation>
463 <xs:element name="name" type="xs:string" minOccurs="1">
465 <xs:documentation source="public">The name of the Service Instance</xs:documentation>
468 <xs:element name="type" type="xs:string" minOccurs="1">
470 <xs:documentation source="public">The type of event, service-instance</xs:documentation>
473 <xs:element name="state" type="xs:string" minOccurs="1">
475 <xs:documentation source="public">The state of the service instance</xs:documentation>
478 <xs:element name="relatedParty" type="RelatedPartyRef" minOccurs="1"/>
481 <xs:element name="Notification" type="Notification">
483 <xs:documentation source="public">Notification structure for a service notification</xs:documentation>
486 <xs:complexType name="Notification">
488 <xs:documentation source="public">Notification structure for a service notification</xs:documentation>
490 <xs:sequence minOccurs="1" maxOccurs="1">
491 <xs:element name="eventId" type="xs:string" minOccurs="1"/>
492 <xs:element name="eventDate" type="xs:dateTime" minOccurs="1"/>
493 <xs:element name="eventType" type="eventType" minOccurs="1"/>
494 <xs:element name="event" type="ServiceInventoryEvent" minOccurs="1"/>