{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/amazon-mediatailor/json-schema/amazon-mediatailor-describe-channel-response-schema.json",
  "title": "DescribeChannelResponse",
  "x-generated": "2026-11-11",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/amazon-mediatailor-channel-api-openapi.yml#/components/schemas/DescribeChannelResponse",
  "type": "object",
  "properties": {
    "Arn": {
      "type": "string",
      "description": "The ARN of the channel."
    },
    "ChannelName": {
      "type": "string",
      "description": "The name of the channel."
    },
    "ChannelState": {
      "type": "string",
      "enum": [
        "RUNNING",
        "STOPPED"
      ],
      "description": "Indicates whether the channel is in a running state or not."
    },
    "CreationTime": {
      "type": "string",
      "format": "date-time",
      "description": "The timestamp of when the channel was created."
    },
    "FillerSlate": {
      "$ref": "#/$defs/SlateSource"
    },
    "LastModifiedTime": {
      "type": "string",
      "format": "date-time",
      "description": "The timestamp of when the channel was last modified."
    },
    "Outputs": {
      "type": "array",
      "items": {
        "$ref": "#/$defs/ResponseOutputItem"
      },
      "description": "The channel's output properties."
    },
    "PlaybackMode": {
      "type": "string",
      "description": "The channel's playback mode."
    },
    "Tags": {
      "type": "object",
      "additionalProperties": {
        "type": "string"
      },
      "description": "The tags assigned to the channel. Tags are key-value pairs that you can associate with Amazon resources to help with organization, access control, and cost tracking. For more information, see Tagging AWS Elemental MediaTailor Resources."
    },
    "Tier": {
      "type": "string",
      "description": "The channel's tier."
    },
    "LogConfiguration": {
      "$ref": "#/$defs/LogConfigurationForChannel"
    },
    "TimeShiftConfiguration": {
      "$ref": "#/$defs/TimeShiftConfiguration"
    },
    "Audiences": {
      "type": "array",
      "items": {
        "type": "string"
      },
      "description": "The list of audiences defined in channel."
    }
  },
  "required": [
    "LogConfiguration"
  ],
  "$defs": {
    "DashPlaylistSettings": {
      "type": "object",
      "properties": {
        "ManifestWindowSeconds": {
          "type": "integer",
          "description": "The total duration (in seconds) of each manifest. Minimum value: 30 seconds. Maximum value: 3600 seconds."
        },
        "MinBufferTimeSeconds": {
          "type": "integer",
          "description": "Minimum amount of content (measured in seconds) that a player must keep available in the buffer. Minimum value: 2 seconds. Maximum value: 60 seconds."
        },
        "MinUpdatePeriodSeconds": {
          "type": "integer",
          "description": "Minimum amount of time (in seconds) that the player should wait before requesting updates to the manifest. Minimum value: 2 seconds. Maximum value: 60 seconds."
        },
        "SuggestedPresentationDelaySeconds": {
          "type": "integer",
          "description": "Amount of time (in seconds) that the player should be from the live point at the end of the manifest. Minimum value: 2 seconds. Maximum value: 60 seconds."
        }
      }
    },
    "HlsPlaylistSettings": {
      "type": "object",
      "properties": {
        "ManifestWindowSeconds": {
          "type": "integer",
          "description": "The total duration (in seconds) of each manifest. Minimum value: 30 seconds. Maximum value: 3600 seconds."
        },
        "AdMarkupType": {
          "type": "array",
          "items": {
            "type": "string",
            "enum": [
              "DATERANGE",
              "SCTE35_ENHANCED"
            ]
          },
          "description": "Determines the type of SCTE 35 tags to use in ad markup. Specify DATERANGE to use DATERANGE tags (for live or VOD content). Specify SCTE35_ENHANCED to use EXT-X-CUE-OUT and EXT-X-CUE-IN tags (for VOD content only)."
        }
      }
    },
    "LogConfigurationForChannel": {
      "type": "object",
      "properties": {
        "LogTypes": {
          "type": "array",
          "items": {
            "type": "string",
            "enum": [
              "AS_RUN"
            ]
          },
          "description": "The log types."
        }
      }
    },
    "ResponseOutputItem": {
      "type": "object",
      "properties": {
        "DashPlaylistSettings": {
          "$ref": "#/$defs/DashPlaylistSettings"
        },
        "HlsPlaylistSettings": {
          "$ref": "#/$defs/HlsPlaylistSettings"
        },
        "ManifestName": {
          "type": "string",
          "description": "The name of the manifest for the channel that will appear in the channel output's playback URL."
        },
        "PlaybackUrl": {
          "type": "string",
          "description": "The URL that your player uses for playback."
        },
        "DualStackPlaybackUrl": {
          "type": "string",
          "description": "The dual-stack (IPv4 and IPv6) URL that your player uses for playback."
        },
        "SourceGroup": {
          "type": "string",
          "description": "A string used to associate a package configuration source group with a channel output."
        }
      },
      "required": [
        "ManifestName",
        "PlaybackUrl",
        "SourceGroup"
      ]
    },
    "SlateSource": {
      "type": "object",
      "properties": {
        "SourceLocationName": {
          "type": "string",
          "description": "The name of the source location where the slate VOD source is stored."
        },
        "VodSourceName": {
          "type": "string",
          "description": "The slate VOD source name. The VOD source must already exist in a source location before it can be used for slate."
        }
      }
    },
    "TimeShiftConfiguration": {
      "type": "object",
      "properties": {
        "MaxTimeDelaySeconds": {
          "type": "integer",
          "description": "The maximum time delay for time-shifted viewing. The minimum allowed maximum time delay is 0 seconds, and the maximum allowed maximum time delay is 21600 seconds (6 hours)."
        }
      },
      "required": [
        "MaxTimeDelaySeconds"
      ]
    }
  }
}