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