Type: definePodcastEpisode(input?: PodcastEpisode)
Describes an individual podcast episode.
stringstringstringstringstringResolvableDateNodeRelation<any>PodcastEpisodeoptions.defaultLanguage (see: Schema.org Params)definePodcastEpisode({
name: 'Episode 1: Getting Started',
url: 'https://example.com/podcast/episode-1',
audio: 'https://example.com/podcast/ep1.mp3',
})
definePodcastEpisode({
name: 'Episode 42: The Answer to Everything',
description: 'In this episode, we explore the meaning of life, the universe, and everything.',
url: 'https://example.com/podcast/episode-42',
audio: 'https://example.com/podcast/ep42.mp3',
episodeNumber: 42,
duration: 'PT45M30S', // 45 minutes 30 seconds
datePublished: new Date(2024, 5, 15),
image: 'https://example.com/episode-42-cover.jpg',
transcript: 'https://example.com/podcast/ep42-transcript',
partOfSeries: {
name: 'The Example Podcast',
},
author: {
name: 'Jane Doe',
},
})
export interface PodcastEpisodeSimple extends Thing {
name: string
description?: string
url?: string
episodeNumber?: number | string
partOfSeries?: NodeRelation<any>
partOfSeason?: NodeRelation<any>
author?: NodeRelations<Person | Organization | string>
audio?: NodeRelation<any | string>
duration?: string
image?: NodeRelations<string | ImageObject>
thumbnailUrl?: string
datePublished?: ResolvableDate
uploadDate?: ResolvableDate
transcript?: string
inLanguage?: string
aggregateRating?: NodeRelation<AggregateRating>
review?: NodeRelations<Review>
keywords?: Arrayable<string>
}