{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://www.imatest.com/schema/25-1/straylight-results-per-capture-level-count",
  "title": "Level Counts",
  "description": "The number of pixels with stray light worse than user-provided thresholds.",
  "type": "object",
  "properties": {
    "thresholds": {
      "description": "The user-provided thresholds.",
      "type": "array",
      "items": {
        "type": "number"
      }
    },
    "counts": {
      "description": "The number or percentage of pixels of stray light worse than the user-provided thresholds within the subset.",
      "type": "array",
      "items": {
        "type": "number"
      }
    }
  },
  "required": [
    "thresholds",
    "counts"
  ],
  "unevaluatedProperties": false,
  "$comment": "A subset is a combination of an analysis channel and a region of interest."
}