type GET_me_ExplicitContent {
  filter_enabled: Boolean
  filter_locked: Boolean
}

type GET_me_ExternalUrls {
  spotify: String
}

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

type GET_me_Root {
  country: String
  display_name: String
  email: String
  explicit_content: GET_me_ExplicitContent
  external_urls: GET_me_ExternalUrls
  followers: GET_me_Followers
  href: String
  id: String
  images: [JSON]
  product: String
  type: String
  uri: String
}

type Query {
  GET_me(spotify_access_token: String!): GET_me_Root
    @rest(
      endpoint: "https://api.spotify.com/v1/me"
      headers: [
        { name: "authorization", value: "Bearer $spotify_access_token;" }
      ]
    )
}
