blob: ca0511971aaeb45b06d59d5e88a1c47d5aa62444 [file] [log] [blame]
Lewanczyk, Dawidc5b2abe2018-05-30 16:59:42 +02001<?xml version="1.0" encoding="UTF-8"?>
2<!---->
3<!--################################################################################ -->
Gunnar Mills262d7d42021-01-20 16:28:41 -06004<!--# Redfish Schema: SoftwareInventory v1.4.0 -->
Lewanczyk, Dawidc5b2abe2018-05-30 16:59:42 +02005<!--# -->
6<!--# For a detailed change log, see the README file contained in the DSP8010 bundle, -->
7<!--# available at http://www.dmtf.org/standards/redfish -->
Gunnar Mills10f270b2021-05-19 15:34:06 -05008<!--# Copyright 2014-2021 DMTF. -->
Lewanczyk, Dawidc5b2abe2018-05-30 16:59:42 +02009<!--# 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>
Ed Tanous530520e2019-01-02 13:41:37 -080017 <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>
Lewanczyk, Dawidc5b2abe2018-05-30 16:59:42 +020020 <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"/>
Gunnar Mills262d7d42021-01-20 16:28:41 -060026 <edmx:Include Namespace="Validation.v1_0_0" Alias="Validation"/>
Lewanczyk, Dawidc5b2abe2018-05-30 16:59:42 +020027 </edmx:Reference>
28
29 <edmx:DataServices>
30
31 <Schema xmlns="http://docs.oasis-open.org/odata/ns/edm" Namespace="SoftwareInventory">
32 <Annotation Term="Redfish.OwningEntity" String="DMTF"/>
33
34 <EntityType Name="SoftwareInventory" BaseType="Resource.v1_0_0.Resource" Abstract="true">
Ed Tanouscb103132019-10-08 11:34:22 -070035 <Annotation Term="OData.Description" String="The SoftwareInventory schema contains an inventory of software components. This can include software components such as BIOS, BMC firmware, firmware for other devices, system drivers, or provider software."/>
36 <Annotation Term="OData.LongDescription" String="This Resource contains a single software component that this Redfish Service manages."/>
Ed Tanous530520e2019-01-02 13:41:37 -080037 <Annotation Term="Capabilities.InsertRestrictions">
38 <Record>
39 <PropertyValue Property="Insertable" Bool="false"/>
40 </Record>
41 </Annotation>
42 <Annotation Term="Capabilities.UpdateRestrictions">
43 <Record>
Asmitha Karunanithic8ccb772020-09-22 10:56:46 -050044 <PropertyValue Property="Updatable" Bool="true"/>
Ed Tanous530520e2019-01-02 13:41:37 -080045 </Record>
46 </Annotation>
47 <Annotation Term="Capabilities.DeleteRestrictions">
48 <Record>
49 <PropertyValue Property="Deletable" Bool="false"/>
50 </Record>
51 </Annotation>
52 <Annotation Term="Redfish.Uris">
53 <Collection>
54 <String>/redfish/v1/UpdateService/SoftwareInventory/{SoftwareInventoryId}</String>
55 <String>/redfish/v1/UpdateService/FirmwareInventory/{SoftwareInventoryId}</String>
56 </Collection>
57 </Annotation>
Lewanczyk, Dawidc5b2abe2018-05-30 16:59:42 +020058 </EntityType>
59
Gunnar Mills262d7d42021-01-20 16:28:41 -060060 <ComplexType Name="MeasurementBlock" Abstract="true">
61 <Annotation Term="OData.AdditionalProperties" Bool="false"/>
62 <Annotation Term="OData.Description" String="The DSP0274-defined measurement block information."/>
63 <Annotation Term="OData.LongDescription" String="This type shall describe a DSP0274-defined measurement block."/>
64 </ComplexType>
Lewanczyk, Dawidc5b2abe2018-05-30 16:59:42 +020065 </Schema>
66
67 <Schema xmlns="http://docs.oasis-open.org/odata/ns/edm" Namespace="SoftwareInventory.v1_0_0">
68 <Annotation Term="Redfish.OwningEntity" String="DMTF"/>
Marri Devender Raod45d2d02019-01-21 10:11:34 -060069 <Annotation Term="Redfish.Release" String="2016.2"/>
Lewanczyk, Dawidc5b2abe2018-05-30 16:59:42 +020070
71 <EntityType Name="SoftwareInventory" BaseType="SoftwareInventory.SoftwareInventory">
Ed Tanous530520e2019-01-02 13:41:37 -080072 <Property Name="Status" Type="Resource.Status" Nullable="false">
Ed Tanouscb103132019-10-08 11:34:22 -070073 <Annotation Term="OData.Description" String="The status and health of the Resource and its subordinate or dependent Resources."/>
74 <Annotation Term="OData.LongDescription" String="This property shall contain any status or health properties of the Resource."/>
Ed Tanous530520e2019-01-02 13:41:37 -080075 </Property>
Lewanczyk, Dawidc5b2abe2018-05-30 16:59:42 +020076 <Property Name="Version" Type="Edm.String">
77 <Annotation Term="OData.Permissions" EnumMember="OData.Permission/Read"/>
Ed Tanouscb103132019-10-08 11:34:22 -070078 <Annotation Term="OData.Description" String="The version of this software."/>
79 <Annotation Term="OData.LongDescription" String="This property shall contain the version of this software."/>
Lewanczyk, Dawidc5b2abe2018-05-30 16:59:42 +020080 </Property>
81 <Property Name="Updateable" Type="Edm.Boolean">
82 <Annotation Term="OData.Permissions" EnumMember="OData.Permission/Read"/>
Ed Tanouscb103132019-10-08 11:34:22 -070083 <Annotation Term="OData.Description" String="An indication of whether the Update Service can update this software."/>
84 <Annotation Term="OData.LongDescription" String="This property shall indicate whether the Update Service can update this software. If `true`, the Service can update this software. If `false`, the Service cannot update this software and the software is for reporting purposes only."/>
Lewanczyk, Dawidc5b2abe2018-05-30 16:59:42 +020085 </Property>
86 <Property Name="Actions" Type="SoftwareInventory.v1_0_0.Actions" Nullable="false">
Ed Tanouscb103132019-10-08 11:34:22 -070087 <Annotation Term="OData.Description" String="The available actions for this Resource."/>
88 <Annotation Term="OData.LongDescription" String="This property shall contain the available actions for this Resource."/>
Lewanczyk, Dawidc5b2abe2018-05-30 16:59:42 +020089 </Property>
90 </EntityType>
91
92 <ComplexType Name="Actions">
93 <Annotation Term="OData.AdditionalProperties" Bool="false"/>
Ed Tanouscb103132019-10-08 11:34:22 -070094 <Annotation Term="OData.Description" String="The available actions for this Resource."/>
95 <Annotation Term="OData.LongDescription" String="This type shall contain the available actions for this Resource."/>
Ed Tanous530520e2019-01-02 13:41:37 -080096 <Property Name="Oem" Type="SoftwareInventory.v1_0_0.OemActions" Nullable="false">
Ed Tanouscb103132019-10-08 11:34:22 -070097 <Annotation Term="OData.Description" String="The available OEM-specific actions for this Resource."/>
98 <Annotation Term="OData.LongDescription" String="This property shall contain the available OEM-specific actions for this Resource."/>
Ed Tanous530520e2019-01-02 13:41:37 -080099 </Property>
Lewanczyk, Dawidc5b2abe2018-05-30 16:59:42 +0200100 </ComplexType>
101
102 <ComplexType Name="OemActions">
103 <Annotation Term="OData.AdditionalProperties" Bool="true"/>
Ed Tanouscb103132019-10-08 11:34:22 -0700104 <Annotation Term="OData.Description" String="The available OEM-specific actions for this Resource."/>
105 <Annotation Term="OData.LongDescription" String="This type shall contain the available OEM-specific actions for this Resource."/>
Lewanczyk, Dawidc5b2abe2018-05-30 16:59:42 +0200106 </ComplexType>
107
108 </Schema>
109
110 <Schema xmlns="http://docs.oasis-open.org/odata/ns/edm" Namespace="SoftwareInventory.v1_0_1">
111 <Annotation Term="Redfish.OwningEntity" String="DMTF"/>
Ed Tanouscb103132019-10-08 11:34:22 -0700112 <Annotation Term="OData.Description" String="This version was created to show that annotations in previous namespaces were updated."/>
Lewanczyk, Dawidc5b2abe2018-05-30 16:59:42 +0200113 <EntityType Name="SoftwareInventory" BaseType="SoftwareInventory.v1_0_0.SoftwareInventory"/>
114 </Schema>
115
116 <Schema xmlns="http://docs.oasis-open.org/odata/ns/edm" Namespace="SoftwareInventory.v1_0_2">
117 <Annotation Term="Redfish.OwningEntity" String="DMTF"/>
Ed Tanouscb103132019-10-08 11:34:22 -0700118 <Annotation Term="OData.Description" String="This version was created to show that annotations in previous namespaces were updated."/>
Lewanczyk, Dawidc5b2abe2018-05-30 16:59:42 +0200119 <EntityType Name="SoftwareInventory" BaseType="SoftwareInventory.v1_0_1.SoftwareInventory"/>
120 </Schema>
121
Ed Tanous530520e2019-01-02 13:41:37 -0800122 <Schema xmlns="http://docs.oasis-open.org/odata/ns/edm" Namespace="SoftwareInventory.v1_0_3">
123 <Annotation Term="Redfish.OwningEntity" String="DMTF"/>
124 <Annotation Term="OData.Description" String="This version was created to force the regeneration of JSON Schema so that OData properties are marked as required, and integer properties are marked as integer rather than number."/>
125 <EntityType Name="SoftwareInventory" BaseType="SoftwareInventory.v1_0_2.SoftwareInventory"/>
126 </Schema>
127
Ed Tanouscb103132019-10-08 11:34:22 -0700128 <Schema xmlns="http://docs.oasis-open.org/odata/ns/edm" Namespace="SoftwareInventory.v1_0_4">
129 <Annotation Term="Redfish.OwningEntity" String="DMTF"/>
130 <Annotation Term="OData.Description" String="This version was created to force the regeneration of JSON Schema so that URI properties use the uri-reference format."/>
131 <EntityType Name="SoftwareInventory" BaseType="SoftwareInventory.v1_0_3.SoftwareInventory"/>
132 </Schema>
133
134 <Schema xmlns="http://docs.oasis-open.org/odata/ns/edm" Namespace="SoftwareInventory.v1_0_5">
135 <Annotation Term="Redfish.OwningEntity" String="DMTF"/>
136 <Annotation Term="OData.Description" String="This version was created to update descriptions that this schema defines."/>
137 <EntityType Name="SoftwareInventory" BaseType="SoftwareInventory.v1_0_4.SoftwareInventory"/>
138 </Schema>
139
Lewanczyk, Dawidc5b2abe2018-05-30 16:59:42 +0200140 <Schema xmlns="http://docs.oasis-open.org/odata/ns/edm" Namespace="SoftwareInventory.v1_1_0">
141 <Annotation Term="Redfish.OwningEntity" String="DMTF"/>
Marri Devender Raod45d2d02019-01-21 10:11:34 -0600142 <Annotation Term="Redfish.Release" String="2016.3"/>
Lewanczyk, Dawidc5b2abe2018-05-30 16:59:42 +0200143 <EntityType Name="SoftwareInventory" BaseType="SoftwareInventory.v1_0_1.SoftwareInventory">
144 <Property Name="SoftwareId" Type="Edm.String" Nullable="false">
145 <Annotation Term="OData.Permissions" EnumMember="OData.Permission/Read"/>
Ed Tanouscb103132019-10-08 11:34:22 -0700146 <Annotation Term="OData.Description" String="The implementation-specific label that identifies this software."/>
147 <Annotation Term="OData.LongDescription" String="This property shall represent an implementation-specific label that identifies this software. This string correlates with a component repository or database."/>
Lewanczyk, Dawidc5b2abe2018-05-30 16:59:42 +0200148 </Property>
149 <Property Name="LowestSupportedVersion" Type="Edm.String">
150 <Annotation Term="OData.Permissions" EnumMember="OData.Permission/Read"/>
Ed Tanouscb103132019-10-08 11:34:22 -0700151 <Annotation Term="OData.Description" String="The lowest supported version of this software."/>
152 <Annotation Term="OData.LongDescription" String="This property shall represent the lowest supported version of this software. This string is formatted using the same format used for the Version property."/>
Lewanczyk, Dawidc5b2abe2018-05-30 16:59:42 +0200153 </Property>
154 <Property Name="UefiDevicePaths" Type="Collection(Edm.String)">
155 <Annotation Term="OData.Permissions" EnumMember="OData.Permission/Read"/>
Ed Tanouscb103132019-10-08 11:34:22 -0700156 <Annotation Term="OData.Description" String="The list of UEFI device paths of the components associated with this software inventory item."/>
157 <Annotation Term="OData.LongDescription" String="This property shall contain a list UEFI device paths of the components associated with this software inventory item. The UEFI device paths shall be formatted as defined by the UEFI Specification."/>
Lewanczyk, Dawidc5b2abe2018-05-30 16:59:42 +0200158 </Property>
159 <NavigationProperty Name="RelatedItem" Type="Collection(Resource.Item)">
160 <Annotation Term="OData.Permissions" EnumMember="OData.Permission/Read"/>
Ed Tanouscb103132019-10-08 11:34:22 -0700161 <Annotation Term="OData.Description" String="The IDs of the Resources associated with this software inventory item."/>
162 <Annotation Term="OData.LongDescription" String="This property shall contain an array of IDs for pointers consistent with JSON Pointer syntax to the Resource that is associated with this software inventory item."/>
Lewanczyk, Dawidc5b2abe2018-05-30 16:59:42 +0200163 <Annotation Term="OData.AutoExpandReferences"/>
164 </NavigationProperty>
165 </EntityType>
166 </Schema>
167
168 <Schema xmlns="http://docs.oasis-open.org/odata/ns/edm" Namespace="SoftwareInventory.v1_1_1">
169 <Annotation Term="Redfish.OwningEntity" String="DMTF"/>
Ed Tanouscb103132019-10-08 11:34:22 -0700170 <Annotation Term="OData.Description" String="This version was created to show that annotations in previous namespaces were updated."/>
Lewanczyk, Dawidc5b2abe2018-05-30 16:59:42 +0200171 <EntityType Name="SoftwareInventory" BaseType="SoftwareInventory.v1_1_0.SoftwareInventory"/>
172 </Schema>
173
Ed Tanous530520e2019-01-02 13:41:37 -0800174 <Schema xmlns="http://docs.oasis-open.org/odata/ns/edm" Namespace="SoftwareInventory.v1_1_2">
175 <Annotation Term="Redfish.OwningEntity" String="DMTF"/>
176 <Annotation Term="OData.Description" String="This version was created to force the regeneration of JSON Schema so that OData properties are marked as required, and integer properties are marked as integer rather than number."/>
177 <EntityType Name="SoftwareInventory" BaseType="SoftwareInventory.v1_1_1.SoftwareInventory"/>
178 </Schema>
179
Ed Tanouscb103132019-10-08 11:34:22 -0700180 <Schema xmlns="http://docs.oasis-open.org/odata/ns/edm" Namespace="SoftwareInventory.v1_1_3">
181 <Annotation Term="Redfish.OwningEntity" String="DMTF"/>
182 <Annotation Term="OData.Description" String="This version was created to force the regeneration of JSON Schema so that URI properties use the uri-reference format."/>
183 <EntityType Name="SoftwareInventory" BaseType="SoftwareInventory.v1_1_2.SoftwareInventory"/>
184 </Schema>
185
186 <Schema xmlns="http://docs.oasis-open.org/odata/ns/edm" Namespace="SoftwareInventory.v1_1_4">
187 <Annotation Term="Redfish.OwningEntity" String="DMTF"/>
188 <Annotation Term="OData.Description" String="This version was created to update descriptions that this schema defines."/>
189 <EntityType Name="SoftwareInventory" BaseType="SoftwareInventory.v1_1_3.SoftwareInventory"/>
190 </Schema>
191
Lewanczyk, Dawidc5b2abe2018-05-30 16:59:42 +0200192 <Schema xmlns="http://docs.oasis-open.org/odata/ns/edm" Namespace="SoftwareInventory.v1_2_0">
193 <Annotation Term="Redfish.OwningEntity" String="DMTF"/>
Marri Devender Raod45d2d02019-01-21 10:11:34 -0600194 <Annotation Term="Redfish.Release" String="2018.1"/>
Lewanczyk, Dawidc5b2abe2018-05-30 16:59:42 +0200195 <Annotation Term="OData.Description" String="This version was created to add Manufacturer and ReleaseDate properties."/>
196 <EntityType Name="SoftwareInventory" BaseType="SoftwareInventory.v1_1_1.SoftwareInventory">
197 <Property Name="Manufacturer" Type="Edm.String">
198 <Annotation Term="OData.Permissions" EnumMember="OData.Permission/Read"/>
Ed Tanouscb103132019-10-08 11:34:22 -0700199 <Annotation Term="OData.Description" String="The manufacturer or producer of this software."/>
200 <Annotation Term="OData.LongDescription" String="This property shall represent the name of the manufacturer or producer of this software."/>
Lewanczyk, Dawidc5b2abe2018-05-30 16:59:42 +0200201 </Property>
202 <Property Name="ReleaseDate" Type="Edm.DateTimeOffset">
203 <Annotation Term="OData.Permissions" EnumMember="OData.Permission/Read"/>
Ed Tanouscb103132019-10-08 11:34:22 -0700204 <Annotation Term="OData.Description" String="The release date of this software."/>
205 <Annotation Term="OData.LongDescription" String="This property shall contain the date of release or production for this software. If the time of day is unknown, the time of day portion of the property shall contain `00:00:00Z`."/>
Lewanczyk, Dawidc5b2abe2018-05-30 16:59:42 +0200206 </Property>
207 </EntityType>
208 </Schema>
209
Ed Tanous530520e2019-01-02 13:41:37 -0800210 <Schema xmlns="http://docs.oasis-open.org/odata/ns/edm" Namespace="SoftwareInventory.v1_2_1">
211 <Annotation Term="Redfish.OwningEntity" String="DMTF"/>
Ed Tanouscb103132019-10-08 11:34:22 -0700212 <Annotation Term="OData.Description" String="This version was created to force the regeneration of JSON Schema so that OData properties are marked as required, and integer properties are marked as integer rather than number. It also clarifies the time of day portion of the ReleaseDate property."/>
Ed Tanous530520e2019-01-02 13:41:37 -0800213 <EntityType Name="SoftwareInventory" BaseType="SoftwareInventory.v1_2_0.SoftwareInventory"/>
214 </Schema>
215
Ed Tanouscb103132019-10-08 11:34:22 -0700216 <Schema xmlns="http://docs.oasis-open.org/odata/ns/edm" Namespace="SoftwareInventory.v1_2_2">
217 <Annotation Term="Redfish.OwningEntity" String="DMTF"/>
218 <Annotation Term="OData.Description" String="This version was created to force the regeneration of JSON Schema so that URI properties use the uri-reference format."/>
219 <EntityType Name="SoftwareInventory" BaseType="SoftwareInventory.v1_2_1.SoftwareInventory"/>
220 </Schema>
221
222 <Schema xmlns="http://docs.oasis-open.org/odata/ns/edm" Namespace="SoftwareInventory.v1_2_3">
223 <Annotation Term="Redfish.OwningEntity" String="DMTF"/>
224 <Annotation Term="OData.Description" String="This version was created to update descriptions that this schema defines."/>
225 <EntityType Name="SoftwareInventory" BaseType="SoftwareInventory.v1_2_2.SoftwareInventory"/>
226 </Schema>
227
Gunnar Millsa778c022020-05-12 12:20:36 -0500228 <Schema xmlns="http://docs.oasis-open.org/odata/ns/edm" Namespace="SoftwareInventory.v1_3_0">
229 <Annotation Term="Redfish.OwningEntity" String="DMTF"/>
230 <Annotation Term="Redfish.Release" String="2020.1"/>
231 <Annotation Term="OData.Description" String="This version was created to add WriteProtected property."/>
232
233 <EntityType Name="SoftwareInventory" BaseType="SoftwareInventory.v1_2_3.SoftwareInventory">
234 <Property Name="WriteProtected" Type="Edm.Boolean">
235 <Annotation Term="OData.Permissions" EnumMember="OData.Permission/ReadWrite"/>
236 <Annotation Term="OData.Description" String="Indicates if the software is write-protected."/>
237 <Annotation Term="OData.LongDescription" String="This property shall indicate whether the software image can be overwritten, where a value `true` shall indicate that the software cannot be altered or overwritten."/>
238 </Property>
239 </EntityType>
240 </Schema>
241
Gunnar Mills262d7d42021-01-20 16:28:41 -0600242 <Schema xmlns="http://docs.oasis-open.org/odata/ns/edm" Namespace="SoftwareInventory.v1_4_0">
243 <Annotation Term="Redfish.OwningEntity" String="DMTF"/>
244 <Annotation Term="Redfish.Release" String="2020.4"/>
245 <Annotation Term="OData.Description" String="This version was created to add Measurement property in support of DSP0274."/>
246
247 <EntityType Name="SoftwareInventory" BaseType="SoftwareInventory.v1_3_0.SoftwareInventory">
248 <Property Name="Measurement" Type="SoftwareInventory.MeasurementBlock" Nullable="false">
249 <Annotation Term="OData.Description" String="A DSP0274-defined measurement block."/>
250 <Annotation Term="OData.LongDescription" String="This property shall contain a DSP0274-defined measurement block."/>
251 </Property>
252 </EntityType>
253
254 <ComplexType Name="MeasurementBlock" BaseType="SoftwareInventory.MeasurementBlock">
255 <Property Name="MeasurementSpecification" Type="Edm.Int64">
256 <Annotation Term="OData.Permissions" EnumMember="OData.Permission/Read"/>
257 <Annotation Term="OData.Description" String="The DSP0274-defined MeasurementSpecification field of the measurement block."/>
258 <Annotation Term="OData.LongDescription" String="This property shall contain the value of DSP0274-defined MeasurementSpecification field of the measurement block."/>
259 </Property>
260 <Property Name="MeasurementSize" Type="Edm.Int64">
261 <Annotation Term="OData.Permissions" EnumMember="OData.Permission/Read"/>
262 <Annotation Term="OData.Description" String="The DSP0274-defined MeasurementSize field of the measurement block."/>
263 <Annotation Term="OData.LongDescription" String="This property shall contain the value of DSP0274-defined MeasurementSize field of the measurement block."/>
264 </Property>
265 <Property Name="Measurement" Type="Edm.String">
266 <Annotation Term="OData.Permissions" EnumMember="OData.Permission/Read"/>
267 <Annotation Term="OData.Description" String="The hexadecimal string representation of the numeric value of the DSP0274-defined Measurement field of the measurement block."/>
268 <Annotation Term="OData.LongDescription" String="This property shall contain the value of the hexadecimal string representation of the numeric value of the DSP0274-defined Measurement field of the measurement block."/>
269 <Annotation Term="Validation.Pattern" String="^[0-9a-fA-F]+$"/>
270 </Property>
271 </ComplexType>
272 </Schema>
273
Lewanczyk, Dawidc5b2abe2018-05-30 16:59:42 +0200274 </edmx:DataServices>
275</edmx:Edmx>