{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://www.imatest.com/schema/25-1/common-settings-channel",
  "title": "Channel Selection Settings",
  "description": "The user-provided settings for selecting analysis channel(s).",
  "type": "object",
  "properties": {
    "type": {
      "description": "The user-provided set of channels to analyze.",
      "type": "string",
      "enum": [
        "Automatic",
        "Each Channel",
        "RGB",
        "Monochrome",
        "Statistics",
        "Luminance",
        "RGB + Luminance"
      ]
    },
    "luminance_type": {
      "description": "The user-provided method for what calculation to use.",
      "$ref": "https://www.imatest.com/schema/25-1/common-settings-channel-luminance-type-enum"
    },
    "custom_rgb_weights": {
      "description": "The user-provided custom luminance weights.",
      "type": "array",
      "items": {
        "type": "number"
      }
    },
    "rgb_order": {
      "description": "The user-provided ordering of RGB data.",
      "$ref": "https://www.imatest.com/schema/25-1/common-settings-channel-rgb-order-enum"
    },
    "statistics": {
      "description": "The user-provided statistics type.",
      "$ref": "https://www.imatest.com/schema/25-1/common-settings-channel-stats-enum"
    }
  },
  "required": [
    "type"
  ],
  "unevaluatedProperties": false
}