{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://www.imatest.com/schema/25-1/common-channel-extractor-luminance",
  "title": "Channel Extraction Information: Luminance",
  "description": "The information for selecting a luminance analysis channel.",
  "type": "object",
  "properties": {
    "name": {
      "description": "The name of the channel.",
      "type": "string"
    },
    "type": {
      "description": "The type of the channel.",
      "type": "string",
      "const": "Luminance"
    },
    "luminance_type": {
      "description": "The method/standard for computing a luminance channel.",
      "$ref": "https://www.imatest.com/schema/25-1/common-settings-channel-luminance-type-enum"
    }
  },
  "required": [
    "name",
    "type",
    "luminance_type"
  ],
  "anyOf": [
    {
      "$ref": "https://www.imatest.com/schema/25-1/common-channel-extractor-luminance-iec-61966-2-1"
    },
    {
      "$ref": "https://www.imatest.com/schema/25-1/common-channel-extractor-luminance-itu-r-bt-601-7"
    },
    {
      "$ref": "https://www.imatest.com/schema/25-1/common-channel-extractor-luminance-itu-r-bt-709-1"
    },
    {
      "$ref": "https://www.imatest.com/schema/25-1/common-channel-extractor-luminance-itu-r-bt-709-6"
    },
    {
      "$ref": "https://www.imatest.com/schema/25-1/common-channel-extractor-luminance-itu-r-bt-2020-2"
    },
    {
      "$ref": "https://www.imatest.com/schema/25-1/common-channel-extractor-luminance-matlab"
    },
    {
      "$ref": "https://www.imatest.com/schema/25-1/common-channel-extractor-luminance-ntsc-rounded"
    }
  ],
  "$comment": "Other luminance types may be available in future versions of Imatest."
}