{
  "description": "Scrape metadata, chapters, heatmap and caption availability for YouTube videos or Shorts.",
  "properties": {
    "includeCards": {
      "default": false,
      "description": "Extract interactive info cards embedded in the video.",
      "prefill": false,
      "title": "Extract info cards",
      "type": "boolean"
    },
    "includeChapters": {
      "default": true,
      "description": "Extract manual and automatic chapters with title, start, end and source.",
      "prefill": true,
      "title": "Extract chapters",
      "type": "boolean"
    },
    "includeEndscreen": {
      "default": true,
      "description": "Extract endscreen elements shown at the end of the video.",
      "prefill": false,
      "title": "Extract endscreen",
      "type": "boolean"
    },
    "includeHeatmap": {
      "default": false,
      "description": "Add the Most replayed heatmap segments and labels when YouTube provides them.",
      "prefill": false,
      "title": "Extract heatmap",
      "type": "boolean"
    },
    "includeRelatedVideos": {
      "default": 0,
      "description": "Number of related videos to extract from the watch page sidebar. 0 skips them.",
      "editor": "number",
      "maximum": 50,
      "minimum": 0,
      "title": "Max related videos",
      "type": "integer"
    },
    "includeTranscript": {
      "default": true,
      "description": "Download the transcript when a caption track is available. Adds one request per video.",
      "prefill": false,
      "title": "Extract transcript text",
      "type": "boolean"
    },
    "includeTranscriptMetadata": {
      "default": true,
      "description": "List available caption tracks with language and manual or auto-generated status.",
      "prefill": true,
      "title": "List caption tracks",
      "type": "boolean"
    },
    "maxComments": {
      "default": 0,
      "description": "Maximum comment texts to collect per video. Set to 0 to skip comments. The display comment count is extracted separately.",
      "editor": "number",
      "maximum": 1000,
      "minimum": 0,
      "title": "Max comments per video",
      "type": "integer"
    },
    "videoUrls": {
      "description": "YouTube watch, youtu.be, Shorts, embed or live links, or 11-character video IDs. Duplicates are removed.",
      "editor": "stringList",
      "items": {
        "type": "string"
      },
      "minItems": 1,
      "prefill": [
        "jNQXAC9IVRw",
        "dQw4w9WgXcQ",
        "M7lc1UVf-VE"
      ],
      "title": "Video URLs or IDs",
      "type": "array"
    }
  },
  "required": [
    "videoUrls"
  ],
  "schemaVersion": 1,
  "title": "YouTube Video Metadata & Chapter Extractor Input",
  "type": "object"
}
