{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://www.calculatorx.com/schemas/electrical.kirchhoff.input.json",
  "title": "Kirchhoff's laws — input",
  "type": "object",
  "additionalProperties": false,
  "properties": {
    "mode": {
      "type": "string",
      "enum": [
        "series",
        "parallel"
      ]
    },
    "Vs": {
      "type": "number"
    },
    "Is": {
      "type": "number"
    },
    "R1": {
      "type": "number",
      "exclusiveMinimum": 0
    },
    "R2": {
      "type": "number",
      "exclusiveMinimum": 0
    },
    "R_ohm": {
      "type": "array",
      "items": {
        "type": "number",
        "exclusiveMinimum": 0
      }
    }
  },
  "description": "Series KVL loop or parallel KCL node with N resistors. (calculation_version 1.0.0)"
}
