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