Movie


Vue Schema.org Movie

Type: defineMovie(input?: Movie)

Describes a movie.

Example

defineMovie({  name: 'Black Panther',  url: '/2019-best-picture-noms#black-panther',  image: '/photos/6x9/photo.jpg',  dateCreated: '2018-02-16',  director: 'Ryan Coogle',  review: {    reviewRating: 2,    author: 'Trevor R',    reviewBody: 'I didn\'t like the lighting and CGI in this movie.',  },  aggregateRating: {    ratingValue: 96,    bestRating: 100,    ratingCount: 88211,  },})

Types

export interface MovieSimple extends Thing {  /**   * An image that represents the movie.   */  image: NodeRelations<string | ImageObject>  /**   * The name of the movie.   */  name: string  /**   * Annotation for the average review score assigned to the movie.   */  aggregateRating?: NodeRelation<AggregateRating>  /**   * The date the movie was released.   */  dateCreated?: ResolvableDate  /**   * The director of the movie.   */  director?: NodeRelation<Person | string>  /**   * A nested Review of the movie.   */  review?: NodeRelations<Review>}