{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/aisa-one/json-schema/aisa-one-response-fc5-af1-fcba22-search-response-schema.json",
  "title": "ResponseFc5Af1Fcba22_SearchResponse",
  "x-generated": "2026-11-10",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/aisa-one-group1000-api-openapi.yml#/components/schemas/ResponseFc5Af1Fcba22_SearchResponse",
  "properties": {
    "ads": {
      "description": "Advertisement results",
      "items": {
        "$ref": "#/$defs/ResponseFc5Af1Fcba22_Ad"
      },
      "type": "array"
    },
    "channels": {
      "description": "YouTube channel results",
      "items": {
        "$ref": "#/$defs/ResponseFc5Af1Fcba22_Channel"
      },
      "type": "array"
    },
    "error": {
      "description": "Error message if the search failed",
      "type": "string"
    },
    "featured_channel": {
      "$ref": "#/$defs/ResponseFc5Af1Fcba22_FeaturedChannel"
    },
    "movies": {
      "description": "Movie results",
      "items": {
        "$ref": "#/$defs/ResponseFc5Af1Fcba22_Movie"
      },
      "type": "array"
    },
    "pagination": {
      "$ref": "#/$defs/ResponseFc5Af1Fcba22_Pagination"
    },
    "people_also_search_for": {
      "description": "Related search suggestions",
      "items": {
        "$ref": "#/$defs/ResponseFc5Af1Fcba22_PeopleAlsoSearchFor"
      },
      "type": "array"
    },
    "playlists": {
      "description": "Playlist results",
      "items": {
        "$ref": "#/$defs/ResponseFc5Af1Fcba22_Playlist"
      },
      "type": "array"
    },
    "posts": {
      "description": "Community post results",
      "items": {
        "$ref": "#/$defs/ResponseFc5Af1Fcba22_Posts"
      },
      "type": "array"
    },
    "search_information": {
      "$ref": "#/$defs/ResponseFc5Af1Fcba22_SearchInformation"
    },
    "search_metadata": {
      "$ref": "#/$defs/ResponseFc5Af1Fcba22_SearchMetadata"
    },
    "search_parameters": {
      "$ref": "#/$defs/ResponseFc5Af1Fcba22_SearchParameters"
    },
    "sections": {
      "description": "Section results",
      "items": {
        "$ref": "#/$defs/ResponseFc5Af1Fcba22_Section"
      },
      "type": "array"
    },
    "shorts": {
      "description": "YouTube Shorts results",
      "items": {
        "$ref": "#/$defs/ResponseFc5Af1Fcba22_Shorts"
      },
      "type": "array"
    },
    "suggestions": {
      "description": "Search query suggestions",
      "items": {
        "type": "string"
      },
      "type": "array"
    },
    "videos": {
      "description": "Video search results",
      "items": {
        "$ref": "#/$defs/ResponseFc5Af1Fcba22_Video"
      },
      "type": "array"
    }
  },
  "type": "object",
  "$defs": {
    "ResponseFc5Af1Fcba22_Ad": {
      "properties": {
        "channel": {
          "$ref": "#/$defs/ResponseFc5Af1Fcba22_AdChannel"
        },
        "description": {
          "description": "Ad description",
          "type": "string"
        },
        "id": {
          "description": "Video ID for video ads",
          "type": "string"
        },
        "length": {
          "description": "Video duration for video ads",
          "type": "string"
        },
        "link": {
          "description": "Ad link",
          "type": "string"
        },
        "position": {
          "description": "Position in search results",
          "type": "integer"
        },
        "thumbnail": {
          "description": "Ad thumbnail URL",
          "type": "string"
        },
        "title": {
          "description": "Ad title",
          "type": "string"
        },
        "website": {
          "description": "Advertiser website URL",
          "type": "string"
        }
      },
      "type": "object"
    },
    "ResponseFc5Af1Fcba22_AdChannel": {
      "properties": {
        "id": {
          "description": "Channel ID",
          "type": "string"
        },
        "link": {
          "description": "Link to the channel",
          "type": "string"
        },
        "title": {
          "description": "Channel name",
          "type": "string"
        }
      },
      "type": "object"
    },
    "ResponseFc5Af1Fcba22_Channel": {
      "properties": {
        "description": {
          "description": "Channel description",
          "type": "string"
        },
        "id": {
          "description": "YouTube channel ID",
          "type": "string"
        },
        "is_verified": {
          "description": "Whether the channel is verified",
          "type": "boolean"
        },
        "link": {
          "description": "Link to the channel",
          "type": "string"
        },
        "position": {
          "description": "Position in search results",
          "type": "integer"
        },
        "subscribers": {
          "description": "Number of subscribers",
          "type": "integer"
        },
        "thumbnail": {
          "$ref": "#/$defs/ResponseFc5Af1Fcba22_Thumbnail"
        },
        "title": {
          "description": "Channel name",
          "type": "string"
        },
        "video_count": {
          "description": "Number of videos",
          "type": "integer"
        }
      },
      "type": "object"
    },
    "ResponseFc5Af1Fcba22_FeaturedChannel": {
      "properties": {
        "highlighted_video": {
          "$ref": "#/$defs/ResponseFc5Af1Fcba22_HighlightedVideo"
        },
        "id": {
          "description": "Featured channel ID",
          "type": "string"
        },
        "link": {
          "description": "Link to the featured channel",
          "type": "string"
        },
        "subtitle": {
          "description": "Featured channel subtitle",
          "type": "string"
        },
        "title": {
          "description": "Featured channel title",
          "type": "string"
        },
        "videos": {
          "description": "Featured channel videos",
          "items": {
            "$ref": "#/$defs/ResponseFc5Af1Fcba22_FeaturedVideo"
          },
          "type": "array"
        }
      },
      "type": "object"
    },
    "ResponseFc5Af1Fcba22_FeaturedVideo": {
      "properties": {
        "channel": {
          "$ref": "#/$defs/ResponseFc5Af1Fcba22_FeaturedVideoChannel"
        },
        "id": {
          "description": "Video ID",
          "type": "string"
        },
        "length": {
          "description": "Video duration",
          "type": "string"
        },
        "link": {
          "description": "Link to the video",
          "type": "string"
        },
        "subtitle": {
          "description": "Video subtitle",
          "type": "string"
        },
        "thumbnail": {
          "description": "Video thumbnail URL",
          "type": "string"
        },
        "title": {
          "description": "Video title",
          "type": "string"
        }
      },
      "type": "object"
    },
    "ResponseFc5Af1Fcba22_FeaturedVideoChannel": {
      "properties": {
        "id": {
          "description": "Channel ID",
          "type": "string"
        },
        "link": {
          "description": "Link to the channel",
          "type": "string"
        },
        "title": {
          "description": "Channel name",
          "type": "string"
        }
      },
      "type": "object"
    },
    "ResponseFc5Af1Fcba22_HighlightedVideo": {
      "properties": {
        "id": {
          "description": "Video ID",
          "type": "string"
        },
        "length": {
          "description": "Video duration",
          "type": "string"
        },
        "link": {
          "description": "Link to the video",
          "type": "string"
        },
        "subtitle": {
          "description": "Video subtitle",
          "type": "string"
        },
        "title": {
          "description": "Video title",
          "type": "string"
        }
      },
      "type": "object"
    },
    "ResponseFc5Af1Fcba22_KeyMoment": {
      "properties": {
        "start_seconds": {
          "description": "Start time of the moment in seconds",
          "type": "integer"
        },
        "thumbnail": {
          "description": "Key moment thumbnail URL",
          "type": "string"
        },
        "title": {
          "description": "Key moment title",
          "type": "string"
        }
      },
      "type": "object"
    },
    "ResponseFc5Af1Fcba22_MetadataItems": {
      "properties": {
        "bottom": {
          "description": "Bottom metadata items",
          "items": {
            "type": "string"
          },
          "type": "array"
        },
        "top": {
          "description": "Top metadata items",
          "items": {
            "type": "string"
          },
          "type": "array"
        }
      },
      "type": "object"
    },
    "ResponseFc5Af1Fcba22_Movie": {
      "properties": {
        "badges": {
          "description": "Movie badges",
          "items": {
            "type": "string"
          },
          "type": "array"
        },
        "buttons": {
          "description": "Action buttons",
          "items": {
            "type": "string"
          },
          "type": "array"
        },
        "channel": {
          "$ref": "#/$defs/ResponseFc5Af1Fcba22_MovieChannel"
        },
        "description": {
          "description": "Movie description",
          "type": "string"
        },
        "id": {
          "description": "Movie video ID",
          "type": "string"
        },
        "length": {
          "description": "Movie duration",
          "type": "string"
        },
        "link": {
          "description": "Link to the movie",
          "type": "string"
        },
        "metadata_items": {
          "$ref": "#/$defs/ResponseFc5Af1Fcba22_MetadataItems"
        },
        "position": {
          "description": "Position in search results",
          "type": "integer"
        },
        "thumbnail": {
          "description": "Movie thumbnail URL",
          "type": "string"
        },
        "title": {
          "description": "Movie title",
          "type": "string"
        }
      },
      "type": "object"
    },
    "ResponseFc5Af1Fcba22_MovieChannel": {
      "properties": {
        "id": {
          "description": "Channel ID",
          "type": "string"
        },
        "is_verified": {
          "description": "Whether the channel is verified",
          "type": "boolean"
        },
        "link": {
          "description": "Link to the channel",
          "type": "string"
        },
        "title": {
          "description": "Channel name",
          "type": "string"
        }
      },
      "type": "object"
    },
    "ResponseFc5Af1Fcba22_Pagination": {
      "properties": {
        "next_page_token": {
          "description": "Token to fetch the next page of results",
          "type": "string"
        }
      },
      "type": "object"
    },
    "ResponseFc5Af1Fcba22_PeopleAlsoSearchFor": {
      "properties": {
        "link": {
          "description": "Link to perform the search",
          "type": "string"
        },
        "query": {
          "description": "Suggested search query",
          "type": "string"
        },
        "thumbnail": {
          "description": "Thumbnail for the suggestion",
          "type": "string"
        }
      },
      "type": "object"
    },
    "ResponseFc5Af1Fcba22_Playlist": {
      "properties": {
        "channel": {
          "$ref": "#/$defs/ResponseFc5Af1Fcba22_PlaylistChannel"
        },
        "id": {
          "description": "Playlist ID",
          "type": "string"
        },
        "link": {
          "description": "Link to the playlist",
          "type": "string"
        },
        "position": {
          "description": "Position in search results",
          "type": "integer"
        },
        "published_time": {
          "description": "Time since publication",
          "type": "string"
        },
        "thumbnail": {
          "description": "Playlist thumbnail URL",
          "type": "string"
        },
        "title": {
          "description": "Playlist title",
          "type": "string"
        },
        "video_count": {
          "description": "Number of videos in playlist",
          "type": "integer"
        },
        "videos": {
          "description": "Videos in the playlist",
          "items": {
            "$ref": "#/$defs/ResponseFc5Af1Fcba22_PlaylistVideo"
          },
          "type": "array"
        }
      },
      "type": "object"
    },
    "ResponseFc5Af1Fcba22_PlaylistChannel": {
      "properties": {
        "id": {
          "description": "Channel ID",
          "type": "string"
        },
        "is_verified": {
          "description": "Whether the channel is verified",
          "type": "boolean"
        },
        "link": {
          "description": "Link to the channel",
          "type": "string"
        },
        "title": {
          "description": "Channel name",
          "type": "string"
        }
      },
      "type": "object"
    },
    "ResponseFc5Af1Fcba22_PlaylistVideo": {
      "properties": {
        "id": {
          "description": "Video ID",
          "type": "string"
        },
        "length": {
          "description": "Video duration",
          "type": "string"
        },
        "link": {
          "description": "Link to the video",
          "type": "string"
        },
        "title": {
          "description": "Video title",
          "type": "string"
        }
      },
      "type": "object"
    },
    "ResponseFc5Af1Fcba22_Post": {
      "properties": {
        "channel": {
          "$ref": "#/$defs/ResponseFc5Af1Fcba22_PostChannel"
        },
        "comments": {
          "description": "Number of comments text",
          "type": "string"
        },
        "extracted_comments": {
          "description": "Number of comments as integer",
          "type": "integer"
        },
        "extracted_likes": {
          "description": "Number of likes as integer",
          "type": "integer"
        },
        "id": {
          "description": "Post ID",
          "type": "string"
        },
        "likes": {
          "description": "Number of likes text",
          "type": "string"
        },
        "link": {
          "description": "Link to the post",
          "type": "string"
        },
        "position": {
          "description": "Position within posts section",
          "type": "integer"
        },
        "published_time": {
          "description": "Time since publication",
          "type": "string"
        },
        "text": {
          "description": "Post text content",
          "type": "string"
        },
        "thumbnail": {
          "description": "Post thumbnail URL",
          "type": "string"
        }
      },
      "type": "object"
    },
    "ResponseFc5Af1Fcba22_PostChannel": {
      "properties": {
        "id": {
          "description": "Channel ID",
          "type": "string"
        },
        "is_verified": {
          "description": "Whether the channel is verified",
          "type": "boolean"
        },
        "link": {
          "description": "Link to the channel",
          "type": "string"
        },
        "thumbnail": {
          "description": "Channel thumbnail URL",
          "type": "string"
        },
        "title": {
          "description": "Channel name",
          "type": "string"
        }
      },
      "type": "object"
    },
    "ResponseFc5Af1Fcba22_Posts": {
      "properties": {
        "items": {
          "description": "Community posts",
          "items": {
            "$ref": "#/$defs/ResponseFc5Af1Fcba22_Post"
          },
          "type": "array"
        },
        "position": {
          "description": "Position in search results",
          "type": "integer"
        },
        "section_title": {
          "description": "Section title for posts",
          "type": "string"
        }
      },
      "type": "object"
    },
    "ResponseFc5Af1Fcba22_SearchInformation": {
      "properties": {
        "corrected_query": {
          "description": "Corrected query if spelling fix was applied",
          "type": "string"
        },
        "original_query": {
          "description": "Original query before correction",
          "type": "string"
        },
        "original_query_sp": {
          "description": "SP parameter for original query",
          "type": "string"
        },
        "state": {
          "description": "State of query correction if applicable",
          "type": "string"
        },
        "total_results": {
          "description": "Total number of results found",
          "type": "integer"
        }
      },
      "type": "object"
    },
    "ResponseFc5Af1Fcba22_SearchMetadata": {
      "properties": {
        "created_at": {
          "description": "Timestamp when the search was created",
          "format": "date-time",
          "type": "string"
        },
        "html_url": {
          "description": "URL to view HTML results",
          "type": "string"
        },
        "id": {
          "description": "Unique identifier for the search request",
          "type": "string"
        },
        "json_url": {
          "description": "URL to view JSON results",
          "type": "string"
        },
        "parsing_time_taken": {
          "description": "Time taken to parse the results in seconds",
          "type": "number"
        },
        "request_time_taken": {
          "description": "Time taken to make the request in seconds",
          "type": "number"
        },
        "request_url": {
          "description": "YouTube URL for this search",
          "type": "string"
        },
        "status": {
          "description": "Status of the search request",
          "type": "string"
        },
        "total_time_taken": {
          "description": "Total time taken for the search in seconds",
          "type": "number"
        }
      },
      "required": [
        "id",
        "status",
        "created_at"
      ],
      "type": "object"
    },
    "ResponseFc5Af1Fcba22_SearchParameters": {
      "properties": {
        "engine": {
          "description": "Search engine used",
          "type": "string"
        },
        "gl": {
          "description": "Country code that was used",
          "type": "string"
        },
        "hl": {
          "description": "Interface language that was used",
          "type": "string"
        },
        "q": {
          "description": "Search query that was used",
          "type": "string"
        },
        "sp": {
          "description": "Filter/pagination parameter that was used",
          "type": "string"
        }
      },
      "type": "object"
    },
    "ResponseFc5Af1Fcba22_Section": {
      "properties": {
        "items": {
          "description": "Items in the section",
          "items": {
            "$ref": "#/$defs/ResponseFc5Af1Fcba22_SectionItem"
          },
          "type": "array"
        },
        "position": {
          "description": "Position in search results",
          "type": "integer"
        },
        "section_title": {
          "description": "Section title",
          "type": "string"
        }
      },
      "type": "object"
    },
    "ResponseFc5Af1Fcba22_SectionChannel": {
      "properties": {
        "id": {
          "description": "Channel ID",
          "type": "string"
        },
        "link": {
          "description": "Link to the channel",
          "type": "string"
        },
        "title": {
          "description": "Channel name",
          "type": "string"
        }
      },
      "type": "object"
    },
    "ResponseFc5Af1Fcba22_SectionItem": {
      "properties": {
        "channel": {
          "$ref": "#/$defs/ResponseFc5Af1Fcba22_SectionChannel"
        },
        "id": {
          "description": "Item ID",
          "type": "string"
        },
        "length": {
          "description": "Item duration",
          "type": "string"
        },
        "link": {
          "description": "Link to the item",
          "type": "string"
        },
        "published_time": {
          "description": "Time since publication",
          "type": "string"
        },
        "thumbnail": {
          "description": "Item thumbnail URL",
          "type": "string"
        },
        "title": {
          "description": "Item title",
          "type": "string"
        },
        "views": {
          "description": "Number of views",
          "type": "integer"
        }
      },
      "type": "object"
    },
    "ResponseFc5Af1Fcba22_Short": {
      "properties": {
        "duration": {
          "description": "Short duration",
          "type": "string"
        },
        "id": {
          "description": "Short video ID",
          "type": "string"
        },
        "link": {
          "description": "Link to the short",
          "type": "string"
        },
        "position": {
          "description": "Position within shorts section",
          "type": "integer"
        },
        "thumbnail": {
          "description": "Short thumbnail URL",
          "type": "string"
        },
        "title": {
          "description": "Short title",
          "type": "string"
        },
        "views": {
          "description": "Number of views",
          "type": "integer"
        }
      },
      "type": "object"
    },
    "ResponseFc5Af1Fcba22_Shorts": {
      "properties": {
        "items": {
          "description": "Short videos",
          "items": {
            "$ref": "#/$defs/ResponseFc5Af1Fcba22_Short"
          },
          "type": "array"
        },
        "position": {
          "description": "Position in search results",
          "type": "integer"
        },
        "section_title": {
          "description": "Section title for shorts",
          "type": "string"
        }
      },
      "type": "object"
    },
    "ResponseFc5Af1Fcba22_Thumbnail": {
      "properties": {
        "rich": {
          "description": "Rich/animated thumbnail URL",
          "type": "string"
        },
        "static": {
          "description": "Static thumbnail URL",
          "type": "string"
        }
      },
      "type": "object"
    },
    "ResponseFc5Af1Fcba22_Video": {
      "properties": {
        "badges": {
          "description": "Video badges",
          "items": {
            "type": "string"
          },
          "type": "array"
        },
        "channel": {
          "$ref": "#/$defs/ResponseFc5Af1Fcba22_VideoChannel"
        },
        "description": {
          "description": "Video description snippet",
          "type": "string"
        },
        "id": {
          "description": "YouTube video ID",
          "type": "string"
        },
        "is_live": {
          "description": "Whether the video is currently live",
          "type": "boolean"
        },
        "key_moments": {
          "description": "Key moments in the video",
          "items": {
            "$ref": "#/$defs/ResponseFc5Af1Fcba22_KeyMoment"
          },
          "type": "array"
        },
        "length": {
          "description": "Video duration",
          "type": "string"
        },
        "link": {
          "description": "Link to the video",
          "type": "string"
        },
        "position": {
          "description": "Position in search results",
          "type": "integer"
        },
        "published_time": {
          "description": "Time since publication",
          "type": "string"
        },
        "thumbnail": {
          "$ref": "#/$defs/ResponseFc5Af1Fcba22_Thumbnail"
        },
        "title": {
          "description": "Video title",
          "type": "string"
        },
        "views": {
          "description": "Number of views",
          "type": "integer"
        }
      },
      "type": "object"
    },
    "ResponseFc5Af1Fcba22_VideoChannel": {
      "properties": {
        "id": {
          "description": "Channel ID",
          "type": "string"
        },
        "is_verified": {
          "description": "Whether the channel is verified",
          "type": "boolean"
        },
        "link": {
          "description": "Link to the channel",
          "type": "string"
        },
        "thumbnail": {
          "description": "Channel thumbnail URL",
          "type": "string"
        },
        "title": {
          "description": "Channel name",
          "type": "string"
        }
      },
      "type": "object"
    }
  }
}