{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://www.imatest.com/schema/25-1/common-channel-extractor",
  "title": "Channel Extraction Information",
  "description": "The information for selecting an analysis channel.",
  "type": "object",
  "properties": {
    "name": {
      "description": "The name of the channel.",
      "type": "string"
    },
    "type": {
      "description": "The type of the channel.",
      "type": "string",
      "enum": [
        "Monochrome",
        "Index",
        "Weighted",
        "Mean",
        "Median",
        "Luminance"
      ]
    }
  },
  "required": [
    "name",
    "type"
  ],
  "anyOf": [
    {
      "$ref": "https://www.imatest.com/schema/25-1/common-channel-extractor-index"
    },
    {
      "$ref": "https://www.imatest.com/schema/25-1/common-channel-extractor-mean"
    },
    {
      "$ref": "https://www.imatest.com/schema/25-1/common-channel-extractor-median"
    },
    {
      "$ref": "https://www.imatest.com/schema/25-1/common-channel-extractor-monochrome"
    },
    {
      "$ref": "https://www.imatest.com/schema/25-1/common-channel-extractor-weights"
    },
    {
      "$ref": "https://www.imatest.com/schema/25-1/common-channel-extractor-luminance"
    }
  ],
  "$comment": "Other methods will be available in future versions of Imatest."
}