Schema
Tv Season
On this page
Schema.org TVSeason
Type: defineTVSeason(input?: TVSeason)
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. - numberOfEpisodes
number
The number of episodes in the season.
Defaults
- @type:
TVSeason
Examples
Minimal
defineTVSeason({
seasonNumber: 2,
partOfSeries: {
name: 'Breaking Bad',
},
})
Complete
defineTVSeason({
name: 'Season 2',
seasonNumber: 2,
description: 'The second season of Breaking Bad',
numberOfEpisodes: 13,
partOfSeries: {
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?