{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://www.calculatorx.com/schemas/electrical.mosfet.tj.input.json",
  "title": "MOSFET junction temperature — input",
  "type": "object",
  "additionalProperties": false,
  "properties": {
    "Ta_C": {
      "type": "number"
    },
    "P_W": {
      "type": "number",
      "minimum": 0
    },
    "Rth_JA": {
      "type": "number",
      "exclusiveMinimum": 0,
      "description": "Effective / application junction-to-ambient thermal resistance (°C/W). Datasheet JEDEC RθJA is primarily a comparison metric."
    },
    "Rth_JC": {
      "type": "number",
      "exclusiveMinimum": 0,
      "description": "Junction-to-case thermal resistance (°C/W) for a case/heatsink-dominant path."
    },
    "Rth_CA": {
      "type": "number",
      "exclusiveMinimum": 0,
      "description": "Lumped case-to-ambient (°C/W): interface + heatsink-to-ambient. Parallel PCB/package paths ignored."
    },
    "Tj_max_C": {
      "type": "number"
    }
  },
  "required": [
    "Ta_C",
    "P_W"
  ],
  "oneOf": [
    {
      "required": [
        "Rth_JA"
      ],
      "allOf": [
        {
          "not": {
            "required": [
              "Rth_JC"
            ]
          }
        },
        {
          "not": {
            "required": [
              "Rth_CA"
            ]
          }
        }
      ]
    },
    {
      "required": [
        "Rth_JC",
        "Rth_CA"
      ],
      "not": {
        "required": [
          "Rth_JA"
        ]
      }
    }
  ],
  "description": "Steady-state Tj = Ta + P·Rth. Effective RθJA, or case/heatsink-dominant RθJC+RθCA (not equivalent models). Mixing both paths is CONFLICTING_INPUTS. (calculation_version 1.1.2)"
}
