{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://www.imatest.com/schema/25-1/straylight-results-per-capture",
  "title": "Stray Light Results: Per Capture",
  "description": "Stray light results from each capture position.",
  "type": "object",
  "properties": {
    "capture_index": {
      "description": "The one-based index of the capture.",
      "type": "integer"
    },
    "source_field_angle_deg": {
      "description": "The field angle of the light source in degrees.",
      "$ref": "https://www.imatest.com/schema/25-1/common-number"
    },
    "source_azimuth_angle_deg": {
      "description": "The azimuth angle of the light source in degrees.",
      "$ref": "https://www.imatest.com/schema/25-1/common-number"
    },
    "image_file": {
      "description": "The analysis image.",
      "$ref": "https://www.imatest.com/schema/25-1/common-filename-md5"
    },
    "saturation_DN": {
      "description": "The calculated saturation value for this image in digital numbers.",
      "type": "number"
    },
    "mask": {
      "description": "Information about the mask of the light source.",
      "$ref": "https://www.imatest.com/schema/25-1/straylight-results-mask"
    },
    "note": {
      "description": "The user-provided notes for the capture position.",
      "type": "string"
    },
    "subsets": {
      "description": "The summary statistics for each subset (analysis channel).",
      "type": "array",
      "items": {
        "$ref": "https://www.imatest.com/schema/25-1/straylight-results-per-capture-subset"
      }
    },
    "low_memory_result_files": {
      "description": "The summary output file(s) for this capture if operating in low memory mode.",
      "$ref": "https://www.imatest.com/schema/25-1/common-filename-md5-array"
    }
  },
  "required": [
    "capture_index",
    "source_field_angle_deg",
    "source_azimuth_angle_deg",
    "image_file",
    "saturation_DN",
    "mask",
    "subsets"
  ],
  "unevaluatedProperties": false
}