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