12bde4061SEd Tanous<?xml version="1.0" encoding="UTF-8"?>
22bde4061SEd Tanous<!---->
32bde4061SEd Tanous<!--################################################################################       -->
4*f2a8e57eSGunnar Mills<!--# Redfish Schema:  SecureBootDatabase v1.0.3                                           -->
52bde4061SEd Tanous<!--#                                                                                      -->
62bde4061SEd Tanous<!--# For a detailed change log, see the README file contained in the DSP8010 bundle,      -->
72bde4061SEd Tanous<!--# available at http://www.dmtf.org/standards/redfish                                   -->
8*f2a8e57eSGunnar Mills<!--# Copyright 2014-2024 DMTF.                                                            -->
92bde4061SEd Tanous<!--# For the full DMTF copyright policy, see http://www.dmtf.org/about/policies/copyright -->
102bde4061SEd Tanous<!--################################################################################       -->
112bde4061SEd Tanous<!---->
122bde4061SEd Tanous<edmx:Edmx xmlns:edmx="http://docs.oasis-open.org/odata/ns/edmx" Version="4.0">
132bde4061SEd Tanous
142bde4061SEd Tanous  <edmx:Reference Uri="http://docs.oasis-open.org/odata/odata/v4.0/errata03/csd01/complete/vocabularies/Org.OData.Core.V1.xml">
152bde4061SEd Tanous    <edmx:Include Namespace="Org.OData.Core.V1" Alias="OData"/>
162bde4061SEd Tanous  </edmx:Reference>
172bde4061SEd Tanous  <edmx:Reference Uri="http://docs.oasis-open.org/odata/odata/v4.0/errata03/csd01/complete/vocabularies/Org.OData.Capabilities.V1.xml">
182bde4061SEd Tanous    <edmx:Include Namespace="Org.OData.Capabilities.V1" Alias="Capabilities"/>
192bde4061SEd Tanous  </edmx:Reference>
202bde4061SEd Tanous  <edmx:Reference Uri="http://redfish.dmtf.org/schemas/v1/Resource_v1.xml">
212bde4061SEd Tanous    <edmx:Include Namespace="Resource.v1_0_0"/>
222bde4061SEd Tanous  </edmx:Reference>
232bde4061SEd Tanous  <edmx:Reference Uri="http://redfish.dmtf.org/schemas/v1/RedfishExtensions_v1.xml">
242bde4061SEd Tanous    <edmx:Include Namespace="RedfishExtensions.v1_0_0" Alias="Redfish"/>
252bde4061SEd Tanous  </edmx:Reference>
262bde4061SEd Tanous  <edmx:Reference Uri="http://redfish.dmtf.org/schemas/v1/CertificateCollection_v1.xml">
272bde4061SEd Tanous    <edmx:Include Namespace="CertificateCollection"/>
282bde4061SEd Tanous  </edmx:Reference>
292bde4061SEd Tanous  <edmx:Reference Uri="http://redfish.dmtf.org/schemas/v1/SignatureCollection_v1.xml">
302bde4061SEd Tanous    <edmx:Include Namespace="SignatureCollection"/>
312bde4061SEd Tanous  </edmx:Reference>
322bde4061SEd Tanous
332bde4061SEd Tanous  <edmx:DataServices>
342bde4061SEd Tanous
352bde4061SEd Tanous    <Schema xmlns="http://docs.oasis-open.org/odata/ns/edm" Namespace="SecureBootDatabase">
362bde4061SEd Tanous      <Annotation Term="Redfish.OwningEntity" String="DMTF"/>
37*f2a8e57eSGunnar Mills      <Annotation Term="Redfish.Language" String="en"/>
382bde4061SEd Tanous
392bde4061SEd Tanous      <EntityType Name="SecureBootDatabase" BaseType="Resource.v1_0_0.Resource" Abstract="true">
40*f2a8e57eSGunnar Mills        <Annotation Term="OData.Description" String="The `SecureBootDatabase` schema describes a UEFI Secure Boot database used to store certificates or hashes."/>
412bde4061SEd Tanous        <Annotation Term="OData.LongDescription" String="This resource shall be used to represent a UEFI Secure Boot database for a Redfish implementation."/>
422bde4061SEd Tanous        <Annotation Term="Capabilities.InsertRestrictions">
432bde4061SEd Tanous          <Record>
442bde4061SEd Tanous            <PropertyValue Property="Insertable" Bool="false"/>
452bde4061SEd Tanous          </Record>
462bde4061SEd Tanous        </Annotation>
472bde4061SEd Tanous        <Annotation Term="Capabilities.UpdateRestrictions">
482bde4061SEd Tanous          <Record>
492bde4061SEd Tanous            <PropertyValue Property="Updatable" Bool="false"/>
502bde4061SEd Tanous          </Record>
512bde4061SEd Tanous        </Annotation>
522bde4061SEd Tanous        <Annotation Term="Capabilities.DeleteRestrictions">
532bde4061SEd Tanous          <Record>
542bde4061SEd Tanous            <PropertyValue Property="Deletable" Bool="false"/>
552bde4061SEd Tanous          </Record>
562bde4061SEd Tanous        </Annotation>
572bde4061SEd Tanous        <Annotation Term="Redfish.Uris">
582bde4061SEd Tanous          <Collection>
592bde4061SEd Tanous            <String>/redfish/v1/Systems/{ComputerSystemId}/SecureBoot/SecureBootDatabases/{DatabaseId}</String>
602bde4061SEd Tanous            <String>/redfish/v1/CompositionService/ResourceBlocks/{ResourceBlockId}/Systems/{ComputerSystemId}/SecureBoot/SecureBootDatabases/{DatabaseId}</String>
612bde4061SEd Tanous            <String>/redfish/v1/ResourceBlocks/{ResourceBlockId}/Systems/{ComputerSystemId}/SecureBoot/SecureBootDatabases/{DatabaseId}</String>
622bde4061SEd Tanous          </Collection>
632bde4061SEd Tanous        </Annotation>
642bde4061SEd Tanous      </EntityType>
652bde4061SEd Tanous
662bde4061SEd Tanous      <Action Name="ResetKeys" IsBound="true">
672bde4061SEd Tanous        <Annotation Term="OData.Description" String="This action is used to reset the UEFI Secure Boot keys of this database."/>
682bde4061SEd 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."/>
692bde4061SEd Tanous        <Parameter Name="SecureBootDatabase" Type="SecureBootDatabase.v1_0_0.Actions"/>
702bde4061SEd Tanous        <Parameter Name="ResetKeysType" Type="SecureBootDatabase.v1_0_0.ResetKeysType" Nullable="false">
712bde4061SEd Tanous          <Annotation Term="OData.Description" String="The type of reset or delete to perform on this UEFI Secure Boot database."/>
722bde4061SEd Tanous          <Annotation Term="OData.LongDescription" String="This parameter shall specify the type of reset or delete to perform on this UEFI Secure Boot database."/>
732bde4061SEd Tanous        </Parameter>
742bde4061SEd Tanous      </Action>
752bde4061SEd Tanous    </Schema>
762bde4061SEd Tanous
772bde4061SEd Tanous    <Schema xmlns="http://docs.oasis-open.org/odata/ns/edm" Namespace="SecureBootDatabase.v1_0_0">
782bde4061SEd Tanous      <Annotation Term="Redfish.OwningEntity" String="DMTF"/>
792bde4061SEd Tanous      <Annotation Term="Redfish.Release" String="2020.1"/>
802bde4061SEd Tanous
812bde4061SEd Tanous      <EntityType Name="SecureBootDatabase" BaseType="SecureBootDatabase.SecureBootDatabase">
822bde4061SEd Tanous        <Property Name="DatabaseId" Type="Edm.String" Nullable="false">
832bde4061SEd Tanous          <Annotation Term="OData.Permissions" EnumMember="OData.Permission/Read"/>
842bde4061SEd Tanous          <Annotation Term="OData.Description" String="This property contains the name of the UEFI Secure Boot database."/>
85*f2a8e57eSGunnar Mills          <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`."/>
862bde4061SEd Tanous        </Property>
872bde4061SEd Tanous        <Property Name="Actions" Type="SecureBootDatabase.v1_0_0.Actions" Nullable="false">
882bde4061SEd Tanous          <Annotation Term="OData.Description" String="The available actions for this resource."/>
892bde4061SEd Tanous          <Annotation Term="OData.LongDescription" String="This property shall contain the available actions for this resource."/>
902bde4061SEd Tanous        </Property>
912bde4061SEd Tanous        <NavigationProperty Name="Certificates" Type="CertificateCollection.CertificateCollection" ContainsTarget="true" Nullable="false">
922bde4061SEd Tanous          <Annotation Term="OData.Permissions" EnumMember="OData.Permission/Read"/>
932bde4061SEd Tanous          <Annotation Term="OData.Description" String="A link to the collection of certificates contained in this UEFI Secure Boot database."/>
94*f2a8e57eSGunnar Mills          <Annotation Term="OData.LongDescription" String="The value of this property shall be a link to a resource collection of type `CertificateCollection`."/>
952bde4061SEd Tanous          <Annotation Term="OData.AutoExpandReferences"/>
962bde4061SEd Tanous        </NavigationProperty>
972bde4061SEd Tanous        <NavigationProperty Name="Signatures" Type="SignatureCollection.SignatureCollection" ContainsTarget="true" Nullable="false">
982bde4061SEd Tanous          <Annotation Term="OData.Permissions" EnumMember="OData.Permission/Read"/>
992bde4061SEd Tanous          <Annotation Term="OData.Description" String="A link to the collection of signatures contained in this UEFI Secure Boot database."/>
100*f2a8e57eSGunnar Mills          <Annotation Term="OData.LongDescription" String="The value of this property shall be a link to a resource collection of type `SignatureCollection`."/>
1012bde4061SEd Tanous          <Annotation Term="OData.AutoExpandReferences"/>
1022bde4061SEd Tanous        </NavigationProperty>
1032bde4061SEd Tanous      </EntityType>
1042bde4061SEd Tanous
1052bde4061SEd Tanous      <EnumType Name="ResetKeysType">
1062bde4061SEd Tanous        <Member Name="ResetAllKeysToDefault">
1072bde4061SEd Tanous          <Annotation Term="OData.Description" String="Reset the contents of this UEFI Secure Boot key database to the default values."/>
1082bde4061SEd Tanous        </Member>
1092bde4061SEd Tanous        <Member Name="DeleteAllKeys">
1102bde4061SEd Tanous          <Annotation Term="OData.Description" String="Delete the contents of this UEFI Secure Boot key database."/>
1112bde4061SEd Tanous        </Member>
1122bde4061SEd Tanous      </EnumType>
1132bde4061SEd Tanous
1142bde4061SEd Tanous      <ComplexType Name="Actions">
1152bde4061SEd Tanous        <Annotation Term="OData.AdditionalProperties" Bool="false"/>
1162bde4061SEd Tanous        <Annotation Term="OData.Description" String="The available actions for this resource."/>
1172bde4061SEd Tanous        <Annotation Term="OData.LongDescription" String="This type shall contain the available actions for this resource."/>
1182bde4061SEd Tanous        <Property Name="Oem" Type="SecureBootDatabase.v1_0_0.OemActions" Nullable="false">
1192bde4061SEd Tanous          <Annotation Term="OData.Description" String="The available OEM-specific actions for this resource."/>
1202bde4061SEd Tanous          <Annotation Term="OData.LongDescription" String="This property shall contain the available OEM-specific actions for this resource."/>
1212bde4061SEd Tanous        </Property>
1222bde4061SEd Tanous      </ComplexType>
1232bde4061SEd Tanous
1242bde4061SEd Tanous      <ComplexType Name="OemActions">
1252bde4061SEd Tanous        <Annotation Term="OData.AdditionalProperties" Bool="true"/>
1262bde4061SEd Tanous        <Annotation Term="OData.Description" String="The available OEM-specific actions for this resource."/>
1272bde4061SEd Tanous        <Annotation Term="OData.LongDescription" String="This type shall contain the available OEM-specific actions for this resource."/>
1282bde4061SEd Tanous      </ComplexType>
1292bde4061SEd Tanous    </Schema>
1302bde4061SEd Tanous
1312bde4061SEd Tanous    <Schema xmlns="http://docs.oasis-open.org/odata/ns/edm" Namespace="SecureBootDatabase.v1_0_1">
1322bde4061SEd Tanous      <Annotation Term="Redfish.OwningEntity" String="DMTF"/>
133*f2a8e57eSGunnar Mills      <Annotation Term="OData.Description" String="This version was created to correct the name of the `PKDefault` database in the description of the `DatabaseId` property."/>
1342bde4061SEd Tanous      <EntityType Name="SecureBootDatabase" BaseType="SecureBootDatabase.v1_0_0.SecureBootDatabase"/>
1352bde4061SEd Tanous    </Schema>
1362bde4061SEd Tanous
1372bde4061SEd Tanous    <Schema xmlns="http://docs.oasis-open.org/odata/ns/edm" Namespace="SecureBootDatabase.v1_0_2">
1382bde4061SEd Tanous      <Annotation Term="Redfish.OwningEntity" String="DMTF"/>
1392bde4061SEd Tanous      <Annotation Term="OData.Description" String="This version was created to correct various typographical errors."/>
1402bde4061SEd Tanous      <EntityType Name="SecureBootDatabase" BaseType="SecureBootDatabase.v1_0_1.SecureBootDatabase"/>
1412bde4061SEd Tanous    </Schema>
1422bde4061SEd Tanous
143*f2a8e57eSGunnar Mills    <Schema xmlns="http://docs.oasis-open.org/odata/ns/edm" Namespace="SecureBootDatabase.v1_0_3">
144*f2a8e57eSGunnar Mills      <Annotation Term="Redfish.OwningEntity" String="DMTF"/>
145*f2a8e57eSGunnar Mills      <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."/>
146*f2a8e57eSGunnar Mills      <EntityType Name="SecureBootDatabase" BaseType="SecureBootDatabase.v1_0_2.SecureBootDatabase"/>
147*f2a8e57eSGunnar Mills    </Schema>
148*f2a8e57eSGunnar Mills
1492bde4061SEd Tanous  </edmx:DataServices>
1502bde4061SEd Tanous</edmx:Edmx>
151