1<?xml version="1.0" encoding="UTF-8"?>
2<!---->
3<!--################################################################################       -->
4<!--# Redfish Schema:  PowerSupplyMetrics v1.1.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"/>
25    <edmx:Include Namespace="Resource.v1_0_0"/>
26  </edmx:Reference>
27  <edmx:Reference Uri="http://redfish.dmtf.org/schemas/v1/Sensor_v1.xml">
28    <edmx:Include Namespace="Sensor"/>
29  </edmx:Reference>
30
31  <edmx:DataServices>
32
33    <Schema xmlns="http://docs.oasis-open.org/odata/ns/edm" Namespace="PowerSupplyMetrics">
34      <Annotation Term="Redfish.OwningEntity" String="DMTF"/>
35
36      <EntityType Name="PowerSupplyMetrics" BaseType="Resource.v1_0_0.Resource" Abstract="true">
37        <Annotation Term="OData.Description" String="The PowerSupplyMetrics schema contains definitions for the metrics of a power supply."/>
38        <Annotation Term="OData.LongDescription" String="This resource shall be used to represent the metrics of a power supply unit for a Redfish implementation."/>
39        <Annotation Term="OData.AdditionalProperties" Bool="false"/>
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}/PowerSubsystem/PowerSupplies/{PowerSupplyId}/Metrics</String>
58            <String>/redfish/v1/PowerEquipment/PowerShelves/{PowerDistributionId}/PowerSupplies/{PowerSupplyId}/Metrics</String>
59          </Collection>
60        </Annotation>
61      </EntityType>
62
63      <Action Name="ResetMetrics" IsBound="true">
64        <Parameter Name="PowerSupplyMetrics" Type="PowerSupplyMetrics.v1_0_0.Actions"/>
65        <Annotation Term="OData.Description" String="This action resets the summary metrics related to this equipment."/>
66        <Annotation Term="OData.LongDescription" String="This action shall reset any time intervals or counted values for this equipment."/>
67      </Action>
68    </Schema>
69
70    <Schema xmlns="http://docs.oasis-open.org/odata/ns/edm" Namespace="PowerSupplyMetrics.v1_0_0">
71      <Annotation Term="Redfish.OwningEntity" String="DMTF"/>
72      <Annotation Term="Redfish.Release" String="2020.4"/>
73
74      <EntityType Name="PowerSupplyMetrics" BaseType="PowerSupplyMetrics.PowerSupplyMetrics">
75        <Property Name="Status" Type="Resource.Status" Nullable="false">
76          <Annotation Term="OData.Description" String="The status and health of the resource and its subordinate or dependent resources."/>
77          <Annotation Term="OData.LongDescription" String="This property shall contain any status or health properties of the resource."/>
78        </Property>
79        <NavigationProperty Name="InputVoltage" Type="Sensor.Sensor">
80          <Annotation Term="OData.Description" String="The input voltage (V) for this power supply."/>
81          <Annotation Term="OData.LongDescription" String="This property shall contain the input voltage, in volt units, for this power supply.  The value of the DataSourceUri property, if present, shall reference a resource of type Sensor with the ReadingType property containing the value `Voltage`."/>
82          <Annotation Term="Redfish.ExcerptCopy" String="Voltage"/>
83        </NavigationProperty>
84        <NavigationProperty Name="InputCurrentAmps" Type="Sensor.Sensor">
85          <Annotation Term="OData.Description" String="The input current (A) for this power supply."/>
86          <Annotation Term="OData.LongDescription" String="This property shall contain the input current, in ampere units, for this power supply.  The value of the DataSourceUri property, if present, shall reference a resource of type Sensor with the ReadingType property containing the value `Current`."/>
87          <Annotation Term="Redfish.ExcerptCopy" String="Current"/>
88        </NavigationProperty>
89        <NavigationProperty Name="InputPowerWatts" Type="Sensor.Sensor">
90          <Annotation Term="OData.Description" String="The input power (W) for this power supply."/>
91          <Annotation Term="OData.LongDescription" String="This property shall contain the input power, in watt units, for this power supply.  The value of the DataSourceUri property, if present, shall reference a resource of type Sensor with the ReadingType property containing the value `Power`."/>
92          <Annotation Term="Redfish.ExcerptCopy" String="Power"/>
93        </NavigationProperty>
94        <NavigationProperty Name="EnergykWh" Type="Sensor.Sensor">
95          <Annotation Term="Redfish.ExcerptCopy" String="EnergykWh"/>
96          <Annotation Term="OData.Description" String="The energy consumption (kWh) of this unit."/>
97          <Annotation Term="OData.LongDescription" String="This property shall contain the total energy, in kilowatt-hour units, for this unit 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`."/>
98        </NavigationProperty>
99        <NavigationProperty Name="FrequencyHz" Type="Sensor.Sensor">
100          <Annotation Term="Redfish.ExcerptCopy"/>
101          <Annotation Term="OData.Description" String="The frequency (Hz) for this power supply."/>
102          <Annotation Term="OData.LongDescription" String="This property shall contain the frequency, in hertz units, for this power supply."/>
103        </NavigationProperty>
104        <NavigationProperty Name="OutputPowerWatts" Type="Sensor.Sensor">
105          <Annotation Term="OData.Description" String="The total power output (W) for this power supply."/>
106          <Annotation Term="OData.LongDescription" String="This property shall contain the total output power, in watt units, for this power supply.  The value of the DataSourceUri property, if present, shall reference a resource of type Sensor with the ReadingType property containing the value `Power`."/>
107          <Annotation Term="Redfish.ExcerptCopy" String="Power"/>
108        </NavigationProperty>
109        <NavigationProperty Name="RailVoltage" Type="Collection(Sensor.Sensor)">
110          <Annotation Term="OData.Description" String="The output voltages (V) for this power supply."/>
111          <Annotation Term="OData.LongDescription" String="This property shall contain the output voltages, in volt units, for this power supply.  The value of the DataSourceUri property, if present, shall reference a resource of type Sensor with the ReadingType property containing the value `Voltage`.  The sensors shall appear in the same array order as the OutputRails property in the associated PowerSupply resource."/>
112          <Annotation Term="Redfish.ExcerptCopy" String="Voltage"/>
113        </NavigationProperty>
114        <NavigationProperty Name="RailCurrentAmps" Type="Collection(Sensor.Sensor)">
115          <Annotation Term="OData.Description" String="The output currents (A) for this power supply."/>
116          <Annotation Term="OData.LongDescription" String="This property shall contain the output currents, in ampere units, for this power supply.  The value of the DataSourceUri property, if present, shall reference a resource of type Sensor with the ReadingType property containing the value `Current`.  The sensors shall appear in the same array order as the OutputRails property in the associated PowerSupply resource."/>
117          <Annotation Term="Redfish.ExcerptCopy" String="Current"/>
118        </NavigationProperty>
119        <NavigationProperty Name="RailPowerWatts" Type="Collection(Sensor.Sensor)">
120          <Annotation Term="OData.Description" String="The output power readings (W) for this power supply."/>
121          <Annotation Term="OData.LongDescription" String="This property shall contain the output power readings, in watt units, for this power supply.  The value of the DataSourceUri property, if present, shall reference a resource of type Sensor with the ReadingType property containing the value `Power`.  The sensors shall appear in the same array order as the OutputRails property in the associated PowerSupply resource."/>
122          <Annotation Term="Redfish.ExcerptCopy" String="Power"/>
123        </NavigationProperty>
124        <NavigationProperty Name="TemperatureCelsius" Type="Sensor.Sensor">
125          <Annotation Term="Redfish.ExcerptCopy"/>
126          <Annotation Term="OData.Description" String="The temperature (C) for this power supply."/>
127          <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`."/>
128        </NavigationProperty>
129        <NavigationProperty Name="FanSpeedPercent" Type="Sensor.Sensor">
130          <Annotation Term="Redfish.ExcerptCopy" String="Fan"/>
131          <Annotation Term="OData.Description" String="The fan speed (percent) for this power supply."/>
132          <Annotation Term="OData.LongDescription" String="This property shall contain the fan speed, 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 `Percent`."/>
133          <Annotation Term="Redfish.Revisions">
134            <Collection>
135              <Record>
136                <PropertyValue Property="Kind" EnumMember="Redfish.RevisionKind/Deprecated"/>
137                <PropertyValue Property="Version" String="v1_1_0"/>
138                <PropertyValue Property="Description" String="This property has been deprecated in favor of FanSpeedsPercent to support multiple fans within a power supply."/>
139              </Record>
140            </Collection>
141          </Annotation>
142        </NavigationProperty>
143
144        <Property Name="Actions" Type="PowerSupplyMetrics.v1_0_0.Actions" Nullable="false">
145          <Annotation Term="OData.Description" String="The available actions for this resource."/>
146          <Annotation Term="OData.LongDescription" String="This property shall contain the available actions for this resource."/>
147        </Property>
148      </EntityType>
149
150      <ComplexType Name="Actions">
151        <Annotation Term="OData.AdditionalProperties" Bool="false"/>
152        <Annotation Term="OData.Description" String="The available actions for this resource."/>
153        <Annotation Term="OData.LongDescription" String="This type shall contain the available actions for this resource."/>
154        <Property Name="Oem" Type="PowerSupplyMetrics.v1_0_0.OemActions" Nullable="false">
155          <Annotation Term="OData.Description" String="The available OEM-specific actions for this resource."/>
156          <Annotation Term="OData.LongDescription" String="This property shall contain the available OEM-specific actions for this resource."/>
157        </Property>
158      </ComplexType>
159
160      <ComplexType Name="OemActions">
161        <Annotation Term="OData.AdditionalProperties" Bool="true"/>
162        <Annotation Term="OData.Description" String="The available OEM-specific actions for this resource."/>
163        <Annotation Term="OData.LongDescription" String="This type shall contain the available OEM-specific actions for this resource."/>
164      </ComplexType>
165    </Schema>
166
167    <Schema xmlns="http://docs.oasis-open.org/odata/ns/edm" Namespace="PowerSupplyMetrics.v1_0_1">
168      <Annotation Term="Redfish.OwningEntity" String="DMTF"/>
169      <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.  It was also created to remove unused object definitions."/>
170      <EntityType Name="PowerSupplyMetrics" BaseType="PowerSupplyMetrics.v1_0_0.PowerSupplyMetrics"/>
171    </Schema>
172
173    <Schema xmlns="http://docs.oasis-open.org/odata/ns/edm" Namespace="PowerSupplyMetrics.v1_0_2">
174      <Annotation Term="Redfish.OwningEntity" String="DMTF"/>
175      <Annotation Term="OData.Description" String="This version was created to correct various typographical errors."/>
176      <EntityType Name="PowerSupplyMetrics" BaseType="PowerSupplyMetrics.v1_0_1.PowerSupplyMetrics"/>
177    </Schema>
178
179    <Schema xmlns="http://docs.oasis-open.org/odata/ns/edm" Namespace="PowerSupplyMetrics.v1_1_0">
180      <Annotation Term="Redfish.OwningEntity" String="DMTF"/>
181      <Annotation Term="Redfish.Release" String="2023.1"/>
182      <Annotation Term="OData.Description" String="This version was created to deprecate FanSpeedPercent in favor of FanSpeedsPercent."/>
183
184      <EntityType Name="PowerSupplyMetrics" BaseType="PowerSupplyMetrics.v1_0_1.PowerSupplyMetrics">
185        <NavigationProperty Name="FanSpeedsPercent" Type="Collection(Sensor.Sensor)">
186          <Annotation Term="Redfish.ExcerptCopy" String="FanArray"/>
187          <Annotation Term="OData.Description" String="Fan speeds (percent)."/>
188          <Annotation Term="OData.LongDescription" String="This property shall contain the fan speeds, 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 `Percent`."/>
189        </NavigationProperty>
190      </EntityType>
191    </Schema>
192
193    <Schema xmlns="http://docs.oasis-open.org/odata/ns/edm" Namespace="PowerSupplyMetrics.v1_1_1">
194      <Annotation Term="Redfish.OwningEntity" String="DMTF"/>
195      <Annotation Term="OData.Description" String="This version was created to correct various typographical errors."/>
196      <EntityType Name="PowerSupplyMetrics" BaseType="PowerSupplyMetrics.v1_1_0.PowerSupplyMetrics"/>
197    </Schema>
198
199  </edmx:DataServices>
200</edmx:Edmx>
201