1<?xml version="1.0" encoding="UTF-8"?>
2<!---->
3<!--################################################################################       -->
4<!--# Redfish Schema:  SecureBoot 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-2024 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.v1_0_0"/>
22  </edmx:Reference>
23  <edmx:Reference Uri="http://redfish.dmtf.org/schemas/v1/RedfishExtensions_v1.xml">
24    <edmx:Include Namespace="RedfishExtensions.v1_0_0" Alias="Redfish"/>
25  </edmx:Reference>
26  <edmx:Reference Uri="http://redfish.dmtf.org/schemas/v1/SecureBootDatabaseCollection_v1.xml">
27    <edmx:Include Namespace="SecureBootDatabaseCollection"/>
28  </edmx:Reference>
29
30  <edmx:DataServices>
31
32    <Schema xmlns="http://docs.oasis-open.org/odata/ns/edm" Namespace="SecureBoot">
33      <Annotation Term="Redfish.OwningEntity" String="DMTF"/>
34      <Annotation Term="Redfish.Language" String="en"/>
35
36      <EntityType Name="SecureBoot" BaseType="Resource.v1_0_0.Resource" Abstract="true">
37        <Annotation Term="OData.Description" String="The `SecureBoot` schema contains UEFI Secure Boot information and represents properties for managing the UEFI Secure Boot functionality of a system."/>
38        <Annotation Term="OData.LongDescription" String="This resource contains UEFI Secure Boot information 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="true"/>
47            <Annotation Term="OData.Description" String="Secure Boot can be updated to enable or disable the service."/>
48          </Record>
49        </Annotation>
50        <Annotation Term="Capabilities.DeleteRestrictions">
51          <Record>
52            <PropertyValue Property="Deletable" Bool="false"/>
53          </Record>
54        </Annotation>
55        <Annotation Term="Redfish.Uris">
56          <Collection>
57            <String>/redfish/v1/Systems/{ComputerSystemId}/SecureBoot</String>
58            <String>/redfish/v1/CompositionService/ResourceBlocks/{ResourceBlockId}/Systems/{ComputerSystemId}/SecureBoot</String>
59            <String>/redfish/v1/ResourceBlocks/{ResourceBlockId}/Systems/{ComputerSystemId}/SecureBoot</String>
60          </Collection>
61        </Annotation>
62      </EntityType>
63
64      <Action Name="ResetKeys" IsBound="true">
65        <Annotation Term="OData.Description" String="This action resets the UEFI Secure Boot keys."/>
66        <Annotation Term="OData.LongDescription" String="This action shall reset the UEFI Secure Boot key databases.  The `ResetAllKeysToDefault` value shall reset all UEFI Secure Boot key databases to their default values.  The `DeleteAllKeys` value shall delete the contents of all UEFI Secure Boot key databases.  The `DeletePK` value shall delete the contents of the PK Secure Boot key database."/>
67        <Parameter Name="SecureBoot" Type="SecureBoot.v1_0_0.Actions"/>
68        <Parameter Name="ResetKeysType" Type="SecureBoot.v1_0_0.ResetKeysType" Nullable="false">
69          <Annotation Term="OData.Description" String="The type of reset or delete to perform on the UEFI Secure Boot databases."/>
70          <Annotation Term="OData.LongDescription" String="This parameter shall specify the type of reset or delete to perform on the UEFI Secure Boot databases."/>
71        </Parameter>
72      </Action>
73    </Schema>
74
75    <Schema xmlns="http://docs.oasis-open.org/odata/ns/edm" Namespace="SecureBoot.v1_0_0">
76      <Annotation Term="Redfish.OwningEntity" String="DMTF"/>
77      <Annotation Term="Redfish.Release" String="2016.1"/>
78
79      <EntityType Name="SecureBoot" BaseType="SecureBoot.SecureBoot">
80        <Property Name="SecureBootEnable" Type="Edm.Boolean">
81          <Annotation Term="OData.Permissions" EnumMember="OData.Permission/ReadWrite"/>
82          <Annotation Term="OData.Description" String="An indication of whether UEFI Secure Boot is enabled."/>
83          <Annotation Term="OData.LongDescription" String="This property shall indicate whether the UEFI Secure Boot takes effect on next boot.  This property can be enabled in UEFI boot mode only."/>
84        </Property>
85        <Property Name="SecureBootCurrentBoot" Type="SecureBoot.v1_0_0.SecureBootCurrentBootType">
86          <Annotation Term="OData.Permissions" EnumMember="OData.Permission/Read"/>
87          <Annotation Term="OData.Description" String="The UEFI Secure Boot state during the current boot cycle."/>
88          <Annotation Term="OData.LongDescription" String="This property shall indicate the UEFI Secure Boot state during the current boot cycle."/>
89        </Property>
90        <Property Name="SecureBootMode" Type="SecureBoot.v1_0_0.SecureBootModeType">
91          <Annotation Term="OData.Permissions" EnumMember="OData.Permission/Read"/>
92          <Annotation Term="OData.Description" String="The current UEFI Secure Boot Mode."/>
93          <Annotation Term="OData.LongDescription" String="This property shall contain the current UEFI Secure Boot mode, as defined in the UEFI Specification."/>
94        </Property>
95        <Property Name="Actions" Type="SecureBoot.v1_0_0.Actions" Nullable="false">
96          <Annotation Term="OData.Description" String="The available actions for this resource."/>
97          <Annotation Term="OData.LongDescription" String="This property shall contain the available actions for this resource."/>
98        </Property>
99      </EntityType>
100
101      <EnumType Name="SecureBootCurrentBootType">
102        <Member Name="Enabled">
103          <Annotation Term="OData.Description" String="UEFI Secure Boot is currently enabled."/>
104        </Member>
105        <Member Name="Disabled">
106          <Annotation Term="OData.Description" String="UEFI Secure Boot is currently disabled."/>
107        </Member>
108      </EnumType>
109
110      <EnumType Name="SecureBootModeType">
111        <Member Name="SetupMode">
112          <Annotation Term="OData.Description" String="UEFI Secure Boot is currently in Setup Mode."/>
113        </Member>
114        <Member Name="UserMode">
115          <Annotation Term="OData.Description" String="UEFI Secure Boot is currently in User Mode."/>
116        </Member>
117        <Member Name="AuditMode">
118          <Annotation Term="OData.Description" String="UEFI Secure Boot is currently in Audit Mode."/>
119        </Member>
120        <Member Name="DeployedMode">
121          <Annotation Term="OData.Description" String="UEFI Secure Boot is currently in Deployed Mode."/>
122        </Member>
123      </EnumType>
124
125      <EnumType Name="ResetKeysType">
126        <Member Name="ResetAllKeysToDefault">
127          <Annotation Term="OData.Description" String="Reset the contents of all UEFI Secure Boot key databases, including the PK key database, to the default values."/>
128        </Member>
129        <Member Name="DeleteAllKeys">
130          <Annotation Term="OData.Description" String="Delete the contents of all UEFI Secure Boot key databases, including the PK key database.  This puts the system in Setup Mode."/>
131        </Member>
132        <Member Name="DeletePK">
133          <Annotation Term="OData.Description" String="Delete the contents of the PK UEFI Secure Boot database.  This puts the system in Setup Mode."/>
134        </Member>
135      </EnumType>
136
137      <ComplexType Name="Actions">
138        <Annotation Term="OData.AdditionalProperties" Bool="false"/>
139        <Annotation Term="OData.Description" String="The available actions for this resource."/>
140        <Annotation Term="OData.LongDescription" String="This type shall contain the available actions for this resource."/>
141        <Property Name="Oem" Type="SecureBoot.v1_0_0.OemActions" Nullable="false">
142          <Annotation Term="OData.Description" String="The available OEM-specific actions for this resource."/>
143          <Annotation Term="OData.LongDescription" String="This property shall contain the available OEM-specific actions for this resource."/>
144        </Property>
145      </ComplexType>
146
147      <ComplexType Name="OemActions">
148        <Annotation Term="OData.AdditionalProperties" Bool="true"/>
149        <Annotation Term="OData.Description" String="The available OEM-specific actions for this resource."/>
150        <Annotation Term="OData.LongDescription" String="This type shall contain the available OEM-specific actions for this resource."/>
151      </ComplexType>
152    </Schema>
153
154    <Schema xmlns="http://docs.oasis-open.org/odata/ns/edm" Namespace="SecureBoot.v1_0_1">
155      <Annotation Term="Redfish.OwningEntity" String="DMTF"/>
156      <Annotation Term="OData.Description" String="This version was created to show that annotations in previous namespaces were updated."/>
157      <EntityType Name="SecureBoot" BaseType="SecureBoot.v1_0_0.SecureBoot"/>
158    </Schema>
159
160    <Schema xmlns="http://docs.oasis-open.org/odata/ns/edm" Namespace="SecureBoot.v1_0_2">
161      <Annotation Term="Redfish.OwningEntity" String="DMTF"/>
162      <Annotation Term="OData.Description" String="This version was created to show that annotations in previous namespaces were updated."/>
163      <EntityType Name="SecureBoot" BaseType="SecureBoot.v1_0_1.SecureBoot"/>
164    </Schema>
165
166    <Schema xmlns="http://docs.oasis-open.org/odata/ns/edm" Namespace="SecureBoot.v1_0_3">
167      <Annotation Term="Redfish.OwningEntity" String="DMTF"/>
168      <Annotation Term="OData.Description" String="This version was created to mark several action parameters as mandatory, and corrects the short and long descriptions in the defined actions."/>
169      <EntityType Name="SecureBoot" BaseType="SecureBoot.v1_0_2.SecureBoot"/>
170    </Schema>
171
172    <Schema xmlns="http://docs.oasis-open.org/odata/ns/edm" Namespace="SecureBoot.v1_0_4">
173      <Annotation Term="Redfish.OwningEntity" String="DMTF"/>
174      <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."/>
175      <EntityType Name="SecureBoot" BaseType="SecureBoot.v1_0_3.SecureBoot"/>
176    </Schema>
177
178    <Schema xmlns="http://docs.oasis-open.org/odata/ns/edm" Namespace="SecureBoot.v1_0_5">
179      <Annotation Term="Redfish.OwningEntity" String="DMTF"/>
180      <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."/>
181      <EntityType Name="SecureBoot" BaseType="SecureBoot.v1_0_4.SecureBoot"/>
182    </Schema>
183
184    <Schema xmlns="http://docs.oasis-open.org/odata/ns/edm" Namespace="SecureBoot.v1_0_6">
185      <Annotation Term="Redfish.OwningEntity" String="DMTF"/>
186      <Annotation Term="OData.Description" String="This version was created to update descriptions that this schema defines."/>
187      <EntityType Name="SecureBoot" BaseType="SecureBoot.v1_0_5.SecureBoot"/>
188    </Schema>
189
190    <Schema xmlns="http://docs.oasis-open.org/odata/ns/edm" Namespace="SecureBoot.v1_0_7">
191      <Annotation Term="Redfish.OwningEntity" String="DMTF"/>
192      <Annotation Term="OData.Description" String="This version was created to update descriptions as needed to reference UEFI Secure Boot databases."/>
193      <EntityType Name="SecureBoot" BaseType="SecureBoot.v1_0_6.SecureBoot"/>
194    </Schema>
195
196    <Schema xmlns="http://docs.oasis-open.org/odata/ns/edm" Namespace="SecureBoot.v1_0_8">
197      <Annotation Term="Redfish.OwningEntity" String="DMTF"/>
198      <Annotation Term="OData.Description" String="This version was created to correct various typographical errors."/>
199      <EntityType Name="SecureBoot" BaseType="SecureBoot.v1_0_7.SecureBoot"/>
200    </Schema>
201
202    <Schema xmlns="http://docs.oasis-open.org/odata/ns/edm" Namespace="SecureBoot.v1_0_9">
203      <Annotation Term="Redfish.OwningEntity" String="DMTF"/>
204      <Annotation Term="OData.Description" String="This version was created to force the regeneration of OpenAPI schemas to properly express nullable properties with external references.  It was also created to correct various typographical errors."/>
205      <EntityType Name="SecureBoot" BaseType="SecureBoot.v1_0_8.SecureBoot"/>
206    </Schema>
207
208    <Schema xmlns="http://docs.oasis-open.org/odata/ns/edm" Namespace="SecureBoot.v1_1_0">
209      <Annotation Term="Redfish.OwningEntity" String="DMTF"/>
210      <Annotation Term="Redfish.Release" String="2020.1"/>
211
212      <EntityType Name="SecureBoot" BaseType="SecureBoot.v1_0_7.SecureBoot">
213        <NavigationProperty Name="SecureBootDatabases" Type="SecureBootDatabaseCollection.SecureBootDatabaseCollection" ContainsTarget="true" Nullable="false">
214          <Annotation Term="OData.Permissions" EnumMember="OData.Permission/Read"/>
215          <Annotation Term="OData.Description" String="A link to the collection of UEFI Secure Boot databases."/>
216          <Annotation Term="OData.LongDescription" String="The value of this property shall be a link to a resource collection of type `SecureBootDatabaseCollection`."/>
217          <Annotation Term="OData.AutoExpandReferences"/>
218        </NavigationProperty>
219      </EntityType>
220    </Schema>
221
222    <Schema xmlns="http://docs.oasis-open.org/odata/ns/edm" Namespace="SecureBoot.v1_1_1">
223      <Annotation Term="Redfish.OwningEntity" String="DMTF"/>
224      <Annotation Term="OData.Description" String="This version was created to correct various typographical errors."/>
225      <EntityType Name="SecureBoot" BaseType="SecureBoot.v1_1_0.SecureBoot"/>
226    </Schema>
227
228    <Schema xmlns="http://docs.oasis-open.org/odata/ns/edm" Namespace="SecureBoot.v1_1_2">
229      <Annotation Term="Redfish.OwningEntity" String="DMTF"/>
230      <Annotation Term="OData.Description" String="This version was created to force the regeneration of OpenAPI schemas to properly express nullable properties with external references.  It was also created to correct various typographical errors."/>
231      <EntityType Name="SecureBoot" BaseType="SecureBoot.v1_1_1.SecureBoot"/>
232    </Schema>
233
234  </edmx:DataServices>
235</edmx:Edmx>
236