blob: a0f8bbacda615821d3c1d5c30407c05675bf0a2f [file] [log] [blame]
Marri Devender Raod45d2d02019-01-21 10:11:34 -06001<?xml version="1.0" encoding="UTF-8"?>
2<!---->
3<!--################################################################################ -->
Ed Tanouscb103132019-10-08 11:34:22 -07004<!--# Redfish Schema: SensorCollection -->
Marri Devender Raod45d2d02019-01-21 10:11:34 -06005<!--# -->
6<!--# For a detailed change log, see the README file contained in the DSP8010 bundle, -->
7<!--# available at http://www.dmtf.org/standards/redfish -->
Ed Tanouscb103132019-10-08 11:34:22 -07008<!--# Copyright 2014-2019 DMTF. -->
Marri Devender Raod45d2d02019-01-21 10:11:34 -06009<!--# 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/Sensor_v1.xml">
27 <edmx:Include Namespace="Sensor"/>
28 </edmx:Reference>
29
30 <edmx:DataServices>
31
32 <Schema xmlns="http://docs.oasis-open.org/odata/ns/edm" Namespace="SensorCollection">
33 <Annotation Term="Redfish.OwningEntity" String="DMTF"/>
34
35 <EntityType Name="SensorCollection" BaseType="Resource.v1_0_0.ResourceCollection">
Gunnar Mills09b9d452020-02-11 13:27:39 -060036 <Annotation Term="OData.Description" String="The SensorCollection schema describes a collection of Sensor resource instances."/>
37 <Annotation Term="OData.LongDescription" String="This resource shall represent a resource collection of Sensor instances for a Redfish implementation."/>
Marri Devender Raod45d2d02019-01-21 10:11:34 -060038 <Annotation Term="Capabilities.InsertRestrictions">
39 <Record>
40 <PropertyValue Property="Insertable" Bool="false"/>
41 </Record>
42 </Annotation>
43 <Annotation Term="Capabilities.UpdateRestrictions">
44 <Record>
45 <PropertyValue Property="Updatable" Bool="false"/>
46 </Record>
47 </Annotation>
48 <Annotation Term="Capabilities.DeleteRestrictions">
49 <Record>
50 <PropertyValue Property="Deletable" Bool="false"/>
51 </Record>
52 </Annotation>
53 <Annotation Term="Redfish.Uris">
54 <Collection>
55 <String>/redfish/v1/Chassis/{ChassisId}/Sensors</String>
Gunnar Mills09b9d452020-02-11 13:27:39 -060056 <String>/redfish/v1/Facilities/{FacilityId}/Sensors</String>
57 <String>/redfish/v1/PowerEquipment/RackPDUs/{PowerDistributionId}/Sensors</String>
58 <String>/redfish/v1/PowerEquipment/FloorPDUs/{PowerDistributionId}/Sensors</String>
59 <String>/redfish/v1/PowerEquipment/Switchgear/{PowerDistributionId}/Sensors</String>
60 <String>/redfish/v1/PowerEquipment/TransferSwitches/{PowerDistributionId}/Sensors</String>
Marri Devender Raod45d2d02019-01-21 10:11:34 -060061 </Collection>
62 </Annotation>
63 <NavigationProperty Name="Members" Type="Collection(Sensor.Sensor)">
64 <Annotation Term="OData.Permissions" EnumMember="OData.Permission/Read"/>
Ed Tanouscb103132019-10-08 11:34:22 -070065 <Annotation Term="OData.Description" String="The members of this collection."/>
Gunnar Mills09b9d452020-02-11 13:27:39 -060066 <Annotation Term="OData.LongDescription" String="This property shall contain an array of links to the members of this resource collection."/>
Marri Devender Raod45d2d02019-01-21 10:11:34 -060067 <Annotation Term="OData.AutoExpandReferences"/>
68 <Annotation Term="Redfish.Required"/>
69 </NavigationProperty>
70 </EntityType>
71
72 </Schema>
73
74 </edmx:DataServices>
75</edmx:Edmx>