{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://www.calculatorx.com/schemas/electrical.kwh_to_kw/1.2.1/input.json",
  "title": "kWh to kW — input",
  "type": "object",
  "additionalProperties": false,
  "properties": {
    "mode": {
      "type": "string",
      "enum": [
        "kwh-kw",
        "kw-kwh"
      ],
      "description": "kwh-kw divides energy by hours; kw-kwh multiplies power by hours"
    },
    "a": {
      "type": "number",
      "description": "Energy in kWh (kWh→kW) or power in kW (kW→kWh)"
    },
    "b": {
      "type": "number",
      "description": "Time in hours. Zero time on kWh→kW returns 0."
    }
  },
  "required": [
    "a",
    "b"
  ],
  "description": "Convert energy in kWh and a time period into average power in kilowatts: kW = kWh ÷ h. Reverse: kWh = kW × h. (calculation_version 1.2.1)"
}
