xref: /openbmc/bmcweb/features/redfish/schema/dmtf/csdl/KeyService_v1.xml (revision d125652e8a30dfeaad88bbfa5b1e04a80610469c)
12bde4061SEd Tanous<?xml version="1.0" encoding="UTF-8"?>
22bde4061SEd Tanous<!---->
32bde4061SEd Tanous<!--################################################################################       -->
4f2a8e57eSGunnar Mills<!--# Redfish Schema:  KeyService v1.0.1                                                   -->
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*d125652eSGunnar Mills<!--# Copyright 2014-2025 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/RedfishExtensions_v1.xml">
212bde4061SEd Tanous    <edmx:Include Namespace="RedfishExtensions.v1_0_0" Alias="Redfish"/>
222bde4061SEd Tanous  </edmx:Reference>
232bde4061SEd Tanous  <edmx:Reference Uri="http://redfish.dmtf.org/schemas/v1/Resource_v1.xml">
242bde4061SEd Tanous    <edmx:Include Namespace="Resource.v1_0_0"/>
252bde4061SEd Tanous  </edmx:Reference>
262bde4061SEd Tanous  <edmx:Reference Uri="http://redfish.dmtf.org/schemas/v1/KeyCollection_v1.xml">
272bde4061SEd Tanous    <edmx:Include Namespace="KeyCollection"/>
282bde4061SEd Tanous  </edmx:Reference>
292bde4061SEd Tanous  <edmx:Reference Uri="http://redfish.dmtf.org/schemas/v1/KeyPolicyCollection_v1.xml">
302bde4061SEd Tanous    <edmx:Include Namespace="KeyPolicyCollection"/>
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="KeyService">
362bde4061SEd Tanous      <Annotation Term="Redfish.OwningEntity" String="DMTF"/>
37f2a8e57eSGunnar Mills      <Annotation Term="Redfish.Language" String="en"/>
382bde4061SEd Tanous
392bde4061SEd Tanous      <EntityType Name="KeyService" BaseType="Resource.v1_0_0.Resource" Abstract="true">
40f2a8e57eSGunnar Mills        <Annotation Term="OData.Description" String="The `KeyService` schema describes a key service that represents the actions available to manage keys."/>
412bde4061SEd Tanous        <Annotation Term="OData.LongDescription" String="This resource shall represent the key service properties 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/KeyService</String>
602bde4061SEd Tanous          </Collection>
612bde4061SEd Tanous        </Annotation>
622bde4061SEd Tanous      </EntityType>
632bde4061SEd Tanous    </Schema>
642bde4061SEd Tanous
652bde4061SEd Tanous    <Schema xmlns="http://docs.oasis-open.org/odata/ns/edm" Namespace="KeyService.v1_0_0">
662bde4061SEd Tanous      <Annotation Term="Redfish.OwningEntity" String="DMTF"/>
672bde4061SEd Tanous      <Annotation Term="Redfish.Release" String="2021.2"/>
682bde4061SEd Tanous
692bde4061SEd Tanous      <EntityType Name="KeyService" BaseType="KeyService.KeyService">
702bde4061SEd Tanous        <Property Name="Actions" Type="KeyService.v1_0_0.Actions" Nullable="false">
712bde4061SEd Tanous          <Annotation Term="OData.Description" String="The available actions for this resource."/>
722bde4061SEd Tanous          <Annotation Term="OData.LongDescription" String="This property shall contain the available actions for this resource."/>
732bde4061SEd Tanous        </Property>
742bde4061SEd Tanous        <NavigationProperty Name="NVMeoFSecrets" Type="KeyCollection.KeyCollection" ContainsTarget="true" Nullable="false">
752bde4061SEd Tanous          <Annotation Term="OData.Permissions" EnumMember="OData.Permission/Read"/>
762bde4061SEd Tanous          <Annotation Term="OData.Description" String="The NVMe-oF keys maintained by this service."/>
77f2a8e57eSGunnar Mills          <Annotation Term="OData.LongDescription" String="This property shall contain a link to a resource collection of type `KeyCollection` that contains the NVMe-oF keys maintained by this service.  The `KeyType` property for all members of this collection shall contain the value `NVMeoF`."/>
782bde4061SEd Tanous          <Annotation Term="OData.AutoExpandReferences"/>
792bde4061SEd Tanous        </NavigationProperty>
802bde4061SEd Tanous        <NavigationProperty Name="NVMeoFKeyPolicies" Type="KeyPolicyCollection.KeyPolicyCollection" ContainsTarget="true" Nullable="false">
812bde4061SEd Tanous          <Annotation Term="OData.Permissions" EnumMember="OData.Permission/Read"/>
822bde4061SEd Tanous          <Annotation Term="OData.Description" String="The NVMe-oF key policies maintained by this service."/>
83f2a8e57eSGunnar Mills          <Annotation Term="OData.LongDescription" String="This property shall contain a link to a resource collection of type `KeyPolicyCollection` that contains the NVMe-oF key policies maintained by this service.  The `KeyPolicyType` property for all members of this collection shall contain the value `NVMeoF`."/>
842bde4061SEd Tanous          <Annotation Term="OData.AutoExpandReferences"/>
852bde4061SEd Tanous        </NavigationProperty>
862bde4061SEd Tanous      </EntityType>
872bde4061SEd Tanous
882bde4061SEd Tanous      <ComplexType Name="Actions">
892bde4061SEd Tanous        <Annotation Term="OData.AdditionalProperties" Bool="false"/>
902bde4061SEd Tanous        <Annotation Term="OData.Description" String="The available actions for this resource."/>
912bde4061SEd Tanous        <Annotation Term="OData.LongDescription" String="This type shall contain the available actions for this resource."/>
922bde4061SEd Tanous        <Property Name="Oem" Type="KeyService.v1_0_0.OemActions" Nullable="false">
932bde4061SEd Tanous          <Annotation Term="OData.Description" String="The available OEM-specific actions for this resource."/>
942bde4061SEd Tanous          <Annotation Term="OData.LongDescription" String="This property shall contain the available OEM-specific actions for this resource."/>
952bde4061SEd Tanous        </Property>
962bde4061SEd Tanous      </ComplexType>
972bde4061SEd Tanous
982bde4061SEd Tanous      <ComplexType Name="OemActions">
992bde4061SEd Tanous        <Annotation Term="OData.AdditionalProperties" Bool="true"/>
1002bde4061SEd Tanous        <Annotation Term="OData.Description" String="The available OEM-specific actions for this resource."/>
1012bde4061SEd Tanous        <Annotation Term="OData.LongDescription" String="This type shall contain the available OEM-specific actions for this resource."/>
1022bde4061SEd Tanous      </ComplexType>
1032bde4061SEd Tanous    </Schema>
1042bde4061SEd Tanous
105f2a8e57eSGunnar Mills    <Schema xmlns="http://docs.oasis-open.org/odata/ns/edm" Namespace="KeyService.v1_0_1">
106f2a8e57eSGunnar Mills      <Annotation Term="Redfish.OwningEntity" String="DMTF"/>
107f2a8e57eSGunnar 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."/>
108f2a8e57eSGunnar Mills      <EntityType Name="KeyService" BaseType="KeyService.v1_0_0.KeyService"/>
109f2a8e57eSGunnar Mills    </Schema>
110f2a8e57eSGunnar Mills
1112bde4061SEd Tanous  </edmx:DataServices>
1122bde4061SEd Tanous</edmx:Edmx>
113