Schema
TV Season Schema
On this page
Schema.org TVSeason
Type: defineTVSeason<T extends Record<string, any>>(input?: TVSeason & T)
Describes a season of a TV series.
Useful Links
Recommended Properties
- name
string
The name of the season. - seasonNumber
number
The season number. - partOfSeries
NodeRelation<TVSeries>
Reference to the TV series this season belongs to. UsedefineTVSeries()for a nested object if you want Unhead to attach the TVSeries resolver. - numberOfEpisodes
number
The number of episodes in the season.
Defaults
- @type:
TVSeason - @id:
${canonicalUrl}#/schema/tv-season/{n}
Examples
Minimal
defineTVSeason({
seasonNumber: 2,
partOfSeries: defineTVSeries({
name: 'Breaking Bad',
}),
})
Detailed example
defineTVSeason({
name: 'Season 2',
seasonNumber: 2,
description: 'The second season of Breaking Bad',
numberOfEpisodes: 13,
partOfSeries: defineTVSeries({
name: 'Breaking Bad',
}),
image: 'https://example.com/shows/breaking-bad-season-2.jpg',
datePublished: new Date(2009, 2, 8),
startDate: new Date(2009, 2, 8),
endDate: new Date(2009, 4, 31),
})
Types
export interface TVSeasonSimple extends Thing {
name?: string
description?: string
seasonNumber?: number
numberOfEpisodes?: number
partOfSeries?: NodeRelation<any>
episode?: NodeRelations<any>
datePublished?: ResolvableDate
startDate?: ResolvableDate
endDate?: ResolvableDate
image?: NodeRelations<string | ImageObject>
url?: string
actor?: NodeRelations<Person | string>
director?: NodeRelations<Person | string>
productionCompany?: NodeRelation<Organization | string>
aggregateRating?: NodeRelation<AggregateRating>
contentRating?: string
trailer?: NodeRelation<VideoObject | string>
}
Related Schemas
- TVEpisode: Season episodes
- Person: Director, actors
- Organization: Production company
Did this page help you?