1<?xml version="1.0" encoding="UTF-8"?>
2<!---->
3<!--################################################################################       -->
4<!--# Redfish Schema:  HeaterMetrics v1.0.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.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="HeaterMetrics">
33      <Annotation Term="Redfish.OwningEntity" String="DMTF"/>
34      <Annotation Term="Redfish.Language" String="en"/>
35
36      <EntityType Name="HeaterMetrics" BaseType="Resource.v1_0_0.Resource" Abstract="true">
37        <Annotation Term="OData.Description" String="The `HeaterMetrics` schema contains definitions for the metrics of a heater."/>
38        <Annotation Term="OData.LongDescription" String="This resource shall be used to represent the metrics of a heater 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}/ThermalSubsystem/Heaters/{HeaderId}/Metrics</String>
58          </Collection>
59        </Annotation>
60      </EntityType>
61
62      <Action Name="ResetMetrics" IsBound="true">
63        <Parameter Name="HeaterMetrics" Type="HeaterMetrics.v1_0_0.Actions"/>
64        <Annotation Term="OData.Description" String="This action resets the summary metrics related to this equipment."/>
65        <Annotation Term="OData.LongDescription" String="This action shall reset any time intervals or counted values for this equipment."/>
66      </Action>
67    </Schema>
68
69    <Schema xmlns="http://docs.oasis-open.org/odata/ns/edm" Namespace="HeaterMetrics.v1_0_0">
70      <Annotation Term="Redfish.OwningEntity" String="DMTF"/>
71      <Annotation Term="Redfish.Release" String="2022.3"/>
72
73      <EntityType Name="HeaterMetrics" BaseType="HeaterMetrics.HeaterMetrics">
74        <NavigationProperty Name="TemperatureReadingsCelsius" Type="Collection(Sensor.Sensor)">
75          <Annotation Term="Redfish.ExcerptCopy" String="Array"/>
76          <Annotation Term="OData.Description" String="The temperatures (in degree Celsius units) from all related sensors for this device."/>
77          <Annotation Term="OData.LongDescription" String="This property shall contain the temperatures, in degree Celsius units, for this subsystem.  The value of the `DataSourceUri` property, if present, shall reference a resource of type `Sensor` with the `ReadingType` property containing the value `Temperature`."/>
78        </NavigationProperty>
79        <NavigationProperty Name="PowerWatts" Type="Sensor.Sensor">
80          <Annotation Term="Redfish.ExcerptCopy" String="Power"/>
81          <Annotation Term="OData.Description" String="Power consumption (W)."/>
82          <Annotation Term="OData.LongDescription" String="This property shall contain the total power consumption, in watt 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 `Power`."/>
83        </NavigationProperty>
84        <Property Name="PrePowerOnHeatingTimeSeconds" Type="Edm.Int64">
85          <Annotation Term="OData.Permissions" EnumMember="OData.Permission/Read"/>
86          <Annotation Term="OData.Description" String="The total number of seconds the heater was active while the device it heats was powered off."/>
87          <Annotation Term="OData.LongDescription" String="This property shall contain the total number of seconds the heater was active while the device it heats was powered off."/>
88        </Property>
89        <Property Name="RuntimeHeatingTimeSeconds" Type="Edm.Int64">
90          <Annotation Term="OData.Permissions" EnumMember="OData.Permission/Read"/>
91          <Annotation Term="OData.Description" String="The total number of seconds the heater was active while the device it heats was powered on."/>
92          <Annotation Term="OData.LongDescription" String="This property shall contain the total number of seconds the heater was active while the device it heats was powered on."/>
93        </Property>
94        <Property Name="Actions" Type="HeaterMetrics.v1_0_0.Actions" Nullable="false">
95          <Annotation Term="OData.Description" String="The available actions for this resource."/>
96          <Annotation Term="OData.LongDescription" String="This property shall contain the available actions for this resource."/>
97        </Property>
98      </EntityType>
99
100      <ComplexType Name="Actions">
101        <Annotation Term="OData.AdditionalProperties" Bool="false"/>
102        <Annotation Term="OData.Description" String="The available actions for this resource."/>
103        <Annotation Term="OData.LongDescription" String="This type shall contain the available actions for this resource."/>
104        <Property Name="Oem" Type="HeaterMetrics.v1_0_0.OemActions" Nullable="false">
105          <Annotation Term="OData.Description" String="The available OEM-specific actions for this resource."/>
106          <Annotation Term="OData.LongDescription" String="This property shall contain the available OEM-specific actions for this resource."/>
107        </Property>
108      </ComplexType>
109
110      <ComplexType Name="OemActions">
111        <Annotation Term="OData.AdditionalProperties" Bool="true"/>
112        <Annotation Term="OData.Description" String="The available OEM-specific actions for this resource."/>
113        <Annotation Term="OData.LongDescription" String="This type shall contain the available OEM-specific actions for this resource."/>
114      </ComplexType>
115    </Schema>
116
117    <Schema xmlns="http://docs.oasis-open.org/odata/ns/edm" Namespace="HeaterMetrics.v1_0_1">
118      <Annotation Term="Redfish.OwningEntity" String="DMTF"/>
119      <Annotation Term="OData.Description" String="This version was created to correct various typographical errors."/>
120      <EntityType Name="HeaterMetrics" BaseType="HeaterMetrics.v1_0_0.HeaterMetrics"/>
121    </Schema>
122
123    <Schema xmlns="http://docs.oasis-open.org/odata/ns/edm" Namespace="HeaterMetrics.v1_0_2">
124      <Annotation Term="Redfish.OwningEntity" String="DMTF"/>
125      <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."/>
126      <EntityType Name="HeaterMetrics" BaseType="HeaterMetrics.v1_0_1.HeaterMetrics"/>
127    </Schema>
128
129  </edmx:DataServices>
130</edmx:Edmx>
131