1*2bde4061SEd Tanous<?xml version="1.0" encoding="UTF-8"?>
2*2bde4061SEd Tanous<!---->
3*2bde4061SEd Tanous<!--################################################################################       -->
4*2bde4061SEd Tanous<!--# Redfish Schema:  SecureBootDatabase v1.0.2                                           -->
5*2bde4061SEd Tanous<!--#                                                                                      -->
6*2bde4061SEd Tanous<!--# For a detailed change log, see the README file contained in the DSP8010 bundle,      -->
7*2bde4061SEd Tanous<!--# available at http://www.dmtf.org/standards/redfish                                   -->
8*2bde4061SEd Tanous<!--# Copyright 2014-2023 DMTF.                                                            -->
9*2bde4061SEd Tanous<!--# For the full DMTF copyright policy, see http://www.dmtf.org/about/policies/copyright -->
10*2bde4061SEd Tanous<!--################################################################################       -->
11*2bde4061SEd Tanous<!---->
12*2bde4061SEd Tanous<edmx:Edmx xmlns:edmx="http://docs.oasis-open.org/odata/ns/edmx" Version="4.0">
13*2bde4061SEd Tanous
14*2bde4061SEd Tanous  <edmx:Reference Uri="http://docs.oasis-open.org/odata/odata/v4.0/errata03/csd01/complete/vocabularies/Org.OData.Core.V1.xml">
15*2bde4061SEd Tanous    <edmx:Include Namespace="Org.OData.Core.V1" Alias="OData"/>
16*2bde4061SEd Tanous  </edmx:Reference>
17*2bde4061SEd Tanous  <edmx:Reference Uri="http://docs.oasis-open.org/odata/odata/v4.0/errata03/csd01/complete/vocabularies/Org.OData.Capabilities.V1.xml">
18*2bde4061SEd Tanous    <edmx:Include Namespace="Org.OData.Capabilities.V1" Alias="Capabilities"/>
19*2bde4061SEd Tanous  </edmx:Reference>
20*2bde4061SEd Tanous  <edmx:Reference Uri="http://redfish.dmtf.org/schemas/v1/Resource_v1.xml">
21*2bde4061SEd Tanous    <edmx:Include Namespace="Resource.v1_0_0"/>
22*2bde4061SEd Tanous  </edmx:Reference>
23*2bde4061SEd Tanous  <edmx:Reference Uri="http://redfish.dmtf.org/schemas/v1/RedfishExtensions_v1.xml">
24*2bde4061SEd Tanous    <edmx:Include Namespace="RedfishExtensions.v1_0_0" Alias="Redfish"/>
25*2bde4061SEd Tanous  </edmx:Reference>
26*2bde4061SEd Tanous  <edmx:Reference Uri="http://redfish.dmtf.org/schemas/v1/CertificateCollection_v1.xml">
27*2bde4061SEd Tanous    <edmx:Include Namespace="CertificateCollection"/>
28*2bde4061SEd Tanous  </edmx:Reference>
29*2bde4061SEd Tanous  <edmx:Reference Uri="http://redfish.dmtf.org/schemas/v1/SignatureCollection_v1.xml">
30*2bde4061SEd Tanous    <edmx:Include Namespace="SignatureCollection"/>
31*2bde4061SEd Tanous  </edmx:Reference>
32*2bde4061SEd Tanous
33*2bde4061SEd Tanous  <edmx:DataServices>
34*2bde4061SEd Tanous
35*2bde4061SEd Tanous    <Schema xmlns="http://docs.oasis-open.org/odata/ns/edm" Namespace="SecureBootDatabase">
36*2bde4061SEd Tanous      <Annotation Term="Redfish.OwningEntity" String="DMTF"/>
37*2bde4061SEd Tanous
38*2bde4061SEd Tanous      <EntityType Name="SecureBootDatabase" BaseType="Resource.v1_0_0.Resource" Abstract="true">
39*2bde4061SEd Tanous        <Annotation Term="OData.Description" String="The SecureBootDatabase schema describes a UEFI Secure Boot database used to store certificates or hashes."/>
40*2bde4061SEd Tanous        <Annotation Term="OData.LongDescription" String="This resource shall be used to represent a UEFI Secure Boot database for a Redfish implementation."/>
41*2bde4061SEd Tanous        <Annotation Term="Capabilities.InsertRestrictions">
42*2bde4061SEd Tanous          <Record>
43*2bde4061SEd Tanous            <PropertyValue Property="Insertable" Bool="false"/>
44*2bde4061SEd Tanous          </Record>
45*2bde4061SEd Tanous        </Annotation>
46*2bde4061SEd Tanous        <Annotation Term="Capabilities.UpdateRestrictions">
47*2bde4061SEd Tanous          <Record>
48*2bde4061SEd Tanous            <PropertyValue Property="Updatable" Bool="false"/>
49*2bde4061SEd Tanous          </Record>
50*2bde4061SEd Tanous        </Annotation>
51*2bde4061SEd Tanous        <Annotation Term="Capabilities.DeleteRestrictions">
52*2bde4061SEd Tanous          <Record>
53*2bde4061SEd Tanous            <PropertyValue Property="Deletable" Bool="false"/>
54*2bde4061SEd Tanous          </Record>
55*2bde4061SEd Tanous        </Annotation>
56*2bde4061SEd Tanous        <Annotation Term="Redfish.Uris">
57*2bde4061SEd Tanous          <Collection>
58*2bde4061SEd Tanous            <String>/redfish/v1/Systems/{ComputerSystemId}/SecureBoot/SecureBootDatabases/{DatabaseId}</String>
59*2bde4061SEd Tanous            <String>/redfish/v1/CompositionService/ResourceBlocks/{ResourceBlockId}/Systems/{ComputerSystemId}/SecureBoot/SecureBootDatabases/{DatabaseId}</String>
60*2bde4061SEd Tanous            <String>/redfish/v1/ResourceBlocks/{ResourceBlockId}/Systems/{ComputerSystemId}/SecureBoot/SecureBootDatabases/{DatabaseId}</String>
61*2bde4061SEd Tanous          </Collection>
62*2bde4061SEd Tanous        </Annotation>
63*2bde4061SEd Tanous      </EntityType>
64*2bde4061SEd Tanous
65*2bde4061SEd Tanous      <Action Name="ResetKeys" IsBound="true">
66*2bde4061SEd Tanous        <Annotation Term="OData.Description" String="This action is used to reset the UEFI Secure Boot keys of this database."/>
67*2bde4061SEd Tanous        <Annotation Term="OData.LongDescription" String="This action shall perform a reset of this UEFI Secure Boot key database.  The `ResetAllKeysToDefault` value shall reset this UEFI Secure Boot key database to the default values.  The `DeleteAllKeys` value shall delete the contents of this UEFI Secure Boot key database."/>
68*2bde4061SEd Tanous        <Parameter Name="SecureBootDatabase" Type="SecureBootDatabase.v1_0_0.Actions"/>
69*2bde4061SEd Tanous        <Parameter Name="ResetKeysType" Type="SecureBootDatabase.v1_0_0.ResetKeysType" Nullable="false">
70*2bde4061SEd Tanous          <Annotation Term="OData.Description" String="The type of reset or delete to perform on this UEFI Secure Boot database."/>
71*2bde4061SEd Tanous          <Annotation Term="OData.LongDescription" String="This parameter shall specify the type of reset or delete to perform on this UEFI Secure Boot database."/>
72*2bde4061SEd Tanous        </Parameter>
73*2bde4061SEd Tanous      </Action>
74*2bde4061SEd Tanous    </Schema>
75*2bde4061SEd Tanous
76*2bde4061SEd Tanous    <Schema xmlns="http://docs.oasis-open.org/odata/ns/edm" Namespace="SecureBootDatabase.v1_0_0">
77*2bde4061SEd Tanous      <Annotation Term="Redfish.OwningEntity" String="DMTF"/>
78*2bde4061SEd Tanous      <Annotation Term="Redfish.Release" String="2020.1"/>
79*2bde4061SEd Tanous
80*2bde4061SEd Tanous      <EntityType Name="SecureBootDatabase" BaseType="SecureBootDatabase.SecureBootDatabase">
81*2bde4061SEd Tanous        <Property Name="DatabaseId" Type="Edm.String" Nullable="false">
82*2bde4061SEd Tanous          <Annotation Term="OData.Permissions" EnumMember="OData.Permission/Read"/>
83*2bde4061SEd Tanous          <Annotation Term="OData.Description" String="This property contains the name of the UEFI Secure Boot database."/>
84*2bde4061SEd Tanous          <Annotation Term="OData.LongDescription" String="This property shall contain the name of the UEFI Secure Boot database.  This property shall contain the same value as the Id property.  The value shall be one of the UEFI-defined Secure Boot databases: `PK`, `KEK` `db`, `dbx`, `dbr`, `dbt`, `PKDefault`, `KEKDefault`, `dbDefault`, `dbxDefault`, `dbrDefault`, or `dbtDefault`."/>
85*2bde4061SEd Tanous        </Property>
86*2bde4061SEd Tanous        <Property Name="Actions" Type="SecureBootDatabase.v1_0_0.Actions" Nullable="false">
87*2bde4061SEd Tanous          <Annotation Term="OData.Description" String="The available actions for this resource."/>
88*2bde4061SEd Tanous          <Annotation Term="OData.LongDescription" String="This property shall contain the available actions for this resource."/>
89*2bde4061SEd Tanous        </Property>
90*2bde4061SEd Tanous        <NavigationProperty Name="Certificates" Type="CertificateCollection.CertificateCollection" ContainsTarget="true" Nullable="false">
91*2bde4061SEd Tanous          <Annotation Term="OData.Permissions" EnumMember="OData.Permission/Read"/>
92*2bde4061SEd Tanous          <Annotation Term="OData.Description" String="A link to the collection of certificates contained in this UEFI Secure Boot database."/>
93*2bde4061SEd Tanous          <Annotation Term="OData.LongDescription" String="The value of this property shall be a link to a resource collection of type CertificateCollection."/>
94*2bde4061SEd Tanous          <Annotation Term="OData.AutoExpandReferences"/>
95*2bde4061SEd Tanous        </NavigationProperty>
96*2bde4061SEd Tanous        <NavigationProperty Name="Signatures" Type="SignatureCollection.SignatureCollection" ContainsTarget="true" Nullable="false">
97*2bde4061SEd Tanous          <Annotation Term="OData.Permissions" EnumMember="OData.Permission/Read"/>
98*2bde4061SEd Tanous          <Annotation Term="OData.Description" String="A link to the collection of signatures contained in this UEFI Secure Boot database."/>
99*2bde4061SEd Tanous          <Annotation Term="OData.LongDescription" String="The value of this property shall be a link to a resource collection of type SignatureCollection."/>
100*2bde4061SEd Tanous          <Annotation Term="OData.AutoExpandReferences"/>
101*2bde4061SEd Tanous        </NavigationProperty>
102*2bde4061SEd Tanous      </EntityType>
103*2bde4061SEd Tanous
104*2bde4061SEd Tanous      <EnumType Name="ResetKeysType">
105*2bde4061SEd Tanous        <Member Name="ResetAllKeysToDefault">
106*2bde4061SEd Tanous          <Annotation Term="OData.Description" String="Reset the contents of this UEFI Secure Boot key database to the default values."/>
107*2bde4061SEd Tanous        </Member>
108*2bde4061SEd Tanous        <Member Name="DeleteAllKeys">
109*2bde4061SEd Tanous          <Annotation Term="OData.Description" String="Delete the contents of this UEFI Secure Boot key database."/>
110*2bde4061SEd Tanous        </Member>
111*2bde4061SEd Tanous      </EnumType>
112*2bde4061SEd Tanous
113*2bde4061SEd Tanous      <ComplexType Name="Actions">
114*2bde4061SEd Tanous        <Annotation Term="OData.AdditionalProperties" Bool="false"/>
115*2bde4061SEd Tanous        <Annotation Term="OData.Description" String="The available actions for this resource."/>
116*2bde4061SEd Tanous        <Annotation Term="OData.LongDescription" String="This type shall contain the available actions for this resource."/>
117*2bde4061SEd Tanous        <Property Name="Oem" Type="SecureBootDatabase.v1_0_0.OemActions" Nullable="false">
118*2bde4061SEd Tanous          <Annotation Term="OData.Description" String="The available OEM-specific actions for this resource."/>
119*2bde4061SEd Tanous          <Annotation Term="OData.LongDescription" String="This property shall contain the available OEM-specific actions for this resource."/>
120*2bde4061SEd Tanous        </Property>
121*2bde4061SEd Tanous      </ComplexType>
122*2bde4061SEd Tanous
123*2bde4061SEd Tanous      <ComplexType Name="OemActions">
124*2bde4061SEd Tanous        <Annotation Term="OData.AdditionalProperties" Bool="true"/>
125*2bde4061SEd Tanous        <Annotation Term="OData.Description" String="The available OEM-specific actions for this resource."/>
126*2bde4061SEd Tanous        <Annotation Term="OData.LongDescription" String="This type shall contain the available OEM-specific actions for this resource."/>
127*2bde4061SEd Tanous      </ComplexType>
128*2bde4061SEd Tanous    </Schema>
129*2bde4061SEd Tanous
130*2bde4061SEd Tanous    <Schema xmlns="http://docs.oasis-open.org/odata/ns/edm" Namespace="SecureBootDatabase.v1_0_1">
131*2bde4061SEd Tanous      <Annotation Term="Redfish.OwningEntity" String="DMTF"/>
132*2bde4061SEd Tanous      <Annotation Term="OData.Description" String="This version was created to correct the name of the `PKDefault` database in the description of the DatabaseId property."/>
133*2bde4061SEd Tanous      <EntityType Name="SecureBootDatabase" BaseType="SecureBootDatabase.v1_0_0.SecureBootDatabase"/>
134*2bde4061SEd Tanous    </Schema>
135*2bde4061SEd Tanous
136*2bde4061SEd Tanous    <Schema xmlns="http://docs.oasis-open.org/odata/ns/edm" Namespace="SecureBootDatabase.v1_0_2">
137*2bde4061SEd Tanous      <Annotation Term="Redfish.OwningEntity" String="DMTF"/>
138*2bde4061SEd Tanous      <Annotation Term="OData.Description" String="This version was created to correct various typographical errors."/>
139*2bde4061SEd Tanous      <EntityType Name="SecureBootDatabase" BaseType="SecureBootDatabase.v1_0_1.SecureBootDatabase"/>
140*2bde4061SEd Tanous    </Schema>
141*2bde4061SEd Tanous
142*2bde4061SEd Tanous  </edmx:DataServices>
143*2bde4061SEd Tanous</edmx:Edmx>
144