{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://www.imatest.com/schema/25-1/straylight-settings-core",
  "title": "Core Calculation",
  "description": "The user-provided core calculation settings.",
  "type": "object",
  "properties": {
    "calculation": {
      "description": "The user-provided type of calculation.",
      "type": "string",
      "enum": [
        "Transmission",
        "Attenuation"
      ]
    },
    "data_transform": {
      "description": "The user-provided transform of the data.",
      "$ref": "https://www.imatest.com/schema/25-1/stray-light-settings-data-transform-enum"
    },
    "dark_level_DN": {
      "description": "The user-provided dark level in digital numbers.",
      "type": "number"
    },
    "clip_to_one": {
      "description": "The user-provided setting to clip dark-level-subtracted images to one (instead of zero).",
      "type": "boolean"
    }
  },
  "required": [
    "calculation",
    "data_transform",
    "dark_level_DN",
    "clip_to_one"
  ],
  "unevaluatedProperties": false
}