a7ecc663beaa37fff31c6ace4eb54f45718e9447
[externalapi/nbi.git] / docs / offeredapis / serviceInventory / apiServiceInventory.plantuml
1 /' This work is licensed under a Creative Commons Attribution 4.0 International License.
2    http://creativecommons.org/licenses/by/4.0
3    Copyright 2018 Orange'/
4
5 @startuml
6
7 enum stateValues {
8    feasibilityChecked
9    designed
10    reserved
11    inactive
12    active
13    terminated
14 }
15
16 class ErrorRepresentation {
17    code:int
18    reason:string
19    message:string
20    status:string
21    referenceError:string
22    @type:string
23    @schemaLocation:string
24 }
25
26 class Service {
27    id:string
28    href:string
29    name:string
30    type:string
31    hasStarted:boolean
32    @type:string
33    @baseType:string
34    @schemaLocation:string
35 }
36    Service --> "0-1" stateValues : state
37    Service --> "0-1" ServiceSpecificationRef : serviceSpecification
38    Service --> "0-*" ServiceCharacteristic : characteristic
39    Service --> "0-*" SupportingResource : supportingResource
40    Service --> "0-*" RelatedPartyRef : relatedParty
41
42 class ServiceSpecificationRef {
43    id:string
44    href:string
45    name:string
46    version:string
47    @referredType:string
48    @schemaLocation:string
49    invariantUUID:string
50 }
51
52 class ServiceCharacteristic {
53    name:string
54    valueType:string
55 }
56    ServiceCharacteristic --> "0-1" Value : value
57
58 class SupportingResource {
59    id:string
60    href:string
61    role:string
62    name:string
63    @referredType:string
64    @schemaLocation:string
65    status:string
66    modelInvariantId:string
67    modelVersionId:string
68    modelCustomisationId:string
69 }
70
71 class RelatedPartyRef {
72    id:string
73    href:string
74    role:string
75    @referredType:string
76 }
77
78 class Value {
79    @type:string
80    @schemaLocation:string
81    serviceCharacteristicValue:string
82 }
83
84 class ListRelatedPartyRef {
85    id:string
86    role:string
87 }
88
89 class ListServiceSpecificationRef {
90    id:string
91    name:string
92 }
93
94 class ListService {
95    id:string
96    name:string
97 }
98    ListService --> "0-1" ListServiceSpecificationRef : serviceSpecification
99    ListService --> "0-1" ListRelatedPartyRef : relatedParty
100
101 @enduml