type GET_albums__id__tracks_ArtistsEntry {
  external_urls: GET_albums__id__tracks_ExternalUrls
  href: String
  id: String
  name: String
  type: String
  uri: String
}

type GET_albums__id__tracks_ExternalUrls {
  spotify: String
}

type GET_albums__id__tracks_ExternalUrls1 {
  spotify: String
}

type GET_albums__id__tracks_ItemsEntry {
  artists: [GET_albums__id__tracks_ArtistsEntry]
  disc_number: Int
  duration_ms: Int
  explicit: Boolean
  external_urls: GET_albums__id__tracks_ExternalUrls1
  href: String
  id: String
  is_local: Boolean
  is_playable: Boolean
  name: String
  preview_url: String
  track_number: Int
  type: String
  uri: String
}

type GET_albums__id__tracks_Root {
  href: String
  items: [GET_albums__id__tracks_ItemsEntry]
  limit: Int
  """
  Field "next" is defined as JSON since its value was always 'null'
  """
  next: JSON
  offset: Int
  """
  Field "previous" is defined as JSON since its value was always 'null'
  """
  previous: JSON
  total: Int
}

type Query {
  GET_albums__id__tracks(
    id: String!
    spotify_access_token: String!
  ): GET_albums__id__tracks_Root
    @rest(
      endpoint: "https://api.spotify.com/v1/albums/$id;/tracks"
      headers: [
        { name: "authorization", value: "Bearer $spotify_access_token;" }
      ]
    )
}
type GET_me_following_Artists {
  cursors: GET_me_following_Cursors
  href: String
  items: [GET_me_following_ItemsEntry]
  limit: Int
  """
  Field "next" is defined as JSON since its value was always 'null'
  """
  next: JSON
  total: Int
}

type GET_me_following_Cursors {
  """
  Field "after" is defined as JSON since its value was always 'null'
  """
  after: JSON
}

type GET_me_following_ExternalUrls {
  spotify: String
}

type GET_me_following_Followers {
  """
  Field "href" is defined as JSON since its value was always 'null'
  """
  href: JSON
  total: Int
}

type GET_me_following_ImagesEntry {
  height: Int
  url: String
  width: Int
}

type GET_me_following_ItemsEntry {
  external_urls: GET_me_following_ExternalUrls
  followers: GET_me_following_Followers
  genres: [String]
  href: String
  id: String
  images: [GET_me_following_ImagesEntry]
  name: String
  popularity: Int
  type: String
  uri: String
}

type GET_me_following_Root {
  artists: GET_me_following_Artists
}

type Query {
  GET_me_following(
    spotify_access_token: String!
    type: String
  ): GET_me_following_Root
    @rest(
      endpoint: "https://api.spotify.com/v1/me/following"
      headers: [
        { name: "authorization", value: "Bearer $spotify_access_token;" }
      ]
    )
}
type GET_artists__id__albums_ArtistsEntry {
  external_urls: GET_artists__id__albums_ExternalUrls1
  href: String
  id: String
  name: String
  type: String
  uri: String
}

type GET_artists__id__albums_ExternalUrls {
  spotify: String
}

type GET_artists__id__albums_ExternalUrls1 {
  spotify: String
}

type GET_artists__id__albums_ImagesEntry {
  height: Int
  url: String
  width: Int
}

type GET_artists__id__albums_ItemsEntry {
  album_group: String
  album_type: String
  artists: [GET_artists__id__albums_ArtistsEntry]
  available_markets: [String]
  external_urls: GET_artists__id__albums_ExternalUrls
  href: String
  id: String
  images: [GET_artists__id__albums_ImagesEntry]
  name: String
  release_date: String
  release_date_precision: String
  total_tracks: Int
  type: String
  uri: String
}

type GET_artists__id__albums_Root {
  href: String
  items: [GET_artists__id__albums_ItemsEntry]
  limit: Int
  next: String
  offset: Int
  """
  Field "previous" is defined as JSON since its value was always 'null'
  """
  previous: JSON
  total: Int
}

type Query {
  GET_artists__id__albums(
    id: String!
    spotify_access_token: String!
  ): GET_artists__id__albums_Root
    @rest(
      endpoint: "https://api.spotify.com/v1/artists/$id;/albums"
      headers: [
        { name: "authorization", value: "Bearer $spotify_access_token;" }
      ]
    )
}
