1<?xml version="1.0" encoding="UTF-8"?>
2<!---->
3<!--################################################################################       -->
4<!--# Redfish Schema:  DriveCollection                                                     -->
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<!--# Portions Copyright 2015-2020 Storage Networking Industry Association (SNIA), USA.    -->
10<!--# For the full DMTF copyright policy, see http://www.dmtf.org/about/policies/copyright -->
11<!--################################################################################       -->
12<!---->
13<edmx:Edmx xmlns:edmx="http://docs.oasis-open.org/odata/ns/edmx" Version="4.0">
14
15  <edmx:Reference Uri="http://docs.oasis-open.org/odata/odata/v4.0/errata03/csd01/complete/vocabularies/Org.OData.Core.V1.xml">
16    <edmx:Include Namespace="Org.OData.Core.V1" Alias="OData"/>
17  </edmx:Reference>
18  <edmx:Reference Uri="http://docs.oasis-open.org/odata/odata/v4.0/errata03/csd01/complete/vocabularies/Org.OData.Capabilities.V1.xml">
19    <edmx:Include Namespace="Org.OData.Capabilities.V1" Alias="Capabilities"/>
20  </edmx:Reference>
21  <edmx:Reference Uri="http://redfish.dmtf.org/schemas/v1/Resource_v1.xml">
22    <edmx:Include Namespace="Resource.v1_0_0" />
23  </edmx:Reference>
24  <edmx:Reference Uri="http://redfish.dmtf.org/schemas/v1/RedfishExtensions_v1.xml">
25    <edmx:Include Namespace="RedfishExtensions.v1_0_0" Alias="Redfish"/>
26  </edmx:Reference>
27  <edmx:Reference Uri="http://redfish.dmtf.org/schemas/v1/Drive_v1.xml">
28    <edmx:Include Namespace="Drive"/>
29  </edmx:Reference>
30
31  <edmx:DataServices>
32
33    <Schema xmlns="http://docs.oasis-open.org/odata/ns/edm" Namespace="DriveCollection">
34      <Annotation Term="Redfish.OwningEntity" String="DMTF"/>
35      <Annotation Term="Redfish.Language" String="en"/>
36
37      <EntityType Name="DriveCollection" BaseType="Resource.v1_0_0.ResourceCollection">
38        <Annotation Term="OData.Description" String="The collection of `Drive` resource instances."/>
39        <Annotation Term="OData.LongDescription" String="This resource shall represent a resource collection of `Drive` instances for a Redfish implementation."/>
40        <Annotation Term="Capabilities.InsertRestrictions">
41          <Record>
42            <PropertyValue Property="Insertable" Bool="false"/>
43          </Record>
44        </Annotation>
45        <Annotation Term="Capabilities.UpdateRestrictions">
46          <Record>
47            <PropertyValue Property="Updatable" Bool="false"/>
48          </Record>
49        </Annotation>
50        <Annotation Term="Capabilities.DeleteRestrictions">
51          <Record>
52            <PropertyValue Property="Deletable" Bool="false"/>
53          </Record>
54        </Annotation>
55        <Annotation Term="Redfish.Uris">
56          <Collection>
57            <String>/redfish/v1/Chassis/{ChassisId}/Drives</String>
58            <String>/redfish/v1/Storage/{StorageId}/FileSystems/{FileSystemId}/CapacitySources/{CapacitySourceId}/ProvidingDrives</String>
59            <String>/redfish/v1/Storage/{StorageId}/StoragePools/{StoragePoolId}/CapacitySources/{CapacitySourceId}/ProvidingDrives</String>
60            <String>/redfish/v1/Storage/{StorageId}/Volumes/{VolumeId}/CapacitySources/{CapacitySourceId}/ProvidingDrives</String>
61            <String>/redfish/v1/Systems/{ComputerSystemId}/Storage/{StorageId}/FileSystems/{FileSystemId}/CapacitySources/{CapacitySourceId}/ProvidingDrives</String>
62            <String>/redfish/v1/Systems/{ComputerSystemId}/Storage/{StorageId}/StoragePools/{StoragePoolId}/CapacitySources/{CapacitySourceId}/ProvidingDrives</String>
63            <String>/redfish/v1/Systems/{ComputerSystemId}/Storage/{StorageId}/Volumes/{VolumeId}/CapacitySources/{CapacitySourceId}/ProvidingDrives</String>
64            <String>/redfish/v1/StorageServices/{StorageServiceId}/Drives</String>
65            <String>/redfish/v1/StorageServices/{StorageServiceId}/FileSystems/{FileSystemId}/CapacitySources/{CapacitySourceId}/ProvidingDrives</String>
66            <String>/redfish/v1/StorageServices/{StorageServiceId}/StoragePools/{StoragePoolId}/CapacitySources/{CapacitySourceId}/ProvidingDrives</String>
67            <String>/redfish/v1/StorageServices/{StorageServiceId}/Volumes/{VolumeId}/CapacitySources/{CapacitySourceId}/ProvidingDrives</String>
68          </Collection>
69        </Annotation>
70        <NavigationProperty Name="Members" Type="Collection(Drive.Drive)">
71          <Annotation Term="OData.Permissions" EnumMember="OData.Permission/Read"/>
72          <Annotation Term="OData.Description" String="The members of this collection."/>
73          <Annotation Term="OData.LongDescription" String="This property shall contain an array of links to the members of this collection."/>
74          <Annotation Term="OData.AutoExpandReferences"/>
75          <Annotation Term="Redfish.Required"/>
76        </NavigationProperty>
77      </EntityType>
78    </Schema>
79
80  </edmx:DataServices>
81</edmx:Edmx>
82