{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://www.imatest.com/schema/25-1/common-channel-extractor-luminance-itu-r-bt-601-7",
  "title": "Luminance Channel Extraction Information: ITU-R BT.601-7",
  "description": "The information for selecting an ITU-R BT.601-7 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.",
      "type": "string",
      "const": "ITU-R BT.601-7"
    },
    "rgb_weights": {
      "description": "The weights applied to red, green, and blue channels.",
      "type": "array",
      "const": [
        0.299,
        0.587,
        0.114
      ],
      "items": {
        "type": "number"
      }
    }
  },
  "required": [
    "name",
    "type",
    "luminance_type",
    "rgb_weights"
  ],
  "unevaluatedProperties": false
}