{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://www.calculatorx.com/schemas/electrical.watts_to_joules.input.json",
  "title": "Watts to Joules — input",
  "type": "object",
  "additionalProperties": false,
  "properties": {
    "a": {
      "type": "number",
      "minimum": 0,
      "description": "Power in W (W→J) or energy in J (J→W)"
    },
    "b": {
      "type": "number",
      "exclusiveMinimum": 0,
      "description": "Time in seconds (or scaled minutes/hours via factor)"
    },
    "factor": {
      "type": "number",
      "description": "Optional time-unit scale (60 for minutes, 3600 for hours)"
    }
  },
  "required": [
    "a",
    "b"
  ],
  "description": "Convert power and time to energy: E(J) = P(W) × t(s). Reverse: P = E ÷ t. 1 W = 1 J/s. (calculation_version 1.2.1)"
}
