{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://www.calculatorx.com/schemas/physics.optics.lens_maker.input.json",
  "title": "Lens Maker Calculator — input",
  "type": "object",
  "additionalProperties": false,
  "properties": {
    "mode": {
      "type": "string",
      "enum": [
        "f_maker",
        "f_thin",
        "di",
        "do"
      ]
    },
    "n": {
      "type": "number",
      "exclusiveMinimum": 0
    },
    "R1_m": {
      "type": "number"
    },
    "R2_m": {
      "type": "number"
    },
    "f_m": {
      "type": "number"
    },
    "do_m": {
      "type": "number"
    },
    "di_m": {
      "type": "number"
    }
  },
  "required": [
    "mode"
  ],
  "description": "Lensmaker equation and thin-lens conjugates. (calculation_version 1.0.0)"
}
