summaryrefslogtreecommitdiffstats
path: root/appc-dg/appc-dg-shared/appc-dg-common/src/main/resources/xsd/vf-license-model.xsd
blob: 9fb9796095ef1f70857202b3ce479c8498393a32 (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
<xs:schema attributeFormDefault="unqualified" elementFormDefault="qualified" xmlns:xs="http://www.w3.org/2001/XMLSchema">
  <xs:element name="vf-license-model">
    <xs:complexType>
      <xs:sequence>
        <xs:element type="xs:string" name="vnf-id"/>
        <xs:element type="xs:string" name="vendor-name"/>
        <xs:element name="feature-group-list">
          <xs:complexType>
            <xs:sequence>
              <xs:element name="feature-group">
                <xs:complexType>
                  <xs:sequence>
                    <xs:element type="xs:string" name="feature-group-uuid"/>
                    <xs:element type="xs:string" name="name"/>
                    <xs:element type="xs:string" name="description"/>
                    <xs:element type="xs:string" name="att-part-number"/>
                    <xs:element name="entitlement-pool-list">
                      <xs:complexType>
                        <xs:sequence>
                          <xs:element name="entitlement-pool">
                            <xs:complexType>
                              <xs:sequence>
                                <xs:element type="xs:string" name="entitlement-pool-uuid"/>
                                <xs:element type="xs:string" name="name"/>
                                <xs:element type="xs:string" name="description"/>
                                <xs:element type="xs:string" name="manufacturer-reference-number"/>
                                <xs:element name="threshold-value">
                                  <xs:complexType>
                                    <xs:sequence>
                                      <xs:element type="xs:byte" name="value"/>
                                      <xs:element type="xs:string" name="unit"/>
                                    </xs:sequence>
                                  </xs:complexType>
                                </xs:element>
                                <xs:element name="entitlement-metric">
                                  <xs:complexType>
                                    <xs:sequence>
                                      <xs:element type="xs:string" name="value"/>
                                    </xs:sequence>
                                  </xs:complexType>
                                </xs:element>
                                <xs:element type="xs:string" name="increments"/>
                                <xs:element name="aggregation-function">
                                  <xs:complexType>
                                    <xs:sequence>
                                      <xs:element type="xs:string" name="value"/>
                                    </xs:sequence>
                                  </xs:complexType>
                                </xs:element>
                                <xs:element name="time">
                                  <xs:complexType>
                                    <xs:sequence>
                                      <xs:element type="xs:string" name="value"/>
                                    </xs:sequence>
                                  </xs:complexType>
                                </xs:element>
                              </xs:sequence>
                            </xs:complexType>
                          </xs:element>
                        </xs:sequence>
                      </xs:complexType>
                    </xs:element>
                    <xs:element name="license-key-group-list">
                      <xs:complexType>
                        <xs:sequence>
                          <xs:element name="license-key-group">
                            <xs:complexType>
                              <xs:sequence>
                                <xs:element type="xs:string" name="license-key-group-uuid"/>
                                <xs:element type="xs:string" name="name"/>
                                <xs:element type="xs:string" name="description"/>
                                <xs:element type="xs:string" name="type"/>
                              </xs:sequence>
                            </xs:complexType>
                          </xs:element>
                        </xs:sequence>
                      </xs:complexType>
                    </xs:element>
                  </xs:sequence>
                </xs:complexType>
              </xs:element>
            </xs:sequence>
          </xs:complexType>
        </xs:element>
      </xs:sequence>
    </xs:complexType>
  </xs:element>
</xs:schema>