## Schema.org TVSeries **Type**: `defineTVSeries(input?: TVSeries)`{lang="ts"} Describes a TV show series. ## Useful Links - [TVSeries - Schema.org](https://schema.org/TVSeries) - [Video Structured Data - Google Search Central](https://developers.google.com/search/docs/appearance/structured-data/video) ## Required properties - **name** `string` The name of the TV series. ## Recommended Properties - **actor** `NodeRelations` Array of actors in the series. Resolves to [Person](/docs/schema-org/api/schema/person). - **director** `NodeRelations` Array of directors of the series. Resolves to [Person](/docs/schema-org/api/schema/person). - **creator** `NodeRelations` The creator of the series. Resolves to [Person](/docs/schema-org/api/schema/person) or [Organization](/docs/schema-org/api/schema/organization). - **numberOfSeasons** `number` The total number of seasons. - **numberOfEpisodes** `number` The total number of episodes. ## Defaults - **@type**: `TVSeries` - **@id**: `${canonicalHost}#tv-series` ## Examples ### Minimal ```ts defineTVSeries({ name: 'Breaking Bad', }) ``` ### Complete ```ts 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 ```ts export interface TVSeriesSimple extends Thing { name: string description?: string url?: string image?: NodeRelations actor?: NodeRelations director?: NodeRelations creator?: NodeRelations numberOfSeasons?: number numberOfEpisodes?: number containsSeason?: NodeRelations episode?: NodeRelations genre?: string | string[] datePublished?: ResolvableDate startDate?: ResolvableDate endDate?: ResolvableDate productionCompany?: NodeRelation aggregateRating?: NodeRelation countryOfOrigin?: string trailer?: NodeRelation contentRating?: string } ```