{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/transcriptapi-com/json-schema/transcriptapi-com-app-api-v2-youtube-schemas-youtube-video-info-response-schema.json",
  "title": "VideoInfoResponse",
  "x-generated": "2026-10-31",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/transcriptapi-com-openapi.json#/components/schemas/app__api__v2__youtube__schemas_youtube__VideoInfoResponse",
  "properties": {
    "videoId": {
      "anyOf": [
        {
          "type": "string"
        },
        {
          "type": "null"
        }
      ],
      "title": "Videoid"
    },
    "title": {
      "anyOf": [
        {
          "type": "string"
        },
        {
          "type": "null"
        }
      ],
      "title": "Title"
    },
    "viewCountText": {
      "anyOf": [
        {
          "type": "string"
        },
        {
          "type": "null"
        }
      ],
      "title": "Viewcounttext"
    },
    "viewCountShort": {
      "anyOf": [
        {
          "type": "string"
        },
        {
          "type": "null"
        }
      ],
      "title": "Viewcountshort"
    },
    "publishDate": {
      "anyOf": [
        {
          "type": "string"
        },
        {
          "type": "null"
        }
      ],
      "title": "Publishdate"
    },
    "relativeDate": {
      "anyOf": [
        {
          "type": "string"
        },
        {
          "type": "null"
        }
      ],
      "title": "Relativedate"
    },
    "likeCountText": {
      "anyOf": [
        {
          "type": "string"
        },
        {
          "type": "null"
        }
      ],
      "title": "Likecounttext"
    },
    "description": {
      "anyOf": [
        {
          "type": "string"
        },
        {
          "type": "null"
        }
      ],
      "title": "Description"
    },
    "descriptionLinks": {
      "items": {
        "$ref": "#/$defs/DescriptionLink"
      },
      "type": "array",
      "title": "Descriptionlinks"
    },
    "channel": {
      "anyOf": [
        {
          "$ref": "#/$defs/VideoInfoChannel"
        },
        {
          "type": "null"
        }
      ]
    },
    "thumbnails": {
      "items": {
        "$ref": "#/$defs/Thumbnail"
      },
      "type": "array",
      "title": "Thumbnails"
    },
    "details": {
      "anyOf": [
        {
          "$ref": "#/$defs/VideoInfoDetails"
        },
        {
          "type": "null"
        }
      ]
    },
    "related": {
      "anyOf": [
        {
          "items": {
            "$ref": "#/$defs/RelatedVideo"
          },
          "type": "array"
        },
        {
          "type": "null"
        }
      ],
      "title": "Related"
    }
  },
  "type": "object",
  "$defs": {
    "DescriptionLink": {
      "properties": {
        "text": {
          "anyOf": [
            {
              "type": "string"
            },
            {
              "type": "null"
            }
          ],
          "title": "Text"
        },
        "url": {
          "anyOf": [
            {
              "type": "string"
            },
            {
              "type": "null"
            }
          ],
          "title": "Url"
        }
      },
      "type": "object",
      "title": "DescriptionLink"
    },
    "RelatedVideo": {
      "properties": {
        "kind": {
          "type": "string",
          "title": "Kind"
        },
        "id": {
          "anyOf": [
            {
              "type": "string"
            },
            {
              "type": "null"
            }
          ],
          "title": "Id"
        },
        "title": {
          "anyOf": [
            {
              "type": "string"
            },
            {
              "type": "null"
            }
          ],
          "title": "Title"
        },
        "viewCountText": {
          "anyOf": [
            {
              "type": "string"
            },
            {
              "type": "null"
            }
          ],
          "title": "Viewcounttext"
        },
        "lengthText": {
          "anyOf": [
            {
              "type": "string"
            },
            {
              "type": "null"
            }
          ],
          "title": "Lengthtext"
        },
        "channelName": {
          "anyOf": [
            {
              "type": "string"
            },
            {
              "type": "null"
            }
          ],
          "title": "Channelname"
        }
      },
      "type": "object",
      "required": [
        "kind"
      ],
      "title": "RelatedVideo"
    },
    "Thumbnail": {
      "properties": {
        "url": {
          "type": "string",
          "title": "Url"
        },
        "width": {
          "anyOf": [
            {
              "type": "integer"
            },
            {
              "type": "null"
            }
          ],
          "title": "Width"
        },
        "height": {
          "anyOf": [
            {
              "type": "integer"
            },
            {
              "type": "null"
            }
          ],
          "title": "Height"
        }
      },
      "type": "object",
      "required": [
        "url"
      ],
      "title": "Thumbnail"
    },
    "VideoCaptionTrack": {
      "properties": {
        "code": {
          "anyOf": [
            {
              "type": "string"
            },
            {
              "type": "null"
            }
          ],
          "title": "Code"
        },
        "name": {
          "anyOf": [
            {
              "type": "string"
            },
            {
              "type": "null"
            }
          ],
          "title": "Name"
        },
        "isAutoGenerated": {
          "type": "boolean",
          "title": "Isautogenerated",
          "default": false
        }
      },
      "type": "object",
      "title": "VideoCaptionTrack"
    },
    "VideoInfoChannel": {
      "properties": {
        "channelId": {
          "anyOf": [
            {
              "type": "string"
            },
            {
              "type": "null"
            }
          ],
          "title": "Channelid"
        },
        "name": {
          "anyOf": [
            {
              "type": "string"
            },
            {
              "type": "null"
            }
          ],
          "title": "Name"
        },
        "subscriberCountText": {
          "anyOf": [
            {
              "type": "string"
            },
            {
              "type": "null"
            }
          ],
          "title": "Subscribercounttext"
        },
        "thumbnails": {
          "items": {
            "$ref": "#/$defs/Thumbnail"
          },
          "type": "array",
          "title": "Thumbnails"
        }
      },
      "type": "object",
      "title": "VideoInfoChannel"
    },
    "VideoInfoDetails": {
      "properties": {
        "available": {
          "type": "boolean",
          "title": "Available",
          "default": false
        },
        "reason": {
          "anyOf": [
            {
              "type": "string"
            },
            {
              "type": "null"
            }
          ],
          "title": "Reason"
        },
        "lengthSeconds": {
          "anyOf": [
            {
              "type": "integer"
            },
            {
              "type": "null"
            }
          ],
          "title": "Lengthseconds"
        },
        "category": {
          "anyOf": [
            {
              "type": "string"
            },
            {
              "type": "null"
            }
          ],
          "title": "Category"
        },
        "tags": {
          "anyOf": [
            {
              "items": {
                "type": "string"
              },
              "type": "array"
            },
            {
              "type": "null"
            }
          ],
          "title": "Tags"
        },
        "isLiveContent": {
          "anyOf": [
            {
              "type": "boolean"
            },
            {
              "type": "null"
            }
          ],
          "title": "Islivecontent"
        },
        "isFamilySafe": {
          "anyOf": [
            {
              "type": "boolean"
            },
            {
              "type": "null"
            }
          ],
          "title": "Isfamilysafe"
        },
        "isUnlisted": {
          "anyOf": [
            {
              "type": "boolean"
            },
            {
              "type": "null"
            }
          ],
          "title": "Isunlisted"
        },
        "allowRatings": {
          "anyOf": [
            {
              "type": "boolean"
            },
            {
              "type": "null"
            }
          ],
          "title": "Allowratings"
        },
        "thumbnails": {
          "items": {
            "$ref": "#/$defs/Thumbnail"
          },
          "type": "array",
          "title": "Thumbnails"
        },
        "captionTracks": {
          "items": {
            "$ref": "#/$defs/VideoCaptionTrack"
          },
          "type": "array",
          "title": "Captiontracks"
        }
      },
      "type": "object",
      "title": "VideoInfoDetails",
      "description": "Player-sourced details. `available` is False (with `reason`) when the\nplayer endpoint could not be read from the current IP (needs a residential\nproxy — production). Numeric-vs-display values are kept distinct."
    }
  }
}