{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/youtube/json-schema/youtube-channel-section-schema.json",
  "title": "ChannelSection",
  "x-generated": "2026-11-12",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/youtube-youtube-channel-sections-api-openapi.yml#/components/schemas/ChannelSection",
  "properties": {
    "snippet": {
      "$ref": "#/$defs/ChannelSectionSnippet",
      "description": "The snippet object contains basic details about the channel section, such as its type, style and title."
    },
    "kind": {
      "default": "youtube#channelSection",
      "description": "Identifies what kind of resource this is. Value: the fixed string \"youtube#channelSection\".",
      "type": "string"
    },
    "etag": {
      "description": "Etag of this resource.",
      "type": "string"
    },
    "targeting": {
      "$ref": "#/$defs/ChannelSectionTargeting",
      "description": "The targeting object contains basic targeting settings about the channel section."
    },
    "id": {
      "type": "string",
      "description": "The ID that YouTube uses to uniquely identify the channel section."
    },
    "localizations": {
      "additionalProperties": {
        "$ref": "#/$defs/ChannelSectionLocalization"
      },
      "type": "object",
      "description": "Localizations for different languages",
      "deprecated": true
    },
    "contentDetails": {
      "$ref": "#/$defs/ChannelSectionContentDetails",
      "description": "The contentDetails object contains details about the channel section content, such as a list of playlists or channels featured in the section."
    }
  },
  "type": "object",
  "$defs": {
    "ChannelSectionContentDetails": {
      "properties": {
        "channels": {
          "description": "The channel ids for type multiple_channels.",
          "items": {
            "type": "string"
          },
          "type": "array"
        },
        "playlists": {
          "type": "array",
          "description": "The playlist ids for type single_playlist and multiple_playlists. For singlePlaylist, only one playlistId is allowed.",
          "items": {
            "type": "string"
          }
        }
      },
      "description": "Details about a channelsection, including playlists and channels.",
      "type": "object"
    },
    "ChannelSectionLocalization": {
      "properties": {
        "title": {
          "type": "string",
          "description": "The localized strings for channel section's title.",
          "deprecated": true
        }
      },
      "description": "ChannelSection localization setting",
      "type": "object"
    },
    "ChannelSectionSnippet": {
      "description": "Basic details about a channel section, including title, style and position.",
      "properties": {
        "type": {
          "description": "The type of the channel section.",
          "enum": [
            "channelsectionTypeUndefined",
            "singlePlaylist",
            "multiplePlaylists",
            "popularUploads",
            "recentUploads",
            "likes",
            "allPlaylists",
            "likedPlaylists",
            "recentPosts",
            "recentActivity",
            "liveEvents",
            "upcomingEvents",
            "completedEvents",
            "multipleChannels",
            "postedVideos",
            "postedPlaylists",
            "subscriptions"
          ],
          "type": "string"
        },
        "localized": {
          "$ref": "#/$defs/ChannelSectionLocalization",
          "description": "Localized title, read-only."
        },
        "title": {
          "type": "string",
          "description": "The channel section's title for multiple_playlists and multiple_channels."
        },
        "position": {
          "format": "uint32",
          "description": "The position of the channel section in the channel.",
          "type": "integer"
        },
        "style": {
          "description": "The style of the channel section.",
          "type": "string",
          "enum": [
            "channelsectionStyleUnspecified",
            "horizontalRow",
            "verticalList"
          ],
          "deprecated": true
        },
        "defaultLanguage": {
          "description": "The language of the channel section's default title and description.",
          "type": "string",
          "deprecated": true
        },
        "channelId": {
          "description": "The ID that YouTube uses to uniquely identify the channel that published the channel section.",
          "type": "string"
        }
      },
      "type": "object"
    },
    "ChannelSectionTargeting": {
      "properties": {
        "regions": {
          "type": "array",
          "description": "The region the channel section is targeting.",
          "items": {
            "type": "string"
          },
          "deprecated": true
        },
        "languages": {
          "description": "The language the channel section is targeting.",
          "type": "array",
          "items": {
            "type": "string"
          },
          "deprecated": true
        },
        "countries": {
          "type": "array",
          "description": "The country the channel section is targeting.",
          "items": {
            "type": "string"
          },
          "deprecated": true
        }
      },
      "type": "object",
      "description": "ChannelSection targeting setting."
    }
  }
}