{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://www.calculatorx.com/schemas/electrical.watts_to_volts/1.3.1/input.json",
  "title": "Watts to Volts — input",
  "type": "object",
  "additionalProperties": false,
  "properties": {
    "mode": {
      "type": "string",
      "enum": [
        "w-v-a",
        "w-v-r",
        "v-w"
      ],
      "description": "w-v-a uses current; w-v-r uses resistance; v-w reverses to watts"
    },
    "a": {
      "type": "number",
      "description": "Power in W, or voltage in V on the reverse path"
    },
    "b": {
      "type": "number",
      "description": "Current in A, resistance in Ω, or current in A on the reverse path"
    },
    "pf": {
      "type": "number",
      "description": "Power factor. Values ≤ 0 are treated as 1."
    },
    "phase": {
      "type": "string",
      "enum": [
        "single",
        "three"
      ],
      "description": "single uses 1; three uses √3"
    }
  },
  "required": [
    "a",
    "b"
  ],
  "description": "Find voltage from power and current, or from power and resistance. Reverse: watts from volts and current. (calculation_version 1.3.1)"
}
