{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/youtube/json-schema/youtube-search-list-response-schema.json",
  "title": "SearchListResponse",
  "x-generated": "2026-11-12",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/youtube-youtube-search-api-openapi.yml#/components/schemas/SearchListResponse",
  "properties": {
    "items": {
      "items": {
        "$ref": "#/$defs/SearchResult"
      },
      "description": "Pagination information for token pagination.",
      "type": "array"
    },
    "tokenPagination": {
      "$ref": "#/$defs/TokenPagination"
    },
    "visitorId": {
      "description": "The visitor ID identifies the visitor.",
      "type": "string"
    },
    "etag": {
      "description": "Etag of this resource.",
      "type": "string"
    },
    "prevPageToken": {
      "description": "The token that can be used as the value of the pageToken parameter to retrieve the previous page in the result set.",
      "type": "string"
    },
    "pageInfo": {
      "$ref": "#/$defs/PageInfo",
      "description": "General pagination information."
    },
    "nextPageToken": {
      "description": "The token that can be used as the value of the pageToken parameter to retrieve the next page in the result set.",
      "type": "string"
    },
    "regionCode": {
      "type": "string"
    },
    "kind": {
      "description": "Identifies what kind of resource this is. Value: the fixed string \"youtube#searchListResponse\".",
      "default": "youtube#searchListResponse",
      "type": "string"
    },
    "eventId": {
      "description": "Serialized EventId of the request which produced this response.",
      "type": "string"
    }
  },
  "type": "object",
  "$defs": {
    "PageInfo": {
      "description": "Paging details for lists of resources, including total number of items available and number of resources returned in a single page.",
      "properties": {
        "resultsPerPage": {
          "format": "int32",
          "description": "The number of results included in the API response.",
          "type": "integer"
        },
        "totalResults": {
          "description": "The total number of results in the result set.",
          "type": "integer",
          "format": "int32"
        }
      },
      "type": "object"
    },
    "ResourceId": {
      "type": "object",
      "description": "A resource id is a generic reference that points to another YouTube resource.",
      "properties": {
        "videoId": {
          "type": "string",
          "description": "The ID that YouTube uses to uniquely identify the referred resource, if that resource is a video. This property is only present if the resourceId.kind value is youtube#video."
        },
        "playlistId": {
          "type": "string",
          "description": "The ID that YouTube uses to uniquely identify the referred resource, if that resource is a playlist. This property is only present if the resourceId.kind value is youtube#playlist."
        },
        "channelId": {
          "type": "string",
          "description": "The ID that YouTube uses to uniquely identify the referred resource, if that resource is a channel. This property is only present if the resourceId.kind value is youtube#channel."
        },
        "kind": {
          "description": "The type of the API resource.",
          "type": "string"
        }
      }
    },
    "SearchResult": {
      "type": "object",
      "description": "A search result contains information about a YouTube video, channel, or playlist that matches the search parameters specified in an API request. While a search result points to a uniquely identifiable resource, like a video, it does not have its own persistent data.",
      "properties": {
        "snippet": {
          "$ref": "#/$defs/SearchResultSnippet",
          "description": "The snippet object contains basic details about a search result, such as its title or description. For example, if the search result is a video, then the title will be the video's title and the description will be the video's description."
        },
        "kind": {
          "description": "Identifies what kind of resource this is. Value: the fixed string \"youtube#searchResult\".",
          "type": "string",
          "default": "youtube#searchResult"
        },
        "etag": {
          "type": "string",
          "description": "Etag of this resource."
        },
        "id": {
          "$ref": "#/$defs/ResourceId",
          "description": "The id object contains information that can be used to uniquely identify the resource that matches the search request."
        }
      }
    },
    "SearchResultSnippet": {
      "description": "Basic details about a search result, including title, description and thumbnails of the item referenced by the search result.",
      "type": "object",
      "properties": {
        "publishedAt": {
          "type": "string",
          "description": "The creation date and time of the resource that the search result identifies.",
          "format": "date-time"
        },
        "liveBroadcastContent": {
          "description": "It indicates if the resource (video or channel) has upcoming/active live broadcast content. Or it's \"none\" if there is not any upcoming/active live broadcasts.",
          "enum": [
            "none",
            "upcoming",
            "live",
            "completed"
          ],
          "type": "string"
        },
        "description": {
          "description": "A description of the search result.",
          "type": "string"
        },
        "channelId": {
          "description": "The value that YouTube uses to uniquely identify the channel that published the resource that the search result identifies.",
          "type": "string"
        },
        "title": {
          "description": "The title of the search result.",
          "type": "string"
        },
        "thumbnails": {
          "$ref": "#/$defs/ThumbnailDetails",
          "description": "A map of thumbnail images associated with the search result. For each object in the map, the key is the name of the thumbnail image, and the value is an object that contains other information about the thumbnail."
        },
        "channelTitle": {
          "description": "The title of the channel that published the resource that the search result identifies.",
          "type": "string"
        }
      }
    },
    "Thumbnail": {
      "description": "A thumbnail is an image representing a YouTube resource.",
      "properties": {
        "width": {
          "type": "integer",
          "description": "(Optional) Width of the thumbnail image.",
          "format": "uint32"
        },
        "url": {
          "type": "string",
          "description": "The thumbnail image's URL."
        },
        "height": {
          "format": "uint32",
          "description": "(Optional) Height of the thumbnail image.",
          "type": "integer"
        }
      },
      "type": "object"
    },
    "ThumbnailDetails": {
      "properties": {
        "standard": {
          "$ref": "#/$defs/Thumbnail",
          "description": "The standard quality image for this resource."
        },
        "default": {
          "$ref": "#/$defs/Thumbnail",
          "description": "The default image for this resource."
        },
        "high": {
          "$ref": "#/$defs/Thumbnail",
          "description": "The high quality image for this resource."
        },
        "maxres": {
          "$ref": "#/$defs/Thumbnail",
          "description": "The maximum resolution quality image for this resource."
        },
        "shortsAspectRatio": {
          "$ref": "#/$defs/Thumbnail",
          "description": "The Shorts aspect ratio (9:16) image for this resource."
        },
        "qhd": {
          "$ref": "#/$defs/Thumbnail",
          "description": "The quad high definition (1440p / 2K) quality image for this resource."
        },
        "uhd": {
          "$ref": "#/$defs/Thumbnail",
          "description": "The ultra-high resolution (4K) quality image for this resource."
        },
        "fhd": {
          "$ref": "#/$defs/Thumbnail",
          "description": "The full high definition (1080p) quality image for this resource."
        },
        "medium": {
          "$ref": "#/$defs/Thumbnail",
          "description": "The medium quality image for this resource."
        }
      },
      "description": "Internal representation of thumbnails for a YouTube resource.",
      "type": "object"
    },
    "TokenPagination": {
      "properties": {},
      "description": "Stub token pagination template to suppress results.",
      "type": "object"
    }
  }
}