1<?xml version="1.0" encoding="UTF-8"?> 2<!----> 3<!--################################################################################ --> 4<!--# Redfish Schema: BatteryMetrics v1.0.3 --> 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:Include Namespace="Validation.v1_0_0" Alias="Validation"/> 23 </edmx:Reference> 24 <edmx:Reference Uri="http://redfish.dmtf.org/schemas/v1/Resource_v1.xml"> 25 <edmx:Include Namespace="Resource"/> 26 <edmx:Include Namespace="Resource.v1_0_0"/> 27 </edmx:Reference> 28 <edmx:Reference Uri="http://redfish.dmtf.org/schemas/v1/Sensor_v1.xml"> 29 <edmx:Include Namespace="Sensor"/> 30 </edmx:Reference> 31 32 <edmx:DataServices> 33 34 <Schema xmlns="http://docs.oasis-open.org/odata/ns/edm" Namespace="BatteryMetrics"> 35 <Annotation Term="Redfish.OwningEntity" String="DMTF"/> 36 37 <EntityType Name="BatteryMetrics" BaseType="Resource.v1_0_0.Resource" Abstract="true"> 38 <Annotation Term="OData.Description" String="The BatteryMetrics schema contains definitions for the metrics of a battery unit."/> 39 <Annotation Term="OData.LongDescription" String="This resource shall be used to represent the metrics of a battery 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/Batteries/{BatteryId}/Metrics</String> 59 </Collection> 60 </Annotation> 61 </EntityType> 62 </Schema> 63 64 <Schema xmlns="http://docs.oasis-open.org/odata/ns/edm" Namespace="BatteryMetrics.v1_0_0"> 65 <Annotation Term="Redfish.OwningEntity" String="DMTF"/> 66 <Annotation Term="Redfish.Release" String="2021.2"/> 67 68 <EntityType Name="BatteryMetrics" BaseType="BatteryMetrics.BatteryMetrics"> 69 <Property Name="Status" Type="Resource.Status" Nullable="false"> 70 <Annotation Term="OData.Description" String="The status and health of the resource and its subordinate or dependent resources."/> 71 <Annotation Term="OData.LongDescription" String="This property shall contain any status or health properties of the resource."/> 72 </Property> 73 <Property Name="DischargeCycles" Type="Edm.Decimal"> 74 <Annotation Term="OData.Permissions" EnumMember="OData.Permission/Read"/> 75 <Annotation Term="OData.Description" String="The number of discharges this battery has sustained."/> 76 <Annotation Term="OData.LongDescription" String="This property shall contain the number of discharges this battery has sustained."/> 77 <Annotation Term="Validation.Minimum" Int="0"/> 78 </Property> 79 <NavigationProperty Name="InputVoltage" Type="Sensor.Sensor" Nullable="false"> 80 <Annotation Term="OData.Description" String="The input voltage (V) for this battery."/> 81 <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 <Annotation Term="Redfish.ExcerptCopy" String="Voltage"/> 83 </NavigationProperty> 84 <NavigationProperty Name="InputCurrentAmps" Type="Sensor.Sensor" Nullable="false"> 85 <Annotation Term="OData.Description" String="The input current (A) for this battery."/> 86 <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 <Annotation Term="Redfish.ExcerptCopy" String="Current"/> 88 </NavigationProperty> 89 <NavigationProperty Name="OutputVoltages" Type="Collection(Sensor.Sensor)"> 90 <Annotation Term="OData.Description" String="The output voltages (V) for this battery."/> 91 <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 <Annotation Term="Redfish.ExcerptCopy" String="Voltage"/> 93 </NavigationProperty> 94 <NavigationProperty Name="OutputCurrentAmps" Type="Collection(Sensor.Sensor)"> 95 <Annotation Term="OData.Description" String="The output currents (A) for this battery."/> 96 <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 <Annotation Term="Redfish.ExcerptCopy" String="Current"/> 98 </NavigationProperty> 99 <NavigationProperty Name="StoredEnergyWattHours" Type="Sensor.Sensor" Nullable="false"> 100 <Annotation Term="OData.Description" String="The energy (Wh) stored in this battery."/> 101 <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 <Annotation Term="Redfish.ExcerptCopy"/> 103 </NavigationProperty> 104 <NavigationProperty Name="StoredChargeAmpHours" Type="Sensor.Sensor" Nullable="false"> 105 <Annotation Term="OData.Description" String="The charge (Ah) stored in this battery."/> 106 <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 <Annotation Term="Redfish.ExcerptCopy"/> 108 </NavigationProperty> 109 <NavigationProperty Name="TemperatureCelsius" Type="Sensor.Sensor" Nullable="false"> 110 <Annotation Term="OData.Description" String="The temperature (C) for this battery."/> 111 <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 <Annotation Term="Redfish.ExcerptCopy"/> 113 </NavigationProperty> 114 <NavigationProperty Name="ChargePercent" Type="Sensor.Sensor" Nullable="false"> 115 <Annotation Term="OData.Description" String="The amount of charge available (percent) in this battery."/> 116 <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 <Annotation Term="Redfish.ExcerptCopy"/> 118 </NavigationProperty> 119 <NavigationProperty Name="CellVoltages" Type="Collection(Sensor.Sensor)"> 120 <Annotation Term="OData.Description" String="The cell voltages (V) for this battery."/> 121 <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 <Annotation Term="Redfish.ExcerptCopy" String="Voltage"/> 123 </NavigationProperty> 124 <Property Name="Actions" Type="BatteryMetrics.v1_0_0.Actions" Nullable="false"> 125 <Annotation Term="OData.Description" String="The available actions for this resource."/> 126 <Annotation Term="OData.LongDescription" String="This property shall contain the available actions for this resource."/> 127 </Property> 128 </EntityType> 129 130 <ComplexType Name="Actions"> 131 <Annotation Term="OData.AdditionalProperties" Bool="false"/> 132 <Annotation Term="OData.Description" String="The available actions for this resource."/> 133 <Annotation Term="OData.LongDescription" String="This type shall contain the available actions for this resource."/> 134 <Property Name="Oem" Type="BatteryMetrics.v1_0_0.OemActions" Nullable="false"> 135 <Annotation Term="OData.Description" String="The available OEM-specific actions for this resource."/> 136 <Annotation Term="OData.LongDescription" String="This property shall contain the available OEM-specific actions for this resource."/> 137 </Property> 138 </ComplexType> 139 140 <ComplexType Name="OemActions"> 141 <Annotation Term="OData.AdditionalProperties" Bool="true"/> 142 <Annotation Term="OData.Description" String="The available OEM-specific actions for this resource."/> 143 <Annotation Term="OData.LongDescription" String="This type shall contain the available OEM-specific actions for this resource."/> 144 </ComplexType> 145 </Schema> 146 147 <Schema xmlns="http://docs.oasis-open.org/odata/ns/edm" Namespace="BatteryMetrics.v1_0_1"> 148 <Annotation Term="Redfish.OwningEntity" String="DMTF"/> 149 <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 <EntityType Name="BatteryMetrics" BaseType="BatteryMetrics.v1_0_0.BatteryMetrics"/> 151 </Schema> 152 153 <Schema xmlns="http://docs.oasis-open.org/odata/ns/edm" Namespace="BatteryMetrics.v1_0_2"> 154 <Annotation Term="Redfish.OwningEntity" String="DMTF"/> 155 <Annotation Term="OData.Description" String="This version was created to clarify the range of possible values for properties with percent units."/> 156 <EntityType Name="BatteryMetrics" BaseType="BatteryMetrics.v1_0_1.BatteryMetrics"/> 157 </Schema> 158 159 <Schema xmlns="http://docs.oasis-open.org/odata/ns/edm" Namespace="BatteryMetrics.v1_0_3"> 160 <Annotation Term="Redfish.OwningEntity" String="DMTF"/> 161 <Annotation Term="OData.Description" String="This version was created to correct various typographical errors."/> 162 <EntityType Name="BatteryMetrics" BaseType="BatteryMetrics.v1_0_2.BatteryMetrics"/> 163 </Schema> 164 165 </edmx:DataServices> 166</edmx:Edmx> 167