Skip to content

YoutubeVideoNormalizedSchema

katanakit-js / YoutubeVideoNormalizedSchema

const YoutubeVideoNormalizedSchema: ZodObject<
{
channelTitle: ZodOptional<ZodString>;
description: ZodString;
durationSeconds: ZodOptional<ZodNumber>;
embedUrl: ZodString;
id: ZodString;
publishedAt: ZodString;
thumbnail: ZodString;
thumbnails: ZodObject<
{
default: ZodString;
high: ZodString;
medium: ZodString;
},
$strip
>;
title: ZodString;
url: ZodString;
viewCount: ZodOptional<ZodNumber>;
},
$strip
>;

Defined in: schemas/youtube.schema.ts:31

Normalized video, enriched with player-ready URLs.