{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://www.calculatorx.com/schemas/electrical.current_divider.input.json",
  "title": "Current divider — input",
  "type": "object",
  "oneOf": [
    {
      "title": "from-It-R",
      "type": "object",
      "additionalProperties": false,
      "required": [
        "It",
        "R1",
        "R2"
      ],
      "properties": {
        "It": {
          "type": "number",
          "minimum": 0,
          "description": "Total current magnitude (A)"
        },
        "R1": {
          "type": "number",
          "exclusiveMinimum": 0,
          "description": "Branch 1 resistance (Ω)"
        },
        "R2": {
          "type": "number",
          "exclusiveMinimum": 0,
          "description": "Branch 2 resistance (Ω)"
        }
      }
    },
    {
      "title": "from-I1-R",
      "type": "object",
      "additionalProperties": false,
      "required": [
        "R1",
        "R2",
        "I1"
      ],
      "properties": {
        "R1": {
          "type": "number",
          "exclusiveMinimum": 0,
          "description": "Branch 1 resistance (Ω)"
        },
        "R2": {
          "type": "number",
          "exclusiveMinimum": 0,
          "description": "Branch 2 resistance (Ω)"
        },
        "I1": {
          "type": "number",
          "minimum": 0,
          "description": "Branch 1 current magnitude (A)"
        }
      }
    },
    {
      "title": "from-I2-R",
      "type": "object",
      "additionalProperties": false,
      "required": [
        "R1",
        "R2",
        "I2"
      ],
      "properties": {
        "R1": {
          "type": "number",
          "exclusiveMinimum": 0,
          "description": "Branch 1 resistance (Ω)"
        },
        "R2": {
          "type": "number",
          "exclusiveMinimum": 0,
          "description": "Branch 2 resistance (Ω)"
        },
        "I2": {
          "type": "number",
          "minimum": 0,
          "description": "Branch 2 current magnitude (A)"
        }
      }
    },
    {
      "title": "from-It-I1-R1",
      "type": "object",
      "additionalProperties": false,
      "required": [
        "It",
        "I1",
        "R1"
      ],
      "properties": {
        "It": {
          "type": "number",
          "minimum": 0,
          "description": "Total current magnitude (A)"
        },
        "I1": {
          "type": "number",
          "minimum": 0,
          "description": "Branch 1 current magnitude (A)"
        },
        "R1": {
          "type": "number",
          "exclusiveMinimum": 0,
          "description": "Branch 1 resistance (Ω)"
        }
      }
    },
    {
      "title": "from-It-I1-R2",
      "type": "object",
      "additionalProperties": false,
      "required": [
        "It",
        "I1",
        "R2"
      ],
      "properties": {
        "It": {
          "type": "number",
          "minimum": 0,
          "description": "Total current magnitude (A)"
        },
        "I1": {
          "type": "number",
          "minimum": 0,
          "description": "Branch 1 current magnitude (A)"
        },
        "R2": {
          "type": "number",
          "exclusiveMinimum": 0,
          "description": "Branch 2 resistance (Ω)"
        }
      }
    }
  ],
  "description": "Two-branch parallel current divider. Web UI: It, R1, R2 → I1, I2, V. API also solves selected inverse combinations (not arbitrary any-three; It+I1+I2 is underdetermined). (calculation_version 1.0.2)"
}
