1<?xml version="1.0" encoding="UTF-8"?>
2<!---->
3<!--################################################################################       -->
4<!--# Redfish Schema:  License v1.1.2                                                      -->
5<!--#                                                                                      -->
6<!--# For a detailed change log, see the README file contained in the DSP8010 bundle,      -->
7<!--# available at http://www.dmtf.org/standards/redfish                                   -->
8<!--# Copyright 2014-2023 DMTF.                                                            -->
9<!--# For the full DMTF copyright policy, see http://www.dmtf.org/about/policies/copyright -->
10<!--################################################################################       -->
11<!---->
12<edmx:Edmx xmlns:edmx="http://docs.oasis-open.org/odata/ns/edmx" Version="4.0">
13
14  <edmx:Reference Uri="http://docs.oasis-open.org/odata/odata/v4.0/errata03/csd01/complete/vocabularies/Org.OData.Core.V1.xml">
15    <edmx:Include Namespace="Org.OData.Core.V1" Alias="OData"/>
16  </edmx:Reference>
17  <edmx:Reference Uri="http://docs.oasis-open.org/odata/odata/v4.0/errata03/csd01/complete/vocabularies/Org.OData.Capabilities.V1.xml">
18    <edmx:Include Namespace="Org.OData.Capabilities.V1" Alias="Capabilities"/>
19  </edmx:Reference>
20  <edmx:Reference Uri="http://redfish.dmtf.org/schemas/v1/Resource_v1.xml">
21    <edmx:Include Namespace="Resource"/>
22    <edmx:Include Namespace="Resource.v1_0_0"/>
23  </edmx:Reference>
24  <edmx:Reference Uri="http://redfish.dmtf.org/schemas/v1/RedfishExtensions_v1.xml">
25    <edmx:Include Namespace="RedfishExtensions.v1_0_0" Alias="Redfish"/>
26  </edmx:Reference>
27  <edmx:Reference Uri="http://redfish.dmtf.org/schemas/v1/Manager_v1.xml">
28    <edmx:Include Namespace="Manager"/>
29  </edmx:Reference>
30
31  <edmx:DataServices>
32
33    <Schema xmlns="http://docs.oasis-open.org/odata/ns/edm" Namespace="License">
34      <Annotation Term="Redfish.OwningEntity" String="DMTF"/>
35
36      <EntityType Name="License" BaseType="Resource.v1_0_0.Resource" Abstract="true">
37        <Annotation Term="OData.Description" String="The License schema describes a license for a feature."/>
38        <Annotation Term="OData.LongDescription" String="This resource shall represent a license for a Redfish implementation."/>
39        <Annotation Term="Capabilities.InsertRestrictions">
40          <Record>
41            <PropertyValue Property="Insertable" Bool="false"/>
42          </Record>
43        </Annotation>
44        <Annotation Term="Capabilities.UpdateRestrictions">
45          <Record>
46            <PropertyValue Property="Updatable" Bool="false"/>
47          </Record>
48        </Annotation>
49        <Annotation Term="Capabilities.DeleteRestrictions">
50          <Record>
51            <PropertyValue Property="Deletable" Bool="true"/>
52          </Record>
53        </Annotation>
54        <Annotation Term="Redfish.Uris">
55          <Collection>
56            <String>/redfish/v1/LicenseService/Licenses/{LicenseId}</String>
57          </Collection>
58        </Annotation>
59      </EntityType>
60    </Schema>
61
62    <Schema xmlns="http://docs.oasis-open.org/odata/ns/edm" Namespace="License.v1_0_0">
63      <Annotation Term="Redfish.OwningEntity" String="DMTF"/>
64      <Annotation Term="Redfish.Release" String="2021.3"/>
65
66      <EntityType Name="License" BaseType="License.License">
67        <Property Name="LicenseType" Type="License.v1_0_0.LicenseType">
68          <Annotation Term="OData.Permissions" EnumMember="OData.Permission/Read"/>
69          <Annotation Term="OData.Description" String="The type of the license."/>
70          <Annotation Term="OData.LongDescription" String="This property shall contain the type for the license."/>
71        </Property>
72        <Property Name="LicenseOrigin" Type="License.v1_0_0.LicenseOrigin">
73          <Annotation Term="OData.Permissions" EnumMember="OData.Permission/Read"/>
74          <Annotation Term="OData.Description" String="This indicates the origin of the license."/>
75          <Annotation Term="OData.LongDescription" String="This property shall contain the origin for the license."/>
76        </Property>
77        <Property Name="Removable" Type="Edm.Boolean">
78          <Annotation Term="OData.Permissions" EnumMember="OData.Permission/Read"/>
79          <Annotation Term="OData.Description" String="An indication of whether the license is removable."/>
80          <Annotation Term="OData.LongDescription" String="This property shall indicate whether a user can remove the license with an HTTP DELETE operation."/>
81        </Property>
82        <Property Name="Manufacturer" Type="Edm.String">
83          <Annotation Term="OData.Permissions" EnumMember="OData.Permission/Read"/>
84          <Annotation Term="OData.Description" String="The manufacturer or producer of this license."/>
85          <Annotation Term="OData.LongDescription" String="This property shall represent the name of the manufacturer or producer of this license."/>
86        </Property>
87        <Property Name="SKU" Type="Edm.String">
88          <Annotation Term="OData.Permissions" EnumMember="OData.Permission/Read"/>
89          <Annotation Term="OData.Description" String="The SKU for this license."/>
90          <Annotation Term="OData.LongDescription" String="This property shall contain the SKU number for this license."/>
91        </Property>
92        <Property Name="SerialNumber" Type="Edm.String">
93          <Annotation Term="OData.Permissions" EnumMember="OData.Permission/Read"/>
94          <Annotation Term="OData.Description" String="The serial number for this license."/>
95          <Annotation Term="OData.LongDescription" String="This property shall contain a manufacturer-allocated number that identifies the license."/>
96        </Property>
97        <Property Name="PartNumber" Type="Edm.String">
98          <Annotation Term="OData.Permissions" EnumMember="OData.Permission/Read"/>
99          <Annotation Term="OData.Description" String="The part number for this license."/>
100          <Annotation Term="OData.LongDescription" String="This property shall contain the manufacturer-provided part number for the license."/>
101        </Property>
102        <Property Name="Status" Type="Resource.Status" Nullable="false">
103          <Annotation Term="OData.Description" String="The status of the license."/>
104          <Annotation Term="OData.LongDescription" String="This property shall contain the status of license."/>
105        </Property>
106        <Property Name="Contact" Type="License.v1_0_0.ContactInfo" Nullable="false">
107          <Annotation Term="OData.Description" String="The contact of the license."/>
108          <Annotation Term="OData.LongDescription" String="This property shall contain an object containing information about the contact of the license."/>
109        </Property>
110        <Property Name="LicenseString" Type="Edm.String">
111          <Annotation Term="OData.Permissions" EnumMember="OData.Permission/Read"/>
112          <Annotation Term="OData.Description" String="The Base64-encoded string of the license."/>
113          <Annotation Term="OData.LongDescription" String="This property shall contain the Base64-encoded string of the license.  This property shall not appear in response payloads."/>
114          <Annotation Term="Redfish.RequiredOnCreate"/>
115        </Property>
116        <Property Name="EntitlementId" Type="Edm.String">
117          <Annotation Term="OData.Permissions" EnumMember="OData.Permission/Read"/>
118          <Annotation Term="OData.Description" String="The entitlement identifier for this license."/>
119          <Annotation Term="OData.LongDescription" String="This property shall contain the entitlement identifier for this license, used to display a license key, partial license key, or other value used to identify or differentiate license instances."/>
120        </Property>
121        <Property Name="DownloadURI" Type="Edm.String" Nullable="false">
122          <Annotation Term="OData.Permissions" EnumMember="OData.Permission/Read"/>
123          <Annotation Term="OData.Description" String="The URI from which to download the license file."/>
124          <Annotation Term="OData.LongDescription" String="This property shall contain the URI from which to download the license file, using the Redfish protocol and authentication methods.  The service provides this URI for the download of the OEM-specific binary file of license data.  An HTTP GET from this URI shall return a response payload of MIME type `application/octet-stream`."/>
125          <Annotation Term="OData.IsURL"/>
126        </Property>
127        <Property Name="AuthorizationScope" Type="License.v1_0_0.AuthorizationScope">
128          <Annotation Term="OData.Permissions" EnumMember="OData.Permission/Read"/>
129          <Annotation Term="OData.Description" String="The authorization scope of the license."/>
130          <Annotation Term="OData.LongDescription" String="This property shall contain the authorization scope of the license."/>
131        </Property>
132        <Property Name="MaxAuthorizedDevices" Type="Edm.Int64">
133          <Annotation Term="OData.Permissions" EnumMember="OData.Permission/Read"/>
134          <Annotation Term="OData.Description" String="The maximum number of devices authorized by the license."/>
135          <Annotation Term="OData.LongDescription" String="This property shall contain the maximum number of devices that are authorized by the license.  This property shall only be present if the AuthorizationScope property contains the value `Capacity`."/>
136        </Property>
137        <Property Name="GracePeriodDays" Type="Edm.Int64">
138          <Annotation Term="OData.Permissions" EnumMember="OData.Permission/Read"/>
139          <Annotation Term="OData.Description" String="The grace days of this license."/>
140          <Annotation Term="OData.LongDescription" String="The value of this property shall contain the number of days that the license is still usable after the date and time specified by the ExpirationDate property."/>
141        </Property>
142        <Property Name="InstallDate" Type="Edm.DateTimeOffset">
143          <Annotation Term="OData.Permissions" EnumMember="OData.Permission/Read"/>
144          <Annotation Term="OData.Description" String="The date and time when the license was installed."/>
145          <Annotation Term="OData.LongDescription" String="This property shall contain the date and time when the license was installed."/>
146        </Property>
147        <Property Name="ExpirationDate" Type="Edm.DateTimeOffset">
148          <Annotation Term="OData.Permissions" EnumMember="OData.Permission/Read"/>
149          <Annotation Term="OData.Description" String="The date and time when the license expires."/>
150          <Annotation Term="OData.LongDescription" String="This property shall contain the date and time when the license expires."/>
151        </Property>
152        <Property Name="RemainingDuration" Type="Edm.Duration">
153          <Annotation Term="OData.Permissions" EnumMember="OData.Permission/Read"/>
154          <Annotation Term="OData.Description" String="The remaining usage duration before the license expires."/>
155          <Annotation Term="OData.LongDescription" String="This property shall contain the remaining usage duration before the license expires.  This property shall only be present for licenses that are based on usage time."/>
156        </Property>
157        <Property Name="RemainingUseCount" Type="Edm.Int64">
158          <Annotation Term="OData.Permissions" EnumMember="OData.Permission/Read"/>
159          <Annotation Term="OData.Description" String="The remaining usage count before the license expires."/>
160          <Annotation Term="OData.LongDescription" String="This property shall contain the remaining usage count before the license expires.  This property shall only be present for licenses that are based on usage count."/>
161        </Property>
162        <Property Name="LicenseInfoURI" Type="Edm.String">
163          <Annotation Term="OData.Permissions" EnumMember="OData.Permission/Read"/>
164          <Annotation Term="OData.Description" String="The URI at which more information about this license can be obtained."/>
165          <Annotation Term="OData.LongDescription" String="This property shall contain the URI at which to provide more information about the license.  The information provided at the URI is intended to be general product-related and not tied to a specific user, customer, or license instance."/>
166          <Annotation Term="OData.IsURL"/>
167        </Property>
168        <Property Name="Links" Type="License.v1_0_0.Links" Nullable="false">
169          <Annotation Term="OData.Description" String="The links to other resources that are related to this resource."/>
170          <Annotation Term="OData.LongDescription" String="This property shall contain links to resources that are related to but are not contained by, or subordinate to, this resource."/>
171        </Property>
172        <Property Name="Actions" Type="License.v1_0_0.Actions" Nullable="false">
173          <Annotation Term="OData.Description" String="The available actions for this resource."/>
174          <Annotation Term="OData.LongDescription" String="This property shall contain the available actions for this resource."/>
175        </Property>
176      </EntityType>
177
178      <ComplexType Name="Links" BaseType="Resource.Links">
179        <Annotation Term="OData.Description" String="The links to other resources that are related to this resource."/>
180        <Annotation Term="OData.LongDescription" String="This Redfish Specification-described type shall contain links to resources that are related to but are not contained by, or subordinate to, this resource."/>
181        <NavigationProperty Name="AuthorizedDevices" Type="Collection(Resource.Item)">
182          <Annotation Term="OData.Permissions" EnumMember="OData.Permission/Read"/>
183          <Annotation Term="OData.Description" String="An array of links to the devices authorized by the license."/>
184          <Annotation Term="OData.LongDescription" String="This property shall contain an array of links to the devices that are authorized by the license.  Clients can provide this property when installing a license to apply the license to specific devices.  If not provided when installing a license, the service may determine the devices to which the license applies.  This property shall not be present if the AuthorizationScope property contains the value `Service`."/>
185        </NavigationProperty>
186      </ComplexType>
187
188      <ComplexType Name="Actions">
189        <Annotation Term="OData.AdditionalProperties" Bool="false"/>
190        <Annotation Term="OData.Description" String="The available actions for this resource."/>
191        <Annotation Term="OData.LongDescription" String="This type shall contain the available actions for this resource."/>
192        <Property Name="Oem" Type="License.v1_0_0.OemActions" Nullable="false">
193          <Annotation Term="OData.Description" String="The available OEM-specific actions for this resource."/>
194          <Annotation Term="OData.LongDescription" String="This property shall contain the available OEM-specific actions for this resource."/>
195        </Property>
196      </ComplexType>
197
198      <ComplexType Name="OemActions">
199        <Annotation Term="OData.AdditionalProperties" Bool="true"/>
200        <Annotation Term="OData.Description" String="The available OEM-specific actions for this resource."/>
201        <Annotation Term="OData.LongDescription" String="This type shall contain the available OEM-specific actions for this resource."/>
202      </ComplexType>
203
204      <ComplexType Name="ContactInfo">
205        <Annotation Term="OData.Description" String="Contact information for this license."/>
206        <Annotation Term="OData.LongDescription" String="This object shall contain contact information for an individual or organization responsible for this license."/>
207        <Property Name="ContactName" Type="Edm.String">
208          <Annotation Term="OData.Permissions" EnumMember="OData.Permission/Read"/>
209          <Annotation Term="OData.Description" String="Name of this contact."/>
210          <Annotation Term="OData.LongDescription" String="This property shall contain the name of a person or organization to contact for information about this license."/>
211        </Property>
212        <Property Name="PhoneNumber" Type="Edm.String">
213          <Annotation Term="OData.Permissions" EnumMember="OData.Permission/Read"/>
214          <Annotation Term="OData.Description" String="Phone number for this contact."/>
215          <Annotation Term="OData.LongDescription" String="This property shall contain the phone number for a person or organization to contact for information about this license."/>
216        </Property>
217        <Property Name="EmailAddress" Type="Edm.String">
218          <Annotation Term="OData.Permissions" EnumMember="OData.Permission/Read"/>
219          <Annotation Term="OData.Description" String="Email address for this contact."/>
220          <Annotation Term="OData.LongDescription" String="This property shall contain the email address for a person or organization to contact for information about this license."/>
221        </Property>
222      </ComplexType>
223
224      <EnumType Name="LicenseType">
225        <Member Name="Production">
226          <Annotation Term="OData.Description" String="A license for use in production environments."/>
227          <Annotation Term="OData.LongDescription" String="This value shall indicate a license purchased or obtained for use in production environments."/>
228        </Member>
229        <Member Name="Prototype">
230          <Annotation Term="OData.Description" String="A prototype version of license."/>
231          <Annotation Term="OData.LongDescription" String="This value shall indicate a license that is designed for development or internal use."/>
232        </Member>
233        <Member Name="Trial">
234          <Annotation Term="OData.Description" String="A trial license."/>
235          <Annotation Term="OData.LongDescription" String="This value shall indicate a trial version of a license."/>
236        </Member>
237      </EnumType>
238
239      <EnumType Name="AuthorizationScope">
240        <Annotation Term="OData.Description" String="The authorization scope of the license."/>
241        <Annotation Term="OData.LongDescription" String="This property shall describe the authorization scope for this license."/>
242        <Member Name="Device">
243          <Annotation Term="OData.Description" String="The license authorizes functionality for specific device instances."/>
244          <Annotation Term="OData.LongDescription" String="This value shall indicate the license authorizes functionality for one or more specific device instances, listed as values of the AuthorizedDevices property."/>
245        </Member>
246        <Member Name="Capacity">
247          <Annotation Term="OData.Description" String="The license authorizes functionality to a number of devices, but not restricted to specific device instances."/>
248          <Annotation Term="OData.LongDescription" String="This value shall indicate the license authorizes functionality for one or more device instances limited to a maximum number of devices specified by the value of the MaxAuthorizedDevices property.  In an aggregator, the aggregating service shall represent the applicable services in the TargetServices property in the Links property."/>
249        </Member>
250        <Member Name="Service">
251          <Annotation Term="OData.Description" String="The license authorizes functionality to a service."/>
252          <Annotation Term="OData.LongDescription" String="This value shall indicate the license authorizes product-level or service-level functionality for a service.  This may include hardware or software features not tied to a specific device or subsystem.  License resources using this value shall not include the AuthorizedDevices nor the MaxAuthorizedDevices properties.  In an aggregator, the aggregating service shall represent the applicable services in the TargetServices property in the Links property."/>
253        </Member>
254      </EnumType>
255
256      <EnumType Name="LicenseOrigin">
257        <Member Name="BuiltIn">
258          <Annotation Term="OData.Description" String="A license was provided with the product."/>
259        </Member>
260        <Member Name="Installed">
261          <Annotation Term="OData.Description" String="A license installed by user."/>
262        </Member>
263      </EnumType>
264    </Schema>
265
266    <Schema xmlns="http://docs.oasis-open.org/odata/ns/edm" Namespace="License.v1_0_1">
267      <Annotation Term="Redfish.OwningEntity" String="DMTF"/>
268      <Annotation Term="OData.Description" String="This version was created to update the descriptions of the `Service` and `Capacity` values in AuthorizationScope to describe the usage with aggregators."/>
269      <EntityType Name="License" BaseType="License.v1_0_0.License"/>
270    </Schema>
271
272    <Schema xmlns="http://docs.oasis-open.org/odata/ns/edm" Namespace="License.v1_0_2">
273      <Annotation Term="Redfish.OwningEntity" String="DMTF"/>
274      <Annotation Term="OData.Description" String="This version was created to correct the regular expression pattern for duration properties in JSON Schema and OpenAPI to not allow for negative values."/>
275      <EntityType Name="License" BaseType="License.v1_0_1.License"/>
276    </Schema>
277
278    <Schema xmlns="http://docs.oasis-open.org/odata/ns/edm" Namespace="License.v1_0_3">
279      <Annotation Term="Redfish.OwningEntity" String="DMTF"/>
280      <Annotation Term="OData.Description" String="This version was created to correct various typographical errors."/>
281      <EntityType Name="License" BaseType="License.v1_0_2.License"/>
282    </Schema>
283
284    <Schema xmlns="http://docs.oasis-open.org/odata/ns/edm" Namespace="License.v1_1_0">
285      <Annotation Term="Redfish.OwningEntity" String="DMTF"/>
286      <Annotation Term="Redfish.Release" String="2022.3"/>
287
288      <EntityType Name="License" BaseType="License.v1_0_1.License"/>
289
290      <ComplexType Name="Links" BaseType="License.v1_0_0.Links">
291        <NavigationProperty Name="TargetServices" Type="Collection(Manager.Manager)">
292          <Annotation Term="OData.Permissions" EnumMember="OData.Permission/Read"/>
293          <Annotation Term="OData.Description" String="An array of links to the managers where the license is installed."/>
294          <Annotation Term="OData.LongDescription" String="This property shall contain an array of links to resources of type Manager that represent the services where the license is installed, such as remote Redfish services.  This property shall only be present in aggregators when the AuthorizationScope property contains `Service` or `Capacity`."/>
295        </NavigationProperty>
296      </ComplexType>
297    </Schema>
298
299    <Schema xmlns="http://docs.oasis-open.org/odata/ns/edm" Namespace="License.v1_1_1">
300      <Annotation Term="Redfish.OwningEntity" String="DMTF"/>
301      <Annotation Term="OData.Description" String="This version was created to correct the regular expression pattern for duration properties in JSON Schema and OpenAPI to not allow for negative values."/>
302      <EntityType Name="License" BaseType="License.v1_1_0.License"/>
303    </Schema>
304
305    <Schema xmlns="http://docs.oasis-open.org/odata/ns/edm" Namespace="License.v1_1_2">
306      <Annotation Term="Redfish.OwningEntity" String="DMTF"/>
307      <Annotation Term="OData.Description" String="This version was created to correct various typographical errors."/>
308      <EntityType Name="License" BaseType="License.v1_1_1.License"/>
309    </Schema>
310
311  </edmx:DataServices>
312</edmx:Edmx>
313