1<?xml version="1.0" encoding="UTF-8"?>
2<!---->
3<!--################################################################################       -->
4<!--# Redfish Schema:  PowerDistributionMetrics v1.3.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-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/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="PowerDistributionMetrics">
33      <Annotation Term="Redfish.OwningEntity" String="DMTF"/>
34
35      <EntityType Name="PowerDistributionMetrics" BaseType="Resource.v1_0_0.Resource" Abstract="true">
36        <Annotation Term="OData.Description" String="This is the schema definition for the metrics of a power distribution component or unit, such as a floor power distribution unit (PDU) or switchgear."/>
37        <Annotation Term="OData.LongDescription" String="This resource shall be used to represent the metrics of a power distribution component or unit for a Redfish implementation."/>
38        <Annotation Term="OData.AdditionalProperties" Bool="false"/>
39        <Annotation Term="Capabilities.InsertRestrictions">
40          <Record>
41            <PropertyValue Property="Insertable" Bool="false"/>
42          </Record>
43        </Annotation>
44        <Annotation Term="Capabilities.UpdateRestrictions">
45          <Record>
46            <PropertyValue Property="Updatable" Bool="false"/>
47          </Record>
48        </Annotation>
49        <Annotation Term="Capabilities.DeleteRestrictions">
50          <Record>
51            <PropertyValue Property="Deletable" Bool="false"/>
52          </Record>
53        </Annotation>
54        <Annotation Term="Redfish.Uris">
55          <Collection>
56            <String>/redfish/v1/PowerEquipment/RackPDUs/{PowerDistributionId}/Metrics</String>
57            <String>/redfish/v1/PowerEquipment/FloorPDUs/{PowerDistributionId}/Metrics</String>
58            <String>/redfish/v1/PowerEquipment/TransferSwitches/{PowerDistributionId}/Metrics</String>
59            <String>/redfish/v1/PowerEquipment/PowerShelves/{PowerDistributionId}/Metrics</String>
60            <String>/redfish/v1/PowerEquipment/Switchgear/{PowerDistributionId}/Metrics</String>
61            <String>/redfish/v1/PowerEquipment/ElectricalBuses/{PowerDistributionId}/Metrics</String>
62          </Collection>
63        </Annotation>
64      </EntityType>
65
66      <Action Name="ResetMetrics" IsBound="true">
67        <Parameter Name="PowerDistributionMetrics" Type="PowerDistributionMetrics.v1_0_0.Actions"/>
68        <Annotation Term="OData.Description" String="This action resets the summary metrics related to this equipment."/>
69        <Annotation Term="OData.LongDescription" String="This action shall reset any time intervals or counted values for this equipment."/>
70      </Action>
71    </Schema>
72
73    <Schema xmlns="http://docs.oasis-open.org/odata/ns/edm" Namespace="PowerDistributionMetrics.v1_0_0">
74      <Annotation Term="Redfish.OwningEntity" String="DMTF"/>
75      <Annotation Term="Redfish.Release" String="2019.4"/>
76
77      <EntityType Name="PowerDistributionMetrics" BaseType="PowerDistributionMetrics.PowerDistributionMetrics">
78        <NavigationProperty Name="PowerWatts" Type="Sensor.Sensor">
79          <Annotation Term="Redfish.ExcerptCopy" String="Power"/>
80          <Annotation Term="OData.Description" String="Power consumption (W)."/>
81          <Annotation Term="OData.LongDescription" String="This property shall contain the total power, in watt units, for this resource that represents the `Total` ElectricalContext sensor when multiple power sensors exist.  The value of the DataSourceUri property, if present, shall reference a resource of type Sensor with the ReadingType property containing the value `Power`."/>
82        </NavigationProperty>
83
84        <NavigationProperty Name="EnergykWh" Type="Sensor.Sensor">
85          <Annotation Term="Redfish.ExcerptCopy" String="EnergykWh"/>
86          <Annotation Term="OData.Description" String="Energy consumption (kWh)."/>
87          <Annotation Term="OData.LongDescription" String="This property shall contain the total energy, in kilowatt-hour units, for this resource that represents the `Total` ElectricalContext sensor when multiple energy sensors exist.  The value of the DataSourceUri property, if present, shall reference a resource of type Sensor with the ReadingType property containing the value `EnergykWh`."/>
88        </NavigationProperty>
89
90        <Property Name="Actions" Type="PowerDistributionMetrics.v1_0_0.Actions" Nullable="false">
91          <Annotation Term="OData.Description" String="The available actions for this resource."/>
92          <Annotation Term="OData.LongDescription" String="This property shall contain the available actions for this resource."/>
93        </Property>
94      </EntityType>
95
96      <ComplexType Name="Actions">
97        <Annotation Term="OData.AdditionalProperties" Bool="false"/>
98        <Annotation Term="OData.Description" String="The available actions for this resource."/>
99        <Annotation Term="OData.LongDescription" String="This type shall contain the available actions for this resource."/>
100        <Property Name="Oem" Type="PowerDistributionMetrics.v1_0_0.OemActions" Nullable="false">
101          <Annotation Term="OData.Description" String="The available OEM-specific actions for this resource."/>
102          <Annotation Term="OData.LongDescription" String="This property shall contain the available OEM-specific actions for this resource."/>
103        </Property>
104      </ComplexType>
105
106      <ComplexType Name="OemActions">
107        <Annotation Term="OData.AdditionalProperties" Bool="true"/>
108        <Annotation Term="OData.Description" String="The available OEM-specific actions for this resource."/>
109        <Annotation Term="OData.LongDescription" String="This type shall contain the available OEM-specific actions for this resource."/>
110      </ComplexType>
111    </Schema>
112
113    <Schema xmlns="http://docs.oasis-open.org/odata/ns/edm" Namespace="PowerDistributionMetrics.v1_0_1">
114      <Annotation Term="Redfish.OwningEntity" String="DMTF"/>
115      <Annotation Term="OData.Description" String="This version was created to update the descriptions for Power and Energy sensors."/>
116      <EntityType Name="PowerDistributionMetrics" BaseType="PowerDistributionMetrics.v1_0_0.PowerDistributionMetrics"/>
117    </Schema>
118
119    <Schema xmlns="http://docs.oasis-open.org/odata/ns/edm" Namespace="PowerDistributionMetrics.v1_0_2">
120      <Annotation Term="Redfish.OwningEntity" String="DMTF"/>
121      <Annotation Term="OData.Description" String="This version was created to update descriptions to tie excerpt property definitions to a specific type of Sensor or Control."/>
122      <EntityType Name="PowerDistributionMetrics" BaseType="PowerDistributionMetrics.v1_0_1.PowerDistributionMetrics"/>
123    </Schema>
124
125    <Schema xmlns="http://docs.oasis-open.org/odata/ns/edm" Namespace="PowerDistributionMetrics.v1_0_3">
126      <Annotation Term="Redfish.OwningEntity" String="DMTF"/>
127      <Annotation Term="OData.Description" String="This version was created to correct various typographical errors."/>
128      <EntityType Name="PowerDistributionMetrics" BaseType="PowerDistributionMetrics.v1_0_2.PowerDistributionMetrics"/>
129    </Schema>
130
131    <Schema xmlns="http://docs.oasis-open.org/odata/ns/edm" Namespace="PowerDistributionMetrics.v1_1_0">
132      <Annotation Term="Redfish.OwningEntity" String="DMTF"/>
133      <Annotation Term="Redfish.Release" String="2021.1"/>
134
135      <EntityType Name="PowerDistributionMetrics" BaseType="PowerDistributionMetrics.v1_0_1.PowerDistributionMetrics">
136        <NavigationProperty Name="TemperatureCelsius" Type="Sensor.Sensor">
137          <Annotation Term="Redfish.ExcerptCopy"/>
138          <Annotation Term="OData.Description" String="Temperature (Celsius)."/>
139          <Annotation Term="OData.LongDescription" String="This property shall contain the temperature, in degree Celsius units, for this resource.  The value of the DataSourceUri property, if present, shall reference a resource of type Sensor with the ReadingType property containing the value `Temperature`."/>
140        </NavigationProperty>
141        <NavigationProperty Name="HumidityPercent" Type="Sensor.Sensor">
142          <Annotation Term="Redfish.ExcerptCopy"/>
143          <Annotation Term="OData.Description" String="Humidity (percent)."/>
144          <Annotation Term="OData.LongDescription" String="This property shall contain the humidity, in percent units, for this resource.  The value of the DataSourceUri property, if present, shall reference a resource of type Sensor with the ReadingType property containing the value `Humidity`."/>
145        </NavigationProperty>
146      </EntityType>
147    </Schema>
148
149    <Schema xmlns="http://docs.oasis-open.org/odata/ns/edm" Namespace="PowerDistributionMetrics.v1_1_1">
150      <Annotation Term="Redfish.OwningEntity" String="DMTF"/>
151      <Annotation Term="OData.Description" String="This version was created to update descriptions to tie excerpt property definitions to a specific type of Sensor or Control."/>
152      <EntityType Name="PowerDistributionMetrics" BaseType="PowerDistributionMetrics.v1_1_0.PowerDistributionMetrics"/>
153    </Schema>
154
155    <Schema xmlns="http://docs.oasis-open.org/odata/ns/edm" Namespace="PowerDistributionMetrics.v1_1_2">
156      <Annotation Term="Redfish.OwningEntity" String="DMTF"/>
157      <Annotation Term="OData.Description" String="This version was created to correct various typographical errors."/>
158      <EntityType Name="PowerDistributionMetrics" BaseType="PowerDistributionMetrics.v1_1_1.PowerDistributionMetrics"/>
159    </Schema>
160
161    <Schema xmlns="http://docs.oasis-open.org/odata/ns/edm" Namespace="PowerDistributionMetrics.v1_2_0">
162      <Annotation Term="Redfish.OwningEntity" String="DMTF"/>
163      <Annotation Term="Redfish.Release" String="2021.2"/>
164      <Annotation Term="OData.Description" String="This version was created to add PowerLoadPercent."/>
165
166      <EntityType Name="PowerDistributionMetrics" BaseType="PowerDistributionMetrics.v1_1_0.PowerDistributionMetrics">
167        <NavigationProperty Name="PowerLoadPercent" Type="Sensor.Sensor">
168          <Annotation Term="Redfish.ExcerptCopy"/>
169          <Annotation Term="OData.Description" String="The power load (percent) for this equipment."/>
170          <Annotation Term="OData.LongDescription" String="This property shall contain the power load, in percent units, for this device that represents the `Total` ElectricalContext for this device.  The value of the DataSourceUri property, if present, shall reference a resource of type Sensor with the ReadingType property containing the value `Percent`."/>
171        </NavigationProperty>
172      </EntityType>
173    </Schema>
174
175    <Schema xmlns="http://docs.oasis-open.org/odata/ns/edm" Namespace="PowerDistributionMetrics.v1_2_1">
176      <Annotation Term="Redfish.OwningEntity" String="DMTF"/>
177      <Annotation Term="OData.Description" String="This version was created to update descriptions to tie excerpt property definitions to a specific type of Sensor or Control."/>
178      <EntityType Name="PowerDistributionMetrics" BaseType="PowerDistributionMetrics.v1_2_0.PowerDistributionMetrics"/>
179    </Schema>
180
181    <Schema xmlns="http://docs.oasis-open.org/odata/ns/edm" Namespace="PowerDistributionMetrics.v1_2_2">
182      <Annotation Term="Redfish.OwningEntity" String="DMTF"/>
183      <Annotation Term="OData.Description" String="This version was created to correct various typographical errors."/>
184      <EntityType Name="PowerDistributionMetrics" BaseType="PowerDistributionMetrics.v1_2_1.PowerDistributionMetrics"/>
185    </Schema>
186
187    <Schema xmlns="http://docs.oasis-open.org/odata/ns/edm" Namespace="PowerDistributionMetrics.v1_3_0">
188      <Annotation Term="Redfish.OwningEntity" String="DMTF"/>
189      <Annotation Term="Redfish.Release" String="2021.4"/>
190
191      <EntityType Name="PowerDistributionMetrics" BaseType="PowerDistributionMetrics.v1_2_1.PowerDistributionMetrics">
192        <NavigationProperty Name="AbsoluteHumidity" Type="Sensor.Sensor">
193          <Annotation Term="Redfish.ExcerptCopy"/>
194          <Annotation Term="OData.Description" String="Absolute humidity (g/m^3)."/>
195          <Annotation Term="OData.LongDescription" String="This property shall contain the absolute (volumetric) humidity sensor reading, in grams per cubic meter units, for this resource.  The value of the DataSourceUri property, if present, shall reference a resource of type Sensor with the ReadingType property containing the value `AbsoluteHumidity`."/>
196        </NavigationProperty>
197      </EntityType>
198    </Schema>
199
200    <Schema xmlns="http://docs.oasis-open.org/odata/ns/edm" Namespace="PowerDistributionMetrics.v1_3_1">
201      <Annotation Term="Redfish.OwningEntity" String="DMTF"/>
202      <Annotation Term="OData.Description" String="This version was created to correct various typographical errors."/>
203      <EntityType Name="PowerDistributionMetrics" BaseType="PowerDistributionMetrics.v1_3_0.PowerDistributionMetrics"/>
204    </Schema>
205
206  </edmx:DataServices>
207</edmx:Edmx>
208