{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://www.imatest.com/schema/25-1/straylight-results-summary",
  "title": "Summary Results",
  "description": "The stray light summary results for a subset.",
  "type": "object",
  "properties": {
    "channel": {
      "description": "The name of the channel.",
      "type": "string"
    },
    "roi": {
      "description": "The name of the region of interest (ROI).",
      "type": "string",
      "const": "All",
      "$comment": "Other ROIs may be added in future versions of Imatest."
    },
    "data_transform": {
      "description": "The transform applied to the data.",
      "$ref": "https://www.imatest.com/schema/25-1/stray-light-settings-data-transform-enum"
    },
    "per_capture": {
      "description": "The arrays of per-capture stray light summary metrics.",
      "$ref": "https://www.imatest.com/schema/25-1/straylight-results-summary-per-capture"
    },
    "overall": {
      "description": "The overall summary metrics across all captures within the subset.",
      "$ref": "https://www.imatest.com/schema/25-1/straylight-results-overall-summary"
    }
  },
  "required": [
    "channel",
    "roi",
    "data_transform",
    "per_capture",
    "overall"
  ],
  "unevaluatedProperties": false,
  "$comment": "A subset is a combination of an analysis channel and a region of interest."
}