{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://www.imatest.com/schema/25-1/straylight-settings-normalization-lambertian-reference-image",
  "title": "Lambertian Reference Image Settings",
  "description": "The user-provided settings for computing the normalization factor from a reference image of a Lambertian source.",
  "type": "object",
  "properties": {
    "reference_image": {
      "description": "The user-provided reference image.",
      "$ref": "https://www.imatest.com/schema/25-1/common-filename-md5"
    },
    "aggregation": {
      "description": "The user-provided aggregation method used to compute the normalization factor.",
      "type": "string",
      "enum": [
        "Mean",
        "Median",
        "Total"
      ]
    },
    "light_source_measurements": {
      "description": "The user-provided measurements used for normalizing data with a Lambertian source.",
      "$ref": "https://www.imatest.com/schema/25-1/straylight-settings-normalization-lambertian-light-measurement"
    },
    "camera_normalization_compensation": {
      "description": "The user-provided information about any camera-side compensation necessary for the reference capture.",
      "$ref": "https://www.imatest.com/schema/25-1/straylight-settings-normcomp-camera"
    }
  },
  "required": [
    "reference_image",
    "aggregation",
    "light_source_measurements",
    "camera_normalization_compensation"
  ],
  "unevaluatedProperties": false
}