type GET_discover_movie_ResultsEntry {
  adult: Boolean
  backdrop_path: String
  genre_ids: [Int]
  id: Int
  original_language: String
  original_title: String
  overview: String
  popularity: Float
  poster_path: String
  release_date: Date
  title: String
  video: Boolean
  vote_average: Float
  vote_count: Int
}

type GET_discover_movie_Root {
  page: Int
  results: [GET_discover_movie_ResultsEntry]
  total_pages: Int
  total_results: Int
}

type Query {
  GET_discover_movie(tmdb_access_token: String!): GET_discover_movie_Root
    @rest(
      endpoint: "https://api.themoviedb.org/3/discover/movie"
      headers: [{ name: "authorization", value: "Bearer $tmdb_access_token;" }]
    )
}
