{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://www.imatest.com/schema/25-1/straylight-settings-mask-radius",
  "title": "Mask Settings: Radius",
  "description": "The user-provided radius source masking settings.",
  "type": "object",
  "properties": {
    "method": {
      "description": "The user-provided method for providing a radius.",
      "type": "string",
      "enum": [
        "User-Specified",
        "Focal Length Ratio"
      ]
    },
    "radius_px": {
      "description": "The user-provided radius of the light source in pixels.",
      "type": "number"
    },
    "source_diameter_mm": {
      "description": "The user-provided diameter of the light source in mm.",
      "type": "number"
    },
    "source_focal_length_mm": {
      "description": "The user-provided focal length of the source in mm.",
      "type": "number"
    },
    "camera_focal_length_mm": {
      "description": "The user-provided focal length of the camera in mm.",
      "type": "number"
    },
    "camera_pixel_pitch_mum": {
      "description": "The user-provided pixel pitch of the camera in micrometers.",
      "type": "number"
    }
  },
  "required": [
    "method"
  ],
  "unevaluatedProperties": false
}