1*f2a8e57eSGunnar Mills{ 2*f2a8e57eSGunnar Mills "$id": "http://redfish.dmtf.org/schemas/v1/BatteryMetrics.v1_0_4.json", 3*f2a8e57eSGunnar Mills "$ref": "#/definitions/BatteryMetrics", 4*f2a8e57eSGunnar Mills "$schema": "http://redfish.dmtf.org/schemas/v1/redfish-schema-v1.json", 5*f2a8e57eSGunnar Mills "copyright": "Copyright 2014-2024 DMTF. For the full DMTF copyright policy, see http://www.dmtf.org/about/policies/copyright", 6*f2a8e57eSGunnar Mills "definitions": { 7*f2a8e57eSGunnar Mills "Actions": { 8*f2a8e57eSGunnar Mills "additionalProperties": false, 9*f2a8e57eSGunnar Mills "description": "The available actions for this resource.", 10*f2a8e57eSGunnar Mills "longDescription": "This type shall contain the available actions for this resource.", 11*f2a8e57eSGunnar Mills "patternProperties": { 12*f2a8e57eSGunnar Mills "^([a-zA-Z_][a-zA-Z0-9_]*)?@(odata|Redfish|Message)\\.[a-zA-Z_][a-zA-Z0-9_]*$": { 13*f2a8e57eSGunnar Mills "description": "This property shall specify a valid odata or Redfish property.", 14*f2a8e57eSGunnar Mills "type": [ 15*f2a8e57eSGunnar Mills "array", 16*f2a8e57eSGunnar Mills "boolean", 17*f2a8e57eSGunnar Mills "integer", 18*f2a8e57eSGunnar Mills "number", 19*f2a8e57eSGunnar Mills "null", 20*f2a8e57eSGunnar Mills "object", 21*f2a8e57eSGunnar Mills "string" 22*f2a8e57eSGunnar Mills ] 23*f2a8e57eSGunnar Mills } 24*f2a8e57eSGunnar Mills }, 25*f2a8e57eSGunnar Mills "properties": { 26*f2a8e57eSGunnar Mills "Oem": { 27*f2a8e57eSGunnar Mills "$ref": "#/definitions/OemActions", 28*f2a8e57eSGunnar Mills "description": "The available OEM-specific actions for this resource.", 29*f2a8e57eSGunnar Mills "longDescription": "This property shall contain the available OEM-specific actions for this resource." 30*f2a8e57eSGunnar Mills } 31*f2a8e57eSGunnar Mills }, 32*f2a8e57eSGunnar Mills "type": "object" 33*f2a8e57eSGunnar Mills }, 34*f2a8e57eSGunnar Mills "BatteryMetrics": { 35*f2a8e57eSGunnar Mills "additionalProperties": false, 36*f2a8e57eSGunnar Mills "description": "The `BatteryMetrics` schema contains definitions for the metrics of a battery unit.", 37*f2a8e57eSGunnar Mills "longDescription": "This resource shall be used to represent the metrics of a battery unit for a Redfish implementation.", 38*f2a8e57eSGunnar Mills "patternProperties": { 39*f2a8e57eSGunnar Mills "^([a-zA-Z_][a-zA-Z0-9_]*)?@(odata|Redfish|Message)\\.[a-zA-Z_][a-zA-Z0-9_]*$": { 40*f2a8e57eSGunnar Mills "description": "This property shall specify a valid odata or Redfish property.", 41*f2a8e57eSGunnar Mills "type": [ 42*f2a8e57eSGunnar Mills "array", 43*f2a8e57eSGunnar Mills "boolean", 44*f2a8e57eSGunnar Mills "integer", 45*f2a8e57eSGunnar Mills "number", 46*f2a8e57eSGunnar Mills "null", 47*f2a8e57eSGunnar Mills "object", 48*f2a8e57eSGunnar Mills "string" 49*f2a8e57eSGunnar Mills ] 50*f2a8e57eSGunnar Mills } 51*f2a8e57eSGunnar Mills }, 52*f2a8e57eSGunnar Mills "properties": { 53*f2a8e57eSGunnar Mills "@odata.context": { 54*f2a8e57eSGunnar Mills "$ref": "http://redfish.dmtf.org/schemas/v1/odata-v4.json#/definitions/context" 55*f2a8e57eSGunnar Mills }, 56*f2a8e57eSGunnar Mills "@odata.etag": { 57*f2a8e57eSGunnar Mills "$ref": "http://redfish.dmtf.org/schemas/v1/odata-v4.json#/definitions/etag" 58*f2a8e57eSGunnar Mills }, 59*f2a8e57eSGunnar Mills "@odata.id": { 60*f2a8e57eSGunnar Mills "$ref": "http://redfish.dmtf.org/schemas/v1/odata-v4.json#/definitions/id" 61*f2a8e57eSGunnar Mills }, 62*f2a8e57eSGunnar Mills "@odata.type": { 63*f2a8e57eSGunnar Mills "$ref": "http://redfish.dmtf.org/schemas/v1/odata-v4.json#/definitions/type" 64*f2a8e57eSGunnar Mills }, 65*f2a8e57eSGunnar Mills "Actions": { 66*f2a8e57eSGunnar Mills "$ref": "#/definitions/Actions", 67*f2a8e57eSGunnar Mills "description": "The available actions for this resource.", 68*f2a8e57eSGunnar Mills "longDescription": "This property shall contain the available actions for this resource." 69*f2a8e57eSGunnar Mills }, 70*f2a8e57eSGunnar Mills "CellVoltages": { 71*f2a8e57eSGunnar Mills "description": "The cell voltages (V) for this battery.", 72*f2a8e57eSGunnar Mills "excerptCopy": "SensorVoltageExcerpt", 73*f2a8e57eSGunnar Mills "items": { 74*f2a8e57eSGunnar Mills "$ref": "http://redfish.dmtf.org/schemas/v1/Sensor.json#/definitions/SensorVoltageExcerpt" 75*f2a8e57eSGunnar Mills }, 76*f2a8e57eSGunnar Mills "longDescription": "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`.", 77*f2a8e57eSGunnar Mills "type": "array" 78*f2a8e57eSGunnar Mills }, 79*f2a8e57eSGunnar Mills "CellVoltages@odata.count": { 80*f2a8e57eSGunnar Mills "$ref": "http://redfish.dmtf.org/schemas/v1/odata-v4.json#/definitions/count" 81*f2a8e57eSGunnar Mills }, 82*f2a8e57eSGunnar Mills "ChargePercent": { 83*f2a8e57eSGunnar Mills "$ref": "http://redfish.dmtf.org/schemas/v1/Sensor.json#/definitions/SensorExcerpt", 84*f2a8e57eSGunnar Mills "description": "The amount of charge available (percent) in this battery.", 85*f2a8e57eSGunnar Mills "excerptCopy": "SensorExcerpt", 86*f2a8e57eSGunnar Mills "longDescription": "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`." 87*f2a8e57eSGunnar Mills }, 88*f2a8e57eSGunnar Mills "Description": { 89*f2a8e57eSGunnar Mills "anyOf": [ 90*f2a8e57eSGunnar Mills { 91*f2a8e57eSGunnar Mills "$ref": "http://redfish.dmtf.org/schemas/v1/Resource.json#/definitions/Description" 92*f2a8e57eSGunnar Mills }, 93*f2a8e57eSGunnar Mills { 94*f2a8e57eSGunnar Mills "type": "null" 95*f2a8e57eSGunnar Mills } 96*f2a8e57eSGunnar Mills ], 97*f2a8e57eSGunnar Mills "readonly": true 98*f2a8e57eSGunnar Mills }, 99*f2a8e57eSGunnar Mills "DischargeCycles": { 100*f2a8e57eSGunnar Mills "description": "The number of discharges this battery has sustained.", 101*f2a8e57eSGunnar Mills "longDescription": "This property shall contain the number of discharges this battery has sustained.", 102*f2a8e57eSGunnar Mills "minimum": 0, 103*f2a8e57eSGunnar Mills "readonly": true, 104*f2a8e57eSGunnar Mills "type": [ 105*f2a8e57eSGunnar Mills "number", 106*f2a8e57eSGunnar Mills "null" 107*f2a8e57eSGunnar Mills ] 108*f2a8e57eSGunnar Mills }, 109*f2a8e57eSGunnar Mills "Id": { 110*f2a8e57eSGunnar Mills "$ref": "http://redfish.dmtf.org/schemas/v1/Resource.json#/definitions/Id", 111*f2a8e57eSGunnar Mills "readonly": true 112*f2a8e57eSGunnar Mills }, 113*f2a8e57eSGunnar Mills "InputCurrentAmps": { 114*f2a8e57eSGunnar Mills "$ref": "http://redfish.dmtf.org/schemas/v1/Sensor.json#/definitions/SensorCurrentExcerpt", 115*f2a8e57eSGunnar Mills "description": "The input current (A) for this battery.", 116*f2a8e57eSGunnar Mills "excerptCopy": "SensorCurrentExcerpt", 117*f2a8e57eSGunnar Mills "longDescription": "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`." 118*f2a8e57eSGunnar Mills }, 119*f2a8e57eSGunnar Mills "InputVoltage": { 120*f2a8e57eSGunnar Mills "$ref": "http://redfish.dmtf.org/schemas/v1/Sensor.json#/definitions/SensorVoltageExcerpt", 121*f2a8e57eSGunnar Mills "description": "The input voltage (V) for this battery.", 122*f2a8e57eSGunnar Mills "excerptCopy": "SensorVoltageExcerpt", 123*f2a8e57eSGunnar Mills "longDescription": "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`." 124*f2a8e57eSGunnar Mills }, 125*f2a8e57eSGunnar Mills "Name": { 126*f2a8e57eSGunnar Mills "$ref": "http://redfish.dmtf.org/schemas/v1/Resource.json#/definitions/Name", 127*f2a8e57eSGunnar Mills "readonly": true 128*f2a8e57eSGunnar Mills }, 129*f2a8e57eSGunnar Mills "Oem": { 130*f2a8e57eSGunnar Mills "$ref": "http://redfish.dmtf.org/schemas/v1/Resource.json#/definitions/Oem", 131*f2a8e57eSGunnar Mills "description": "The OEM extension property.", 132*f2a8e57eSGunnar Mills "longDescription": "This property shall contain the OEM extensions. All values for properties that this object contains shall conform to the Redfish Specification-described requirements." 133*f2a8e57eSGunnar Mills }, 134*f2a8e57eSGunnar Mills "OutputCurrentAmps": { 135*f2a8e57eSGunnar Mills "description": "The output currents (A) for this battery.", 136*f2a8e57eSGunnar Mills "excerptCopy": "SensorCurrentExcerpt", 137*f2a8e57eSGunnar Mills "items": { 138*f2a8e57eSGunnar Mills "$ref": "http://redfish.dmtf.org/schemas/v1/Sensor.json#/definitions/SensorCurrentExcerpt" 139*f2a8e57eSGunnar Mills }, 140*f2a8e57eSGunnar Mills "longDescription": "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.", 141*f2a8e57eSGunnar Mills "type": "array" 142*f2a8e57eSGunnar Mills }, 143*f2a8e57eSGunnar Mills "OutputCurrentAmps@odata.count": { 144*f2a8e57eSGunnar Mills "$ref": "http://redfish.dmtf.org/schemas/v1/odata-v4.json#/definitions/count" 145*f2a8e57eSGunnar Mills }, 146*f2a8e57eSGunnar Mills "OutputVoltages": { 147*f2a8e57eSGunnar Mills "description": "The output voltages (V) for this battery.", 148*f2a8e57eSGunnar Mills "excerptCopy": "SensorVoltageExcerpt", 149*f2a8e57eSGunnar Mills "items": { 150*f2a8e57eSGunnar Mills "$ref": "http://redfish.dmtf.org/schemas/v1/Sensor.json#/definitions/SensorVoltageExcerpt" 151*f2a8e57eSGunnar Mills }, 152*f2a8e57eSGunnar Mills "longDescription": "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.", 153*f2a8e57eSGunnar Mills "type": "array" 154*f2a8e57eSGunnar Mills }, 155*f2a8e57eSGunnar Mills "OutputVoltages@odata.count": { 156*f2a8e57eSGunnar Mills "$ref": "http://redfish.dmtf.org/schemas/v1/odata-v4.json#/definitions/count" 157*f2a8e57eSGunnar Mills }, 158*f2a8e57eSGunnar Mills "Status": { 159*f2a8e57eSGunnar Mills "$ref": "http://redfish.dmtf.org/schemas/v1/Resource.json#/definitions/Status", 160*f2a8e57eSGunnar Mills "description": "The status and health of the resource and its subordinate or dependent resources.", 161*f2a8e57eSGunnar Mills "longDescription": "This property shall contain any status or health properties of the resource." 162*f2a8e57eSGunnar Mills }, 163*f2a8e57eSGunnar Mills "StoredChargeAmpHours": { 164*f2a8e57eSGunnar Mills "$ref": "http://redfish.dmtf.org/schemas/v1/Sensor.json#/definitions/SensorExcerpt", 165*f2a8e57eSGunnar Mills "description": "The charge (Ah) stored in this battery.", 166*f2a8e57eSGunnar Mills "excerptCopy": "SensorExcerpt", 167*f2a8e57eSGunnar Mills "longDescription": "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`." 168*f2a8e57eSGunnar Mills }, 169*f2a8e57eSGunnar Mills "StoredEnergyWattHours": { 170*f2a8e57eSGunnar Mills "$ref": "http://redfish.dmtf.org/schemas/v1/Sensor.json#/definitions/SensorExcerpt", 171*f2a8e57eSGunnar Mills "description": "The energy (Wh) stored in this battery.", 172*f2a8e57eSGunnar Mills "excerptCopy": "SensorExcerpt", 173*f2a8e57eSGunnar Mills "longDescription": "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`." 174*f2a8e57eSGunnar Mills }, 175*f2a8e57eSGunnar Mills "TemperatureCelsius": { 176*f2a8e57eSGunnar Mills "$ref": "http://redfish.dmtf.org/schemas/v1/Sensor.json#/definitions/SensorExcerpt", 177*f2a8e57eSGunnar Mills "description": "The temperature (C) for this battery.", 178*f2a8e57eSGunnar Mills "excerptCopy": "SensorExcerpt", 179*f2a8e57eSGunnar Mills "longDescription": "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`." 180*f2a8e57eSGunnar Mills } 181*f2a8e57eSGunnar Mills }, 182*f2a8e57eSGunnar Mills "required": [ 183*f2a8e57eSGunnar Mills "@odata.id", 184*f2a8e57eSGunnar Mills "@odata.type", 185*f2a8e57eSGunnar Mills "Id", 186*f2a8e57eSGunnar Mills "Name" 187*f2a8e57eSGunnar Mills ], 188*f2a8e57eSGunnar Mills "type": "object" 189*f2a8e57eSGunnar Mills }, 190*f2a8e57eSGunnar Mills "OemActions": { 191*f2a8e57eSGunnar Mills "additionalProperties": true, 192*f2a8e57eSGunnar Mills "description": "The available OEM-specific actions for this resource.", 193*f2a8e57eSGunnar Mills "longDescription": "This type shall contain the available OEM-specific actions for this resource.", 194*f2a8e57eSGunnar Mills "patternProperties": { 195*f2a8e57eSGunnar Mills "^([a-zA-Z_][a-zA-Z0-9_]*)?@(odata|Redfish|Message)\\.[a-zA-Z_][a-zA-Z0-9_]*$": { 196*f2a8e57eSGunnar Mills "description": "This property shall specify a valid odata or Redfish property.", 197*f2a8e57eSGunnar Mills "type": [ 198*f2a8e57eSGunnar Mills "array", 199*f2a8e57eSGunnar Mills "boolean", 200*f2a8e57eSGunnar Mills "integer", 201*f2a8e57eSGunnar Mills "number", 202*f2a8e57eSGunnar Mills "null", 203*f2a8e57eSGunnar Mills "object", 204*f2a8e57eSGunnar Mills "string" 205*f2a8e57eSGunnar Mills ] 206*f2a8e57eSGunnar Mills } 207*f2a8e57eSGunnar Mills }, 208*f2a8e57eSGunnar Mills "properties": {}, 209*f2a8e57eSGunnar Mills "type": "object" 210*f2a8e57eSGunnar Mills } 211*f2a8e57eSGunnar Mills }, 212*f2a8e57eSGunnar Mills "language": "en", 213*f2a8e57eSGunnar Mills "owningEntity": "DMTF", 214*f2a8e57eSGunnar Mills "release": "2021.2", 215*f2a8e57eSGunnar Mills "title": "#BatteryMetrics.v1_0_4.BatteryMetrics" 216*f2a8e57eSGunnar Mills}