1<?xml version="1.0" encoding="UTF-8"?>
2<!---->
3<!--################################################################################       -->
4<!--# Redfish Schema:  KeyService v1.0.1                                                   -->
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/RedfishExtensions_v1.xml">
21    <edmx:Include Namespace="RedfishExtensions.v1_0_0" Alias="Redfish"/>
22  </edmx:Reference>
23  <edmx:Reference Uri="http://redfish.dmtf.org/schemas/v1/Resource_v1.xml">
24    <edmx:Include Namespace="Resource.v1_0_0"/>
25  </edmx:Reference>
26  <edmx:Reference Uri="http://redfish.dmtf.org/schemas/v1/KeyCollection_v1.xml">
27    <edmx:Include Namespace="KeyCollection"/>
28  </edmx:Reference>
29  <edmx:Reference Uri="http://redfish.dmtf.org/schemas/v1/KeyPolicyCollection_v1.xml">
30    <edmx:Include Namespace="KeyPolicyCollection"/>
31  </edmx:Reference>
32
33  <edmx:DataServices>
34
35    <Schema xmlns="http://docs.oasis-open.org/odata/ns/edm" Namespace="KeyService">
36      <Annotation Term="Redfish.OwningEntity" String="DMTF"/>
37      <Annotation Term="Redfish.Language" String="en"/>
38
39      <EntityType Name="KeyService" BaseType="Resource.v1_0_0.Resource" Abstract="true">
40        <Annotation Term="OData.Description" String="The `KeyService` schema describes a key service that represents the actions available to manage keys."/>
41        <Annotation Term="OData.LongDescription" String="This resource shall represent the key service properties for a Redfish implementation."/>
42        <Annotation Term="Capabilities.InsertRestrictions">
43          <Record>
44            <PropertyValue Property="Insertable" Bool="false"/>
45          </Record>
46        </Annotation>
47        <Annotation Term="Capabilities.UpdateRestrictions">
48          <Record>
49            <PropertyValue Property="Updatable" Bool="false"/>
50          </Record>
51        </Annotation>
52        <Annotation Term="Capabilities.DeleteRestrictions">
53          <Record>
54            <PropertyValue Property="Deletable" Bool="false"/>
55          </Record>
56        </Annotation>
57        <Annotation Term="Redfish.Uris">
58          <Collection>
59            <String>/redfish/v1/KeyService</String>
60          </Collection>
61        </Annotation>
62      </EntityType>
63    </Schema>
64
65    <Schema xmlns="http://docs.oasis-open.org/odata/ns/edm" Namespace="KeyService.v1_0_0">
66      <Annotation Term="Redfish.OwningEntity" String="DMTF"/>
67      <Annotation Term="Redfish.Release" String="2021.2"/>
68
69      <EntityType Name="KeyService" BaseType="KeyService.KeyService">
70        <Property Name="Actions" Type="KeyService.v1_0_0.Actions" Nullable="false">
71          <Annotation Term="OData.Description" String="The available actions for this resource."/>
72          <Annotation Term="OData.LongDescription" String="This property shall contain the available actions for this resource."/>
73        </Property>
74        <NavigationProperty Name="NVMeoFSecrets" Type="KeyCollection.KeyCollection" ContainsTarget="true" Nullable="false">
75          <Annotation Term="OData.Permissions" EnumMember="OData.Permission/Read"/>
76          <Annotation Term="OData.Description" String="The NVMe-oF keys maintained by this service."/>
77          <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`."/>
78          <Annotation Term="OData.AutoExpandReferences"/>
79        </NavigationProperty>
80        <NavigationProperty Name="NVMeoFKeyPolicies" Type="KeyPolicyCollection.KeyPolicyCollection" ContainsTarget="true" Nullable="false">
81          <Annotation Term="OData.Permissions" EnumMember="OData.Permission/Read"/>
82          <Annotation Term="OData.Description" String="The NVMe-oF key policies maintained by this service."/>
83          <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`."/>
84          <Annotation Term="OData.AutoExpandReferences"/>
85        </NavigationProperty>
86      </EntityType>
87
88      <ComplexType Name="Actions">
89        <Annotation Term="OData.AdditionalProperties" Bool="false"/>
90        <Annotation Term="OData.Description" String="The available actions for this resource."/>
91        <Annotation Term="OData.LongDescription" String="This type shall contain the available actions for this resource."/>
92        <Property Name="Oem" Type="KeyService.v1_0_0.OemActions" Nullable="false">
93          <Annotation Term="OData.Description" String="The available OEM-specific actions for this resource."/>
94          <Annotation Term="OData.LongDescription" String="This property shall contain the available OEM-specific actions for this resource."/>
95        </Property>
96      </ComplexType>
97
98      <ComplexType Name="OemActions">
99        <Annotation Term="OData.AdditionalProperties" Bool="true"/>
100        <Annotation Term="OData.Description" String="The available OEM-specific actions for this resource."/>
101        <Annotation Term="OData.LongDescription" String="This type shall contain the available OEM-specific actions for this resource."/>
102      </ComplexType>
103    </Schema>
104
105    <Schema xmlns="http://docs.oasis-open.org/odata/ns/edm" Namespace="KeyService.v1_0_1">
106      <Annotation Term="Redfish.OwningEntity" String="DMTF"/>
107      <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."/>
108      <EntityType Name="KeyService" BaseType="KeyService.v1_0_0.KeyService"/>
109    </Schema>
110
111  </edmx:DataServices>
112</edmx:Edmx>
113