{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://www.calculatorx.com/schemas/electrical.swg_to_mm/1.3.1/input.json",
  "title": "SWG to mm / mm² — input",
  "type": "object",
  "additionalProperties": false,
  "properties": {
    "swg": {
      "type": [
        "number",
        "string"
      ],
      "description": "SWG gauge: 14, \"7/0\", \"2/0\", 0 / \"1/0\", or legacy −6…50. Non-integers and out-of-table values are errors."
    },
    "a": {
      "type": [
        "number",
        "string"
      ],
      "description": "Legacy alias for swg (unit-convert / share URL)"
    },
    "field": {
      "type": "string",
      "enum": [
        "mm",
        "mm2"
      ],
      "description": "mm = diameter; mm2 = round area"
    }
  },
  "required": [
    "swg"
  ],
  "description": "Convert Standard Wire Gauge to diameter (mm) or cross-section (mm²). (calculation_version 1.3.1)"
}
