12bde4061SEd Tanous<?xml version="1.0" encoding="UTF-8"?> 22bde4061SEd Tanous<!----> 32bde4061SEd Tanous<!--################################################################################ --> 4*f2a8e57eSGunnar Mills<!--# Redfish Schema: BatteryMetrics v1.0.4 --> 52bde4061SEd Tanous<!--# --> 62bde4061SEd Tanous<!--# For a detailed change log, see the README file contained in the DSP8010 bundle, --> 72bde4061SEd Tanous<!--# available at http://www.dmtf.org/standards/redfish --> 8*f2a8e57eSGunnar Mills<!--# Copyright 2014-2024 DMTF. --> 92bde4061SEd Tanous<!--# For the full DMTF copyright policy, see http://www.dmtf.org/about/policies/copyright --> 102bde4061SEd Tanous<!--################################################################################ --> 112bde4061SEd Tanous<!----> 122bde4061SEd Tanous<edmx:Edmx xmlns:edmx="http://docs.oasis-open.org/odata/ns/edmx" Version="4.0"> 132bde4061SEd Tanous 142bde4061SEd Tanous <edmx:Reference Uri="http://docs.oasis-open.org/odata/odata/v4.0/errata03/csd01/complete/vocabularies/Org.OData.Core.V1.xml"> 152bde4061SEd Tanous <edmx:Include Namespace="Org.OData.Core.V1" Alias="OData"/> 162bde4061SEd Tanous </edmx:Reference> 172bde4061SEd Tanous <edmx:Reference Uri="http://docs.oasis-open.org/odata/odata/v4.0/errata03/csd01/complete/vocabularies/Org.OData.Capabilities.V1.xml"> 182bde4061SEd Tanous <edmx:Include Namespace="Org.OData.Capabilities.V1" Alias="Capabilities"/> 192bde4061SEd Tanous </edmx:Reference> 202bde4061SEd Tanous <edmx:Reference Uri="http://redfish.dmtf.org/schemas/v1/RedfishExtensions_v1.xml"> 212bde4061SEd Tanous <edmx:Include Namespace="RedfishExtensions.v1_0_0" Alias="Redfish"/> 222bde4061SEd Tanous <edmx:Include Namespace="Validation.v1_0_0" Alias="Validation"/> 232bde4061SEd Tanous </edmx:Reference> 242bde4061SEd Tanous <edmx:Reference Uri="http://redfish.dmtf.org/schemas/v1/Resource_v1.xml"> 252bde4061SEd Tanous <edmx:Include Namespace="Resource"/> 262bde4061SEd Tanous <edmx:Include Namespace="Resource.v1_0_0"/> 272bde4061SEd Tanous </edmx:Reference> 282bde4061SEd Tanous <edmx:Reference Uri="http://redfish.dmtf.org/schemas/v1/Sensor_v1.xml"> 292bde4061SEd Tanous <edmx:Include Namespace="Sensor"/> 302bde4061SEd Tanous </edmx:Reference> 312bde4061SEd Tanous 322bde4061SEd Tanous <edmx:DataServices> 332bde4061SEd Tanous 342bde4061SEd Tanous <Schema xmlns="http://docs.oasis-open.org/odata/ns/edm" Namespace="BatteryMetrics"> 352bde4061SEd Tanous <Annotation Term="Redfish.OwningEntity" String="DMTF"/> 36*f2a8e57eSGunnar Mills <Annotation Term="Redfish.Language" String="en"/> 372bde4061SEd Tanous 382bde4061SEd Tanous <EntityType Name="BatteryMetrics" BaseType="Resource.v1_0_0.Resource" Abstract="true"> 39*f2a8e57eSGunnar Mills <Annotation Term="OData.Description" String="The `BatteryMetrics` schema contains definitions for the metrics of a battery unit."/> 402bde4061SEd Tanous <Annotation Term="OData.LongDescription" String="This resource shall be used to represent the metrics of a battery unit for a Redfish implementation."/> 412bde4061SEd Tanous <Annotation Term="OData.AdditionalProperties" Bool="false"/> 422bde4061SEd Tanous <Annotation Term="Capabilities.InsertRestrictions"> 432bde4061SEd Tanous <Record> 442bde4061SEd Tanous <PropertyValue Property="Insertable" Bool="false"/> 452bde4061SEd Tanous </Record> 462bde4061SEd Tanous </Annotation> 472bde4061SEd Tanous <Annotation Term="Capabilities.UpdateRestrictions"> 482bde4061SEd Tanous <Record> 492bde4061SEd Tanous <PropertyValue Property="Updatable" Bool="false"/> 502bde4061SEd Tanous </Record> 512bde4061SEd Tanous </Annotation> 522bde4061SEd Tanous <Annotation Term="Capabilities.DeleteRestrictions"> 532bde4061SEd Tanous <Record> 542bde4061SEd Tanous <PropertyValue Property="Deletable" Bool="false"/> 552bde4061SEd Tanous </Record> 562bde4061SEd Tanous </Annotation> 572bde4061SEd Tanous <Annotation Term="Redfish.Uris"> 582bde4061SEd Tanous <Collection> 592bde4061SEd Tanous <String>/redfish/v1/Chassis/{ChassisId}/PowerSubsystem/Batteries/{BatteryId}/Metrics</String> 602bde4061SEd Tanous </Collection> 612bde4061SEd Tanous </Annotation> 622bde4061SEd Tanous </EntityType> 632bde4061SEd Tanous </Schema> 642bde4061SEd Tanous 652bde4061SEd Tanous <Schema xmlns="http://docs.oasis-open.org/odata/ns/edm" Namespace="BatteryMetrics.v1_0_0"> 662bde4061SEd Tanous <Annotation Term="Redfish.OwningEntity" String="DMTF"/> 672bde4061SEd Tanous <Annotation Term="Redfish.Release" String="2021.2"/> 682bde4061SEd Tanous 692bde4061SEd Tanous <EntityType Name="BatteryMetrics" BaseType="BatteryMetrics.BatteryMetrics"> 702bde4061SEd Tanous <Property Name="Status" Type="Resource.Status" Nullable="false"> 712bde4061SEd Tanous <Annotation Term="OData.Description" String="The status and health of the resource and its subordinate or dependent resources."/> 722bde4061SEd Tanous <Annotation Term="OData.LongDescription" String="This property shall contain any status or health properties of the resource."/> 732bde4061SEd Tanous </Property> 742bde4061SEd Tanous <Property Name="DischargeCycles" Type="Edm.Decimal"> 752bde4061SEd Tanous <Annotation Term="OData.Permissions" EnumMember="OData.Permission/Read"/> 762bde4061SEd Tanous <Annotation Term="OData.Description" String="The number of discharges this battery has sustained."/> 772bde4061SEd Tanous <Annotation Term="OData.LongDescription" String="This property shall contain the number of discharges this battery has sustained."/> 782bde4061SEd Tanous <Annotation Term="Validation.Minimum" Int="0"/> 792bde4061SEd Tanous </Property> 802bde4061SEd Tanous <NavigationProperty Name="InputVoltage" Type="Sensor.Sensor" Nullable="false"> 812bde4061SEd Tanous <Annotation Term="OData.Description" String="The input voltage (V) for this battery."/> 82*f2a8e57eSGunnar Mills <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`."/> 832bde4061SEd Tanous <Annotation Term="Redfish.ExcerptCopy" String="Voltage"/> 842bde4061SEd Tanous </NavigationProperty> 852bde4061SEd Tanous <NavigationProperty Name="InputCurrentAmps" Type="Sensor.Sensor" Nullable="false"> 862bde4061SEd Tanous <Annotation Term="OData.Description" String="The input current (A) for this battery."/> 87*f2a8e57eSGunnar Mills <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`."/> 882bde4061SEd Tanous <Annotation Term="Redfish.ExcerptCopy" String="Current"/> 892bde4061SEd Tanous </NavigationProperty> 902bde4061SEd Tanous <NavigationProperty Name="OutputVoltages" Type="Collection(Sensor.Sensor)"> 912bde4061SEd Tanous <Annotation Term="OData.Description" String="The output voltages (V) for this battery."/> 92*f2a8e57eSGunnar Mills <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."/> 932bde4061SEd Tanous <Annotation Term="Redfish.ExcerptCopy" String="Voltage"/> 942bde4061SEd Tanous </NavigationProperty> 952bde4061SEd Tanous <NavigationProperty Name="OutputCurrentAmps" Type="Collection(Sensor.Sensor)"> 962bde4061SEd Tanous <Annotation Term="OData.Description" String="The output currents (A) for this battery."/> 97*f2a8e57eSGunnar Mills <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."/> 982bde4061SEd Tanous <Annotation Term="Redfish.ExcerptCopy" String="Current"/> 992bde4061SEd Tanous </NavigationProperty> 1002bde4061SEd Tanous <NavigationProperty Name="StoredEnergyWattHours" Type="Sensor.Sensor" Nullable="false"> 1012bde4061SEd Tanous <Annotation Term="OData.Description" String="The energy (Wh) stored in this battery."/> 102*f2a8e57eSGunnar Mills <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`."/> 1032bde4061SEd Tanous <Annotation Term="Redfish.ExcerptCopy"/> 1042bde4061SEd Tanous </NavigationProperty> 1052bde4061SEd Tanous <NavigationProperty Name="StoredChargeAmpHours" Type="Sensor.Sensor" Nullable="false"> 1062bde4061SEd Tanous <Annotation Term="OData.Description" String="The charge (Ah) stored in this battery."/> 107*f2a8e57eSGunnar Mills <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`."/> 1082bde4061SEd Tanous <Annotation Term="Redfish.ExcerptCopy"/> 1092bde4061SEd Tanous </NavigationProperty> 1102bde4061SEd Tanous <NavigationProperty Name="TemperatureCelsius" Type="Sensor.Sensor" Nullable="false"> 1112bde4061SEd Tanous <Annotation Term="OData.Description" String="The temperature (C) for this battery."/> 112*f2a8e57eSGunnar Mills <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`."/> 1132bde4061SEd Tanous <Annotation Term="Redfish.ExcerptCopy"/> 1142bde4061SEd Tanous </NavigationProperty> 1152bde4061SEd Tanous <NavigationProperty Name="ChargePercent" Type="Sensor.Sensor" Nullable="false"> 1162bde4061SEd Tanous <Annotation Term="OData.Description" String="The amount of charge available (percent) in this battery."/> 117*f2a8e57eSGunnar Mills <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`."/> 1182bde4061SEd Tanous <Annotation Term="Redfish.ExcerptCopy"/> 1192bde4061SEd Tanous </NavigationProperty> 1202bde4061SEd Tanous <NavigationProperty Name="CellVoltages" Type="Collection(Sensor.Sensor)"> 1212bde4061SEd Tanous <Annotation Term="OData.Description" String="The cell voltages (V) for this battery."/> 122*f2a8e57eSGunnar Mills <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`."/> 1232bde4061SEd Tanous <Annotation Term="Redfish.ExcerptCopy" String="Voltage"/> 1242bde4061SEd Tanous </NavigationProperty> 1252bde4061SEd Tanous <Property Name="Actions" Type="BatteryMetrics.v1_0_0.Actions" Nullable="false"> 1262bde4061SEd Tanous <Annotation Term="OData.Description" String="The available actions for this resource."/> 1272bde4061SEd Tanous <Annotation Term="OData.LongDescription" String="This property shall contain the available actions for this resource."/> 1282bde4061SEd Tanous </Property> 1292bde4061SEd Tanous </EntityType> 1302bde4061SEd Tanous 1312bde4061SEd Tanous <ComplexType Name="Actions"> 1322bde4061SEd Tanous <Annotation Term="OData.AdditionalProperties" Bool="false"/> 1332bde4061SEd Tanous <Annotation Term="OData.Description" String="The available actions for this resource."/> 1342bde4061SEd Tanous <Annotation Term="OData.LongDescription" String="This type shall contain the available actions for this resource."/> 1352bde4061SEd Tanous <Property Name="Oem" Type="BatteryMetrics.v1_0_0.OemActions" Nullable="false"> 1362bde4061SEd Tanous <Annotation Term="OData.Description" String="The available OEM-specific actions for this resource."/> 1372bde4061SEd Tanous <Annotation Term="OData.LongDescription" String="This property shall contain the available OEM-specific actions for this resource."/> 1382bde4061SEd Tanous </Property> 1392bde4061SEd Tanous </ComplexType> 1402bde4061SEd Tanous 1412bde4061SEd Tanous <ComplexType Name="OemActions"> 1422bde4061SEd Tanous <Annotation Term="OData.AdditionalProperties" Bool="true"/> 1432bde4061SEd Tanous <Annotation Term="OData.Description" String="The available OEM-specific actions for this resource."/> 1442bde4061SEd Tanous <Annotation Term="OData.LongDescription" String="This type shall contain the available OEM-specific actions for this resource."/> 1452bde4061SEd Tanous </ComplexType> 1462bde4061SEd Tanous </Schema> 1472bde4061SEd Tanous 1482bde4061SEd Tanous <Schema xmlns="http://docs.oasis-open.org/odata/ns/edm" Namespace="BatteryMetrics.v1_0_1"> 1492bde4061SEd Tanous <Annotation Term="Redfish.OwningEntity" String="DMTF"/> 150*f2a8e57eSGunnar Mills <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."/> 1512bde4061SEd Tanous <EntityType Name="BatteryMetrics" BaseType="BatteryMetrics.v1_0_0.BatteryMetrics"/> 1522bde4061SEd Tanous </Schema> 1532bde4061SEd Tanous 1542bde4061SEd Tanous <Schema xmlns="http://docs.oasis-open.org/odata/ns/edm" Namespace="BatteryMetrics.v1_0_2"> 1552bde4061SEd Tanous <Annotation Term="Redfish.OwningEntity" String="DMTF"/> 1562bde4061SEd Tanous <Annotation Term="OData.Description" String="This version was created to clarify the range of possible values for properties with percent units."/> 1572bde4061SEd Tanous <EntityType Name="BatteryMetrics" BaseType="BatteryMetrics.v1_0_1.BatteryMetrics"/> 1582bde4061SEd Tanous </Schema> 1592bde4061SEd Tanous 1602bde4061SEd Tanous <Schema xmlns="http://docs.oasis-open.org/odata/ns/edm" Namespace="BatteryMetrics.v1_0_3"> 1612bde4061SEd Tanous <Annotation Term="Redfish.OwningEntity" String="DMTF"/> 1622bde4061SEd Tanous <Annotation Term="OData.Description" String="This version was created to correct various typographical errors."/> 1632bde4061SEd Tanous <EntityType Name="BatteryMetrics" BaseType="BatteryMetrics.v1_0_2.BatteryMetrics"/> 1642bde4061SEd Tanous </Schema> 1652bde4061SEd Tanous 166*f2a8e57eSGunnar Mills <Schema xmlns="http://docs.oasis-open.org/odata/ns/edm" Namespace="BatteryMetrics.v1_0_4"> 167*f2a8e57eSGunnar Mills <Annotation Term="Redfish.OwningEntity" String="DMTF"/> 168*f2a8e57eSGunnar Mills <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."/> 169*f2a8e57eSGunnar Mills <EntityType Name="BatteryMetrics" BaseType="BatteryMetrics.v1_0_3.BatteryMetrics"/> 170*f2a8e57eSGunnar Mills </Schema> 171*f2a8e57eSGunnar Mills 1722bde4061SEd Tanous </edmx:DataServices> 1732bde4061SEd Tanous</edmx:Edmx> 174