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