1*2bde4061SEd Tanous<?xml version="1.0" encoding="UTF-8"?>
2*2bde4061SEd Tanous<!---->
3*2bde4061SEd Tanous<!--################################################################################       -->
4*2bde4061SEd Tanous<!--# Redfish Schema:  BatteryMetrics v1.0.3                                               -->
5*2bde4061SEd Tanous<!--#                                                                                      -->
6*2bde4061SEd Tanous<!--# For a detailed change log, see the README file contained in the DSP8010 bundle,      -->
7*2bde4061SEd Tanous<!--# available at http://www.dmtf.org/standards/redfish                                   -->
8*2bde4061SEd Tanous<!--# Copyright 2014-2023 DMTF.                                                            -->
9*2bde4061SEd Tanous<!--# For the full DMTF copyright policy, see http://www.dmtf.org/about/policies/copyright -->
10*2bde4061SEd Tanous<!--################################################################################       -->
11*2bde4061SEd Tanous<!---->
12*2bde4061SEd Tanous<edmx:Edmx xmlns:edmx="http://docs.oasis-open.org/odata/ns/edmx" Version="4.0">
13*2bde4061SEd Tanous
14*2bde4061SEd Tanous  <edmx:Reference Uri="http://docs.oasis-open.org/odata/odata/v4.0/errata03/csd01/complete/vocabularies/Org.OData.Core.V1.xml">
15*2bde4061SEd Tanous    <edmx:Include Namespace="Org.OData.Core.V1" Alias="OData"/>
16*2bde4061SEd Tanous  </edmx:Reference>
17*2bde4061SEd Tanous  <edmx:Reference Uri="http://docs.oasis-open.org/odata/odata/v4.0/errata03/csd01/complete/vocabularies/Org.OData.Capabilities.V1.xml">
18*2bde4061SEd Tanous    <edmx:Include Namespace="Org.OData.Capabilities.V1" Alias="Capabilities"/>
19*2bde4061SEd Tanous  </edmx:Reference>
20*2bde4061SEd Tanous  <edmx:Reference Uri="http://redfish.dmtf.org/schemas/v1/RedfishExtensions_v1.xml">
21*2bde4061SEd Tanous    <edmx:Include Namespace="RedfishExtensions.v1_0_0" Alias="Redfish"/>
22*2bde4061SEd Tanous    <edmx:Include Namespace="Validation.v1_0_0" Alias="Validation"/>
23*2bde4061SEd Tanous  </edmx:Reference>
24*2bde4061SEd Tanous  <edmx:Reference Uri="http://redfish.dmtf.org/schemas/v1/Resource_v1.xml">
25*2bde4061SEd Tanous    <edmx:Include Namespace="Resource"/>
26*2bde4061SEd Tanous    <edmx:Include Namespace="Resource.v1_0_0"/>
27*2bde4061SEd Tanous  </edmx:Reference>
28*2bde4061SEd Tanous  <edmx:Reference Uri="http://redfish.dmtf.org/schemas/v1/Sensor_v1.xml">
29*2bde4061SEd Tanous    <edmx:Include Namespace="Sensor"/>
30*2bde4061SEd Tanous  </edmx:Reference>
31*2bde4061SEd Tanous
32*2bde4061SEd Tanous  <edmx:DataServices>
33*2bde4061SEd Tanous
34*2bde4061SEd Tanous    <Schema xmlns="http://docs.oasis-open.org/odata/ns/edm" Namespace="BatteryMetrics">
35*2bde4061SEd Tanous      <Annotation Term="Redfish.OwningEntity" String="DMTF"/>
36*2bde4061SEd Tanous
37*2bde4061SEd Tanous      <EntityType Name="BatteryMetrics" BaseType="Resource.v1_0_0.Resource" Abstract="true">
38*2bde4061SEd Tanous        <Annotation Term="OData.Description" String="The BatteryMetrics schema contains definitions for the metrics of a battery unit."/>
39*2bde4061SEd Tanous        <Annotation Term="OData.LongDescription" String="This resource shall be used to represent the metrics of a battery unit for a Redfish implementation."/>
40*2bde4061SEd Tanous        <Annotation Term="OData.AdditionalProperties" Bool="false"/>
41*2bde4061SEd Tanous        <Annotation Term="Capabilities.InsertRestrictions">
42*2bde4061SEd Tanous          <Record>
43*2bde4061SEd Tanous            <PropertyValue Property="Insertable" Bool="false"/>
44*2bde4061SEd Tanous          </Record>
45*2bde4061SEd Tanous        </Annotation>
46*2bde4061SEd Tanous        <Annotation Term="Capabilities.UpdateRestrictions">
47*2bde4061SEd Tanous          <Record>
48*2bde4061SEd Tanous            <PropertyValue Property="Updatable" Bool="false"/>
49*2bde4061SEd Tanous          </Record>
50*2bde4061SEd Tanous        </Annotation>
51*2bde4061SEd Tanous        <Annotation Term="Capabilities.DeleteRestrictions">
52*2bde4061SEd Tanous          <Record>
53*2bde4061SEd Tanous            <PropertyValue Property="Deletable" Bool="false"/>
54*2bde4061SEd Tanous          </Record>
55*2bde4061SEd Tanous        </Annotation>
56*2bde4061SEd Tanous        <Annotation Term="Redfish.Uris">
57*2bde4061SEd Tanous          <Collection>
58*2bde4061SEd Tanous            <String>/redfish/v1/Chassis/{ChassisId}/PowerSubsystem/Batteries/{BatteryId}/Metrics</String>
59*2bde4061SEd Tanous          </Collection>
60*2bde4061SEd Tanous        </Annotation>
61*2bde4061SEd Tanous      </EntityType>
62*2bde4061SEd Tanous    </Schema>
63*2bde4061SEd Tanous
64*2bde4061SEd Tanous    <Schema xmlns="http://docs.oasis-open.org/odata/ns/edm" Namespace="BatteryMetrics.v1_0_0">
65*2bde4061SEd Tanous      <Annotation Term="Redfish.OwningEntity" String="DMTF"/>
66*2bde4061SEd Tanous      <Annotation Term="Redfish.Release" String="2021.2"/>
67*2bde4061SEd Tanous
68*2bde4061SEd Tanous      <EntityType Name="BatteryMetrics" BaseType="BatteryMetrics.BatteryMetrics">
69*2bde4061SEd Tanous        <Property Name="Status" Type="Resource.Status" Nullable="false">
70*2bde4061SEd Tanous          <Annotation Term="OData.Description" String="The status and health of the resource and its subordinate or dependent resources."/>
71*2bde4061SEd Tanous          <Annotation Term="OData.LongDescription" String="This property shall contain any status or health properties of the resource."/>
72*2bde4061SEd Tanous        </Property>
73*2bde4061SEd Tanous        <Property Name="DischargeCycles" Type="Edm.Decimal">
74*2bde4061SEd Tanous          <Annotation Term="OData.Permissions" EnumMember="OData.Permission/Read"/>
75*2bde4061SEd Tanous          <Annotation Term="OData.Description" String="The number of discharges this battery has sustained."/>
76*2bde4061SEd Tanous          <Annotation Term="OData.LongDescription" String="This property shall contain the number of discharges this battery has sustained."/>
77*2bde4061SEd Tanous          <Annotation Term="Validation.Minimum" Int="0"/>
78*2bde4061SEd Tanous        </Property>
79*2bde4061SEd Tanous        <NavigationProperty Name="InputVoltage" Type="Sensor.Sensor" Nullable="false">
80*2bde4061SEd Tanous          <Annotation Term="OData.Description" String="The input voltage (V) for this battery."/>
81*2bde4061SEd Tanous          <Annotation Term="OData.LongDescription" String="This property shall contain the input voltage, in volt units, for this battery.  The value of the DataSourceUri property, if present, shall reference a resource of type Sensor with the ReadingType property containing the value `Voltage`."/>
82*2bde4061SEd Tanous          <Annotation Term="Redfish.ExcerptCopy" String="Voltage"/>
83*2bde4061SEd Tanous        </NavigationProperty>
84*2bde4061SEd Tanous        <NavigationProperty Name="InputCurrentAmps" Type="Sensor.Sensor" Nullable="false">
85*2bde4061SEd Tanous          <Annotation Term="OData.Description" String="The input current (A) for this battery."/>
86*2bde4061SEd Tanous          <Annotation Term="OData.LongDescription" String="This property shall contain the input current, in ampere units, for this battery.  The value of the DataSourceUri property, if present, shall reference a resource of type Sensor with the ReadingType property containing the value `Current`."/>
87*2bde4061SEd Tanous          <Annotation Term="Redfish.ExcerptCopy" String="Current"/>
88*2bde4061SEd Tanous        </NavigationProperty>
89*2bde4061SEd Tanous        <NavigationProperty Name="OutputVoltages" Type="Collection(Sensor.Sensor)">
90*2bde4061SEd Tanous          <Annotation Term="OData.Description" String="The output voltages (V) for this battery."/>
91*2bde4061SEd Tanous          <Annotation Term="OData.LongDescription" String="This property shall contain the output voltages, in volt units, for this battery.  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 OutputCurrentAmps property."/>
92*2bde4061SEd Tanous          <Annotation Term="Redfish.ExcerptCopy" String="Voltage"/>
93*2bde4061SEd Tanous        </NavigationProperty>
94*2bde4061SEd Tanous        <NavigationProperty Name="OutputCurrentAmps" Type="Collection(Sensor.Sensor)">
95*2bde4061SEd Tanous          <Annotation Term="OData.Description" String="The output currents (A) for this battery."/>
96*2bde4061SEd Tanous          <Annotation Term="OData.LongDescription" String="This property shall contain the output currents, in ampere units, for this battery.  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 OutputVoltages property."/>
97*2bde4061SEd Tanous          <Annotation Term="Redfish.ExcerptCopy" String="Current"/>
98*2bde4061SEd Tanous        </NavigationProperty>
99*2bde4061SEd Tanous        <NavigationProperty Name="StoredEnergyWattHours" Type="Sensor.Sensor" Nullable="false">
100*2bde4061SEd Tanous          <Annotation Term="OData.Description" String="The energy (Wh) stored in this battery."/>
101*2bde4061SEd Tanous          <Annotation Term="OData.LongDescription" String="This property shall contain the stored energy, in watt-hour units, for this battery.  The value of the DataSourceUri property, if present, shall reference a resource of type Sensor with the ReadingType property containing the value `EnergyWh`."/>
102*2bde4061SEd Tanous          <Annotation Term="Redfish.ExcerptCopy"/>
103*2bde4061SEd Tanous        </NavigationProperty>
104*2bde4061SEd Tanous        <NavigationProperty Name="StoredChargeAmpHours" Type="Sensor.Sensor" Nullable="false">
105*2bde4061SEd Tanous          <Annotation Term="OData.Description" String="The charge (Ah) stored in this battery."/>
106*2bde4061SEd Tanous          <Annotation Term="OData.LongDescription" String="This property shall contain the stored charge, in ampere-hour units, for this battery.  The value of the DataSourceUri property, if present, shall reference a resource of type Sensor with the ReadingType property containing the value `ChargeAh`."/>
107*2bde4061SEd Tanous          <Annotation Term="Redfish.ExcerptCopy"/>
108*2bde4061SEd Tanous        </NavigationProperty>
109*2bde4061SEd Tanous        <NavigationProperty Name="TemperatureCelsius" Type="Sensor.Sensor" Nullable="false">
110*2bde4061SEd Tanous          <Annotation Term="OData.Description" String="The temperature (C) for this battery."/>
111*2bde4061SEd Tanous          <Annotation Term="OData.LongDescription" String="This property shall contain the temperature, in degree Celsius units, for this battery.  The value of the DataSourceUri property, if present, shall reference a resource of type Sensor with the ReadingType property containing the value `Temperature`."/>
112*2bde4061SEd Tanous          <Annotation Term="Redfish.ExcerptCopy"/>
113*2bde4061SEd Tanous        </NavigationProperty>
114*2bde4061SEd Tanous        <NavigationProperty Name="ChargePercent" Type="Sensor.Sensor" Nullable="false">
115*2bde4061SEd Tanous          <Annotation Term="OData.Description" String="The amount of charge available (percent) in this battery."/>
116*2bde4061SEd Tanous          <Annotation Term="OData.LongDescription" String="This property shall contain the amount of charge available, in percent units, typically `0` to `100`, in this battery.  The value of the DataSourceUri property, if present, shall reference a resource of type Sensor with the ReadingType property containing the value `Percent`."/>
117*2bde4061SEd Tanous          <Annotation Term="Redfish.ExcerptCopy"/>
118*2bde4061SEd Tanous        </NavigationProperty>
119*2bde4061SEd Tanous        <NavigationProperty Name="CellVoltages" Type="Collection(Sensor.Sensor)">
120*2bde4061SEd Tanous          <Annotation Term="OData.Description" String="The cell voltages (V) for this battery."/>
121*2bde4061SEd Tanous          <Annotation Term="OData.LongDescription" String="This property shall contain the cell voltages, in volt units, for this battery.  The value of the DataSourceUri property, if present, shall reference a resource of type Sensor with the ReadingType property containing the value `Voltage`."/>
122*2bde4061SEd Tanous          <Annotation Term="Redfish.ExcerptCopy" String="Voltage"/>
123*2bde4061SEd Tanous        </NavigationProperty>
124*2bde4061SEd Tanous        <Property Name="Actions" Type="BatteryMetrics.v1_0_0.Actions" Nullable="false">
125*2bde4061SEd Tanous          <Annotation Term="OData.Description" String="The available actions for this resource."/>
126*2bde4061SEd Tanous          <Annotation Term="OData.LongDescription" String="This property shall contain the available actions for this resource."/>
127*2bde4061SEd Tanous        </Property>
128*2bde4061SEd Tanous      </EntityType>
129*2bde4061SEd Tanous
130*2bde4061SEd Tanous      <ComplexType Name="Actions">
131*2bde4061SEd Tanous        <Annotation Term="OData.AdditionalProperties" Bool="false"/>
132*2bde4061SEd Tanous        <Annotation Term="OData.Description" String="The available actions for this resource."/>
133*2bde4061SEd Tanous        <Annotation Term="OData.LongDescription" String="This type shall contain the available actions for this resource."/>
134*2bde4061SEd Tanous        <Property Name="Oem" Type="BatteryMetrics.v1_0_0.OemActions" Nullable="false">
135*2bde4061SEd Tanous          <Annotation Term="OData.Description" String="The available OEM-specific actions for this resource."/>
136*2bde4061SEd Tanous          <Annotation Term="OData.LongDescription" String="This property shall contain the available OEM-specific actions for this resource."/>
137*2bde4061SEd Tanous        </Property>
138*2bde4061SEd Tanous      </ComplexType>
139*2bde4061SEd Tanous
140*2bde4061SEd Tanous      <ComplexType Name="OemActions">
141*2bde4061SEd Tanous        <Annotation Term="OData.AdditionalProperties" Bool="true"/>
142*2bde4061SEd Tanous        <Annotation Term="OData.Description" String="The available OEM-specific actions for this resource."/>
143*2bde4061SEd Tanous        <Annotation Term="OData.LongDescription" String="This type shall contain the available OEM-specific actions for this resource."/>
144*2bde4061SEd Tanous      </ComplexType>
145*2bde4061SEd Tanous    </Schema>
146*2bde4061SEd Tanous
147*2bde4061SEd Tanous    <Schema xmlns="http://docs.oasis-open.org/odata/ns/edm" Namespace="BatteryMetrics.v1_0_1">
148*2bde4061SEd Tanous      <Annotation Term="Redfish.OwningEntity" String="DMTF"/>
149*2bde4061SEd Tanous      <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."/>
150*2bde4061SEd Tanous      <EntityType Name="BatteryMetrics" BaseType="BatteryMetrics.v1_0_0.BatteryMetrics"/>
151*2bde4061SEd Tanous    </Schema>
152*2bde4061SEd Tanous
153*2bde4061SEd Tanous    <Schema xmlns="http://docs.oasis-open.org/odata/ns/edm" Namespace="BatteryMetrics.v1_0_2">
154*2bde4061SEd Tanous      <Annotation Term="Redfish.OwningEntity" String="DMTF"/>
155*2bde4061SEd Tanous      <Annotation Term="OData.Description" String="This version was created to clarify the range of possible values for properties with percent units."/>
156*2bde4061SEd Tanous      <EntityType Name="BatteryMetrics" BaseType="BatteryMetrics.v1_0_1.BatteryMetrics"/>
157*2bde4061SEd Tanous    </Schema>
158*2bde4061SEd Tanous
159*2bde4061SEd Tanous    <Schema xmlns="http://docs.oasis-open.org/odata/ns/edm" Namespace="BatteryMetrics.v1_0_3">
160*2bde4061SEd Tanous      <Annotation Term="Redfish.OwningEntity" String="DMTF"/>
161*2bde4061SEd Tanous      <Annotation Term="OData.Description" String="This version was created to correct various typographical errors."/>
162*2bde4061SEd Tanous      <EntityType Name="BatteryMetrics" BaseType="BatteryMetrics.v1_0_2.BatteryMetrics"/>
163*2bde4061SEd Tanous    </Schema>
164*2bde4061SEd Tanous
165*2bde4061SEd Tanous  </edmx:DataServices>
166*2bde4061SEd Tanous</edmx:Edmx>
167