{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://www.imatest.com/schema/25-1/straylight-settings-plot-count",
  "title": "Stray Light Count Plot Settings",
  "description": "The user-provided settings for count plots.",
  "type": "object",
  "properties": {
    "save_or_display": {
      "description": "The user-provided settings for how to save/display the plot.",
      "type": "array",
      "items": {
        "$ref": "https://www.imatest.com/schema/25-1/common-settings-figure-save-display-enum"
      }
    },
    "channel_grouping": {
      "description": "The user-provided grouping of channel data on the plot.",
      "type": "array",
      "items": {
        "type": "string",
        "enum": [
          "All Channels On The Same Plot",
          "Each Channel On Separate Plots"
        ]
      }
    },
    "named_data": {
      "description": "The user-provided selection of which named data to include on the plot.",
      "type": "array",
      "items": {
        "type": "string",
        "enum": [
          "Total Count",
          "Source Count",
          "Saturation Count"
        ]
      }
    },
    "include_level_counts": {
      "description": "The user-provided option to include level-count data on the plot.",
      "type": "boolean"
    },
    "per_plot_scaling": {
      "description": "The user-provided option for how each plot is scaled relative to the others.",
      "type": "string",
      "enum": [
        "Global",
        "Per Subset",
        "Per Image"
      ]
    },
    "y_axis_scale": {
      "description": "The user-provided option for how to scale the y-axis.",
      "type": "string",
      "enum": [
        "Linear",
        "Log"
      ]
    }
  },
  "required": [
    "save_or_display",
    "channel_grouping",
    "named_data",
    "include_level_counts",
    "per_plot_scaling",
    "y_axis_scale"
  ],
  "unevaluatedProperties": false
}