{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://askcalculators.com/calculator/ohms-law-calculator/schema.json",
  "title": "Ohm's Law Calculator inputs",
  "description": "Calculate voltage, current, resistance, and power from a selected known pair.",
  "type": "object",
  "properties": {
    "knownPair": {
      "title": "Known values",
      "type": "string",
      "default": "voltageResistance",
      "enum": [
        "voltageResistance",
        "voltageCurrent",
        "currentResistance",
        "powerVoltage",
        "powerCurrent",
        "powerResistance"
      ],
      "x-optionLabels": {
        "voltageResistance": "Voltage and resistance",
        "voltageCurrent": "Voltage and current",
        "currentResistance": "Current and resistance",
        "powerVoltage": "Power and voltage",
        "powerCurrent": "Power and current",
        "powerResistance": "Power and resistance"
      }
    },
    "firstValue": {
      "title": "First selected value",
      "type": "number",
      "description": "Use the first value named above",
      "default": 12,
      "minimum": 1e-9,
      "x-step": 0.01
    },
    "secondValue": {
      "title": "Second selected value",
      "type": "number",
      "description": "Use the second value named above",
      "default": 6,
      "minimum": 1e-9,
      "x-step": 0.01
    }
  },
  "required": [
    "knownPair",
    "firstValue",
    "secondValue"
  ],
  "additionalProperties": false,
  "x-askcalculators": {
    "version": "1.0.0",
    "calculatorUrl": "https://askcalculators.com/calculator/ohms-law-calculator/",
    "queryExample": "https://askcalculators.com/calculator/ohms-law-calculator/?knownPair=voltageResistance&firstValue=12&secondValue=6",
    "migrationStatus": "new",
    "reviewStatus": "pending",
    "pageStatus": "live",
    "workStatus": "pending",
    "formula": {
      "expression": "V = IR; P = VI = I²R = V²/R"
    },
    "quality": {
      "availability": "live",
      "technicalReviewRecord": "/reviews/ohms-law-calculator.json",
      "qualifiedReview": "pending",
      "qualifiedReviewer": null,
      "qualifiedReviewDate": null,
      "formulaVersion": "1.0.0",
      "referenceCoverage": "references-pending",
      "releaseTestScope": "Catalog and regression checks are not a professional formula audit; consult release evidence.",
      "historicalMetadataDate": "2026-08-18",
      "historicalMetadataNotice": "The imported date is not evidence of a completed human review."
    },
    "outputs": {
      "power": {
        "title": "Power",
        "type": "number",
        "x-format": "number",
        "x-suffix": " W",
        "x-digits": 4,
        "x-primary": true
      },
      "voltage": {
        "title": "Voltage",
        "type": "number",
        "x-format": "number",
        "x-suffix": " V",
        "x-digits": 4
      },
      "current": {
        "title": "Current",
        "type": "number",
        "x-format": "number",
        "x-suffix": " A",
        "x-digits": 4
      },
      "resistance": {
        "title": "Resistance",
        "type": "number",
        "x-format": "number",
        "x-suffix": " Ω",
        "x-digits": 4
      }
    }
  }
}
