Schema
TV Series Schema
On this page
Schema.org TVSeries
Type: defineTVSeries<T extends Record<string, any>>(input?: TVSeries & T)
Describes a TV series.
Useful Links
TVSeries is a general Schema.org type, not Google's VideoObject result type. A nested trailer must meet Google's VideoObject requirements independently.
Required properties
- name
string
The name of the TV series.
Recommended Properties
- actor
NodeRelations<Person | string>
An array of actors in the series, resolved as Person nodes. - director
NodeRelations<Person | string>
An array of directors of the series, resolved as Person nodes. - creator
NodeRelations<Person | Organization | string>
The creator of the series. Plain objects and strings resolve as Person; wrap an organization withdefineOrganization()to select the Organization resolver. - numberOfSeasons
number
The total number of seasons. - numberOfEpisodes
number
The total number of episodes.
Defaults
- @type:
TVSeries - @id:
${canonicalUrl}#/schema/tv-series/{n}
Examples
Minimal
defineTVSeries({
name: 'Breaking Bad',
})
Detailed example
defineTVSeries({
name: 'Breaking Bad',
description: 'A chemistry teacher diagnosed with cancer turns to manufacturing meth',
url: 'https://example.com/shows/breaking-bad',
image: 'https://example.com/shows/breaking-bad-poster.jpg',
numberOfSeasons: 5,
numberOfEpisodes: 62,
genre: ['Crime', 'Drama', 'Thriller'],
actor: [
{ name: 'Bryan Cranston' },
{ name: 'Aaron Paul' },
],
director: [
{ name: 'Vince Gilligan' },
],
creator: {
name: 'Vince Gilligan',
},
productionCompany: {
name: 'AMC Studios',
},
datePublished: new Date(2008, 0, 20),
aggregateRating: {
ratingValue: 9.5,
ratingCount: 1500000,
},
})
Types
export interface TVSeriesSimple extends Thing {
name: string
description?: string
url?: string
image?: NodeRelations<string | ImageObject>
actor?: NodeRelations<Person | string>
director?: NodeRelations<Person | string>
creator?: NodeRelations<Person | Organization | string>
numberOfSeasons?: number
numberOfEpisodes?: number
containsSeason?: NodeRelations<any>
episode?: NodeRelations<any>
genre?: string | string[]
datePublished?: ResolvableDate
startDate?: ResolvableDate
endDate?: ResolvableDate
productionCompany?: NodeRelation<Organization | string>
aggregateRating?: NodeRelation<AggregateRating>
countryOfOrigin?: string
trailer?: NodeRelation<VideoObject | string>
contentRating?: string
}
Did this page help you?
TV Season Schema
Use defineTVSeason() to add TVSeason structured data. Organize TV episodes by season with episode counts, cast, and air dates.
VacationRental Schema
Add Google vacation rental structured data with defineVacationRental(), including accommodation, location, amenities, beds, ratings, and reviews.