{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://www.imatest.com/schema/25-1/common-settings-saturation",
  "title": "Saturation Settings",
  "description": "The user-provided settings for computing the saturation in an image.",
  "type": "object",
  "properties": {
    "type": {
      "description": "The user-provided method for calculating the saturation level.",
      "type": "string",
      "enum": [
        "Container Max",
        "Image Max",
        "Image Max (Power of Two)",
        "Image Max (Even Power of Two)",
        "User-Specified Bit Depth",
        "User-Specified Value",
        "Classic",
        "ITU-R BT.601"
      ]
    },
    "user_specified_value_DN": {
      "description": "The user-provided saturation level in digital numbers.",
      "type": "number"
    },
    "user_specified_bit_depth_bits": {
      "description": "The user-provided saturation level in bits.",
      "type": "integer"
    }
  },
  "required": [
    "type"
  ],
  "unevaluatedProperties": false
}