{
 "collection_methods": {
  "collect_by_url": {
   "input_schema": [
    {
     "name": "url",
     "required": true,
     "type": "url"
    },
    {
     "name": "load_replies",
     "required": false,
     "type": "number"
    },
    {
     "name": "num_of_comments",
     "required": false,
     "type": "number"
    },
    {
     "name": "sort_by",
     "required": false,
     "type": "text"
    },
    {
     "name": "include_comments",
     "required": false,
     "type": "array"
    }
   ],
   "output_fields": [
    {
     "description": "Unique identifier for each comment",
     "name": "comment_id",
     "type": "text"
    },
    {
     "description": "The text content of the comment",
     "name": "comment_text",
     "type": "text"
    },
    {
     "description": "Number of likes received by the comment",
     "name": "likes",
     "type": "number"
    },
    {
     "description": "Number of replies to the comment",
     "name": "replies",
     "type": "number"
    },
    {
     "description": "Username of the commenter",
     "name": "username",
     "type": "text"
    },
    {
     "description": "This field stores the MD5 hash of the username field.",
     "name": "username_md5",
     "type": "text"
    },
    {
     "description": "URL of the commenter's YouTube channel",
     "name": "user_channel",
     "type": "text"
    },
    {
     "description": "Date when the comment was posted",
     "name": "date",
     "type": "text"
    },
    {
     "description": "Web address of the YouTube video where the comment was posted",
     "name": "url",
     "type": "url"
    },
    {
     "description": "Unique identifier for the YouTube video",
     "name": "video_id",
     "type": "text"
    },
    {
     "description": "Array of reply objects associated with this comment",
     "name": "replies_value",
     "type": "array"
    },
    {
     "description": "Array of reply objects with personally identifiable information (usernames) removed, containing only MD5 hashed user identifiers",
     "name": "replies_without_names",
     "type": "array"
    },
    {
     "description": "Unique identifier for the commenter's YouTube channel",
     "name": "user_id",
     "type": "text"
    },
    {
     "description": "Array of timestamps mentioned in the comment, formatted in minutes (e.g., '2:35')",
     "name": "mentioned_timestamps_minutes",
     "type": "array"
    },
    {
     "description": "Array of timestamps mentioned in the comment, converted to total seconds",
     "name": "mentioned_timestamps_seconds",
     "type": "array"
    },
    {
     "description": "Date in ISO format",
     "name": "date_iso",
     "type": "date"
    }
   ]
  }
 },
 "domain": "youtube.com",
 "id": "gd_lk9q0ew71spt1mxywf",
 "name": "Youtube - Comments"
}
