diff --git a/CHANGELOG.md b/CHANGELOG.md index 78fd04e8..1628e52e 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,5 +1,8 @@ # CHANGELOG +## 5.0.3 +- Update examples to match latest changes. + ## 5.0.2 - Use default names for query/mutation root when SDL does not declare `schema`. @@ -240,6 +243,6 @@ This is totally a breaking change but as this library is still on alpha, I shoul [readme]: ./README.md [pr-65]: https://github.com/comigor/artemis/pull/65 [pr-68]: https://github.com/comigor/artemis/pull/68 -[apollo-3-ways-schema]: https://blog.apollographql.com/three-ways-to-represent-your-graphql-schema-a41f4175100d +[apollo-3-ways-schema]: https://blog.apollographql.com/three-ways-to-represent-your-graphql-schema-a41f4175100d#:~:text=Introspection%20query%20result%20to%20SDL [introspection-to-sdl-snippet]: https://gist.github.com/stubailo/041999ba5b8b15cede60b93ff9a38f53 -[introspection-to-sdl-online]: https://codesandbox.io/s/pnmoxolx4 +[introspection-to-sdl-online]: https://codesandbox.io/s/graphql-introspection-sdl-svlx2 diff --git a/example/.gitignore b/example/.gitignore index 06728250..6cb1c7d9 100644 --- a/example/.gitignore +++ b/example/.gitignore @@ -1,2 +1,4 @@ -nubank -*.ast.g.* \ No newline at end of file +/* +!/pokemon +!/graphbrainz +!/github \ No newline at end of file diff --git a/example/README.md b/example/README.md index 4df4384e..3b781887 100644 --- a/example/README.md +++ b/example/README.md @@ -12,4 +12,4 @@ A more complex example, for [graphbrainz](https://graphbrainz.herokuapp.com) (a ## [**github**](./github) -Even simpler example, for [GitHub GraphQL API](https://graphbrainz.herokuapp.com). I didn't commit the schema because it's too big (~3MB), so provide your own if you're running the example. +Even simpler example, for [GitHub GraphQL API](https://graphbrainz.herokuapp.com). I didn't commit the schema because it's too big (~3MB), so provide your own if you're running the example: https://github.com/octokit/graphql-schema diff --git a/example/github/.gitignore b/example/github/.gitignore index a5581ed3..b0780861 100644 --- a/example/github/.gitignore +++ b/example/github/.gitignore @@ -1 +1,2 @@ -github.schema.json \ No newline at end of file +github.schema.json +github.schema.graphql \ No newline at end of file diff --git a/example/github/build.yaml b/example/github/build.yaml index c8f31957..376f68c9 100644 --- a/example/github/build.yaml +++ b/example/github/build.yaml @@ -2,11 +2,11 @@ targets: $default: sources: - lib/** - - github.schema.json + - github.schema.graphql builders: artemis: options: schema_mapping: - - schema: github.schema.json + - schema: github.schema.graphql queries_glob: lib/graphql/search_repositories.graphql output: lib/graphql/search_repositories.dart diff --git a/example/github/pubspec.lock b/example/github/pubspec.lock index 9c3f4869..ebe83cf1 100644 --- a/example/github/pubspec.lock +++ b/example/github/pubspec.lock @@ -21,7 +21,7 @@ packages: path: "../.." relative: true source: path - version: "3.2.0" + version: "5.0.2" async: dependency: transitive description: @@ -189,7 +189,7 @@ packages: name: gql url: "https://pub.dartlang.org" source: hosted - version: "0.12.0" + version: "0.12.2" gql_code_gen: dependency: transitive description: @@ -203,28 +203,28 @@ packages: name: gql_dedupe_link url: "https://pub.dartlang.org" source: hosted - version: "1.0.8" + version: "1.0.9" gql_exec: dependency: transitive description: name: gql_exec url: "https://pub.dartlang.org" source: hosted - version: "0.2.0" + version: "0.2.2" gql_http_link: dependency: transitive description: name: gql_http_link url: "https://pub.dartlang.org" source: hosted - version: "0.2.6" + version: "0.2.7" gql_link: dependency: transitive description: name: gql_link url: "https://pub.dartlang.org" source: hosted - version: "0.2.2" + version: "0.2.3" graphs: dependency: transitive description: diff --git a/example/graphbrainz/build.yaml b/example/graphbrainz/build.yaml index 105e4b7e..e82cbd80 100644 --- a/example/graphbrainz/build.yaml +++ b/example/graphbrainz/build.yaml @@ -4,10 +4,9 @@ targets: artemis: options: schema_mapping: - - schema: lib/graphbrainz.schema.json + - schema: lib/graphbrainz.schema.graphql queries_glob: lib/queries/ed_sheeran.query.graphql output: lib/queries/ed_sheeran.query.dart - resolve_type_field: __typename custom_parser_import: 'package:graphbrainz_example/coercers.dart' scalar_mapping: - graphql_type: Date diff --git a/example/graphbrainz/lib/graphbrainz.schema.graphql b/example/graphbrainz/lib/graphbrainz.schema.graphql new file mode 100644 index 00000000..e5aad81a --- /dev/null +++ b/example/graphbrainz/lib/graphbrainz.schema.graphql @@ -0,0 +1,4680 @@ +""" +[Aliases](https://musicbrainz.org/doc/Aliases) are variant names +that are mostly used as search help: if a search matches an entity’s alias, the +entity will be given as a result – even if the actual name wouldn’t be. +""" +type Alias { + """The aliased name of the entity.""" + name: String + + """ + The string to use for the purpose of ordering by name (for + example, by moving articles like ‘the’ to the end or a person’s last name to + the front). + """ + sortName: String + + """ + The locale (language and/or country) in which the alias is + used. + """ + locale: Locale + + """ + Whether this is the main alias for the entity in the + specified locale (this could mean the most recent or the most common). + """ + primary: Boolean + + """ + The type or purpose of the alias – whether it is a variant, + search hint, etc. + """ + type: String + + """ + The MBID associated with the value of the `type` + field. + """ + typeID: MBID +} + +""" +[Areas](https://musicbrainz.org/doc/Area) are geographic regions +or settlements (countries, cities, or the like). +""" +type Area implements Node & Entity { + """The ID of an object""" + id: ID! + + """The MBID of the entity.""" + mbid: MBID! + + """The official name of the entity.""" + name: String + + """ + The string to use for the purpose of ordering by name (for + example, by moving articles like ‘the’ to the end or a person’s last name to + the front). + """ + sortName: String + + """A comment used to help distinguish identically named entitites.""" + disambiguation: String + + """ + [Aliases](https://musicbrainz.org/doc/Aliases) are used to store + alternate names or misspellings. + """ + aliases: [Alias] + + """ + [ISO 3166 codes](https://en.wikipedia.org/wiki/ISO_3166) are + the codes assigned by ISO to countries and subdivisions. + """ + isoCodes( + """ + Specify the particular ISO standard codes to retrieve. + Available ISO standards are 3166-1, 3166-2, and 3166-3. + """ + standard: String = "3166-1" + ): [String] + + """ + The type of area (country, city, etc. – see the [possible + values](https://musicbrainz.org/doc/Area)). + """ + type: String + + """ + The MBID associated with the value of the `type` + field. + """ + typeID: MBID + + """A list of artists linked to this entity.""" + artists(after: String, first: Int): ArtistConnection + + """A list of events linked to this entity.""" + events(after: String, first: Int): EventConnection + + """A list of labels linked to this entity.""" + labels(after: String, first: Int): LabelConnection + + """A list of places linked to this entity.""" + places(after: String, first: Int): PlaceConnection + + """A list of releases linked to this entity.""" + releases( + """Filter by one or more release group types.""" + type: [ReleaseGroupType] + + """Filter by one or more release statuses.""" + status: [ReleaseStatus] + after: String + first: Int + ): ReleaseConnection + + """Relationships between this entity and other entitites.""" + relationships: Relationships + + """A list of collections containing this entity.""" + collections(after: String, first: Int): CollectionConnection + + """A list of tags linked to this entity.""" + tags(after: String, first: Int): TagConnection + + """ + Chart data available for this area on [Last.fm](https://www.last.fm/), if + the area represents a country with an [ISO 3166 code](https://en.wikipedia.org/wiki/ISO_3166). + This field is provided by the Last.fm extension. + """ + lastFM: LastFMCountry +} + +"""A connection to a list of items.""" +type AreaConnection { + """Information to aid in pagination.""" + pageInfo: PageInfo! + + """A list of edges.""" + edges: [AreaEdge] + + """ + A list of nodes in the connection (without going through the + `edges` field). + """ + nodes: [Area] + + """ + A count of the total number of items in this connection, + ignoring pagination. + """ + totalCount: Int +} + +"""An edge in a connection.""" +type AreaEdge { + """The item at the end of the edge""" + node: Area + + """A cursor for use in pagination""" + cursor: String! + + """ + The relevancy score (0–100) assigned by the search engine, if + these results were found through a search. + """ + score: Int +} + +""" +An [artist](https://musicbrainz.org/doc/Artist) is generally a +musician, group of musicians, or other music professional (like a producer or +engineer). Occasionally, it can also be a non-musical person (like a +photographer, an illustrator, or a poet whose writings are set to music), or +even a fictional character. +""" +type Artist implements Node & Entity { + """The ID of an object""" + id: ID! + + """The MBID of the entity.""" + mbid: MBID! + + """The official name of the entity.""" + name: String + + """ + The string to use for the purpose of ordering by name (for + example, by moving articles like ‘the’ to the end or a person’s last name to + the front). + """ + sortName: String + + """A comment used to help distinguish identically named entitites.""" + disambiguation: String + + """ + [Aliases](https://musicbrainz.org/doc/Aliases) are used to store + alternate names or misspellings. + """ + aliases: [Alias] + + """ + The country with which an artist is primarily identified. It + is often, but not always, its birth/formation country. + """ + country: String + + """ + The area with which an artist is primarily identified. It + is often, but not always, its birth/formation country. + """ + area: Area + + """ + The area in which an artist began their career (or where + they were born, if the artist is a person). + """ + beginArea: Area + + """ + The area in which an artist ended their career (or where + they died, if the artist is a person). + """ + endArea: Area + + """ + The begin and end dates of the entity’s existence. Its exact + meaning depends on the type of entity. + """ + lifeSpan: LifeSpan + + """ + Whether a person or character identifies as male, female, or + neither. Groups do not have genders. + """ + gender: String + + """ + The MBID associated with the value of the `gender` + field. + """ + genderID: MBID + + """Whether an artist is a person, a group, or something else.""" + type: String + + """ + The MBID associated with the value of the `type` + field. + """ + typeID: MBID + + """ + List of [Interested Parties Information](https://musicbrainz.org/doc/IPI) + (IPI) codes for the artist. + """ + ipis: [IPI] + + """ + List of [International Standard Name Identifier](https://musicbrainz.org/doc/ISNI) + (ISNI) codes for the artist. + """ + isnis: [ISNI] + + """A list of recordings linked to this entity.""" + recordings(after: String, first: Int): RecordingConnection + + """A list of releases linked to this entity.""" + releases( + """Filter by one or more release group types.""" + type: [ReleaseGroupType] + + """Filter by one or more release statuses.""" + status: [ReleaseStatus] + after: String + first: Int + ): ReleaseConnection + + """A list of release groups linked to this entity.""" + releaseGroups( + """Filter by one or more release group types.""" + type: [ReleaseGroupType] + after: String + first: Int + ): ReleaseGroupConnection + + """A list of works linked to this entity.""" + works(after: String, first: Int): WorkConnection + + """Relationships between this entity and other entitites.""" + relationships: Relationships + + """A list of collections containing this entity.""" + collections(after: String, first: Int): CollectionConnection + + """The rating users have given to this entity.""" + rating: Rating + + """A list of tags linked to this entity.""" + tags(after: String, first: Int): TagConnection + + """ + Images of the artist from [fanart.tv](https://fanart.tv/). + This field is provided by the fanart.tv extension. + """ + fanArt: FanArtArtist + + """ + Artist images found at MediaWiki URLs in the artist’s URL relationships. + Defaults to URL relationships with the type “image”. + This field is provided by the MediaWiki extension. + """ + mediaWikiImages( + """ + The type of URL relationship that will be selected to find images. See + the possible [Artist-URL relationship types](https://musicbrainz.org/relationships/artist-url). + """ + type: String = "image" + ): [MediaWikiImage]! + + """ + Data about the artist from [TheAudioDB](http://www.theaudiodb.com/), a good + source of biographical information and images. + This field is provided by TheAudioDB extension. + """ + theAudioDB: TheAudioDBArtist + + """Information about the artist on Discogs.""" + discogs: DiscogsArtist + + """ + Data about the artist from [Last.fm](https://www.last.fm/), a good source + for measuring popularity via listener and play counts. This field is + provided by the Last.fm extension. + """ + lastFM: LastFMArtist + + """The artist’s entry on Spotify.""" + spotify: SpotifyArtist +} + +"""A connection to a list of items.""" +type ArtistConnection { + """Information to aid in pagination.""" + pageInfo: PageInfo! + + """A list of edges.""" + edges: [ArtistEdge] + + """ + A list of nodes in the connection (without going through the + `edges` field). + """ + nodes: [Artist] + + """ + A count of the total number of items in this connection, + ignoring pagination. + """ + totalCount: Int +} + +""" +[Artist credits](https://musicbrainz.org/doc/Artist_Credits) +indicate who is the main credited artist (or artists) for releases, release +groups, tracks, and recordings, and how they are credited. They consist of +artists, with (optionally) their names as credited in the specific release, +track, etc., and join phrases between them. +""" +type ArtistCredit { + """ + The entity representing the artist referenced in the + credits. + """ + artist: Artist + + """ + The name of the artist as credited in the specific release, + track, etc. + """ + name: String + + """ + Join phrases might include words and/or punctuation to + separate artist names as they appear on the release, track, etc. + """ + joinPhrase: String +} + +"""An edge in a connection.""" +type ArtistEdge { + """The item at the end of the edge""" + node: Artist + + """A cursor for use in pagination""" + cursor: String! + + """ + The relevancy score (0–100) assigned by the search engine, if + these results were found through a search. + """ + score: Int +} + +""" +An [Amazon Standard Identification Number](https://musicbrainz.org/doc/ASIN) +(ASIN) is a 10-character alphanumeric unique identifier assigned by Amazon.com +and its partners for product identification within the Amazon organization. +""" +scalar ASIN + +""" +A query for all MusicBrainz entities directly linked to another +entity. +""" +type BrowseQuery { + """Browse area entities linked to the given arguments.""" + areas( + """The MBID of a collection in which the entity is found.""" + collection: MBID + after: String + first: Int + ): AreaConnection + + """Browse artist entities linked to the given arguments.""" + artists( + """The MBID of an area to which the entity is linked.""" + area: MBID + + """The MBID of a collection in which the entity is found.""" + collection: MBID + + """The MBID of a recording to which the entity is linked.""" + recording: MBID + + """The MBID of a release to which the entity is linked.""" + release: MBID + + """The MBID of a release group to which the entity is linked.""" + releaseGroup: MBID + + """The MBID of a work to which the entity is linked.""" + work: MBID + after: String + first: Int + ): ArtistConnection + + """Browse collection entities linked to the given arguments.""" + collections( + """The MBID of an area to which the entity is linked.""" + area: MBID + + """The MBID of an artist to which the entity is linked.""" + artist: MBID + + """The username of the editor who created the collection.""" + editor: String + + """The MBID of an event to which the entity is linked.""" + event: MBID + + """The MBID of a label to which the entity is linked.""" + label: MBID + + """The MBID of a place to which the entity is linked.""" + place: MBID + + """The MBID of a recording to which the entity is linked.""" + recording: MBID + + """The MBID of a release to which the entity is linked.""" + release: MBID + + """The MBID of a release group to which the entity is linked.""" + releaseGroup: MBID + + """The MBID of a work to which the entity is linked.""" + work: MBID + after: String + first: Int + ): CollectionConnection + + """Browse event entities linked to the given arguments.""" + events( + """The MBID of an area to which the entity is linked.""" + area: MBID + + """The MBID of an artist to which the entity is linked.""" + artist: MBID + + """The MBID of a collection in which the entity is found.""" + collection: MBID + + """The MBID of a place to which the entity is linked.""" + place: MBID + after: String + first: Int + ): EventConnection + + """Browse label entities linked to the given arguments.""" + labels( + """The MBID of an area to which the entity is linked.""" + area: MBID + + """The MBID of a collection in which the entity is found.""" + collection: MBID + + """The MBID of a release to which the entity is linked.""" + release: MBID + after: String + first: Int + ): LabelConnection + + """Browse place entities linked to the given arguments.""" + places( + """The MBID of an area to which the entity is linked.""" + area: MBID + + """The MBID of a collection in which the entity is found.""" + collection: MBID + after: String + first: Int + ): PlaceConnection + + """Browse recording entities linked to the given arguments.""" + recordings( + """The MBID of an artist to which the entity is linked.""" + artist: MBID + + """The MBID of a collection in which the entity is found.""" + collection: MBID + + """ + The [International Standard Recording Code](https://musicbrainz.org/doc/ISRC) + (ISRC) of the recording. + """ + isrc: ISRC + + """The MBID of a release to which the entity is linked.""" + release: MBID + after: String + first: Int + ): RecordingConnection + + """Browse release entities linked to the given arguments.""" + releases( + """The MBID of an area to which the entity is linked.""" + area: MBID + + """The MBID of an artist to which the entity is linked.""" + artist: MBID + + """The MBID of a collection in which the entity is found.""" + collection: MBID + + """ + A [disc ID](https://musicbrainz.org/doc/Disc_ID) + associated with the release. + """ + discID: DiscID + + """The MBID of a label to which the entity is linked.""" + label: MBID + + """The MBID of a recording to which the entity is linked.""" + recording: MBID + + """The MBID of a release group to which the entity is linked.""" + releaseGroup: MBID + + """The MBID of a track that is included in the release.""" + track: MBID + + """ + The MBID of an artist that appears on a track in the + release, but is not included in the credits for the release itself. + """ + trackArtist: MBID + + """Filter by one or more release group types.""" + type: [ReleaseGroupType] + + """Filter by one or more release statuses.""" + status: [ReleaseStatus] + after: String + first: Int + ): ReleaseConnection + + """Browse release group entities linked to the given arguments.""" + releaseGroups( + """The MBID of an artist to which the entity is linked.""" + artist: MBID + + """The MBID of a collection in which the entity is found.""" + collection: MBID + + """The MBID of a release to which the entity is linked.""" + release: MBID + + """Filter by one or more release group types.""" + type: [ReleaseGroupType] + after: String + first: Int + ): ReleaseGroupConnection + + """Browse work entities linked to the given arguments.""" + works( + """The MBID of an artist to which the entity is linked.""" + artist: MBID + + """The MBID of a collection in which the entity is found.""" + collection: MBID + + """ + The [International Standard Musical Work Code](https://musicbrainz.org/doc/ISWC) + (ISWC) of the work. + """ + iswc: ISWC + after: String + first: Int + ): WorkConnection +} + +""" +[Collections](https://musicbrainz.org/doc/Collections) are +lists of entities that users can create. +""" +type Collection implements Node & Entity { + """The ID of an object""" + id: ID! + + """The MBID of the entity.""" + mbid: MBID! + + """The official name of the entity.""" + name: String + + """The username of the editor who created the collection.""" + editor: String! + + """The type of entity listed in the collection.""" + entityType: String! + + """The type of collection.""" + type: String + + """ + The MBID associated with the value of the `type` + field. + """ + typeID: MBID + + """The list of areas found in this collection.""" + areas(after: String, first: Int): AreaConnection + + """The list of artists found in this collection.""" + artists(after: String, first: Int): ArtistConnection + + """The list of events found in this collection.""" + events(after: String, first: Int): EventConnection + + """The list of instruments found in this collection.""" + instruments(after: String, first: Int): InstrumentConnection + + """The list of labels found in this collection.""" + labels(after: String, first: Int): LabelConnection + + """The list of places found in this collection.""" + places(after: String, first: Int): PlaceConnection + + """The list of recordings found in this collection.""" + recordings(after: String, first: Int): RecordingConnection + + """The list of releases found in this collection.""" + releases( + """Filter by one or more release group types.""" + type: [ReleaseGroupType] + + """Filter by one or more release statuses.""" + status: [ReleaseStatus] + after: String + first: Int + ): ReleaseConnection + + """The list of release groups found in this collection.""" + releaseGroups( + """Filter by one or more release group types.""" + type: [ReleaseGroupType] + after: String + first: Int + ): ReleaseGroupConnection + + """The list of series found in this collection.""" + series(after: String, first: Int): SeriesConnection + + """The list of works found in this collection.""" + works(after: String, first: Int): WorkConnection +} + +"""A connection to a list of items.""" +type CollectionConnection { + """Information to aid in pagination.""" + pageInfo: PageInfo! + + """A list of edges.""" + edges: [CollectionEdge] + + """ + A list of nodes in the connection (without going through the + `edges` field). + """ + nodes: [Collection] + + """ + A count of the total number of items in this connection, + ignoring pagination. + """ + totalCount: Int +} + +"""An edge in a connection.""" +type CollectionEdge { + """The item at the end of the edge""" + node: Collection + + """A cursor for use in pagination""" + cursor: String! + + """ + The relevancy score (0–100) assigned by the search engine, if + these results were found through a search. + """ + score: Int +} + +"""Geographic coordinates described with latitude and longitude.""" +type Coordinates { + """The north–south position of a point on the Earth’s surface.""" + latitude: Degrees + + """The east–west position of a point on the Earth’s surface.""" + longitude: Degrees +} + +""" +An individual piece of album artwork from the [Cover Art Archive](https://musicbrainz.org/doc/Cover_Art_Archive). +""" +type CoverArtArchiveImage { + """The Internet Archive’s internal file ID for the image.""" + fileID: String! + + """The URL at which the image can be found.""" + image: URLString! + + """A set of thumbnails for the image.""" + thumbnails: CoverArtArchiveImageThumbnails! + + """Whether this image depicts the “main front” of the release.""" + front: Boolean! + + """Whether this image depicts the “main back” of the release.""" + back: Boolean! + + """ + A list of [image types](https://musicbrainz.org/doc/Cover_Art/Types) + describing what part(s) of the release the image includes. + """ + types: [String]! + + """The MusicBrainz edit ID.""" + edit: Int + + """Whether the image was approved by the MusicBrainz edit system.""" + approved: Boolean + + """A free-text comment left for the image.""" + comment: String +} + +""" +The image sizes that may be requested at the [Cover Art Archive](https://musicbrainz.org/doc/Cover_Art_Archive). +""" +enum CoverArtArchiveImageSize { + """A maximum dimension of 250px.""" + SMALL + + """A maximum dimension of 500px.""" + LARGE + + """The image’s original dimensions, with no maximum.""" + FULL +} + +""" +URLs for thumbnails of different sizes for a particular piece of cover art. +""" +type CoverArtArchiveImageThumbnails { + """ + The URL of a small version of the cover art, where the maximum dimension is + 250px. + """ + small: URLString + + """ + The URL of a large version of the cover art, where the maximum dimension is + 500px. + """ + large: URLString +} + +""" +An object containing a list of the cover art images for a release obtained +from the [Cover Art Archive](https://musicbrainz.org/doc/Cover_Art_Archive), +as well as a summary of what artwork is available. +""" +type CoverArtArchiveRelease { + """ + The URL of an image depicting the album cover or “main front” of the release, + i.e. the front of the packaging of the audio recording (or in the case of a + digital release, the image associated with it in a digital media store). + + In the MusicBrainz schema, this field is a Boolean value indicating the + presence of a front image, whereas here the value is the URL for the image + itself if one exists. You can check for null if you just want to determine + the presence of an image. + """ + front( + """ + The size of the image to retrieve. By default, the returned image will + have its full original dimensions, but certain thumbnail sizes may be + retrieved as well. + """ + size: CoverArtArchiveImageSize = FULL + ): URLString + + """ + The URL of an image depicting the “main back” of the release, i.e. the back + of the packaging of the audio recording. + + In the MusicBrainz schema, this field is a Boolean value indicating the + presence of a back image, whereas here the value is the URL for the image + itself. You can check for null if you just want to determine the presence of + an image. + """ + back( + """ + The size of the image to retrieve. By default, the returned image will + have its full original dimensions, but certain thumbnail sizes may be + retrieved as well. + """ + size: CoverArtArchiveImageSize = FULL + ): URLString + + """ + A list of images depicting the different sides and surfaces of a release’s + media and packaging. + """ + images: [CoverArtArchiveImage]! + + """Whether there is artwork present for this release.""" + artwork: Boolean! + + """The number of artwork images present for this release.""" + count: Int! + + """The particular release shown in the returned cover art.""" + release: Release +} + +"""Year, month (optional), and day (optional) in YYYY-MM-DD format.""" +scalar Date + +"""Decimal degrees, used for latitude and longitude.""" +scalar Degrees + +""" +Information about the physical CD and releases associated with a +particular [disc ID](https://musicbrainz.org/doc/Disc_ID). +""" +type Disc implements Node { + """The ID of an object""" + id: ID! + + """The [disc ID](https://musicbrainz.org/doc/Disc_ID) of this disc.""" + discID: DiscID! + + """The number of offsets (tracks) on the disc.""" + offsetCount: Int! + + """The sector offset of each track on the disc.""" + offsets: [Int] + + """The sector offset of the lead-out (the end of the disc).""" + sectors: Int! + + """The list of releases linked to this disc ID.""" + releases(after: String, first: Int): ReleaseConnection +} + +""" +[Disc ID](https://musicbrainz.org/doc/Disc_ID) is the code +number which MusicBrainz uses to link a physical CD to a [release](https://musicbrainz.org/doc/Release) +listing. + +A release may have any number of disc IDs, and a disc ID may be linked to +multiple releases. This is because disc ID calculation involves a hash of the +frame offsets of the CD tracks. + +Different pressing of a CD often have slightly different frame offsets, and +hence different disc IDs. + +Conversely, two different CDs may happen to have exactly the same set of frame +offsets and hence the same disc ID. +""" +scalar DiscID + +"""An artist on Discogs.""" +type DiscogsArtist { + """The ID of the artist on Discogs.""" + artistID: ID! + + """The name of the artist on Discogs.""" + name: String! + + """Commonly found variations of the artist’s name.""" + nameVariations: [String!]! + + """ + The artist’s real name, if the artist is a person who uses a stage name. + """ + realName: String + + """ + A list of Discogs artists that represent the same artist under a different + alias. + """ + aliases: [DiscogsArtist!]! + + """The URL of the artist’s page on Discogs.""" + url: URLString! + + """Links to the artist’s official pages on different web properties.""" + urls: [URLString!]! + + """A biography or description of the artist.""" + profile: String + + """A list of images picturing the artist.""" + images: [DiscogsImage!]! + + """A list of members, if the artist is a group.""" + members: [DiscogsArtistMember!]! + + """ + A description of the quality and completeness of this artist’s data in the + Discogs database. + """ + dataQuality: String +} + +"""A credited artist on a release, track, etc.""" +type DiscogsArtistCredit { + """The official or common name of the credited artist.""" + name: String + + """ + The artist name as credited on this particular work (the Artist Name + Variation, or ANV, in Discogs terms). + """ + nameVariation: String + + """ + Join phrases might include words and/or punctuation to separate artist + names as they appear on the release, track, etc. + """ + joinPhrase: String + + """A list of roles the artist had on the work in question.""" + roles: [String!]! + + """ + A list of tracks or track ranges (e.g. “A1 to A4”) on which the artist is + credited. + """ + tracks: [String!]! + + """The artist’s entry on Discogs.""" + artist: DiscogsArtist +} + +"""A single artist who is a member of a group on Discogs.""" +type DiscogsArtistMember { + """Whether or not the member is still active in the group.""" + active: Boolean + + """The name of the member.""" + name: String! + + """The member’s artist information on Discogs.""" + artist: DiscogsArtist +} + +"""Community statistics regarding an item on Discogs.""" +type DiscogsCommunity { + """The acceptance status.""" + status: String + + """Information about how Discogs users have rated the item.""" + rating: DiscogsRating + + """The number of Discogs users who have the item in their collection.""" + haveCount: Int + + """The number of Discogs users who want the item.""" + wantCount: Int + + """The Discogs users who have contributed to the item’s data.""" + contributors: [DiscogsUser!]! + + """The Discogs user who submitted the item.""" + submitter: DiscogsUser +} + +"""A single image from Discogs.""" +type DiscogsImage { + """The URL of the image file.""" + url: URLString! + + """The image type, primary or secondary.""" + type: DiscogsImageType! + + """The image width in pixels.""" + width: Int! + + """The image height in pixels.""" + height: Int! + + """The URL for a 150x150 thumbnail of the image.""" + thumbnail: URLString +} + +"""The type of image.""" +enum DiscogsImageType { + """The primary image representing the item.""" + PRIMARY + + """A secondary image representing the item.""" + SECONDARY +} + +"""A label on Discogs.""" +type DiscogsLabel { + """The ID of the label on Discogs.""" + labelID: ID! + + """The name of the label.""" + name: String! + + """The URL of the label on Discogs.""" + url: URLString! + + """A description of the history of the label.""" + profile: String + + """Information on how to contact a representative of the label.""" + contactInfo: String + + """The parent label, if this label is a subsidiary.""" + parentLabel: DiscogsLabel + + """A list of labels that are subsidiaries of this label.""" + subLabels: [DiscogsLabel!]! + + """A list of images associated with the label.""" + images: [DiscogsImage!]! + + """ + A description of the quality and completeness of this label’s data in the + Discogs database. + """ + dataQuality: String +} + +""" +Master releases group different versions of the same release (for example, +releases in different formats, issued in different countries, re-releases, +etc.). The equivalent of a MusicBrainz release group. +""" +type DiscogsMaster { + """The ID of the master on Discogs.""" + masterID: ID! + + """The title of the master.""" + title: String! + + """The URL of the master on Discogs.""" + url: URLString! + + """The artists credited on the master.""" + artistCredits: [DiscogsArtistCredit!]! + + """The primary musical genres of the master (e.g. “Electronic”).""" + genres: [String!]! + + """The primary musical styles of the master (e.g. “Techno”, “Minimal”).""" + styles: [String!]! + + """The number of listings the master currently has on the marketplace.""" + forSaleCount: Int + + """The lowest price for the master currently found on the marketplace.""" + lowestPrice( + """ + The three-letter currency code for which to retrieve the price. Discogs + supports USD, GBP, EUR, CAD, AUD, JPY, CHF, MXN, BRL, NZD, SEK, and ZAR. + # + [NOT YET WORKING] + """ + currency: String + ): Float + + """The year the master was released (most likely its “main” release).""" + year: Int + + """The main release from the master.""" + mainRelease: DiscogsRelease + + """Images of the master.""" + images: [DiscogsImage!]! + + """Music videos from the master.""" + videos: [DiscogsVideo!]! + + """ + A description of the quality and completeness of this master’s data in the + Discogs database. + """ + dataQuality: String +} + +"""An aggregated rating on Discogs.""" +type DiscogsRating { + """The number of users who have contributed to the rating.""" + voteCount: Int! + + """The average rating as determined by users.""" + value: Float +} + +"""A release on Discogs.""" +type DiscogsRelease { + """The ID of the release on Discogs.""" + releaseID: ID! + + """The title of the release.""" + title: String! + + """The URL of the release on Discogs.""" + url: URLString! + + """The artists credited on the release.""" + artistCredits: [DiscogsArtistCredit!]! + + """ + An additional list of artists who contributed to the release, but are not + named in the release’s artists. + """ + extraArtistCredits: [DiscogsArtistCredit!]! + + """The primary musical genres of the release (e.g. “Electronic”).""" + genres: [String!]! + + """The primary musical styles of the release (e.g. “Techno”, “Minimal”).""" + styles: [String!]! + + """The number of listings the release currently has on the marketplace.""" + forSaleCount: Int + + """The lowest price for the release currently found on the marketplace.""" + lowestPrice( + """ + The three-letter currency code for which to retrieve the price. Discogs + supports USD, GBP, EUR, CAD, AUD, JPY, CHF, MXN, BRL, NZD, SEK, and ZAR. + # + [NOT YET WORKING] + """ + currency: String + ): Float + + """The year the release was issued.""" + year: Int + + """Notes about the release.""" + notes: String + + """The country in which the release was issued.""" + country: String + + """The master release on Discogs.""" + master: DiscogsMaster + + """The primary thumbnail image for the release.""" + thumbnail: URLString + + """Images of the release.""" + images: [DiscogsImage!]! + + """Music videos from the release.""" + videos: [DiscogsVideo!]! + + """ + Information about the Discogs community’s contributions to the release’s + data. + """ + community: DiscogsCommunity + + """ + A description of the quality and completeness of this release’s data in + the Discogs database. + """ + dataQuality: String +} + +"""A connection to a list of Discogs releases.""" +type DiscogsReleaseConnection { + """Information to aid in pagination.""" + pageInfo: PageInfo! + + """A list of edges.""" + edges: [DiscogsReleaseEdge!]! + + """ + A list of nodes in the connection (without going through the `edges` field). + """ + nodes: [DiscogsRelease!]! + + """ + A count of the total number of items in this connection, ignoring pagination. + """ + totalCount: Int +} + +"""An edge in a Discogs release connection.""" +type DiscogsReleaseEdge { + """The release at the end of the edge.""" + node: DiscogsRelease! +} + +"""A user on Discogs.""" +type DiscogsUser { + """The user’s username on Discogs.""" + username: String! +} + +"""A single video linked from Discogs.""" +type DiscogsVideo { + """The URL of the video.""" + url: URLString! + + """The title of the video.""" + title: String + + """The video description.""" + description: String + + """The duration of the video in milliseconds.""" + duration: Duration + + """Whether the video is embeddable.""" + embed: Boolean +} + +"""A length of time, in milliseconds.""" +scalar Duration + +"""An entity in the MusicBrainz schema.""" +interface Entity { + """The MBID of the entity.""" + mbid: MBID! +} + +""" +An [event](https://musicbrainz.org/doc/Event) refers to an +organised event which people can attend, and is relevant to MusicBrainz. +Generally this means live performances, like concerts and festivals. +""" +type Event implements Node & Entity { + """The ID of an object""" + id: ID! + + """The MBID of the entity.""" + mbid: MBID! + + """The official name of the entity.""" + name: String + + """A comment used to help distinguish identically named entitites.""" + disambiguation: String + + """ + [Aliases](https://musicbrainz.org/doc/Aliases) are used to store + alternate names or misspellings. + """ + aliases: [Alias] + + """ + The begin and end dates of the entity’s existence. Its exact + meaning depends on the type of entity. + """ + lifeSpan: LifeSpan + + """The start time of the event.""" + time: Time + + """Whether or not the event took place.""" + cancelled: Boolean + + """ + A list of songs performed, optionally including links to + artists and works. See the [setlist documentation](https://musicbrainz.org/doc/Event/Setlist) + for syntax and examples. + """ + setlist: String + + """What kind of event the event is, e.g. concert, festival, etc.""" + type: String + + """ + The MBID associated with the value of the `type` + field. + """ + typeID: MBID + + """Relationships between this entity and other entitites.""" + relationships: Relationships + + """A list of collections containing this entity.""" + collections(after: String, first: Int): CollectionConnection + + """The rating users have given to this entity.""" + rating: Rating + + """A list of tags linked to this entity.""" + tags(after: String, first: Int): TagConnection +} + +"""A connection to a list of items.""" +type EventConnection { + """Information to aid in pagination.""" + pageInfo: PageInfo! + + """A list of edges.""" + edges: [EventEdge] + + """ + A list of nodes in the connection (without going through the + `edges` field). + """ + nodes: [Event] + + """ + A count of the total number of items in this connection, + ignoring pagination. + """ + totalCount: Int +} + +"""An edge in a connection.""" +type EventEdge { + """The item at the end of the edge""" + node: Event + + """A cursor for use in pagination""" + cursor: String! + + """ + The relevancy score (0–100) assigned by the search engine, if + these results were found through a search. + """ + score: Int +} + +""" +An object containing lists of the different types of release group images from +[fanart.tv](https://fanart.tv/). +""" +type FanArtAlbum { + """ + A list of 1000x1000 JPG images of the cover artwork of the release group. + """ + albumCovers: [FanArtImage] + + """ + A list of 1000x1000 PNG images of the physical disc media for the release + group, with transparent backgrounds. + """ + discImages: [FanArtDiscImage] +} + +""" +An object containing lists of the different types of artist images from +[fanart.tv](https://fanart.tv/). +""" +type FanArtArtist { + """ + A list of 1920x1080 JPG images picturing the artist, suitable for use as + backgrounds. + """ + backgrounds: [FanArtImage] + + """ + A list of 1000x185 JPG images containing the artist and their logo or name. + """ + banners: [FanArtImage] + + """ + A list of 400x155 PNG images containing the artist’s logo or name, with + transparent backgrounds. + """ + logos: [FanArtImage] + + """ + A list of 800x310 PNG images containing the artist’s logo or name, with + transparent backgrounds. + """ + logosHD: [FanArtImage] + + """ + A list of 1000x1000 JPG thumbnail images picturing the artist (usually + containing every member of a band). + """ + thumbnails: [FanArtImage] +} + +"""A disc image from [fanart.tv](https://fanart.tv/).""" +type FanArtDiscImage { + """The ID of the image on fanart.tv.""" + imageID: ID + + """The URL of the image.""" + url( + """The size of the image to retrieve.""" + size: FanArtImageSize = FULL + ): URLString + + """The number of likes the image has received by fanart.tv users.""" + likeCount: Int + + """The disc number.""" + discNumber: Int + + """The width and height of the (square) disc image.""" + size: Int +} + +"""A single image from [fanart.tv](https://fanart.tv/).""" +type FanArtImage { + """The ID of the image on fanart.tv.""" + imageID: ID + + """The URL of the image.""" + url( + """The size of the image to retrieve.""" + size: FanArtImageSize = FULL + ): URLString + + """The number of likes the image has received by fanart.tv users.""" + likeCount: Int +} + +""" +The image sizes that may be requested at [fanart.tv](https://fanart.tv/). +""" +enum FanArtImageSize { + """The image’s full original dimensions.""" + FULL + + """A maximum dimension of 200px.""" + PREVIEW +} + +""" +An object containing lists of the different types of label images from +[fanart.tv](https://fanart.tv/). +""" +type FanArtLabel { + """ + A list of 400x270 PNG images containing the label’s logo. There will + usually be a black version, a color version, and a white version, all with + transparent backgrounds. + """ + logos: [FanArtLabelImage] +} + +"""A music label image from [fanart.tv](https://fanart.tv/).""" +type FanArtLabelImage { + """The ID of the image on fanart.tv.""" + imageID: ID + + """The URL of the image.""" + url( + """The size of the image to retrieve.""" + size: FanArtImageSize = FULL + ): URLString + + """The number of likes the image has received by fanart.tv users.""" + likeCount: Int + + """The type of color content in the image (usually “white” or “colour”).""" + color: String +} + +""" +[Instruments](https://musicbrainz.org/doc/Instrument) are +devices created or adapted to make musical sounds. Instruments are primarily +used in relationships between two other entities. +""" +type Instrument implements Node & Entity { + """The ID of an object""" + id: ID! + + """The MBID of the entity.""" + mbid: MBID! + + """The official name of the entity.""" + name: String + + """A comment used to help distinguish identically named entitites.""" + disambiguation: String + + """ + [Aliases](https://musicbrainz.org/doc/Aliases) are used to store + alternate names or misspellings. + """ + aliases: [Alias] + + """ + A brief description of the main characteristics of the + instrument. + """ + description: String + + """ + The type categorises the instrument by the way the sound is + created, similar to the [Hornbostel-Sachs](https://en.wikipedia.org/wiki/Hornbostel%E2%80%93Sachs) + classification. + """ + type: String + + """ + The MBID associated with the value of the `type` + field. + """ + typeID: MBID + + """Relationships between this entity and other entitites.""" + relationships: Relationships + + """A list of collections containing this entity.""" + collections(after: String, first: Int): CollectionConnection + + """A list of tags linked to this entity.""" + tags(after: String, first: Int): TagConnection + + """ + Instrument images found at MediaWiki URLs in the instrument’s URL + relationships. Defaults to URL relationships with the type “image”. + This field is provided by the MediaWiki extension. + """ + mediaWikiImages( + """ + The type of URL relationship that will be selected to find images. See the + possible [Instrument-URL relationship types](https://musicbrainz.org/relationships/instrument-url). + """ + type: String = "image" + ): [MediaWikiImage]! +} + +"""A connection to a list of items.""" +type InstrumentConnection { + """Information to aid in pagination.""" + pageInfo: PageInfo! + + """A list of edges.""" + edges: [InstrumentEdge] + + """ + A list of nodes in the connection (without going through the + `edges` field). + """ + nodes: [Instrument] + + """ + A count of the total number of items in this connection, + ignoring pagination. + """ + totalCount: Int +} + +"""An edge in a connection.""" +type InstrumentEdge { + """The item at the end of the edge""" + node: Instrument + + """A cursor for use in pagination""" + cursor: String! + + """ + The relevancy score (0–100) assigned by the search engine, if + these results were found through a search. + """ + score: Int +} + +""" +An [Interested Parties Information](https://musicbrainz.org/doc/IPI) +(IPI) code is an identifying number assigned by the CISAC database for musical +rights management. +""" +scalar IPI + +""" +The [International Standard Name Identifier](https://musicbrainz.org/doc/ISNI) +(ISNI) is an ISO standard for uniquely identifying the public identities of +contributors to media content. +""" +scalar ISNI + +""" +The [International Standard Recording Code](https://musicbrainz.org/doc/ISRC) +(ISRC) is an identification system for audio and music video recordings. It is +standarized by the [IFPI](http://www.ifpi.org/) in ISO 3901:2001 and used by +IFPI members to assign a unique identifier to every distinct sound recording +they release. An ISRC identifies a particular [sound recording](https://musicbrainz.org/doc/Recording), +not the song itself. Therefore, different recordings, edits, remixes and +remasters of the same song will each be assigned their own ISRC. However, note +that same recording should carry the same ISRC in all countries/territories. +Songs are identified by analogous [International Standard Musical Work Codes](https://musicbrainz.org/doc/ISWC) +(ISWCs). +""" +scalar ISRC + +""" +The [International Standard Musical Work Code](https://musicbrainz.org/doc/ISWC) +(ISWC) is an ISO standard similar to ISBNs for identifying musical works / +compositions. +""" +scalar ISWC + +""" +[Labels](https://musicbrainz.org/doc/Label) represent mostly +(but not only) imprints. To a lesser extent, a label entity may be created to +represent a record company. +""" +type Label implements Node & Entity { + """The ID of an object""" + id: ID! + + """The MBID of the entity.""" + mbid: MBID! + + """The official name of the entity.""" + name: String + + """ + The string to use for the purpose of ordering by name (for + example, by moving articles like ‘the’ to the end or a person’s last name to + the front). + """ + sortName: String + + """A comment used to help distinguish identically named entitites.""" + disambiguation: String + + """ + [Aliases](https://musicbrainz.org/doc/Aliases) are used to store + alternate names or misspellings. + """ + aliases: [Alias] + + """The country of origin for the label.""" + country: String + + """The area in which the label is based.""" + area: Area + + """ + The begin and end dates of the entity’s existence. Its exact + meaning depends on the type of entity. + """ + lifeSpan: LifeSpan + + """ + The [“LC” code](https://musicbrainz.org/doc/Label/Label_Code) + of the label. + """ + labelCode: Int + + """ + List of [Interested Parties Information](https://musicbrainz.org/doc/IPI) + codes for the label. + """ + ipis: [IPI] + + """ + A type describing the main activity of the label, e.g. + imprint, production, distributor, rights society, etc. + """ + type: String + + """ + The MBID associated with the value of the `type` + field. + """ + typeID: MBID + + """A list of releases linked to this entity.""" + releases( + """Filter by one or more release group types.""" + type: [ReleaseGroupType] + + """Filter by one or more release statuses.""" + status: [ReleaseStatus] + after: String + first: Int + ): ReleaseConnection + + """Relationships between this entity and other entitites.""" + relationships: Relationships + + """A list of collections containing this entity.""" + collections(after: String, first: Int): CollectionConnection + + """The rating users have given to this entity.""" + rating: Rating + + """A list of tags linked to this entity.""" + tags(after: String, first: Int): TagConnection + + """ + Images of the label from [fanart.tv](https://fanart.tv/). + This field is provided by the fanart.tv extension. + """ + fanArt: FanArtLabel + + """ + Label images found at MediaWiki URLs in the label’s URL relationships. + Defaults to URL relationships with the type “logo”. + This field is provided by the MediaWiki extension. + """ + mediaWikiImages( + """ + The type of URL relationship that will be selected to find images. See the + possible [Label-URL relationship types](https://musicbrainz.org/relationships/label-url). + """ + type: String = "logo" + ): [MediaWikiImage]! + + """Information about the label on Discogs.""" + discogs: DiscogsLabel +} + +"""A connection to a list of items.""" +type LabelConnection { + """Information to aid in pagination.""" + pageInfo: PageInfo! + + """A list of edges.""" + edges: [LabelEdge] + + """ + A list of nodes in the connection (without going through the + `edges` field). + """ + nodes: [Label] + + """ + A count of the total number of items in this connection, + ignoring pagination. + """ + totalCount: Int +} + +"""An edge in a connection.""" +type LabelEdge { + """The item at the end of the edge""" + node: Label + + """A cursor for use in pagination""" + cursor: String! + + """ + The relevancy score (0–100) assigned by the search engine, if + these results were found through a search. + """ + score: Int +} + +""" +An album on [Last.fm](https://www.last.fm/) corresponding with a MusicBrainz +Release. +""" +type LastFMAlbum { + """The MBID of the corresponding MusicBrainz release.""" + mbid: MBID + + """The title of the album according to [Last.fm](https://www.last.fm/).""" + title: String + + """The URL for the album on [Last.fm](https://www.last.fm/).""" + url: URLString! + + """An image of the cover artwork of the release.""" + image( + """The size of the image to retrieve.""" + size: LastFMImageSize + ): URLString + + """The number of listeners recorded for the album.""" + listenerCount: Float + + """The number of plays recorded for the album.""" + playCount: Float + + """ + Historical information written about the album, often available in several + languages. + """ + description( + """ + The two-letter code for the language in which to retrieve the description. + """ + lang: String + ): LastFMWikiContent + + """ + The artist who released the album. This returns the Last.fm artist info, + not the MusicBrainz artist. + """ + artist: LastFMArtist + + """A list of tags applied to the artist by users, ordered by popularity.""" + topTags( + """The maximum number of tags to retrieve.""" + first: Int = 25 + + """The cursor of the edge after which more tags will be retrieved.""" + after: String + ): LastFMTagConnection +} + +"""A connection to a list of items.""" +type LastFMAlbumConnection { + """Information to aid in pagination.""" + pageInfo: PageInfo! + + """A list of edges.""" + edges: [LastFMAlbumEdge] + + """ + A list of nodes in the connection (without going through the `edges` field). + """ + nodes: [LastFMAlbum] + + """ + A count of the total number of items in this connection, ignoring pagination. + """ + totalCount: Int +} + +"""An edge in a connection.""" +type LastFMAlbumEdge { + """The item at the end of the edge.""" + node: LastFMAlbum + + """A cursor for use in pagination.""" + cursor: String! +} + +"""An artist on [Last.fm](https://www.last.fm/).""" +type LastFMArtist { + """The MBID of the corresponding MusicBrainz artist.""" + mbid: MBID + + """The name of the artist according to [Last.fm](https://www.last.fm/).""" + name: String + + """The URL for the artist on [Last.fm](https://www.last.fm/).""" + url: URLString! + + """An image of the artist.""" + image( + """The size of the image to retrieve.""" + size: LastFMImageSize + ): URLString + + """The number of listeners recorded for the artist.""" + listenerCount: Float + + """The number of plays recorded for the artist.""" + playCount: Float + + """A list of similar artists.""" + similarArtists( + """The maximum number of artists to retrieve.""" + first: Int = 25 + + """The cursor of the edge after which more artists will be retrieved.""" + after: String + ): LastFMArtistConnection + + """A list of the artist’s most popular albums.""" + topAlbums( + """The maximum number of albums to retrieve.""" + first: Int = 25 + + """The cursor of the edge after which more albums will be retrieved.""" + after: String + ): LastFMAlbumConnection + + """A list of tags applied to the artist by users, ordered by popularity.""" + topTags( + """The maximum number of tags to retrieve.""" + first: Int = 25 + + """The cursor of the edge after which more tags will be retrieved.""" + after: String + ): LastFMTagConnection + + """A list of the artist’s most popular tracks.""" + topTracks( + """The maximum number of tracks to retrieve.""" + first: Int = 25 + + """The cursor of the edge after which more tracks will be retrieved.""" + after: String + ): LastFMTrackConnection + + """A biography of the artist, often available in several languages.""" + biography( + """ + The two-letter code for the language in which to retrieve the biography. + """ + lang: String + ): LastFMWikiContent +} + +"""A connection to a list of items.""" +type LastFMArtistConnection { + """Information to aid in pagination.""" + pageInfo: PageInfo! + + """A list of edges.""" + edges: [LastFMArtistEdge] + + """ + A list of nodes in the connection (without going through the `edges` field). + """ + nodes: [LastFMArtist] + + """ + A count of the total number of items in this connection, ignoring pagination. + """ + totalCount: Int +} + +"""An edge in a connection.""" +type LastFMArtistEdge { + """The item at the end of the edge.""" + node: LastFMArtist + + """A cursor for use in pagination.""" + cursor: String! + + """ + The artist similarity score (0–1) as determined by [Last.fm](https://www.last.fm/), + if this connection is with another artist. + """ + matchScore: Float +} + +"""A query for chart data on [Last.fm](https://www.last.fm/).""" +type LastFMChartQuery { + """ + The most popular artists, ordered by popularity. If a country code is + given, retrieve the most popular artists in that country. + """ + topArtists( + """ + A two-letter [ISO 3166 country code](https://en.wikipedia.org/wiki/ISO_3166). + """ + country: String + + """The maximum number of artists to retrieve.""" + first: Int = 25 + + """The cursor of the edge after which more artists will be retrieved.""" + after: String + ): LastFMArtistConnection + + """The most popular tags, ordered by popularity.""" + topTags( + """The maximum number of tags to retrieve.""" + first: Int = 25 + + """The cursor of the edge after which more tags will be retrieved.""" + after: String + ): LastFMTagConnection + + """ + The most popular tracks, ordered by popularity. If a country code is + given, retrieve the most popular tracks in that country. + """ + topTracks( + """ + A two-letter [ISO 3166 country code](https://en.wikipedia.org/wiki/ISO_3166). + """ + country: String + + """The maximum number of tracks to retrieve.""" + first: Int = 25 + + """The cursor of the edge after which more tracks will be retrieved.""" + after: String + ): LastFMTrackConnection +} + +""" +A country with chart data available on [Last.fm](https://www.last.fm/). +""" +type LastFMCountry { + """The top artists in this country, ordered by popularity.""" + topArtists( + """The maximum number of artists to retrieve.""" + first: Int = 25 + + """The cursor of the edge after which more artists will be retrieved.""" + after: String + ): LastFMArtistConnection + + """The top tracks in this country, ordered by popularity.""" + topTracks( + """The maximum number of tracks to retrieve.""" + first: Int = 25 + + """The cursor of the edge after which more tracks will be retrieved.""" + after: String + ): LastFMTrackConnection +} + +""" +The image sizes that may be requested at [Last.fm](https://www.last.fm/). +""" +enum LastFMImageSize { + """A maximum dimension of 34px.""" + SMALL + + """A maximum dimension of 64px.""" + MEDIUM + + """A maximum dimension of 174px.""" + LARGE + + """A maximum dimension of 300px.""" + EXTRALARGE + + """A maximum dimension of 300px.""" + MEGA +} + +""" +The different types of [Last.fm](https://www.last.fm/) queries that can be +made that are not connected to any particular MusicBrainz entity. +""" +type LastFMQuery { + """A query for chart data.""" + chart: LastFMChartQuery! +} + +"""A tag added by users to an entity on [Last.fm](https://www.last.fm/).""" +type LastFMTag { + """The tag name.""" + name: String! + + """The URL for the tag on [Last.fm](https://www.last.fm/).""" + url: URLString! +} + +"""A connection to a list of items.""" +type LastFMTagConnection { + """Information to aid in pagination.""" + pageInfo: PageInfo! + + """A list of edges.""" + edges: [LastFMTagEdge] + + """ + A list of nodes in the connection (without going through the `edges` field). + """ + nodes: [LastFMTag] + + """ + A count of the total number of items in this connection, ignoring pagination. + """ + totalCount: Int +} + +"""An edge in a connection.""" +type LastFMTagEdge { + """The item at the end of the edge.""" + node: LastFMTag + + """A cursor for use in pagination.""" + cursor: String! + + """The number of times the tag has been applied to the item in question.""" + tagCount: Int +} + +""" +A track on [Last.fm](https://www.last.fm/) corresponding with a MusicBrainz +Recording. +""" +type LastFMTrack { + """The MBID of the corresponding MusicBrainz recording.""" + mbid: MBID + + """The title of the track according to [Last.fm](https://www.last.fm/).""" + title: String + + """The URL for the track on [Last.fm](https://www.last.fm/).""" + url: URLString! + + """The length of the track.""" + duration: Duration + + """The number of listeners recorded for the track.""" + listenerCount: Float + + """The number of plays recorded for the track.""" + playCount: Float + + """ + Historical information written about the track, often available in several + languages. + """ + description( + """ + The two-letter code for the language in which to retrieve the description. + """ + lang: String + ): LastFMWikiContent + + """ + The artist who released the track. This returns the Last.fm artist info, + not the MusicBrainz artist. + """ + artist: LastFMArtist + + """ + The album on which the track appears. This returns the Last.fm album info, + not the MusicBrainz release. + """ + album: LastFMAlbum + + """A list of similar tracks.""" + similarTracks( + """The maximum number of tracks to retrieve.""" + first: Int = 25 + + """The cursor of the edge after which more tracks will be retrieved.""" + after: String + ): LastFMTrackConnection + + """A list of tags applied to the track by users, ordered by popularity.""" + topTags( + """The maximum number of tags to retrieve.""" + first: Int = 25 + + """The cursor of the edge after which more tags will be retrieved.""" + after: String + ): LastFMTagConnection +} + +"""A connection to a list of items.""" +type LastFMTrackConnection { + """Information to aid in pagination.""" + pageInfo: PageInfo! + + """A list of edges.""" + edges: [LastFMTrackEdge] + + """ + A list of nodes in the connection (without going through the `edges` field). + """ + nodes: [LastFMTrack] + + """ + A count of the total number of items in this connection, ignoring pagination. + """ + totalCount: Int +} + +"""An edge in a connection.""" +type LastFMTrackEdge { + """The item at the end of the edge.""" + node: LastFMTrack + + """A cursor for use in pagination.""" + cursor: String! + + """ + The track similarity score (0–1) as determined by [Last.fm](https://www.last.fm/), + if this connection is with another track. + """ + matchScore: Float +} + +""" +Biographical or background information written about an entity on +[Last.fm](https://www.last.fm/). +""" +type LastFMWikiContent { + """A summary of the wiki content, which may contain HTML.""" + summaryHTML: String + + """The full wiki content, which may contain HTML.""" + contentHTML: String + + """ + The date the content was published. The data is reformatted from the + Last.fm API’s original format into the Date scalar format. + """ + publishDate: Date + + """ + The time the content was published. The data is reformatted from the + Last.fm API’s original format into the Time scalar format. The API offers + no indication as to which time zone the time is in. + """ + publishTime: Time + + """The URL at which the content was published.""" + url: URLString +} + +""" +Fields indicating the begin and end date of an entity’s +lifetime, including whether it has ended (even if the date is unknown). +""" +type LifeSpan { + """The start date of the entity’s life span.""" + begin: Date + + """The end date of the entity’s life span.""" + end: Date + + """Whether or not the entity’s life span has ended.""" + ended: Boolean +} + +"""Language code, optionally with country and encoding.""" +scalar Locale + +"""A lookup of an individual MusicBrainz entity by its MBID.""" +type LookupQuery { + """Look up a specific area by its MBID.""" + area( + """The MBID of the entity.""" + mbid: MBID! + ): Area + + """Look up a specific artist by its MBID.""" + artist( + """The MBID of the entity.""" + mbid: MBID! + ): Artist + + """Look up a specific collection by its MBID.""" + collection( + """The MBID of the entity.""" + mbid: MBID! + ): Collection + + """Look up a specific physical disc by its disc ID.""" + disc( + """ + The [disc ID](https://musicbrainz.org/doc/Disc_ID) + of the disc. + """ + discID: DiscID! + ): Disc + + """Look up a specific event by its MBID.""" + event( + """The MBID of the entity.""" + mbid: MBID! + ): Event + + """Look up a specific instrument by its MBID.""" + instrument( + """The MBID of the entity.""" + mbid: MBID! + ): Instrument + + """Look up a specific label by its MBID.""" + label( + """The MBID of the entity.""" + mbid: MBID! + ): Label + + """Look up a specific place by its MBID.""" + place( + """The MBID of the entity.""" + mbid: MBID! + ): Place + + """Look up a specific recording by its MBID.""" + recording( + """The MBID of the entity.""" + mbid: MBID! + ): Recording + + """Look up a specific release by its MBID.""" + release( + """The MBID of the entity.""" + mbid: MBID! + ): Release + + """Look up a specific release group by its MBID.""" + releaseGroup( + """The MBID of the entity.""" + mbid: MBID! + ): ReleaseGroup + + """Look up a specific series by its MBID.""" + series( + """The MBID of the entity.""" + mbid: MBID! + ): Series + + """Look up a specific URL by its MBID.""" + url( + """The MBID of the entity.""" + mbid: MBID + + """The web address of the URL entity to look up.""" + resource: URLString + ): URL + + """Look up a specific work by its MBID.""" + work( + """The MBID of the entity.""" + mbid: MBID! + ): Work +} + +""" +The MBID scalar represents MusicBrainz identifiers, which are +36-character UUIDs. +""" +scalar MBID + +""" +An object describing various properties of an image stored on a MediaWiki +server. The information comes the [MediaWiki imageinfo API](https://www.mediawiki.org/wiki/API:Imageinfo). +""" +type MediaWikiImage { + """The URL of the actual image file.""" + url: URLString! + + """The URL of the wiki page describing the image.""" + descriptionURL: URLString + + """The user who uploaded the file.""" + user: String + + """The size of the file in bytes.""" + size: Int + + """The pixel width of the image.""" + width: Int + + """The pixel height of the image.""" + height: Int + + """The canonical title of the file.""" + canonicalTitle: String + + """The image title, brief description, or file name.""" + objectName: String + + """A description of the image, potentially containing HTML.""" + descriptionHTML: String + + """ + The original date of creation of the image. May be a description rather than + a parseable timestamp, and may contain HTML. + """ + originalDateTimeHTML: String + + """A list of the categories of the image.""" + categories: [String]! + + """The name of the image author, potentially containing HTML.""" + artistHTML: String + + """The source of the image, potentially containing HTML.""" + creditHTML: String + + """A short human-readable license name.""" + licenseShortName: String + + """A web address where the license is described.""" + licenseURL: URLString + + """The full list of values in the `extmetadata` field.""" + metadata: [MediaWikiImageMetadata]! +} + +"""An entry in the `extmetadata` field of a MediaWiki image file.""" +type MediaWikiImageMetadata { + """The name of the metadata field.""" + name: String! + + """ + The value of the metadata field. All values will be converted to strings. + """ + value: String + + """The source of the value.""" + source: String +} + +""" +A medium is the actual physical medium the audio content is +stored upon. This means that each CD in a multi-disc release will be entered as +separate mediums within the release, and that both sides of a vinyl record or +cassette will exist on one medium. Mediums have a format (e.g. CD, DVD, vinyl, +cassette) and can optionally also have a title. +""" +type Medium { + """The title of this particular medium.""" + title: String + + """ + The [format](https://musicbrainz.org/doc/Release/Format) of + the medium (e.g. CD, DVD, vinyl, cassette). + """ + format: String + + """ + The MBID associated with the value of the `format` + field. + """ + formatID: MBID + + """ + The order of this medium in the release (for example, in a + multi-disc release). + """ + position: Int + + """The number of audio tracks on this medium.""" + trackCount: Int + + """A list of physical discs and their disc IDs for this medium.""" + discs: [Disc] + + """The list of tracks on the given media.""" + tracks: [Track] +} + +"""An object with an ID""" +interface Node { + """The id of the object.""" + id: ID! +} + +"""Information about pagination in a connection.""" +type PageInfo { + """When paginating forwards, are there more items?""" + hasNextPage: Boolean! + + """When paginating backwards, are there more items?""" + hasPreviousPage: Boolean! + + """When paginating backwards, the cursor to continue.""" + startCursor: String + + """When paginating forwards, the cursor to continue.""" + endCursor: String +} + +""" +A [place](https://musicbrainz.org/doc/Place) is a venue, studio, +or other place where music is performed, recorded, engineered, etc. +""" +type Place implements Node & Entity { + """The ID of an object""" + id: ID! + + """The MBID of the entity.""" + mbid: MBID! + + """The official name of the entity.""" + name: String + + """A comment used to help distinguish identically named entitites.""" + disambiguation: String + + """ + [Aliases](https://musicbrainz.org/doc/Aliases) are used to store + alternate names or misspellings. + """ + aliases: [Alias] + + """ + The address describes the location of the place using the + standard addressing format for the country it is located in. + """ + address: String + + """ + The area entity representing the area, such as the city, in + which the place is located. + """ + area: Area + + """The geographic coordinates of the place.""" + coordinates: Coordinates + + """ + The begin and end dates of the entity’s existence. Its exact + meaning depends on the type of entity. + """ + lifeSpan: LifeSpan + + """ + The type categorises the place based on its primary + function. + """ + type: String + + """ + The MBID associated with the value of the `type` + field. + """ + typeID: MBID + + """A list of events linked to this entity.""" + events(after: String, first: Int): EventConnection + + """Relationships between this entity and other entitites.""" + relationships: Relationships + + """A list of collections containing this entity.""" + collections(after: String, first: Int): CollectionConnection + + """A list of tags linked to this entity.""" + tags(after: String, first: Int): TagConnection + + """ + Place images found at MediaWiki URLs in the place’s URL relationships. + Defaults to URL relationships with the type “image”. + This field is provided by the MediaWiki extension. + """ + mediaWikiImages( + """ + The type of URL relationship that will be selected to find images. See the + possible [Place-URL relationship types](https://musicbrainz.org/relationships/place-url). + """ + type: String = "image" + ): [MediaWikiImage]! +} + +"""A connection to a list of items.""" +type PlaceConnection { + """Information to aid in pagination.""" + pageInfo: PageInfo! + + """A list of edges.""" + edges: [PlaceEdge] + + """ + A list of nodes in the connection (without going through the + `edges` field). + """ + nodes: [Place] + + """ + A count of the total number of items in this connection, + ignoring pagination. + """ + totalCount: Int +} + +"""An edge in a connection.""" +type PlaceEdge { + """The item at the end of the edge""" + node: Place + + """A cursor for use in pagination""" + cursor: String! + + """ + The relevancy score (0–100) assigned by the search engine, if + these results were found through a search. + """ + score: Int +} + +""" +The query root, from which multiple types of MusicBrainz +requests can be made. +""" +type Query { + """Perform a lookup of a MusicBrainz entity by its MBID.""" + lookup: LookupQuery + + """Browse all MusicBrainz entities directly linked to another entity.""" + browse: BrowseQuery + + """Search for MusicBrainz entities using Lucene query syntax.""" + search: SearchQuery + + """Fetches an object given its ID""" + node( + """The ID of an object""" + id: ID! + ): Node + + """ + A query for data on [Last.fm](https://www.last.fm/) that is not connected + to any particular MusicBrainz entity. This field is provided by the + Last.fm extension. + """ + lastFM: LastFMQuery + spotify: SpotifyQuery! +} + +""" +[Ratings](https://musicbrainz.org/doc/Rating_System) allow users +to rate MusicBrainz entities. User may assign a value between 1 and 5; these +values are then aggregated by the server to compute an average community rating +for the entity. +""" +type Rating { + """The number of votes that have contributed to the rating.""" + voteCount: Int! + + """The average rating value based on the aggregated votes.""" + value: Float +} + +""" +A [recording](https://musicbrainz.org/doc/Recording) is an +entity in MusicBrainz which can be linked to tracks on releases. Each track must +always be associated with a single recording, but a recording can be linked to +any number of tracks. + +A recording represents distinct audio that has been used to produce at least one +released track through copying or mastering. A recording itself is never +produced solely through copying or mastering. + +Generally, the audio represented by a recording corresponds to the audio at a +stage in the production process before any final mastering but after any editing +or mixing. +""" +type Recording implements Node & Entity { + """The ID of an object""" + id: ID! + + """The MBID of the entity.""" + mbid: MBID! + + """The official title of the entity.""" + title: String + + """A comment used to help distinguish identically named entitites.""" + disambiguation: String + + """ + [Aliases](https://musicbrainz.org/doc/Aliases) are used to store + alternate names or misspellings. + """ + aliases: [Alias] + + """The main credited artist(s).""" + artistCredit: [ArtistCredit] @deprecated(reason: "The `artistCredit` field has been renamed to\n`artistCredits`, since it is a list of credits and is referred to in the\nplural form throughout the MusicBrainz documentation. This field is deprecated\nand will be removed in a major release in the future. Use the equivalent\n`artistCredits` field.") + + """The main credited artist(s).""" + artistCredits: [ArtistCredit] + + """ + A list of [International Standard Recording Codes](https://musicbrainz.org/doc/ISRC) + (ISRCs) for this recording. + """ + isrcs: [ISRC] + + """ + An approximation to the length of the recording, calculated + from the lengths of the tracks using it. + """ + length: Duration + + """Whether this is a video recording.""" + video: Boolean + + """A list of artists linked to this entity.""" + artists(after: String, first: Int): ArtistConnection + + """A list of releases linked to this entity.""" + releases( + """Filter by one or more release group types.""" + type: [ReleaseGroupType] + + """Filter by one or more release statuses.""" + status: [ReleaseStatus] + after: String + first: Int + ): ReleaseConnection + + """Relationships between this entity and other entitites.""" + relationships: Relationships + + """A list of collections containing this entity.""" + collections(after: String, first: Int): CollectionConnection + + """The rating users have given to this entity.""" + rating: Rating + + """A list of tags linked to this entity.""" + tags(after: String, first: Int): TagConnection + + """ + Data about the recording from [TheAudioDB](http://www.theaudiodb.com/). + This field is provided by TheAudioDB extension. + """ + theAudioDB: TheAudioDBTrack + + """ + Data about the recording from [Last.fm](https://www.last.fm/), a good + source for measuring popularity via listener and play counts. This field + is provided by the Last.fm extension. + """ + lastFM: LastFMTrack + + """The recording’s entry on Spotify.""" + spotify( + """ + The strategies to use to match the recording with a Spotify track, in + preferential order. + """ + strategy: [SpotifyMatchStrategy!] = [URL, EXTERNALID] + ): SpotifyTrack +} + +"""A connection to a list of items.""" +type RecordingConnection { + """Information to aid in pagination.""" + pageInfo: PageInfo! + + """A list of edges.""" + edges: [RecordingEdge] + + """ + A list of nodes in the connection (without going through the + `edges` field). + """ + nodes: [Recording] + + """ + A count of the total number of items in this connection, + ignoring pagination. + """ + totalCount: Int +} + +"""An edge in a connection.""" +type RecordingEdge { + """The item at the end of the edge""" + node: Recording + + """A cursor for use in pagination""" + cursor: String! + + """ + The relevancy score (0–100) assigned by the search engine, if + these results were found through a search. + """ + score: Int +} + +""" +[Relationships](https://musicbrainz.org/doc/Relationships) are a +way to represent all the different ways in which entities are connected to each +other and to URLs outside MusicBrainz. +""" +type Relationship { + """The target entity.""" + target: Entity! + + """The direction of the relationship.""" + direction: String! + + """The type of entity on the receiving end of the relationship.""" + targetType: String! + + """ + How the source entity was actually credited, if different + from its main (performance) name. + """ + sourceCredit: String + + """ + How the target entity was actually credited, if different + from its main (performance) name. + """ + targetCredit: String + + """The date on which the relationship became applicable.""" + begin: Date + + """The date on which the relationship became no longer applicable.""" + end: Date + + """Whether the relationship still applies.""" + ended: Boolean + + """ + Attributes which modify the relationship. There is a [list + of all attributes](https://musicbrainz.org/relationship-attributes), but the + attributes which are available, and how they should be used, depends on the + relationship type. + """ + attributes: [String] + + """The type of relationship.""" + type: String + + """ + The MBID associated with the value of the `type` + field. + """ + typeID: MBID +} + +"""A connection to a list of items.""" +type RelationshipConnection { + """Information to aid in pagination.""" + pageInfo: PageInfo! + + """A list of edges.""" + edges: [RelationshipEdge] + + """ + A list of nodes in the connection (without going through the + `edges` field). + """ + nodes: [Relationship] + + """ + A count of the total number of items in this connection, + ignoring pagination. + """ + totalCount: Int +} + +"""An edge in a connection.""" +type RelationshipEdge { + """The item at the end of the edge""" + node: Relationship + + """A cursor for use in pagination""" + cursor: String! + + """ + The relevancy score (0–100) assigned by the search engine, if + these results were found through a search. + """ + score: Int +} + +"""Lists of entity relationships for each entity type.""" +type Relationships { + """A list of relationships between these two entity types.""" + areas( + """Filter by the relationship direction.""" + direction: String + + """Filter by the relationship type.""" + type: String + + """ + The MBID associated with the value of the `type` + field. + """ + typeID: MBID + after: String + first: Int + before: String + last: Int + ): RelationshipConnection + + """A list of relationships between these two entity types.""" + artists( + """Filter by the relationship direction.""" + direction: String + + """Filter by the relationship type.""" + type: String + + """ + The MBID associated with the value of the `type` + field. + """ + typeID: MBID + after: String + first: Int + before: String + last: Int + ): RelationshipConnection + + """A list of relationships between these two entity types.""" + events( + """Filter by the relationship direction.""" + direction: String + + """Filter by the relationship type.""" + type: String + + """ + The MBID associated with the value of the `type` + field. + """ + typeID: MBID + after: String + first: Int + before: String + last: Int + ): RelationshipConnection + + """A list of relationships between these two entity types.""" + instruments( + """Filter by the relationship direction.""" + direction: String + + """Filter by the relationship type.""" + type: String + + """ + The MBID associated with the value of the `type` + field. + """ + typeID: MBID + after: String + first: Int + before: String + last: Int + ): RelationshipConnection + + """A list of relationships between these two entity types.""" + labels( + """Filter by the relationship direction.""" + direction: String + + """Filter by the relationship type.""" + type: String + + """ + The MBID associated with the value of the `type` + field. + """ + typeID: MBID + after: String + first: Int + before: String + last: Int + ): RelationshipConnection + + """A list of relationships between these two entity types.""" + places( + """Filter by the relationship direction.""" + direction: String + + """Filter by the relationship type.""" + type: String + + """ + The MBID associated with the value of the `type` + field. + """ + typeID: MBID + after: String + first: Int + before: String + last: Int + ): RelationshipConnection + + """A list of relationships between these two entity types.""" + recordings( + """Filter by the relationship direction.""" + direction: String + + """Filter by the relationship type.""" + type: String + + """ + The MBID associated with the value of the `type` + field. + """ + typeID: MBID + after: String + first: Int + before: String + last: Int + ): RelationshipConnection + + """A list of relationships between these two entity types.""" + releases( + """Filter by the relationship direction.""" + direction: String + + """Filter by the relationship type.""" + type: String + + """ + The MBID associated with the value of the `type` + field. + """ + typeID: MBID + after: String + first: Int + before: String + last: Int + ): RelationshipConnection + + """A list of relationships between these two entity types.""" + releaseGroups( + """Filter by the relationship direction.""" + direction: String + + """Filter by the relationship type.""" + type: String + + """ + The MBID associated with the value of the `type` + field. + """ + typeID: MBID + after: String + first: Int + before: String + last: Int + ): RelationshipConnection + + """A list of relationships between these two entity types.""" + series( + """Filter by the relationship direction.""" + direction: String + + """Filter by the relationship type.""" + type: String + + """ + The MBID associated with the value of the `type` + field. + """ + typeID: MBID + after: String + first: Int + before: String + last: Int + ): RelationshipConnection + + """A list of relationships between these two entity types.""" + urls( + """Filter by the relationship direction.""" + direction: String + + """Filter by the relationship type.""" + type: String + + """ + The MBID associated with the value of the `type` + field. + """ + typeID: MBID + after: String + first: Int + before: String + last: Int + ): RelationshipConnection + + """A list of relationships between these two entity types.""" + works( + """Filter by the relationship direction.""" + direction: String + + """Filter by the relationship type.""" + type: String + + """ + The MBID associated with the value of the `type` + field. + """ + typeID: MBID + after: String + first: Int + before: String + last: Int + ): RelationshipConnection +} + +""" +A [release](https://musicbrainz.org/doc/Release) represents the +unique release (i.e. issuing) of a product on a specific date with specific +release information such as the country, label, barcode, packaging, etc. If you +walk into a store and purchase an album or single, they’re each represented in +MusicBrainz as one release. +""" +type Release implements Node & Entity { + """The ID of an object""" + id: ID! + + """The MBID of the entity.""" + mbid: MBID! + + """The official title of the entity.""" + title: String + + """A comment used to help distinguish identically named entitites.""" + disambiguation: String + + """ + [Aliases](https://musicbrainz.org/doc/Aliases) are used to store + alternate names or misspellings. + """ + aliases: [Alias] + + """The main credited artist(s).""" + artistCredit: [ArtistCredit] @deprecated(reason: "The `artistCredit` field has been renamed to\n`artistCredits`, since it is a list of credits and is referred to in the\nplural form throughout the MusicBrainz documentation. This field is deprecated\nand will be removed in a major release in the future. Use the equivalent\n`artistCredits` field.") + + """The main credited artist(s).""" + artistCredits: [ArtistCredit] + + """The release events for this release.""" + releaseEvents: [ReleaseEvent] + + """ + The [release date](https://musicbrainz.org/doc/Release/Date) + is the date in which a release was made available through some sort of + distribution mechanism. + """ + date: Date + + """The country in which the release was issued.""" + country: String + + """ + The [Amazon Standard Identification Number](https://musicbrainz.org/doc/ASIN) + of the release. + """ + asin: ASIN + + """ + The [barcode](https://en.wikipedia.org/wiki/Barcode), if the + release has one. The most common types found on releases are 12-digit + [UPCs](https://en.wikipedia.org/wiki/Universal_Product_Code) and 13-digit + [EANs](https://en.wikipedia.org/wiki/International_Article_Number). + """ + barcode: String + + """The status describes how “official” a release is.""" + status: ReleaseStatus + + """ + The MBID associated with the value of the `status` + field. + """ + statusID: MBID + + """ + The physical packaging that accompanies the release. See + the [list of packaging](https://musicbrainz.org/doc/Release/Packaging) for more + information. + """ + packaging: String + + """ + The MBID associated with the value of the `packaging` + field. + """ + packagingID: MBID + + """ + Data quality indicates how good the data for a release is. + It is not a mark of how good or bad the music itself is – for that, use + [ratings](https://musicbrainz.org/doc/Rating_System). + """ + quality: String + + """The media on which the release was distributed.""" + media: [Medium] + + """A list of artists linked to this entity.""" + artists(after: String, first: Int): ArtistConnection + + """A list of labels linked to this entity.""" + labels(after: String, first: Int): LabelConnection + + """A list of recordings linked to this entity.""" + recordings(after: String, first: Int): RecordingConnection + + """A list of release groups linked to this entity.""" + releaseGroups( + """Filter by one or more release group types.""" + type: [ReleaseGroupType] + after: String + first: Int + ): ReleaseGroupConnection + + """Relationships between this entity and other entitites.""" + relationships: Relationships + + """A list of collections containing this entity.""" + collections(after: String, first: Int): CollectionConnection + + """A list of tags linked to this entity.""" + tags(after: String, first: Int): TagConnection + + """ + An object containing a list and summary of the cover art images that are + present for this release from the [Cover Art Archive](https://musicbrainz.org/doc/Cover_Art_Archive). + This field is provided by the Cover Art Archive extension. + """ + coverArtArchive: CoverArtArchiveRelease + + """Information about the release on Discogs.""" + discogs: DiscogsRelease + + """ + Data about the release from [Last.fm](https://www.last.fm/), a good source + for measuring popularity via listener and play counts. This field is + provided by the Last.fm extension. + """ + lastFM: LastFMAlbum + + """The release’s entry on Spotify.""" + spotify( + """ + The strategies to use to match the release with a Spotify album, in + preferential order. + """ + strategy: [SpotifyMatchStrategy!] = [URL, EXTERNALID] + ): SpotifyAlbum +} + +"""A connection to a list of items.""" +type ReleaseConnection { + """Information to aid in pagination.""" + pageInfo: PageInfo! + + """A list of edges.""" + edges: [ReleaseEdge] + + """ + A list of nodes in the connection (without going through the + `edges` field). + """ + nodes: [Release] + + """ + A count of the total number of items in this connection, + ignoring pagination. + """ + totalCount: Int +} + +"""An edge in a connection.""" +type ReleaseEdge { + """The item at the end of the edge""" + node: Release + + """A cursor for use in pagination""" + cursor: String! + + """ + The relevancy score (0–100) assigned by the search engine, if + these results were found through a search. + """ + score: Int +} + +""" +The date on which a release was issued in a country/region with +a particular label, catalog number, barcode, and format. +""" +type ReleaseEvent { + area: Area + date: Date +} + +""" +A [release group](https://musicbrainz.org/doc/Release_Group) is +used to group several different releases into a single logical entity. Every +release belongs to one, and only one release group. + +Both release groups and releases are “albums” in a general sense, but with an +important difference: a release is something you can buy as media such as a CD +or a vinyl record, while a release group embraces the overall concept of an +album – it doesn’t matter how many CDs or editions/versions it had. +""" +type ReleaseGroup implements Node & Entity { + """The ID of an object""" + id: ID! + + """The MBID of the entity.""" + mbid: MBID! + + """The official title of the entity.""" + title: String + + """A comment used to help distinguish identically named entitites.""" + disambiguation: String + + """ + [Aliases](https://musicbrainz.org/doc/Aliases) are used to store + alternate names or misspellings. + """ + aliases: [Alias] + + """The main credited artist(s).""" + artistCredit: [ArtistCredit] @deprecated(reason: "The `artistCredit` field has been renamed to\n`artistCredits`, since it is a list of credits and is referred to in the\nplural form throughout the MusicBrainz documentation. This field is deprecated\nand will be removed in a major release in the future. Use the equivalent\n`artistCredits` field.") + + """The main credited artist(s).""" + artistCredits: [ArtistCredit] + + """The date of the earliest release in the group.""" + firstReleaseDate: Date + + """ + The [type](https://musicbrainz.org/doc/Release_Group/Type) + of a release group describes what kind of releases the release group represents, + e.g. album, single, soundtrack, compilation, etc. A release group can have a + “main” type and an unspecified number of additional types. + """ + primaryType: ReleaseGroupType + + """ + The MBID associated with the value of the `primaryType` + field. + """ + primaryTypeID: MBID + + """ + Additional [types](https://musicbrainz.org/doc/Release_Group/Type) + that apply to this release group. + """ + secondaryTypes: [ReleaseGroupType] + + """ + The MBIDs associated with the values of the `secondaryTypes` + field. + """ + secondaryTypeIDs: [MBID] + + """A list of artists linked to this entity.""" + artists(after: String, first: Int): ArtistConnection + + """A list of releases linked to this entity.""" + releases( + """Filter by one or more release group types.""" + type: [ReleaseGroupType] + + """Filter by one or more release statuses.""" + status: [ReleaseStatus] + after: String + first: Int + ): ReleaseConnection + + """Relationships between this entity and other entitites.""" + relationships: Relationships + + """A list of collections containing this entity.""" + collections(after: String, first: Int): CollectionConnection + + """The rating users have given to this entity.""" + rating: Rating + + """A list of tags linked to this entity.""" + tags(after: String, first: Int): TagConnection + + """ + The cover art for a release in the release group, obtained from the + [Cover Art Archive](https://musicbrainz.org/doc/Cover_Art_Archive). A + release in the release group will be chosen as representative of the release + group. + This field is provided by the Cover Art Archive extension. + """ + coverArtArchive: CoverArtArchiveRelease + + """ + Images of the release group from [fanart.tv](https://fanart.tv/). + This field is provided by the fanart.tv extension. + """ + fanArt: FanArtAlbum + + """ + Data about the release group from [TheAudioDB](http://www.theaudiodb.com/), + a good source of descriptive information, reviews, and images. + This field is provided by TheAudioDB extension. + """ + theAudioDB: TheAudioDBAlbum + + """Information about the release group on Discogs.""" + discogs: DiscogsMaster +} + +"""A connection to a list of items.""" +type ReleaseGroupConnection { + """Information to aid in pagination.""" + pageInfo: PageInfo! + + """A list of edges.""" + edges: [ReleaseGroupEdge] + + """ + A list of nodes in the connection (without going through the + `edges` field). + """ + nodes: [ReleaseGroup] + + """ + A count of the total number of items in this connection, + ignoring pagination. + """ + totalCount: Int +} + +"""An edge in a connection.""" +type ReleaseGroupEdge { + """The item at the end of the edge""" + node: ReleaseGroup + + """A cursor for use in pagination""" + cursor: String! + + """ + The relevancy score (0–100) assigned by the search engine, if + these results were found through a search. + """ + score: Int +} + +""" +A type used to describe release groups, e.g. album, single, EP, +etc. +""" +enum ReleaseGroupType { + """ + An album, perhaps better defined as a “Long Play” (LP) + release, generally consists of previously unreleased material (unless this type + is combined with secondary types which change that, such as “Compilation”). This + includes album re-issues, with or without bonus tracks. + """ + ALBUM + + """ + A single typically has one main song and possibly a handful + of additional tracks or remixes of the main track. A single is usually named + after its main song. + """ + SINGLE + + """ + An EP is a so-called “Extended Play” release and often + contains the letters EP in the title. Generally an EP will be shorter than a + full length release (an LP or “Long Play”) and the tracks are usually exclusive + to the EP, in other words the tracks don’t come from a previously issued + release. EP is fairly difficult to define; usually it should only be assumed + that a release is an EP if the artist defines it as such. + """ + EP + + """Any release that does not fit any of the other categories.""" + OTHER + + """ + An episodic release that was originally broadcast via radio, + television, or the Internet, including podcasts. + """ + BROADCAST + + """ + A compilation is a collection of previously released tracks + by one or more artists. + """ + COMPILATION + + """ + A soundtrack is the musical score to a movie, TV series, + stage show, computer game, etc. + """ + SOUNDTRACK + + """A non-music spoken word release.""" + SPOKENWORD + + """ + An interview release contains an interview, generally with + an artist. + """ + INTERVIEW + + """An audiobook is a book read by a narrator without music.""" + AUDIOBOOK + + """A release that was recorded live.""" + LIVE + + """ + A release that was (re)mixed from previously released + material. + """ + REMIX + + """ + A DJ-mix is a sequence of several recordings played one + after the other, each one modified so that they blend together into a continuous + flow of music. A DJ mix release requires that the recordings be modified in some + manner, and the DJ who does this modification is usually (although not always) + credited in a fairly prominent way. + """ + DJMIX + + """ + Promotional in nature (but not necessarily free), mixtapes + and street albums are often released by artists to promote new artists, or + upcoming studio albums by prominent artists. They are also sometimes used to + keep fans’ attention between studio releases and are most common in rap & hip + hop genres. They are often not sanctioned by the artist’s label, may lack proper + sample or song clearances and vary widely in production and recording quality. + While mixtapes are generally DJ-mixed, they are distinct from commercial DJ + mixes (which are usually deemed compilations) and are defined by having a + significant proportion of new material, including original production or + original vocals over top of other artists’ instrumentals. They are distinct from + demos in that they are designed for release directly to the public and fans, not + to labels. + """ + MIXTAPE + + """ + A release that was recorded for limited circulation or + reference use rather than for general public release. + """ + DEMO + + """A non-album track (special case).""" + NAT +} + +""" +A type used to describe the status of releases, e.g. official, +bootleg, etc. +""" +enum ReleaseStatus { + """ + Any release officially sanctioned by the artist and/or their + record company. (Most releases will fit into this category.) + """ + OFFICIAL + + """ + A giveaway release or a release intended to promote an + upcoming official release, e.g. prerelease albums or releases included with a + magazine. + """ + PROMOTION + + """ + An unofficial/underground release that was not sanctioned by + the artist and/or the record company. + """ + BOOTLEG + + """ + A pseudo-release is a duplicate release for + translation/transliteration purposes. + """ + PSEUDORELEASE +} + +"""A search for MusicBrainz entities using Lucene query syntax.""" +type SearchQuery { + """Search for area entities matching the given query.""" + areas( + """ + The query terms, in Lucene search syntax. See [examples + and search fields](https://musicbrainz.org/doc/Development/XML_Web_Service/Version_2/Search). + """ + query: String! + after: String + first: Int + ): AreaConnection + + """Search for artist entities matching the given query.""" + artists( + """ + The query terms, in Lucene search syntax. See [examples + and search fields](https://musicbrainz.org/doc/Development/XML_Web_Service/Version_2/Search). + """ + query: String! + after: String + first: Int + ): ArtistConnection + + """Search for event entities matching the given query.""" + events( + """ + The query terms, in Lucene search syntax. See [examples + and search fields](https://musicbrainz.org/doc/Development/XML_Web_Service/Version_2/Search). + """ + query: String! + after: String + first: Int + ): EventConnection + + """Search for instrument entities matching the given query.""" + instruments( + """ + The query terms, in Lucene search syntax. See [examples + and search fields](https://musicbrainz.org/doc/Development/XML_Web_Service/Version_2/Search). + """ + query: String! + after: String + first: Int + ): InstrumentConnection + + """Search for label entities matching the given query.""" + labels( + """ + The query terms, in Lucene search syntax. See [examples + and search fields](https://musicbrainz.org/doc/Development/XML_Web_Service/Version_2/Search). + """ + query: String! + after: String + first: Int + ): LabelConnection + + """Search for place entities matching the given query.""" + places( + """ + The query terms, in Lucene search syntax. See [examples + and search fields](https://musicbrainz.org/doc/Development/XML_Web_Service/Version_2/Search). + """ + query: String! + after: String + first: Int + ): PlaceConnection + + """Search for recording entities matching the given query.""" + recordings( + """ + The query terms, in Lucene search syntax. See [examples + and search fields](https://musicbrainz.org/doc/Development/XML_Web_Service/Version_2/Search). + """ + query: String! + after: String + first: Int + ): RecordingConnection + + """Search for release entities matching the given query.""" + releases( + """ + The query terms, in Lucene search syntax. See [examples + and search fields](https://musicbrainz.org/doc/Development/XML_Web_Service/Version_2/Search). + """ + query: String! + after: String + first: Int + ): ReleaseConnection + + """Search for release group entities matching the given query.""" + releaseGroups( + """ + The query terms, in Lucene search syntax. See [examples + and search fields](https://musicbrainz.org/doc/Development/XML_Web_Service/Version_2/Search). + """ + query: String! + after: String + first: Int + ): ReleaseGroupConnection + + """Search for series entities matching the given query.""" + series( + """ + The query terms, in Lucene search syntax. See [examples + and search fields](https://musicbrainz.org/doc/Development/XML_Web_Service/Version_2/Search). + """ + query: String! + after: String + first: Int + ): SeriesConnection + + """Search for work entities matching the given query.""" + works( + """ + The query terms, in Lucene search syntax. See [examples + and search fields](https://musicbrainz.org/doc/Development/XML_Web_Service/Version_2/Search). + """ + query: String! + after: String + first: Int + ): WorkConnection +} + +""" +A [series](https://musicbrainz.org/doc/Series) is a sequence of +separate release groups, releases, recordings, works or events with a common +theme. +""" +type Series implements Node & Entity { + """The ID of an object""" + id: ID! + + """The MBID of the entity.""" + mbid: MBID! + + """The official name of the entity.""" + name: String + + """A comment used to help distinguish identically named entitites.""" + disambiguation: String + + """ + The type primarily describes what type of entity the series + contains. + """ + type: String + + """ + The MBID associated with the value of the `type` + field. + """ + typeID: MBID + + """Relationships between this entity and other entitites.""" + relationships: Relationships + + """A list of collections containing this entity.""" + collections(after: String, first: Int): CollectionConnection + + """A list of tags linked to this entity.""" + tags(after: String, first: Int): TagConnection +} + +"""A connection to a list of items.""" +type SeriesConnection { + """Information to aid in pagination.""" + pageInfo: PageInfo! + + """A list of edges.""" + edges: [SeriesEdge] + + """ + A list of nodes in the connection (without going through the + `edges` field). + """ + nodes: [Series] + + """ + A count of the total number of items in this connection, + ignoring pagination. + """ + totalCount: Int +} + +"""An edge in a connection.""" +type SeriesEdge { + """The item at the end of the edge""" + node: Series + + """A cursor for use in pagination""" + cursor: String! + + """ + The relevancy score (0–100) assigned by the search engine, if + these results were found through a search. + """ + score: Int +} + +"""An album from Spotify.""" +type SpotifyAlbum { + """ + The [Spotify ID](https://developer.spotify.com/documentation/web-api/#spotify-uris-and-ids) + for the album. + """ + albumID: ID! + + """ + The [Spotify URI](https://developer.spotify.com/documentation/web-api/#spotify-uris-and-ids) + for the album. + """ + uri: String! + + """A link to the Web API endpoint providing full details of the album.""" + href: URLString! + + """ + The name of the album. In case of an album takedown, the value may be empty. + """ + title: String + + """The type of the album, e.g. “Album”, “Single”, “Compilation”.""" + albumType: ReleaseGroupType! + + """The artists of the album.""" + artists: [SpotifyArtist!]! + + """ + The markets in which the album is available: [ISO 3166-1 alpha-2](http://en.wikipedia.org/wiki/ISO_3166-1_alpha-2) + country codes. + + Note that an album is considered available in a market when at least 1 of its tracks is available in that market. + """ + availableMarkets: [String!]! + + """The copyright statements of the album.""" + copyrights: [SpotifyCopyright!]! + + """Known external IDs for the album.""" + externalIDs: [SpotifyExternalID!]! + + """Known external URLs for this album.""" + externalURLs: [SpotifyExternalURL!]! + + """ + A list of the genres used to classify the album. For example: “Prog Rock”, + “Post-Grunge”. (If not yet classified, the array is empty.) + """ + genres: [String!]! + + """The cover art for the album in various sizes, widest first.""" + images: [SpotifyImage!]! + + """The label for the album.""" + label: String + + """ + The popularity of the album. The value will be between 0 and 100, with 100 + being the most popular. The popularity is calculated from the popularity of + the album’s individual tracks. + """ + popularity: Int! + + """ + The date the album was first released, for example “1981-12-15”. Depending + on the precision, the month or day might be missing. + """ + releaseDate: Date +} + +"""An artist from Spotify.""" +type SpotifyArtist { + """ + The [Spotify ID](https://developer.spotify.com/documentation/web-api/#spotify-uris-and-ids) + for the artist. + """ + artistID: ID! + + """ + The [Spotify URI](https://developer.spotify.com/documentation/web-api/#spotify-uris-and-ids) + for the artist. + """ + uri: String! + + """A link to the Web API endpoint providing full details of the artist.""" + href: URLString! + + """The name of the artist.""" + name: String! + + """Known external URLs for this artist.""" + externalURLs: [SpotifyExternalURL!]! + + """ + A list of the genres the artist is associated with. For example: + “Prog Rock”, “Post-Grunge”. (If not yet classified, the array is empty.) + """ + genres: [String!]! + + """ + The popularity of the artist. The value will be between 0 and 100, with 100 + being the most popular. The artist’s popularity is calculated from the + popularity of all the artist’s tracks. + """ + popularity: Int! + + """Images of the artist in various sizes, widest first.""" + images: [SpotifyImage!]! + + """Spotify catalog information about an artist’s top tracks by country.""" + topTracks( + """ + An [ISO 3166-1 alpha-2](http://en.wikipedia.org/wiki/ISO_3166-1_alpha-2) + country code. + """ + market: String! + ): [SpotifyTrack!]! + + """ + Spotify catalog information about artists similar to a given artist. + Similarity is based on analysis of the Spotify community’s listening + history. + """ + relatedArtists: [SpotifyArtist!]! +} + +"""The audio features of a track from Spotify.""" +type SpotifyAudioFeatures { + """ + A confidence measure from 0.0 to 1.0 of whether the track is acoustic. 1.0 + represents high confidence the track is acoustic. + """ + acousticness: Float! + + """ + Danceability describes how suitable a track is for dancing based on a + combination of musical elements including tempo, rhythm stability, beat + strength, and overall regularity. A value of 0.0 is least danceable and 1.0 + is most danceable. + """ + danceability: Float! + + """The duration of the track in milliseconds.""" + duration: Duration! + + """ + Energy is a measure from 0.0 to 1.0 and represents a perceptual measure of + intensity and activity. Typically, energetic tracks feel fast, loud, and + noisy. For example, death metal has high energy, while a Bach prelude scores + low on the scale. Perceptual features contributing to this attribute include + dynamic range, perceived loudness, timbre, onset rate, and general entropy. + """ + energy: Float! + + """ + Predicts whether a track contains no vocals. “Ooh” and “aah” sounds are + treated as instrumental in this context. Rap or spoken word tracks are + clearly “vocal”. The closer the instrumentalness value is to 1.0, the + greater likelihood the track contains no vocal content. Values above 0.5 are + intended to represent instrumental tracks, but confidence is higher as the + value approaches 1.0. + """ + instrumentalness: Float! + + """ + The key the track is in. Integers map to pitches using standard [Pitch Class + notation](https://en.wikipedia.org/wiki/Pitch_class), e.g. 0 = C, 1 = C♯/D♭, + 2 = D, and so on. See the `keyName` field if you’d prefer the note as a + string. + """ + key: Int! + + """ + The `key` translated from an integer to a name like “C”. (Only one name + will be returned, so enharmonic notes like like C♯/D♭ will just return + “C♯”.) + """ + keyName: String! + + """ + Detects the presence of an audience in the recording. Higher liveness values + represent an increased probability that the track was performed live. A + value above 0.8 provides strong likelihood that the track is live. + """ + liveness: Float! + + """ + The overall loudness of a track in decibels (dB). Loudness values are + averaged across the entire track and are useful for comparing relative + loudness of tracks. Loudness is the quality of a sound that is the primary + psychological correlate of physical strength (amplitude). Values typical + range between -60 and 0 db. + """ + loudness: Float! + + """ + Mode indicates the modality (major or minor) of a track, the type of scale + from which its melodic content is derived. Major is represented by 1 and + minor is 0. + """ + mode: SpotifyTrackMode! + + """ + Speechiness detects the presence of spoken words in a track. The more + exclusively speech-like the recording (e.g. talk show, audio book, poetry), + the closer to 1.0 the attribute value. Values above 0.66 describe tracks + that are probably made entirely of spoken words. Values between 0.33 and + 0.66 describe tracks that may contain both music and speech, either in + sections or layered, including such cases as rap music. Values below 0.33 + most likely represent music and other non-speech-like tracks. + """ + speechiness: Float! + + """ + The overall estimated tempo of a track in beats per minute (BPM). In musical + terminology, tempo is the speed or pace of a given piece and derives + directly from the average beat duration. + """ + tempo: Float! + + """ + An estimated overall time signature of a track. The time signature (meter) + is a notational convention to specify how many beats are in each bar (or + measure). + """ + timeSignature: Float! + + """ + A measure from 0.0 to 1.0 describing the musical positiveness conveyed by a + track. Tracks with high valence sound more positive (e.g. happy, cheerful, + euphoric), while tracks with low valence sound more negative (e.g. sad, + depressed, angry). + """ + valence: Float! +} + +"""A copyright statement for an album from Spotify.""" +type SpotifyCopyright { + """The copyright text.""" + text: String! + + """ + Whether the copyright is for the work itself or the sound recording + (performance). + """ + type: SpotifyCopyrightType! +} + +"""The type of copyright.""" +enum SpotifyCopyrightType { + """The copyright.""" + COPYRIGHT + + """The sound recording (performance) copyright.""" + PERFORMANCE +} + +"""A value for identifying an entity with some third party.""" +type SpotifyExternalID { + """The identifier type, for example “isrc”, “ean”, “upc”.""" + type: String! + + """The identifier value.""" + id: String! +} + +"""A URL for linking to an entity with some third party.""" +type SpotifyExternalURL { + """The type of the URL, for example “spotify”.""" + type: String! + + """An external, public URL to the object.""" + url: URLString! +} + +"""A single image from Spotify.""" +type SpotifyImage { + """The source URL of the image.""" + url: URLString! + + """The image width in pixels, if known.""" + width: Int + + """The image height in pixels, if known.""" + height: Int +} + +"""Strategies for matching MusicBrainz entities to Spotify entities.""" +enum SpotifyMatchStrategy { + """ + The entity will be matched by finding an explicit URL relationship that + links to Spotify. + """ + URL + + """ + The entity will be matched by searching for Spotify entities by some + external ID that is known to both MusicBrainz and Spotify, like an ISRC + or UPC barcode. Since this can result in multiple Spotify matches, the most + popular will be preferred (if possible), or the first. + """ + EXTERNALID +} + +type SpotifyQuery { + """Track recommendations based on seed entities and various parameters.""" + recommendations( + """ + A list of [Spotify IDs](https://developer.spotify.com/documentation/web-api/#spotify-uris-and-ids) + for seed artists. Up to 5 seed values may be provided in any combination + of `seedArtists`, `seedTracks`, and `seedGenres`. + """ + seedArtists: [ID!] = [] + + """ + A comma separated list of any genres in the set of [available genre seeds](https://developer.spotify.com/documentation/web-api/reference/browse/get-recommendations/#available-genre-seeds). + Up to 5 seed values may be provided in any combination of `seedArtists`, + `seedTracks`, and `seedGenres`. + """ + seedGenres: [ID!] = [] + + """ + A list of [Spotify IDs](https://developer.spotify.com/documentation/web-api/#spotify-uris-and-ids) + for seed tracks. Up to 5 seed values may be provided in any combination + of `seedArtists`, `seedTracks`, and `seedGenres`. + """ + seedTracks: [ID!] = [] + + """ + The target size of the list of recommended tracks. For seeds with + unusually small pools or when highly restrictive filtering is applied, it + may be impossible to generate the requested number of recommended tracks. + Debugging information for such cases is available in the response. + + Default: 20. Minimum: 1. Maximum: 100. + """ + limit: Int + ): SpotifyRecommendations! +} + +type SpotifyRecommendations { + tracks: [SpotifyTrack!]! +} + +"""A track from Spotify.""" +type SpotifyTrack { + """ + The [Spotify ID](https://developer.spotify.com/documentation/web-api/#spotify-uris-and-ids) + for the track. + """ + trackID: ID! + + """ + The [Spotify URI](https://developer.spotify.com/documentation/web-api/#spotify-uris-and-ids) + for the track. + """ + uri: String! + + """A link to the Web API endpoint providing full details of the track.""" + href: URLString! + + """The name of the track.""" + title: String! + + """The audio features of the track.""" + audioFeatures: SpotifyAudioFeatures + + """The album on which the track appears.""" + album: SpotifyAlbum + + """The artists who performed the track.""" + artists: [SpotifyArtist!]! + + """ + A list of the countries in which the track can be played, identified by + their [ISO 3166-1 alpha-2](http://en.wikipedia.org/wiki/ISO_3166-1_alpha-2) + code. + """ + availableMarkets: [String!]! + + """ + The disc number (usually `1` unless the album consists of more than one + disc). + """ + discNumber: Int! + + """The track length in milliseconds.""" + duration: Duration! + + """Whether or not the track has explicit lyrics, if known.""" + explicit: Boolean + + """Known external IDs for the track.""" + externalIDs: [SpotifyExternalID!]! + + """Known external URLs for the track.""" + externalURLs: [SpotifyExternalURL!]! + + """ + The popularity of the track. The value will be between 0 and 100, with 100 + being the most popular. + + The popularity is calculated by algorithm and is based, in the most part, on + the total number of plays the track has had and how recent those plays are. + Generally speaking, songs that are being played a lot now will have a higher + popularity than songs that were played a lot in the past. + + Duplicate tracks (e.g. the same track from a single and an album) are rated + independently. + + Artist and album popularity is derived mathematically from track popularity. + + Note that the popularity value may lag actual popularity by a few days: the + value is not updated in real time. + """ + popularity: Int! + + """A link to a 30 second preview (MP3 format) of the track, if available.""" + previewURL: URLString + + """ + The number of the track. If an album has several discs, the track number is + the number on the specified disc. + """ + trackNumber: Int! + + """A MusicBrainz recording that corresponds to the track.""" + musicBrainz( + """ + The strategies to use to match the track with a MusicBrainz recording, in + preferential order. + """ + strategy: [SpotifyMatchStrategy!] = [URL, EXTERNALID] + ): Recording +} + +"""The potential values for modality (major or minor) of a track.""" +enum SpotifyTrackMode { + """The major scale.""" + MAJOR + + """The minor scale.""" + MINOR +} + +""" +[Tags](https://musicbrainz.org/tags) are a way to mark entities +with extra information – for example, the genres that apply to an artist, +release, or recording. +""" +type Tag { + """The tag label.""" + name: String! + + """How many times this tag has been applied to the entity.""" + count: Int +} + +"""A connection to a list of items.""" +type TagConnection { + """Information to aid in pagination.""" + pageInfo: PageInfo! + + """A list of edges.""" + edges: [TagEdge] + + """ + A list of nodes in the connection (without going through the + `edges` field). + """ + nodes: [Tag] + + """ + A count of the total number of items in this connection, + ignoring pagination. + """ + totalCount: Int +} + +"""An edge in a connection.""" +type TagEdge { + """The item at the end of the edge""" + node: Tag + + """A cursor for use in pagination""" + cursor: String! + + """ + The relevancy score (0–100) assigned by the search engine, if + these results were found through a search. + """ + score: Int +} + +""" +An album on [TheAudioDB](http://www.theaudiodb.com/) corresponding with a +MusicBrainz Release Group. +""" +type TheAudioDBAlbum { + """TheAudioDB ID of the album.""" + albumID: ID + + """TheAudioDB ID of the artist who released the album.""" + artistID: ID + + """A description of the album, often available in several languages.""" + description( + """ + The two-letter code for the language in which to retrieve the biography. + """ + lang: String = "en" + ): String + + """A review of the album.""" + review: String + + """The worldwide sales figure.""" + salesCount: Float + + """The album’s rating as determined by user votes, out of 10.""" + score: Float + + """The number of users who voted to determine the album’s score.""" + scoreVotes: Float + + """An image of the physical disc media for the album.""" + discImage( + """The size of the image to retrieve.""" + size: TheAudioDBImageSize = FULL + ): URLString + + """An image of the spine of the album packaging.""" + spineImage( + """The size of the image to retrieve.""" + size: TheAudioDBImageSize = FULL + ): URLString + + """An image of the front of the album packaging.""" + frontImage( + """The size of the image to retrieve.""" + size: TheAudioDBImageSize = FULL + ): URLString + + """An image of the back of the album packaging.""" + backImage( + """The size of the image to retrieve.""" + size: TheAudioDBImageSize = FULL + ): URLString + + """The primary musical genre of the album (e.g. “Alternative Rock”).""" + genre: String + + """The primary musical mood of the album (e.g. “Sad”).""" + mood: String + + """The primary musical style of the album (e.g. “Rock/Pop”).""" + style: String + + """ + A rough description of the primary musical speed of the album (e.g. “Medium”). + """ + speed: String + + """The primary musical theme of the album (e.g. “In Love”).""" + theme: String +} + +"""An artist on [TheAudioDB](http://www.theaudiodb.com/).""" +type TheAudioDBArtist { + """TheAudioDB ID of the artist.""" + artistID: ID + + """A biography of the artist, often available in several languages.""" + biography( + """ + The two-letter code for the language in which to retrieve the biography. + """ + lang: String = "en" + ): String + + """The number of members in the musical group, if applicable.""" + memberCount: Int + + """ + A 1000x185 JPG banner image containing the artist and their logo or name. + """ + banner( + """The size of the image to retrieve.""" + size: TheAudioDBImageSize = FULL + ): URLString + + """A list of 1280x720 or 1920x1080 JPG images depicting the artist.""" + fanArt( + """The size of the images to retrieve.""" + size: TheAudioDBImageSize = FULL + ): [URLString]! + + """ + A 400x155 PNG image containing the artist’s logo or name, with a transparent + background. + """ + logo( + """The size of the image to retrieve.""" + size: TheAudioDBImageSize = FULL + ): URLString + + """ + A 1000x1000 JPG thumbnail image picturing the artist (usually containing + every member of a band). + """ + thumbnail( + """The size of the image to retrieve.""" + size: TheAudioDBImageSize = FULL + ): URLString + + """The primary musical genre of the artist (e.g. “Alternative Rock”).""" + genre: String + + """The primary musical mood of the artist (e.g. “Sad”).""" + mood: String + + """The primary musical style of the artist (e.g. “Rock/Pop”).""" + style: String +} + +""" +The image sizes that may be requested at [TheAudioDB](http://www.theaudiodb.com/). +""" +enum TheAudioDBImageSize { + """The image’s full original dimensions.""" + FULL + + """A maximum dimension of 200px.""" + PREVIEW +} + +""" +Details of a music video associated with a track on [TheAudioDB](http://www.theaudiodb.com/). +""" +type TheAudioDBMusicVideo { + """The URL where the music video can be found.""" + url: URLString + + """The video production company of the music video.""" + companyName: String + + """The director of the music video.""" + directorName: String + + """A list of still images from the music video.""" + screenshots( + """The size of the images to retrieve.""" + size: TheAudioDBImageSize = FULL + ): [URLString]! + + """ + The number of views the video has received at the given URL. This will rarely + be up to date, so use cautiously. + """ + viewCount: Float + + """ + The number of likes the video has received at the given URL. This will rarely + be up to date, so use cautiously. + """ + likeCount: Float + + """ + The number of dislikes the video has received at the given URL. This will + rarely be up to date, so use cautiously. + """ + dislikeCount: Float + + """ + The number of comments the video has received at the given URL. This will + rarely be up to date, so use cautiously. + """ + commentCount: Float +} + +""" +A track on [TheAudioDB](http://www.theaudiodb.com/) corresponding with a +MusicBrainz Recording. +""" +type TheAudioDBTrack { + """TheAudioDB ID of the track.""" + trackID: ID + + """TheAudioDB ID of the album on which the track appears.""" + albumID: ID + + """TheAudioDB ID of the artist who released the track.""" + artistID: ID + + """A description of the track.""" + description( + """ + The two-letter code for the language in which to retrieve the description. + """ + lang: String = "en" + ): String + + """A thumbnail image for the track.""" + thumbnail( + """The size of the image to retrieve.""" + size: TheAudioDBImageSize = FULL + ): URLString + + """The track’s rating as determined by user votes, out of 10.""" + score: Float + + """The number of users who voted to determine the album’s score.""" + scoreVotes: Float + + """The track number of the song on the album.""" + trackNumber: Int + + """The official music video for the track.""" + musicVideo: TheAudioDBMusicVideo + + """The primary musical genre of the track (e.g. “Alternative Rock”).""" + genre: String + + """The primary musical mood of the track (e.g. “Sad”).""" + mood: String + + """The primary musical style of the track (e.g. “Rock/Pop”).""" + style: String + + """The primary musical theme of the track (e.g. “In Love”).""" + theme: String +} + +"""A time of day, in 24-hour hh:mm notation.""" +scalar Time + +""" +A track is the way a recording is represented on a particular + release (or, more exactly, on a particular medium). Every track has a title + (see the guidelines for titles) and is credited to one or more artists. +""" +type Track implements Entity { + """The MBID of the entity.""" + mbid: MBID! + + """The official title of the entity.""" + title: String + + """ + The track’s position on the overall release (including all + tracks from all discs). + """ + position: Int + + """ + The track number, which may include information about the + disc or side it appears on, e.g. “A1” or “B3”. + """ + number: String + + """The length of the track.""" + length: Duration + + """The recording that appears on the track.""" + recording: Recording +} + +""" +A [URL](https://musicbrainz.org/doc/URL) pointing to a resource +external to MusicBrainz, i.e. an official homepage, a site where music can be +acquired, an entry in another database, etc. +""" +type URL implements Node & Entity { + """The ID of an object""" + id: ID! + + """The MBID of the entity.""" + mbid: MBID! + + """The actual URL string.""" + resource: URLString! + + """Relationships between this entity and other entitites.""" + relationships: Relationships +} + +"""A web address.""" +scalar URLString + +""" +A [work](https://musicbrainz.org/doc/Work) is a distinct +intellectual or artistic creation, which can be expressed in the form of one or +more audio recordings. +""" +type Work implements Node & Entity { + """The ID of an object""" + id: ID! + + """The MBID of the entity.""" + mbid: MBID! + + """The official title of the entity.""" + title: String + + """A comment used to help distinguish identically named entitites.""" + disambiguation: String + + """ + [Aliases](https://musicbrainz.org/doc/Aliases) are used to store + alternate names or misspellings. + """ + aliases: [Alias] + + """ + A list of [ISWCs](https://musicbrainz.org/doc/ISWC) assigned + to the work by copyright collecting agencies. + """ + iswcs: [String] + + """The language in which the work was originally written.""" + language: String + + """The type of work.""" + type: String + + """ + The MBID associated with the value of the `type` + field. + """ + typeID: MBID + + """A list of artists linked to this entity.""" + artists(after: String, first: Int): ArtistConnection + + """Relationships between this entity and other entitites.""" + relationships: Relationships + + """A list of collections containing this entity.""" + collections(after: String, first: Int): CollectionConnection + + """The rating users have given to this entity.""" + rating: Rating + + """A list of tags linked to this entity.""" + tags(after: String, first: Int): TagConnection +} + +"""A connection to a list of items.""" +type WorkConnection { + """Information to aid in pagination.""" + pageInfo: PageInfo! + + """A list of edges.""" + edges: [WorkEdge] + + """ + A list of nodes in the connection (without going through the + `edges` field). + """ + nodes: [Work] + + """ + A count of the total number of items in this connection, + ignoring pagination. + """ + totalCount: Int +} + +"""An edge in a connection.""" +type WorkEdge { + """The item at the end of the edge""" + node: Work + + """A cursor for use in pagination""" + cursor: String! + + """ + The relevancy score (0–100) assigned by the search engine, if + these results were found through a search. + """ + score: Int +} diff --git a/example/graphbrainz/lib/graphbrainz.schema.json b/example/graphbrainz/lib/graphbrainz.schema.json deleted file mode 100644 index 3a27a12d..00000000 --- a/example/graphbrainz/lib/graphbrainz.schema.json +++ /dev/null @@ -1,17861 +0,0 @@ -{ - "data": { - "__schema": { - "queryType": { - "name": "Query" - }, - "mutationType": null, - "subscriptionType": null, - "types": [ - { - "kind": "OBJECT", - "name": "Query", - "description": "The query root, from which multiple types of MusicBrainz\nrequests can be made.", - "fields": [ - { - "name": "lookup", - "description": "Perform a lookup of a MusicBrainz entity by its MBID.", - "args": [], - "type": { - "kind": "OBJECT", - "name": "LookupQuery", - "ofType": null - }, - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "browse", - "description": "Browse all MusicBrainz entities directly linked to another entity.", - "args": [], - "type": { - "kind": "OBJECT", - "name": "BrowseQuery", - "ofType": null - }, - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "search", - "description": "Search for MusicBrainz entities using Lucene query syntax.", - "args": [], - "type": { - "kind": "OBJECT", - "name": "SearchQuery", - "ofType": null - }, - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "node", - "description": "Fetches an object given its ID", - "args": [ - { - "name": "id", - "description": "The ID of an object", - "type": { - "kind": "NON_NULL", - "name": null, - "ofType": { - "kind": "SCALAR", - "name": "ID", - "ofType": null - } - }, - "defaultValue": null - } - ], - "type": { - "kind": "INTERFACE", - "name": "Node", - "ofType": null - }, - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "lastFM", - "description": "A query for data on [Last.fm](https://www.last.fm/) that is not connected\nto any particular MusicBrainz entity. This field is provided by the\nLast.fm extension.", - "args": [], - "type": { - "kind": "OBJECT", - "name": "LastFMQuery", - "ofType": null - }, - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "spotify", - "description": null, - "args": [], - "type": { - "kind": "NON_NULL", - "name": null, - "ofType": { - "kind": "OBJECT", - "name": "SpotifyQuery", - "ofType": null - } - }, - "isDeprecated": false, - "deprecationReason": null - } - ], - "inputFields": null, - "interfaces": [], - "enumValues": null, - "possibleTypes": null - }, - { - "kind": "OBJECT", - "name": "LookupQuery", - "description": "A lookup of an individual MusicBrainz entity by its MBID.", - "fields": [ - { - "name": "area", - "description": "Look up a specific area by its MBID.", - "args": [ - { - "name": "mbid", - "description": "The MBID of the entity.", - "type": { - "kind": "NON_NULL", - "name": null, - "ofType": { - "kind": "SCALAR", - "name": "MBID", - "ofType": null - } - }, - "defaultValue": null - } - ], - "type": { - "kind": "OBJECT", - "name": "Area", - "ofType": null - }, - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "artist", - "description": "Look up a specific artist by its MBID.", - "args": [ - { - "name": "mbid", - "description": "The MBID of the entity.", - "type": { - "kind": "NON_NULL", - "name": null, - "ofType": { - "kind": "SCALAR", - "name": "MBID", - "ofType": null - } - }, - "defaultValue": null - } - ], - "type": { - "kind": "OBJECT", - "name": "Artist", - "ofType": null - }, - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "collection", - "description": "Look up a specific collection by its MBID.", - "args": [ - { - "name": "mbid", - "description": "The MBID of the entity.", - "type": { - "kind": "NON_NULL", - "name": null, - "ofType": { - "kind": "SCALAR", - "name": "MBID", - "ofType": null - } - }, - "defaultValue": null - } - ], - "type": { - "kind": "OBJECT", - "name": "Collection", - "ofType": null - }, - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "disc", - "description": "Look up a specific physical disc by its disc ID.", - "args": [ - { - "name": "discID", - "description": "The [disc ID](https://musicbrainz.org/doc/Disc_ID)\nof the disc.", - "type": { - "kind": "NON_NULL", - "name": null, - "ofType": { - "kind": "SCALAR", - "name": "DiscID", - "ofType": null - } - }, - "defaultValue": null - } - ], - "type": { - "kind": "OBJECT", - "name": "Disc", - "ofType": null - }, - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "event", - "description": "Look up a specific event by its MBID.", - "args": [ - { - "name": "mbid", - "description": "The MBID of the entity.", - "type": { - "kind": "NON_NULL", - "name": null, - "ofType": { - "kind": "SCALAR", - "name": "MBID", - "ofType": null - } - }, - "defaultValue": null - } - ], - "type": { - "kind": "OBJECT", - "name": "Event", - "ofType": null - }, - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "instrument", - "description": "Look up a specific instrument by its MBID.", - "args": [ - { - "name": "mbid", - "description": "The MBID of the entity.", - "type": { - "kind": "NON_NULL", - "name": null, - "ofType": { - "kind": "SCALAR", - "name": "MBID", - "ofType": null - } - }, - "defaultValue": null - } - ], - "type": { - "kind": "OBJECT", - "name": "Instrument", - "ofType": null - }, - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "label", - "description": "Look up a specific label by its MBID.", - "args": [ - { - "name": "mbid", - "description": "The MBID of the entity.", - "type": { - "kind": "NON_NULL", - "name": null, - "ofType": { - "kind": "SCALAR", - "name": "MBID", - "ofType": null - } - }, - "defaultValue": null - } - ], - "type": { - "kind": "OBJECT", - "name": "Label", - "ofType": null - }, - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "place", - "description": "Look up a specific place by its MBID.", - "args": [ - { - "name": "mbid", - "description": "The MBID of the entity.", - "type": { - "kind": "NON_NULL", - "name": null, - "ofType": { - "kind": "SCALAR", - "name": "MBID", - "ofType": null - } - }, - "defaultValue": null - } - ], - "type": { - "kind": "OBJECT", - "name": "Place", - "ofType": null - }, - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "recording", - "description": "Look up a specific recording by its MBID.", - "args": [ - { - "name": "mbid", - "description": "The MBID of the entity.", - "type": { - "kind": "NON_NULL", - "name": null, - "ofType": { - "kind": "SCALAR", - "name": "MBID", - "ofType": null - } - }, - "defaultValue": null - } - ], - "type": { - "kind": "OBJECT", - "name": "Recording", - "ofType": null - }, - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "release", - "description": "Look up a specific release by its MBID.", - "args": [ - { - "name": "mbid", - "description": "The MBID of the entity.", - "type": { - "kind": "NON_NULL", - "name": null, - "ofType": { - "kind": "SCALAR", - "name": "MBID", - "ofType": null - } - }, - "defaultValue": null - } - ], - "type": { - "kind": "OBJECT", - "name": "Release", - "ofType": null - }, - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "releaseGroup", - "description": "Look up a specific release group by its MBID.", - "args": [ - { - "name": "mbid", - "description": "The MBID of the entity.", - "type": { - "kind": "NON_NULL", - "name": null, - "ofType": { - "kind": "SCALAR", - "name": "MBID", - "ofType": null - } - }, - "defaultValue": null - } - ], - "type": { - "kind": "OBJECT", - "name": "ReleaseGroup", - "ofType": null - }, - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "series", - "description": "Look up a specific series by its MBID.", - "args": [ - { - "name": "mbid", - "description": "The MBID of the entity.", - "type": { - "kind": "NON_NULL", - "name": null, - "ofType": { - "kind": "SCALAR", - "name": "MBID", - "ofType": null - } - }, - "defaultValue": null - } - ], - "type": { - "kind": "OBJECT", - "name": "Series", - "ofType": null - }, - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "url", - "description": "Look up a specific URL by its MBID.", - "args": [ - { - "name": "mbid", - "description": "The MBID of the entity.", - "type": { - "kind": "SCALAR", - "name": "MBID", - "ofType": null - }, - "defaultValue": null - }, - { - "name": "resource", - "description": "The web address of the URL entity to look up.", - "type": { - "kind": "SCALAR", - "name": "URLString", - "ofType": null - }, - "defaultValue": null - } - ], - "type": { - "kind": "OBJECT", - "name": "URL", - "ofType": null - }, - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "work", - "description": "Look up a specific work by its MBID.", - "args": [ - { - "name": "mbid", - "description": "The MBID of the entity.", - "type": { - "kind": "NON_NULL", - "name": null, - "ofType": { - "kind": "SCALAR", - "name": "MBID", - "ofType": null - } - }, - "defaultValue": null - } - ], - "type": { - "kind": "OBJECT", - "name": "Work", - "ofType": null - }, - "isDeprecated": false, - "deprecationReason": null - } - ], - "inputFields": null, - "interfaces": [], - "enumValues": null, - "possibleTypes": null - }, - { - "kind": "SCALAR", - "name": "MBID", - "description": "The MBID scalar represents MusicBrainz identifiers, which are\n36-character UUIDs.", - "fields": null, - "inputFields": null, - "interfaces": null, - "enumValues": null, - "possibleTypes": null - }, - { - "kind": "OBJECT", - "name": "Area", - "description": "[Areas](https://musicbrainz.org/doc/Area) are geographic regions\nor settlements (countries, cities, or the like).", - "fields": [ - { - "name": "id", - "description": "The ID of an object", - "args": [], - "type": { - "kind": "NON_NULL", - "name": null, - "ofType": { - "kind": "SCALAR", - "name": "ID", - "ofType": null - } - }, - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "mbid", - "description": "The MBID of the entity.", - "args": [], - "type": { - "kind": "NON_NULL", - "name": null, - "ofType": { - "kind": "SCALAR", - "name": "MBID", - "ofType": null - } - }, - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "name", - "description": "The official name of the entity.", - "args": [], - "type": { - "kind": "SCALAR", - "name": "String", - "ofType": null - }, - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "sortName", - "description": "The string to use for the purpose of ordering by name (for\nexample, by moving articles like ‘the’ to the end or a person’s last name to\nthe front).", - "args": [], - "type": { - "kind": "SCALAR", - "name": "String", - "ofType": null - }, - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "disambiguation", - "description": "A comment used to help distinguish identically named entitites.", - "args": [], - "type": { - "kind": "SCALAR", - "name": "String", - "ofType": null - }, - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "aliases", - "description": "[Aliases](https://musicbrainz.org/doc/Aliases) are used to store\nalternate names or misspellings.", - "args": [], - "type": { - "kind": "LIST", - "name": null, - "ofType": { - "kind": "OBJECT", - "name": "Alias", - "ofType": null - } - }, - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "isoCodes", - "description": "[ISO 3166 codes](https://en.wikipedia.org/wiki/ISO_3166) are\nthe codes assigned by ISO to countries and subdivisions.", - "args": [ - { - "name": "standard", - "description": "Specify the particular ISO standard codes to retrieve.\nAvailable ISO standards are 3166-1, 3166-2, and 3166-3.", - "type": { - "kind": "SCALAR", - "name": "String", - "ofType": null - }, - "defaultValue": "\"3166-1\"" - } - ], - "type": { - "kind": "LIST", - "name": null, - "ofType": { - "kind": "SCALAR", - "name": "String", - "ofType": null - } - }, - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "type", - "description": "The type of area (country, city, etc. – see the [possible\nvalues](https://musicbrainz.org/doc/Area)).", - "args": [], - "type": { - "kind": "SCALAR", - "name": "String", - "ofType": null - }, - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "typeID", - "description": "The MBID associated with the value of the `type`\nfield.", - "args": [], - "type": { - "kind": "SCALAR", - "name": "MBID", - "ofType": null - }, - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "artists", - "description": "A list of artists linked to this entity.", - "args": [ - { - "name": "after", - "description": null, - "type": { - "kind": "SCALAR", - "name": "String", - "ofType": null - }, - "defaultValue": null - }, - { - "name": "first", - "description": null, - "type": { - "kind": "SCALAR", - "name": "Int", - "ofType": null - }, - "defaultValue": null - } - ], - "type": { - "kind": "OBJECT", - "name": "ArtistConnection", - "ofType": null - }, - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "events", - "description": "A list of events linked to this entity.", - "args": [ - { - "name": "after", - "description": null, - "type": { - "kind": "SCALAR", - "name": "String", - "ofType": null - }, - "defaultValue": null - }, - { - "name": "first", - "description": null, - "type": { - "kind": "SCALAR", - "name": "Int", - "ofType": null - }, - "defaultValue": null - } - ], - "type": { - "kind": "OBJECT", - "name": "EventConnection", - "ofType": null - }, - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "labels", - "description": "A list of labels linked to this entity.", - "args": [ - { - "name": "after", - "description": null, - "type": { - "kind": "SCALAR", - "name": "String", - "ofType": null - }, - "defaultValue": null - }, - { - "name": "first", - "description": null, - "type": { - "kind": "SCALAR", - "name": "Int", - "ofType": null - }, - "defaultValue": null - } - ], - "type": { - "kind": "OBJECT", - "name": "LabelConnection", - "ofType": null - }, - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "places", - "description": "A list of places linked to this entity.", - "args": [ - { - "name": "after", - "description": null, - "type": { - "kind": "SCALAR", - "name": "String", - "ofType": null - }, - "defaultValue": null - }, - { - "name": "first", - "description": null, - "type": { - "kind": "SCALAR", - "name": "Int", - "ofType": null - }, - "defaultValue": null - } - ], - "type": { - "kind": "OBJECT", - "name": "PlaceConnection", - "ofType": null - }, - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "releases", - "description": "A list of releases linked to this entity.", - "args": [ - { - "name": "type", - "description": "Filter by one or more release group types.", - "type": { - "kind": "LIST", - "name": null, - "ofType": { - "kind": "ENUM", - "name": "ReleaseGroupType", - "ofType": null - } - }, - "defaultValue": null - }, - { - "name": "status", - "description": "Filter by one or more release statuses.", - "type": { - "kind": "LIST", - "name": null, - "ofType": { - "kind": "ENUM", - "name": "ReleaseStatus", - "ofType": null - } - }, - "defaultValue": null - }, - { - "name": "after", - "description": null, - "type": { - "kind": "SCALAR", - "name": "String", - "ofType": null - }, - "defaultValue": null - }, - { - "name": "first", - "description": null, - "type": { - "kind": "SCALAR", - "name": "Int", - "ofType": null - }, - "defaultValue": null - } - ], - "type": { - "kind": "OBJECT", - "name": "ReleaseConnection", - "ofType": null - }, - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "relationships", - "description": "Relationships between this entity and other entitites.", - "args": [], - "type": { - "kind": "OBJECT", - "name": "Relationships", - "ofType": null - }, - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "collections", - "description": "A list of collections containing this entity.", - "args": [ - { - "name": "after", - "description": null, - "type": { - "kind": "SCALAR", - "name": "String", - "ofType": null - }, - "defaultValue": null - }, - { - "name": "first", - "description": null, - "type": { - "kind": "SCALAR", - "name": "Int", - "ofType": null - }, - "defaultValue": null - } - ], - "type": { - "kind": "OBJECT", - "name": "CollectionConnection", - "ofType": null - }, - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "tags", - "description": "A list of tags linked to this entity.", - "args": [ - { - "name": "after", - "description": null, - "type": { - "kind": "SCALAR", - "name": "String", - "ofType": null - }, - "defaultValue": null - }, - { - "name": "first", - "description": null, - "type": { - "kind": "SCALAR", - "name": "Int", - "ofType": null - }, - "defaultValue": null - } - ], - "type": { - "kind": "OBJECT", - "name": "TagConnection", - "ofType": null - }, - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "lastFM", - "description": "Chart data available for this area on [Last.fm](https://www.last.fm/), if\nthe area represents a country with an [ISO 3166 code](https://en.wikipedia.org/wiki/ISO_3166).\nThis field is provided by the Last.fm extension.", - "args": [], - "type": { - "kind": "OBJECT", - "name": "LastFMCountry", - "ofType": null - }, - "isDeprecated": false, - "deprecationReason": null - } - ], - "inputFields": null, - "interfaces": [ - { - "kind": "INTERFACE", - "name": "Node", - "ofType": null - }, - { - "kind": "INTERFACE", - "name": "Entity", - "ofType": null - } - ], - "enumValues": null, - "possibleTypes": null - }, - { - "kind": "INTERFACE", - "name": "Node", - "description": "An object with an ID", - "fields": [ - { - "name": "id", - "description": "The id of the object.", - "args": [], - "type": { - "kind": "NON_NULL", - "name": null, - "ofType": { - "kind": "SCALAR", - "name": "ID", - "ofType": null - } - }, - "isDeprecated": false, - "deprecationReason": null - } - ], - "inputFields": null, - "interfaces": null, - "enumValues": null, - "possibleTypes": [ - { - "kind": "OBJECT", - "name": "Area", - "ofType": null - }, - { - "kind": "OBJECT", - "name": "Artist", - "ofType": null - }, - { - "kind": "OBJECT", - "name": "Recording", - "ofType": null - }, - { - "kind": "OBJECT", - "name": "Release", - "ofType": null - }, - { - "kind": "OBJECT", - "name": "Disc", - "ofType": null - }, - { - "kind": "OBJECT", - "name": "Label", - "ofType": null - }, - { - "kind": "OBJECT", - "name": "Collection", - "ofType": null - }, - { - "kind": "OBJECT", - "name": "Event", - "ofType": null - }, - { - "kind": "OBJECT", - "name": "Instrument", - "ofType": null - }, - { - "kind": "OBJECT", - "name": "Place", - "ofType": null - }, - { - "kind": "OBJECT", - "name": "ReleaseGroup", - "ofType": null - }, - { - "kind": "OBJECT", - "name": "Series", - "ofType": null - }, - { - "kind": "OBJECT", - "name": "Work", - "ofType": null - }, - { - "kind": "OBJECT", - "name": "URL", - "ofType": null - } - ] - }, - { - "kind": "SCALAR", - "name": "ID", - "description": "The `ID` scalar type represents a unique identifier, often used to refetch an object or as key for a cache. The ID type appears in a JSON response as a String; however, it is not intended to be human-readable. When expected as an input type, any string (such as `\"4\"`) or integer (such as `4`) input value will be accepted as an ID.", - "fields": null, - "inputFields": null, - "interfaces": null, - "enumValues": null, - "possibleTypes": null - }, - { - "kind": "INTERFACE", - "name": "Entity", - "description": "An entity in the MusicBrainz schema.", - "fields": [ - { - "name": "mbid", - "description": "The MBID of the entity.", - "args": [], - "type": { - "kind": "NON_NULL", - "name": null, - "ofType": { - "kind": "SCALAR", - "name": "MBID", - "ofType": null - } - }, - "isDeprecated": false, - "deprecationReason": null - } - ], - "inputFields": null, - "interfaces": null, - "enumValues": null, - "possibleTypes": [ - { - "kind": "OBJECT", - "name": "Area", - "ofType": null - }, - { - "kind": "OBJECT", - "name": "Artist", - "ofType": null - }, - { - "kind": "OBJECT", - "name": "Recording", - "ofType": null - }, - { - "kind": "OBJECT", - "name": "Release", - "ofType": null - }, - { - "kind": "OBJECT", - "name": "Track", - "ofType": null - }, - { - "kind": "OBJECT", - "name": "Label", - "ofType": null - }, - { - "kind": "OBJECT", - "name": "Collection", - "ofType": null - }, - { - "kind": "OBJECT", - "name": "Event", - "ofType": null - }, - { - "kind": "OBJECT", - "name": "Instrument", - "ofType": null - }, - { - "kind": "OBJECT", - "name": "Place", - "ofType": null - }, - { - "kind": "OBJECT", - "name": "ReleaseGroup", - "ofType": null - }, - { - "kind": "OBJECT", - "name": "Series", - "ofType": null - }, - { - "kind": "OBJECT", - "name": "Work", - "ofType": null - }, - { - "kind": "OBJECT", - "name": "URL", - "ofType": null - } - ] - }, - { - "kind": "SCALAR", - "name": "String", - "description": "The `String` scalar type represents textual data, represented as UTF-8 character sequences. The String type is most often used by GraphQL to represent free-form human-readable text.", - "fields": null, - "inputFields": null, - "interfaces": null, - "enumValues": null, - "possibleTypes": null - }, - { - "kind": "OBJECT", - "name": "Alias", - "description": "[Aliases](https://musicbrainz.org/doc/Aliases) are variant names\nthat are mostly used as search help: if a search matches an entity’s alias, the\nentity will be given as a result – even if the actual name wouldn’t be.", - "fields": [ - { - "name": "name", - "description": "The aliased name of the entity.", - "args": [], - "type": { - "kind": "SCALAR", - "name": "String", - "ofType": null - }, - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "sortName", - "description": "The string to use for the purpose of ordering by name (for\nexample, by moving articles like ‘the’ to the end or a person’s last name to\nthe front).", - "args": [], - "type": { - "kind": "SCALAR", - "name": "String", - "ofType": null - }, - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "locale", - "description": "The locale (language and/or country) in which the alias is\nused.", - "args": [], - "type": { - "kind": "SCALAR", - "name": "Locale", - "ofType": null - }, - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "primary", - "description": "Whether this is the main alias for the entity in the\nspecified locale (this could mean the most recent or the most common).", - "args": [], - "type": { - "kind": "SCALAR", - "name": "Boolean", - "ofType": null - }, - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "type", - "description": "The type or purpose of the alias – whether it is a variant,\nsearch hint, etc.", - "args": [], - "type": { - "kind": "SCALAR", - "name": "String", - "ofType": null - }, - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "typeID", - "description": "The MBID associated with the value of the `type`\nfield.", - "args": [], - "type": { - "kind": "SCALAR", - "name": "MBID", - "ofType": null - }, - "isDeprecated": false, - "deprecationReason": null - } - ], - "inputFields": null, - "interfaces": [], - "enumValues": null, - "possibleTypes": null - }, - { - "kind": "SCALAR", - "name": "Locale", - "description": "Language code, optionally with country and encoding.", - "fields": null, - "inputFields": null, - "interfaces": null, - "enumValues": null, - "possibleTypes": null - }, - { - "kind": "SCALAR", - "name": "Boolean", - "description": "The `Boolean` scalar type represents `true` or `false`.", - "fields": null, - "inputFields": null, - "interfaces": null, - "enumValues": null, - "possibleTypes": null - }, - { - "kind": "SCALAR", - "name": "Int", - "description": "The `Int` scalar type represents non-fractional signed whole numeric values. Int can represent values between -(2^31) and 2^31 - 1. ", - "fields": null, - "inputFields": null, - "interfaces": null, - "enumValues": null, - "possibleTypes": null - }, - { - "kind": "OBJECT", - "name": "ArtistConnection", - "description": "A connection to a list of items.", - "fields": [ - { - "name": "pageInfo", - "description": "Information to aid in pagination.", - "args": [], - "type": { - "kind": "NON_NULL", - "name": null, - "ofType": { - "kind": "OBJECT", - "name": "PageInfo", - "ofType": null - } - }, - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "edges", - "description": "A list of edges.", - "args": [], - "type": { - "kind": "LIST", - "name": null, - "ofType": { - "kind": "OBJECT", - "name": "ArtistEdge", - "ofType": null - } - }, - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "nodes", - "description": "A list of nodes in the connection (without going through the\n`edges` field).", - "args": [], - "type": { - "kind": "LIST", - "name": null, - "ofType": { - "kind": "OBJECT", - "name": "Artist", - "ofType": null - } - }, - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "totalCount", - "description": "A count of the total number of items in this connection,\nignoring pagination.", - "args": [], - "type": { - "kind": "SCALAR", - "name": "Int", - "ofType": null - }, - "isDeprecated": false, - "deprecationReason": null - } - ], - "inputFields": null, - "interfaces": [], - "enumValues": null, - "possibleTypes": null - }, - { - "kind": "OBJECT", - "name": "PageInfo", - "description": "Information about pagination in a connection.", - "fields": [ - { - "name": "hasNextPage", - "description": "When paginating forwards, are there more items?", - "args": [], - "type": { - "kind": "NON_NULL", - "name": null, - "ofType": { - "kind": "SCALAR", - "name": "Boolean", - "ofType": null - } - }, - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "hasPreviousPage", - "description": "When paginating backwards, are there more items?", - "args": [], - "type": { - "kind": "NON_NULL", - "name": null, - "ofType": { - "kind": "SCALAR", - "name": "Boolean", - "ofType": null - } - }, - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "startCursor", - "description": "When paginating backwards, the cursor to continue.", - "args": [], - "type": { - "kind": "SCALAR", - "name": "String", - "ofType": null - }, - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "endCursor", - "description": "When paginating forwards, the cursor to continue.", - "args": [], - "type": { - "kind": "SCALAR", - "name": "String", - "ofType": null - }, - "isDeprecated": false, - "deprecationReason": null - } - ], - "inputFields": null, - "interfaces": [], - "enumValues": null, - "possibleTypes": null - }, - { - "kind": "OBJECT", - "name": "ArtistEdge", - "description": "An edge in a connection.", - "fields": [ - { - "name": "node", - "description": "The item at the end of the edge", - "args": [], - "type": { - "kind": "OBJECT", - "name": "Artist", - "ofType": null - }, - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "cursor", - "description": "A cursor for use in pagination", - "args": [], - "type": { - "kind": "NON_NULL", - "name": null, - "ofType": { - "kind": "SCALAR", - "name": "String", - "ofType": null - } - }, - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "score", - "description": "The relevancy score (0–100) assigned by the search engine, if\nthese results were found through a search.", - "args": [], - "type": { - "kind": "SCALAR", - "name": "Int", - "ofType": null - }, - "isDeprecated": false, - "deprecationReason": null - } - ], - "inputFields": null, - "interfaces": [], - "enumValues": null, - "possibleTypes": null - }, - { - "kind": "OBJECT", - "name": "Artist", - "description": "An [artist](https://musicbrainz.org/doc/Artist) is generally a\nmusician, group of musicians, or other music professional (like a producer or\nengineer). Occasionally, it can also be a non-musical person (like a\nphotographer, an illustrator, or a poet whose writings are set to music), or\neven a fictional character.", - "fields": [ - { - "name": "id", - "description": "The ID of an object", - "args": [], - "type": { - "kind": "NON_NULL", - "name": null, - "ofType": { - "kind": "SCALAR", - "name": "ID", - "ofType": null - } - }, - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "mbid", - "description": "The MBID of the entity.", - "args": [], - "type": { - "kind": "NON_NULL", - "name": null, - "ofType": { - "kind": "SCALAR", - "name": "MBID", - "ofType": null - } - }, - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "name", - "description": "The official name of the entity.", - "args": [], - "type": { - "kind": "SCALAR", - "name": "String", - "ofType": null - }, - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "sortName", - "description": "The string to use for the purpose of ordering by name (for\nexample, by moving articles like ‘the’ to the end or a person’s last name to\nthe front).", - "args": [], - "type": { - "kind": "SCALAR", - "name": "String", - "ofType": null - }, - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "disambiguation", - "description": "A comment used to help distinguish identically named entitites.", - "args": [], - "type": { - "kind": "SCALAR", - "name": "String", - "ofType": null - }, - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "aliases", - "description": "[Aliases](https://musicbrainz.org/doc/Aliases) are used to store\nalternate names or misspellings.", - "args": [], - "type": { - "kind": "LIST", - "name": null, - "ofType": { - "kind": "OBJECT", - "name": "Alias", - "ofType": null - } - }, - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "country", - "description": "The country with which an artist is primarily identified. It\nis often, but not always, its birth/formation country.", - "args": [], - "type": { - "kind": "SCALAR", - "name": "String", - "ofType": null - }, - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "area", - "description": "The area with which an artist is primarily identified. It\nis often, but not always, its birth/formation country.", - "args": [], - "type": { - "kind": "OBJECT", - "name": "Area", - "ofType": null - }, - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "beginArea", - "description": "The area in which an artist began their career (or where\nthey were born, if the artist is a person).", - "args": [], - "type": { - "kind": "OBJECT", - "name": "Area", - "ofType": null - }, - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "endArea", - "description": "The area in which an artist ended their career (or where\nthey died, if the artist is a person).", - "args": [], - "type": { - "kind": "OBJECT", - "name": "Area", - "ofType": null - }, - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "lifeSpan", - "description": "The begin and end dates of the entity’s existence. Its exact\nmeaning depends on the type of entity.", - "args": [], - "type": { - "kind": "OBJECT", - "name": "LifeSpan", - "ofType": null - }, - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "gender", - "description": "Whether a person or character identifies as male, female, or\nneither. Groups do not have genders.", - "args": [], - "type": { - "kind": "SCALAR", - "name": "String", - "ofType": null - }, - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "genderID", - "description": "The MBID associated with the value of the `gender`\nfield.", - "args": [], - "type": { - "kind": "SCALAR", - "name": "MBID", - "ofType": null - }, - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "type", - "description": "Whether an artist is a person, a group, or something else.", - "args": [], - "type": { - "kind": "SCALAR", - "name": "String", - "ofType": null - }, - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "typeID", - "description": "The MBID associated with the value of the `type`\nfield.", - "args": [], - "type": { - "kind": "SCALAR", - "name": "MBID", - "ofType": null - }, - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "ipis", - "description": "List of [Interested Parties Information](https://musicbrainz.org/doc/IPI)\n(IPI) codes for the artist.", - "args": [], - "type": { - "kind": "LIST", - "name": null, - "ofType": { - "kind": "SCALAR", - "name": "IPI", - "ofType": null - } - }, - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "isnis", - "description": "List of [International Standard Name Identifier](https://musicbrainz.org/doc/ISNI)\n(ISNI) codes for the artist.", - "args": [], - "type": { - "kind": "LIST", - "name": null, - "ofType": { - "kind": "SCALAR", - "name": "ISNI", - "ofType": null - } - }, - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "recordings", - "description": "A list of recordings linked to this entity.", - "args": [ - { - "name": "after", - "description": null, - "type": { - "kind": "SCALAR", - "name": "String", - "ofType": null - }, - "defaultValue": null - }, - { - "name": "first", - "description": null, - "type": { - "kind": "SCALAR", - "name": "Int", - "ofType": null - }, - "defaultValue": null - } - ], - "type": { - "kind": "OBJECT", - "name": "RecordingConnection", - "ofType": null - }, - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "releases", - "description": "A list of releases linked to this entity.", - "args": [ - { - "name": "type", - "description": "Filter by one or more release group types.", - "type": { - "kind": "LIST", - "name": null, - "ofType": { - "kind": "ENUM", - "name": "ReleaseGroupType", - "ofType": null - } - }, - "defaultValue": null - }, - { - "name": "status", - "description": "Filter by one or more release statuses.", - "type": { - "kind": "LIST", - "name": null, - "ofType": { - "kind": "ENUM", - "name": "ReleaseStatus", - "ofType": null - } - }, - "defaultValue": null - }, - { - "name": "after", - "description": null, - "type": { - "kind": "SCALAR", - "name": "String", - "ofType": null - }, - "defaultValue": null - }, - { - "name": "first", - "description": null, - "type": { - "kind": "SCALAR", - "name": "Int", - "ofType": null - }, - "defaultValue": null - } - ], - "type": { - "kind": "OBJECT", - "name": "ReleaseConnection", - "ofType": null - }, - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "releaseGroups", - "description": "A list of release groups linked to this entity.", - "args": [ - { - "name": "type", - "description": "Filter by one or more release group types.", - "type": { - "kind": "LIST", - "name": null, - "ofType": { - "kind": "ENUM", - "name": "ReleaseGroupType", - "ofType": null - } - }, - "defaultValue": null - }, - { - "name": "after", - "description": null, - "type": { - "kind": "SCALAR", - "name": "String", - "ofType": null - }, - "defaultValue": null - }, - { - "name": "first", - "description": null, - "type": { - "kind": "SCALAR", - "name": "Int", - "ofType": null - }, - "defaultValue": null - } - ], - "type": { - "kind": "OBJECT", - "name": "ReleaseGroupConnection", - "ofType": null - }, - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "works", - "description": "A list of works linked to this entity.", - "args": [ - { - "name": "after", - "description": null, - "type": { - "kind": "SCALAR", - "name": "String", - "ofType": null - }, - "defaultValue": null - }, - { - "name": "first", - "description": null, - "type": { - "kind": "SCALAR", - "name": "Int", - "ofType": null - }, - "defaultValue": null - } - ], - "type": { - "kind": "OBJECT", - "name": "WorkConnection", - "ofType": null - }, - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "relationships", - "description": "Relationships between this entity and other entitites.", - "args": [], - "type": { - "kind": "OBJECT", - "name": "Relationships", - "ofType": null - }, - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "collections", - "description": "A list of collections containing this entity.", - "args": [ - { - "name": "after", - "description": null, - "type": { - "kind": "SCALAR", - "name": "String", - "ofType": null - }, - "defaultValue": null - }, - { - "name": "first", - "description": null, - "type": { - "kind": "SCALAR", - "name": "Int", - "ofType": null - }, - "defaultValue": null - } - ], - "type": { - "kind": "OBJECT", - "name": "CollectionConnection", - "ofType": null - }, - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "rating", - "description": "The rating users have given to this entity.", - "args": [], - "type": { - "kind": "OBJECT", - "name": "Rating", - "ofType": null - }, - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "tags", - "description": "A list of tags linked to this entity.", - "args": [ - { - "name": "after", - "description": null, - "type": { - "kind": "SCALAR", - "name": "String", - "ofType": null - }, - "defaultValue": null - }, - { - "name": "first", - "description": null, - "type": { - "kind": "SCALAR", - "name": "Int", - "ofType": null - }, - "defaultValue": null - } - ], - "type": { - "kind": "OBJECT", - "name": "TagConnection", - "ofType": null - }, - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "fanArt", - "description": "Images of the artist from [fanart.tv](https://fanart.tv/).\nThis field is provided by the fanart.tv extension.", - "args": [], - "type": { - "kind": "OBJECT", - "name": "FanArtArtist", - "ofType": null - }, - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "mediaWikiImages", - "description": "Artist images found at MediaWiki URLs in the artist’s URL relationships.\nDefaults to URL relationships with the type “image”.\nThis field is provided by the MediaWiki extension.", - "args": [ - { - "name": "type", - "description": "The type of URL relationship that will be selected to find images. See\nthe possible [Artist-URL relationship types](https://musicbrainz.org/relationships/artist-url).", - "type": { - "kind": "SCALAR", - "name": "String", - "ofType": null - }, - "defaultValue": "\"image\"" - } - ], - "type": { - "kind": "NON_NULL", - "name": null, - "ofType": { - "kind": "LIST", - "name": null, - "ofType": { - "kind": "OBJECT", - "name": "MediaWikiImage", - "ofType": null - } - } - }, - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "theAudioDB", - "description": "Data about the artist from [TheAudioDB](http://www.theaudiodb.com/), a good\nsource of biographical information and images.\nThis field is provided by TheAudioDB extension.", - "args": [], - "type": { - "kind": "OBJECT", - "name": "TheAudioDBArtist", - "ofType": null - }, - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "discogs", - "description": "Information about the artist on Discogs.", - "args": [], - "type": { - "kind": "OBJECT", - "name": "DiscogsArtist", - "ofType": null - }, - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "lastFM", - "description": "Data about the artist from [Last.fm](https://www.last.fm/), a good source\nfor measuring popularity via listener and play counts. This field is\nprovided by the Last.fm extension.", - "args": [], - "type": { - "kind": "OBJECT", - "name": "LastFMArtist", - "ofType": null - }, - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "spotify", - "description": "The artist’s entry on Spotify.", - "args": [], - "type": { - "kind": "OBJECT", - "name": "SpotifyArtist", - "ofType": null - }, - "isDeprecated": false, - "deprecationReason": null - } - ], - "inputFields": null, - "interfaces": [ - { - "kind": "INTERFACE", - "name": "Node", - "ofType": null - }, - { - "kind": "INTERFACE", - "name": "Entity", - "ofType": null - } - ], - "enumValues": null, - "possibleTypes": null - }, - { - "kind": "OBJECT", - "name": "LifeSpan", - "description": "Fields indicating the begin and end date of an entity’s\nlifetime, including whether it has ended (even if the date is unknown).", - "fields": [ - { - "name": "begin", - "description": "The start date of the entity’s life span.", - "args": [], - "type": { - "kind": "SCALAR", - "name": "Date", - "ofType": null - }, - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "end", - "description": "The end date of the entity’s life span.", - "args": [], - "type": { - "kind": "SCALAR", - "name": "Date", - "ofType": null - }, - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "ended", - "description": "Whether or not the entity’s life span has ended.", - "args": [], - "type": { - "kind": "SCALAR", - "name": "Boolean", - "ofType": null - }, - "isDeprecated": false, - "deprecationReason": null - } - ], - "inputFields": null, - "interfaces": [], - "enumValues": null, - "possibleTypes": null - }, - { - "kind": "SCALAR", - "name": "Date", - "description": "Year, month (optional), and day (optional) in YYYY-MM-DD format.", - "fields": null, - "inputFields": null, - "interfaces": null, - "enumValues": null, - "possibleTypes": null - }, - { - "kind": "SCALAR", - "name": "IPI", - "description": "An [Interested Parties Information](https://musicbrainz.org/doc/IPI)\n(IPI) code is an identifying number assigned by the CISAC database for musical\nrights management.", - "fields": null, - "inputFields": null, - "interfaces": null, - "enumValues": null, - "possibleTypes": null - }, - { - "kind": "SCALAR", - "name": "ISNI", - "description": "The [International Standard Name Identifier](https://musicbrainz.org/doc/ISNI)\n(ISNI) is an ISO standard for uniquely identifying the public identities of\ncontributors to media content.", - "fields": null, - "inputFields": null, - "interfaces": null, - "enumValues": null, - "possibleTypes": null - }, - { - "kind": "OBJECT", - "name": "RecordingConnection", - "description": "A connection to a list of items.", - "fields": [ - { - "name": "pageInfo", - "description": "Information to aid in pagination.", - "args": [], - "type": { - "kind": "NON_NULL", - "name": null, - "ofType": { - "kind": "OBJECT", - "name": "PageInfo", - "ofType": null - } - }, - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "edges", - "description": "A list of edges.", - "args": [], - "type": { - "kind": "LIST", - "name": null, - "ofType": { - "kind": "OBJECT", - "name": "RecordingEdge", - "ofType": null - } - }, - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "nodes", - "description": "A list of nodes in the connection (without going through the\n`edges` field).", - "args": [], - "type": { - "kind": "LIST", - "name": null, - "ofType": { - "kind": "OBJECT", - "name": "Recording", - "ofType": null - } - }, - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "totalCount", - "description": "A count of the total number of items in this connection,\nignoring pagination.", - "args": [], - "type": { - "kind": "SCALAR", - "name": "Int", - "ofType": null - }, - "isDeprecated": false, - "deprecationReason": null - } - ], - "inputFields": null, - "interfaces": [], - "enumValues": null, - "possibleTypes": null - }, - { - "kind": "OBJECT", - "name": "RecordingEdge", - "description": "An edge in a connection.", - "fields": [ - { - "name": "node", - "description": "The item at the end of the edge", - "args": [], - "type": { - "kind": "OBJECT", - "name": "Recording", - "ofType": null - }, - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "cursor", - "description": "A cursor for use in pagination", - "args": [], - "type": { - "kind": "NON_NULL", - "name": null, - "ofType": { - "kind": "SCALAR", - "name": "String", - "ofType": null - } - }, - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "score", - "description": "The relevancy score (0–100) assigned by the search engine, if\nthese results were found through a search.", - "args": [], - "type": { - "kind": "SCALAR", - "name": "Int", - "ofType": null - }, - "isDeprecated": false, - "deprecationReason": null - } - ], - "inputFields": null, - "interfaces": [], - "enumValues": null, - "possibleTypes": null - }, - { - "kind": "OBJECT", - "name": "Recording", - "description": "A [recording](https://musicbrainz.org/doc/Recording) is an\nentity in MusicBrainz which can be linked to tracks on releases. Each track must\nalways be associated with a single recording, but a recording can be linked to\nany number of tracks.\n\nA recording represents distinct audio that has been used to produce at least one\nreleased track through copying or mastering. A recording itself is never\nproduced solely through copying or mastering.\n\nGenerally, the audio represented by a recording corresponds to the audio at a\nstage in the production process before any final mastering but after any editing\nor mixing.", - "fields": [ - { - "name": "id", - "description": "The ID of an object", - "args": [], - "type": { - "kind": "NON_NULL", - "name": null, - "ofType": { - "kind": "SCALAR", - "name": "ID", - "ofType": null - } - }, - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "mbid", - "description": "The MBID of the entity.", - "args": [], - "type": { - "kind": "NON_NULL", - "name": null, - "ofType": { - "kind": "SCALAR", - "name": "MBID", - "ofType": null - } - }, - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "title", - "description": "The official title of the entity.", - "args": [], - "type": { - "kind": "SCALAR", - "name": "String", - "ofType": null - }, - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "disambiguation", - "description": "A comment used to help distinguish identically named entitites.", - "args": [], - "type": { - "kind": "SCALAR", - "name": "String", - "ofType": null - }, - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "aliases", - "description": "[Aliases](https://musicbrainz.org/doc/Aliases) are used to store\nalternate names or misspellings.", - "args": [], - "type": { - "kind": "LIST", - "name": null, - "ofType": { - "kind": "OBJECT", - "name": "Alias", - "ofType": null - } - }, - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "artistCredit", - "description": "The main credited artist(s).", - "args": [], - "type": { - "kind": "LIST", - "name": null, - "ofType": { - "kind": "OBJECT", - "name": "ArtistCredit", - "ofType": null - } - }, - "isDeprecated": true, - "deprecationReason": "The `artistCredit` field has been renamed to\n`artistCredits`, since it is a list of credits and is referred to in the\nplural form throughout the MusicBrainz documentation. This field is deprecated\nand will be removed in a major release in the future. Use the equivalent\n`artistCredits` field." - }, - { - "name": "artistCredits", - "description": "The main credited artist(s).", - "args": [], - "type": { - "kind": "LIST", - "name": null, - "ofType": { - "kind": "OBJECT", - "name": "ArtistCredit", - "ofType": null - } - }, - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "isrcs", - "description": "A list of [International Standard Recording Codes](https://musicbrainz.org/doc/ISRC)\n(ISRCs) for this recording.", - "args": [], - "type": { - "kind": "LIST", - "name": null, - "ofType": { - "kind": "SCALAR", - "name": "ISRC", - "ofType": null - } - }, - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "length", - "description": "An approximation to the length of the recording, calculated\nfrom the lengths of the tracks using it.", - "args": [], - "type": { - "kind": "SCALAR", - "name": "Duration", - "ofType": null - }, - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "video", - "description": "Whether this is a video recording.", - "args": [], - "type": { - "kind": "SCALAR", - "name": "Boolean", - "ofType": null - }, - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "artists", - "description": "A list of artists linked to this entity.", - "args": [ - { - "name": "after", - "description": null, - "type": { - "kind": "SCALAR", - "name": "String", - "ofType": null - }, - "defaultValue": null - }, - { - "name": "first", - "description": null, - "type": { - "kind": "SCALAR", - "name": "Int", - "ofType": null - }, - "defaultValue": null - } - ], - "type": { - "kind": "OBJECT", - "name": "ArtistConnection", - "ofType": null - }, - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "releases", - "description": "A list of releases linked to this entity.", - "args": [ - { - "name": "type", - "description": "Filter by one or more release group types.", - "type": { - "kind": "LIST", - "name": null, - "ofType": { - "kind": "ENUM", - "name": "ReleaseGroupType", - "ofType": null - } - }, - "defaultValue": null - }, - { - "name": "status", - "description": "Filter by one or more release statuses.", - "type": { - "kind": "LIST", - "name": null, - "ofType": { - "kind": "ENUM", - "name": "ReleaseStatus", - "ofType": null - } - }, - "defaultValue": null - }, - { - "name": "after", - "description": null, - "type": { - "kind": "SCALAR", - "name": "String", - "ofType": null - }, - "defaultValue": null - }, - { - "name": "first", - "description": null, - "type": { - "kind": "SCALAR", - "name": "Int", - "ofType": null - }, - "defaultValue": null - } - ], - "type": { - "kind": "OBJECT", - "name": "ReleaseConnection", - "ofType": null - }, - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "relationships", - "description": "Relationships between this entity and other entitites.", - "args": [], - "type": { - "kind": "OBJECT", - "name": "Relationships", - "ofType": null - }, - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "collections", - "description": "A list of collections containing this entity.", - "args": [ - { - "name": "after", - "description": null, - "type": { - "kind": "SCALAR", - "name": "String", - "ofType": null - }, - "defaultValue": null - }, - { - "name": "first", - "description": null, - "type": { - "kind": "SCALAR", - "name": "Int", - "ofType": null - }, - "defaultValue": null - } - ], - "type": { - "kind": "OBJECT", - "name": "CollectionConnection", - "ofType": null - }, - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "rating", - "description": "The rating users have given to this entity.", - "args": [], - "type": { - "kind": "OBJECT", - "name": "Rating", - "ofType": null - }, - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "tags", - "description": "A list of tags linked to this entity.", - "args": [ - { - "name": "after", - "description": null, - "type": { - "kind": "SCALAR", - "name": "String", - "ofType": null - }, - "defaultValue": null - }, - { - "name": "first", - "description": null, - "type": { - "kind": "SCALAR", - "name": "Int", - "ofType": null - }, - "defaultValue": null - } - ], - "type": { - "kind": "OBJECT", - "name": "TagConnection", - "ofType": null - }, - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "theAudioDB", - "description": "Data about the recording from [TheAudioDB](http://www.theaudiodb.com/).\nThis field is provided by TheAudioDB extension.", - "args": [], - "type": { - "kind": "OBJECT", - "name": "TheAudioDBTrack", - "ofType": null - }, - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "lastFM", - "description": "Data about the recording from [Last.fm](https://www.last.fm/), a good\nsource for measuring popularity via listener and play counts. This field\nis provided by the Last.fm extension.", - "args": [], - "type": { - "kind": "OBJECT", - "name": "LastFMTrack", - "ofType": null - }, - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "spotify", - "description": "The recording’s entry on Spotify.", - "args": [ - { - "name": "strategy", - "description": "The strategies to use to match the recording with a Spotify track, in\npreferential order.", - "type": { - "kind": "LIST", - "name": null, - "ofType": { - "kind": "NON_NULL", - "name": null, - "ofType": { - "kind": "ENUM", - "name": "SpotifyMatchStrategy", - "ofType": null - } - } - }, - "defaultValue": "[URL, EXTERNALID]" - } - ], - "type": { - "kind": "OBJECT", - "name": "SpotifyTrack", - "ofType": null - }, - "isDeprecated": false, - "deprecationReason": null - } - ], - "inputFields": null, - "interfaces": [ - { - "kind": "INTERFACE", - "name": "Node", - "ofType": null - }, - { - "kind": "INTERFACE", - "name": "Entity", - "ofType": null - } - ], - "enumValues": null, - "possibleTypes": null - }, - { - "kind": "OBJECT", - "name": "ArtistCredit", - "description": "[Artist credits](https://musicbrainz.org/doc/Artist_Credits)\nindicate who is the main credited artist (or artists) for releases, release\ngroups, tracks, and recordings, and how they are credited. They consist of\nartists, with (optionally) their names as credited in the specific release,\ntrack, etc., and join phrases between them.", - "fields": [ - { - "name": "artist", - "description": "The entity representing the artist referenced in the\ncredits.", - "args": [], - "type": { - "kind": "OBJECT", - "name": "Artist", - "ofType": null - }, - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "name", - "description": "The name of the artist as credited in the specific release,\ntrack, etc.", - "args": [], - "type": { - "kind": "SCALAR", - "name": "String", - "ofType": null - }, - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "joinPhrase", - "description": "Join phrases might include words and/or punctuation to\nseparate artist names as they appear on the release, track, etc.", - "args": [], - "type": { - "kind": "SCALAR", - "name": "String", - "ofType": null - }, - "isDeprecated": false, - "deprecationReason": null - } - ], - "inputFields": null, - "interfaces": [], - "enumValues": null, - "possibleTypes": null - }, - { - "kind": "SCALAR", - "name": "ISRC", - "description": "The [International Standard Recording Code](https://musicbrainz.org/doc/ISRC)\n(ISRC) is an identification system for audio and music video recordings. It is\nstandarized by the [IFPI](http://www.ifpi.org/) in ISO 3901:2001 and used by\nIFPI members to assign a unique identifier to every distinct sound recording\nthey release. An ISRC identifies a particular [sound recording](https://musicbrainz.org/doc/Recording),\nnot the song itself. Therefore, different recordings, edits, remixes and\nremasters of the same song will each be assigned their own ISRC. However, note\nthat same recording should carry the same ISRC in all countries/territories.\nSongs are identified by analogous [International Standard Musical Work Codes](https://musicbrainz.org/doc/ISWC)\n(ISWCs).", - "fields": null, - "inputFields": null, - "interfaces": null, - "enumValues": null, - "possibleTypes": null - }, - { - "kind": "SCALAR", - "name": "Duration", - "description": "A length of time, in milliseconds.", - "fields": null, - "inputFields": null, - "interfaces": null, - "enumValues": null, - "possibleTypes": null - }, - { - "kind": "ENUM", - "name": "ReleaseGroupType", - "description": "A type used to describe release groups, e.g. album, single, EP,\netc.", - "fields": null, - "inputFields": null, - "interfaces": null, - "enumValues": [ - { - "name": "ALBUM", - "description": "An album, perhaps better defined as a “Long Play” (LP)\nrelease, generally consists of previously unreleased material (unless this type\nis combined with secondary types which change that, such as “Compilation”). This\nincludes album re-issues, with or without bonus tracks.", - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "SINGLE", - "description": "A single typically has one main song and possibly a handful\nof additional tracks or remixes of the main track. A single is usually named\nafter its main song.", - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "EP", - "description": "An EP is a so-called “Extended Play” release and often\ncontains the letters EP in the title. Generally an EP will be shorter than a\nfull length release (an LP or “Long Play”) and the tracks are usually exclusive\nto the EP, in other words the tracks don’t come from a previously issued\nrelease. EP is fairly difficult to define; usually it should only be assumed\nthat a release is an EP if the artist defines it as such.", - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "OTHER", - "description": "Any release that does not fit any of the other categories.", - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "BROADCAST", - "description": "An episodic release that was originally broadcast via radio,\ntelevision, or the Internet, including podcasts.", - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "COMPILATION", - "description": "A compilation is a collection of previously released tracks\nby one or more artists.", - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "SOUNDTRACK", - "description": "A soundtrack is the musical score to a movie, TV series,\nstage show, computer game, etc.", - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "SPOKENWORD", - "description": "A non-music spoken word release.", - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "INTERVIEW", - "description": "An interview release contains an interview, generally with\nan artist.", - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "AUDIOBOOK", - "description": "An audiobook is a book read by a narrator without music.", - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "LIVE", - "description": "A release that was recorded live.", - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "REMIX", - "description": "A release that was (re)mixed from previously released\nmaterial.", - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "DJMIX", - "description": "A DJ-mix is a sequence of several recordings played one\nafter the other, each one modified so that they blend together into a continuous\nflow of music. A DJ mix release requires that the recordings be modified in some\nmanner, and the DJ who does this modification is usually (although not always)\ncredited in a fairly prominent way.", - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "MIXTAPE", - "description": "Promotional in nature (but not necessarily free), mixtapes\nand street albums are often released by artists to promote new artists, or\nupcoming studio albums by prominent artists. They are also sometimes used to\nkeep fans’ attention between studio releases and are most common in rap & hip\nhop genres. They are often not sanctioned by the artist’s label, may lack proper\nsample or song clearances and vary widely in production and recording quality.\nWhile mixtapes are generally DJ-mixed, they are distinct from commercial DJ\nmixes (which are usually deemed compilations) and are defined by having a\nsignificant proportion of new material, including original production or\noriginal vocals over top of other artists’ instrumentals. They are distinct from\ndemos in that they are designed for release directly to the public and fans, not\nto labels.", - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "DEMO", - "description": "A release that was recorded for limited circulation or\nreference use rather than for general public release.", - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "NAT", - "description": "A non-album track (special case).", - "isDeprecated": false, - "deprecationReason": null - } - ], - "possibleTypes": null - }, - { - "kind": "ENUM", - "name": "ReleaseStatus", - "description": "A type used to describe the status of releases, e.g. official,\nbootleg, etc.", - "fields": null, - "inputFields": null, - "interfaces": null, - "enumValues": [ - { - "name": "OFFICIAL", - "description": "Any release officially sanctioned by the artist and/or their\nrecord company. (Most releases will fit into this category.)", - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "PROMOTION", - "description": "A giveaway release or a release intended to promote an\nupcoming official release, e.g. prerelease albums or releases included with a\nmagazine.", - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "BOOTLEG", - "description": "An unofficial/underground release that was not sanctioned by\nthe artist and/or the record company.", - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "PSEUDORELEASE", - "description": "A pseudo-release is a duplicate release for\ntranslation/transliteration purposes.", - "isDeprecated": false, - "deprecationReason": null - } - ], - "possibleTypes": null - }, - { - "kind": "OBJECT", - "name": "ReleaseConnection", - "description": "A connection to a list of items.", - "fields": [ - { - "name": "pageInfo", - "description": "Information to aid in pagination.", - "args": [], - "type": { - "kind": "NON_NULL", - "name": null, - "ofType": { - "kind": "OBJECT", - "name": "PageInfo", - "ofType": null - } - }, - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "edges", - "description": "A list of edges.", - "args": [], - "type": { - "kind": "LIST", - "name": null, - "ofType": { - "kind": "OBJECT", - "name": "ReleaseEdge", - "ofType": null - } - }, - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "nodes", - "description": "A list of nodes in the connection (without going through the\n`edges` field).", - "args": [], - "type": { - "kind": "LIST", - "name": null, - "ofType": { - "kind": "OBJECT", - "name": "Release", - "ofType": null - } - }, - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "totalCount", - "description": "A count of the total number of items in this connection,\nignoring pagination.", - "args": [], - "type": { - "kind": "SCALAR", - "name": "Int", - "ofType": null - }, - "isDeprecated": false, - "deprecationReason": null - } - ], - "inputFields": null, - "interfaces": [], - "enumValues": null, - "possibleTypes": null - }, - { - "kind": "OBJECT", - "name": "ReleaseEdge", - "description": "An edge in a connection.", - "fields": [ - { - "name": "node", - "description": "The item at the end of the edge", - "args": [], - "type": { - "kind": "OBJECT", - "name": "Release", - "ofType": null - }, - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "cursor", - "description": "A cursor for use in pagination", - "args": [], - "type": { - "kind": "NON_NULL", - "name": null, - "ofType": { - "kind": "SCALAR", - "name": "String", - "ofType": null - } - }, - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "score", - "description": "The relevancy score (0–100) assigned by the search engine, if\nthese results were found through a search.", - "args": [], - "type": { - "kind": "SCALAR", - "name": "Int", - "ofType": null - }, - "isDeprecated": false, - "deprecationReason": null - } - ], - "inputFields": null, - "interfaces": [], - "enumValues": null, - "possibleTypes": null - }, - { - "kind": "OBJECT", - "name": "Release", - "description": "A [release](https://musicbrainz.org/doc/Release) represents the\nunique release (i.e. issuing) of a product on a specific date with specific\nrelease information such as the country, label, barcode, packaging, etc. If you\nwalk into a store and purchase an album or single, they’re each represented in\nMusicBrainz as one release.", - "fields": [ - { - "name": "id", - "description": "The ID of an object", - "args": [], - "type": { - "kind": "NON_NULL", - "name": null, - "ofType": { - "kind": "SCALAR", - "name": "ID", - "ofType": null - } - }, - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "mbid", - "description": "The MBID of the entity.", - "args": [], - "type": { - "kind": "NON_NULL", - "name": null, - "ofType": { - "kind": "SCALAR", - "name": "MBID", - "ofType": null - } - }, - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "title", - "description": "The official title of the entity.", - "args": [], - "type": { - "kind": "SCALAR", - "name": "String", - "ofType": null - }, - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "disambiguation", - "description": "A comment used to help distinguish identically named entitites.", - "args": [], - "type": { - "kind": "SCALAR", - "name": "String", - "ofType": null - }, - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "aliases", - "description": "[Aliases](https://musicbrainz.org/doc/Aliases) are used to store\nalternate names or misspellings.", - "args": [], - "type": { - "kind": "LIST", - "name": null, - "ofType": { - "kind": "OBJECT", - "name": "Alias", - "ofType": null - } - }, - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "artistCredit", - "description": "The main credited artist(s).", - "args": [], - "type": { - "kind": "LIST", - "name": null, - "ofType": { - "kind": "OBJECT", - "name": "ArtistCredit", - "ofType": null - } - }, - "isDeprecated": true, - "deprecationReason": "The `artistCredit` field has been renamed to\n`artistCredits`, since it is a list of credits and is referred to in the\nplural form throughout the MusicBrainz documentation. This field is deprecated\nand will be removed in a major release in the future. Use the equivalent\n`artistCredits` field." - }, - { - "name": "artistCredits", - "description": "The main credited artist(s).", - "args": [], - "type": { - "kind": "LIST", - "name": null, - "ofType": { - "kind": "OBJECT", - "name": "ArtistCredit", - "ofType": null - } - }, - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "releaseEvents", - "description": "The release events for this release.", - "args": [], - "type": { - "kind": "LIST", - "name": null, - "ofType": { - "kind": "OBJECT", - "name": "ReleaseEvent", - "ofType": null - } - }, - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "date", - "description": "The [release date](https://musicbrainz.org/doc/Release/Date)\nis the date in which a release was made available through some sort of\ndistribution mechanism.", - "args": [], - "type": { - "kind": "SCALAR", - "name": "Date", - "ofType": null - }, - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "country", - "description": "The country in which the release was issued.", - "args": [], - "type": { - "kind": "SCALAR", - "name": "String", - "ofType": null - }, - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "asin", - "description": "The [Amazon Standard Identification Number](https://musicbrainz.org/doc/ASIN)\nof the release.", - "args": [], - "type": { - "kind": "SCALAR", - "name": "ASIN", - "ofType": null - }, - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "barcode", - "description": "The [barcode](https://en.wikipedia.org/wiki/Barcode), if the\nrelease has one. The most common types found on releases are 12-digit\n[UPCs](https://en.wikipedia.org/wiki/Universal_Product_Code) and 13-digit\n[EANs](https://en.wikipedia.org/wiki/International_Article_Number).", - "args": [], - "type": { - "kind": "SCALAR", - "name": "String", - "ofType": null - }, - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "status", - "description": "The status describes how “official” a release is.", - "args": [], - "type": { - "kind": "ENUM", - "name": "ReleaseStatus", - "ofType": null - }, - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "statusID", - "description": "The MBID associated with the value of the `status`\nfield.", - "args": [], - "type": { - "kind": "SCALAR", - "name": "MBID", - "ofType": null - }, - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "packaging", - "description": "The physical packaging that accompanies the release. See\nthe [list of packaging](https://musicbrainz.org/doc/Release/Packaging) for more\ninformation.", - "args": [], - "type": { - "kind": "SCALAR", - "name": "String", - "ofType": null - }, - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "packagingID", - "description": "The MBID associated with the value of the `packaging`\nfield.", - "args": [], - "type": { - "kind": "SCALAR", - "name": "MBID", - "ofType": null - }, - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "quality", - "description": "Data quality indicates how good the data for a release is.\nIt is not a mark of how good or bad the music itself is – for that, use\n[ratings](https://musicbrainz.org/doc/Rating_System).", - "args": [], - "type": { - "kind": "SCALAR", - "name": "String", - "ofType": null - }, - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "media", - "description": "The media on which the release was distributed.", - "args": [], - "type": { - "kind": "LIST", - "name": null, - "ofType": { - "kind": "OBJECT", - "name": "Medium", - "ofType": null - } - }, - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "artists", - "description": "A list of artists linked to this entity.", - "args": [ - { - "name": "after", - "description": null, - "type": { - "kind": "SCALAR", - "name": "String", - "ofType": null - }, - "defaultValue": null - }, - { - "name": "first", - "description": null, - "type": { - "kind": "SCALAR", - "name": "Int", - "ofType": null - }, - "defaultValue": null - } - ], - "type": { - "kind": "OBJECT", - "name": "ArtistConnection", - "ofType": null - }, - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "labels", - "description": "A list of labels linked to this entity.", - "args": [ - { - "name": "after", - "description": null, - "type": { - "kind": "SCALAR", - "name": "String", - "ofType": null - }, - "defaultValue": null - }, - { - "name": "first", - "description": null, - "type": { - "kind": "SCALAR", - "name": "Int", - "ofType": null - }, - "defaultValue": null - } - ], - "type": { - "kind": "OBJECT", - "name": "LabelConnection", - "ofType": null - }, - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "recordings", - "description": "A list of recordings linked to this entity.", - "args": [ - { - "name": "after", - "description": null, - "type": { - "kind": "SCALAR", - "name": "String", - "ofType": null - }, - "defaultValue": null - }, - { - "name": "first", - "description": null, - "type": { - "kind": "SCALAR", - "name": "Int", - "ofType": null - }, - "defaultValue": null - } - ], - "type": { - "kind": "OBJECT", - "name": "RecordingConnection", - "ofType": null - }, - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "releaseGroups", - "description": "A list of release groups linked to this entity.", - "args": [ - { - "name": "type", - "description": "Filter by one or more release group types.", - "type": { - "kind": "LIST", - "name": null, - "ofType": { - "kind": "ENUM", - "name": "ReleaseGroupType", - "ofType": null - } - }, - "defaultValue": null - }, - { - "name": "after", - "description": null, - "type": { - "kind": "SCALAR", - "name": "String", - "ofType": null - }, - "defaultValue": null - }, - { - "name": "first", - "description": null, - "type": { - "kind": "SCALAR", - "name": "Int", - "ofType": null - }, - "defaultValue": null - } - ], - "type": { - "kind": "OBJECT", - "name": "ReleaseGroupConnection", - "ofType": null - }, - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "relationships", - "description": "Relationships between this entity and other entitites.", - "args": [], - "type": { - "kind": "OBJECT", - "name": "Relationships", - "ofType": null - }, - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "collections", - "description": "A list of collections containing this entity.", - "args": [ - { - "name": "after", - "description": null, - "type": { - "kind": "SCALAR", - "name": "String", - "ofType": null - }, - "defaultValue": null - }, - { - "name": "first", - "description": null, - "type": { - "kind": "SCALAR", - "name": "Int", - "ofType": null - }, - "defaultValue": null - } - ], - "type": { - "kind": "OBJECT", - "name": "CollectionConnection", - "ofType": null - }, - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "tags", - "description": "A list of tags linked to this entity.", - "args": [ - { - "name": "after", - "description": null, - "type": { - "kind": "SCALAR", - "name": "String", - "ofType": null - }, - "defaultValue": null - }, - { - "name": "first", - "description": null, - "type": { - "kind": "SCALAR", - "name": "Int", - "ofType": null - }, - "defaultValue": null - } - ], - "type": { - "kind": "OBJECT", - "name": "TagConnection", - "ofType": null - }, - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "coverArtArchive", - "description": "An object containing a list and summary of the cover art images that are\npresent for this release from the [Cover Art Archive](https://musicbrainz.org/doc/Cover_Art_Archive).\nThis field is provided by the Cover Art Archive extension.", - "args": [], - "type": { - "kind": "OBJECT", - "name": "CoverArtArchiveRelease", - "ofType": null - }, - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "discogs", - "description": "Information about the release on Discogs.", - "args": [], - "type": { - "kind": "OBJECT", - "name": "DiscogsRelease", - "ofType": null - }, - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "lastFM", - "description": "Data about the release from [Last.fm](https://www.last.fm/), a good source\nfor measuring popularity via listener and play counts. This field is\nprovided by the Last.fm extension.", - "args": [], - "type": { - "kind": "OBJECT", - "name": "LastFMAlbum", - "ofType": null - }, - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "spotify", - "description": "The release’s entry on Spotify.", - "args": [ - { - "name": "strategy", - "description": "The strategies to use to match the release with a Spotify album, in\npreferential order.", - "type": { - "kind": "LIST", - "name": null, - "ofType": { - "kind": "NON_NULL", - "name": null, - "ofType": { - "kind": "ENUM", - "name": "SpotifyMatchStrategy", - "ofType": null - } - } - }, - "defaultValue": "[URL, EXTERNALID]" - } - ], - "type": { - "kind": "OBJECT", - "name": "SpotifyAlbum", - "ofType": null - }, - "isDeprecated": false, - "deprecationReason": null - } - ], - "inputFields": null, - "interfaces": [ - { - "kind": "INTERFACE", - "name": "Node", - "ofType": null - }, - { - "kind": "INTERFACE", - "name": "Entity", - "ofType": null - } - ], - "enumValues": null, - "possibleTypes": null - }, - { - "kind": "OBJECT", - "name": "ReleaseEvent", - "description": "The date on which a release was issued in a country/region with\na particular label, catalog number, barcode, and format.", - "fields": [ - { - "name": "area", - "description": null, - "args": [], - "type": { - "kind": "OBJECT", - "name": "Area", - "ofType": null - }, - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "date", - "description": null, - "args": [], - "type": { - "kind": "SCALAR", - "name": "Date", - "ofType": null - }, - "isDeprecated": false, - "deprecationReason": null - } - ], - "inputFields": null, - "interfaces": [], - "enumValues": null, - "possibleTypes": null - }, - { - "kind": "SCALAR", - "name": "ASIN", - "description": "An [Amazon Standard Identification Number](https://musicbrainz.org/doc/ASIN)\n(ASIN) is a 10-character alphanumeric unique identifier assigned by Amazon.com\nand its partners for product identification within the Amazon organization.", - "fields": null, - "inputFields": null, - "interfaces": null, - "enumValues": null, - "possibleTypes": null - }, - { - "kind": "OBJECT", - "name": "Medium", - "description": "A medium is the actual physical medium the audio content is\nstored upon. This means that each CD in a multi-disc release will be entered as\nseparate mediums within the release, and that both sides of a vinyl record or\ncassette will exist on one medium. Mediums have a format (e.g. CD, DVD, vinyl,\ncassette) and can optionally also have a title.", - "fields": [ - { - "name": "title", - "description": "The title of this particular medium.", - "args": [], - "type": { - "kind": "SCALAR", - "name": "String", - "ofType": null - }, - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "format", - "description": "The [format](https://musicbrainz.org/doc/Release/Format) of\nthe medium (e.g. CD, DVD, vinyl, cassette).", - "args": [], - "type": { - "kind": "SCALAR", - "name": "String", - "ofType": null - }, - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "formatID", - "description": "The MBID associated with the value of the `format`\nfield.", - "args": [], - "type": { - "kind": "SCALAR", - "name": "MBID", - "ofType": null - }, - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "position", - "description": "The order of this medium in the release (for example, in a\nmulti-disc release).", - "args": [], - "type": { - "kind": "SCALAR", - "name": "Int", - "ofType": null - }, - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "trackCount", - "description": "The number of audio tracks on this medium.", - "args": [], - "type": { - "kind": "SCALAR", - "name": "Int", - "ofType": null - }, - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "discs", - "description": "A list of physical discs and their disc IDs for this medium.", - "args": [], - "type": { - "kind": "LIST", - "name": null, - "ofType": { - "kind": "OBJECT", - "name": "Disc", - "ofType": null - } - }, - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "tracks", - "description": "The list of tracks on the given media.", - "args": [], - "type": { - "kind": "LIST", - "name": null, - "ofType": { - "kind": "OBJECT", - "name": "Track", - "ofType": null - } - }, - "isDeprecated": false, - "deprecationReason": null - } - ], - "inputFields": null, - "interfaces": [], - "enumValues": null, - "possibleTypes": null - }, - { - "kind": "OBJECT", - "name": "Disc", - "description": "Information about the physical CD and releases associated with a\nparticular [disc ID](https://musicbrainz.org/doc/Disc_ID).", - "fields": [ - { - "name": "id", - "description": "The ID of an object", - "args": [], - "type": { - "kind": "NON_NULL", - "name": null, - "ofType": { - "kind": "SCALAR", - "name": "ID", - "ofType": null - } - }, - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "discID", - "description": "The [disc ID](https://musicbrainz.org/doc/Disc_ID) of this disc.", - "args": [], - "type": { - "kind": "NON_NULL", - "name": null, - "ofType": { - "kind": "SCALAR", - "name": "DiscID", - "ofType": null - } - }, - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "offsetCount", - "description": "The number of offsets (tracks) on the disc.", - "args": [], - "type": { - "kind": "NON_NULL", - "name": null, - "ofType": { - "kind": "SCALAR", - "name": "Int", - "ofType": null - } - }, - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "offsets", - "description": "The sector offset of each track on the disc.", - "args": [], - "type": { - "kind": "LIST", - "name": null, - "ofType": { - "kind": "SCALAR", - "name": "Int", - "ofType": null - } - }, - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "sectors", - "description": "The sector offset of the lead-out (the end of the disc).", - "args": [], - "type": { - "kind": "NON_NULL", - "name": null, - "ofType": { - "kind": "SCALAR", - "name": "Int", - "ofType": null - } - }, - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "releases", - "description": "The list of releases linked to this disc ID.", - "args": [ - { - "name": "after", - "description": null, - "type": { - "kind": "SCALAR", - "name": "String", - "ofType": null - }, - "defaultValue": null - }, - { - "name": "first", - "description": null, - "type": { - "kind": "SCALAR", - "name": "Int", - "ofType": null - }, - "defaultValue": null - } - ], - "type": { - "kind": "OBJECT", - "name": "ReleaseConnection", - "ofType": null - }, - "isDeprecated": false, - "deprecationReason": null - } - ], - "inputFields": null, - "interfaces": [ - { - "kind": "INTERFACE", - "name": "Node", - "ofType": null - } - ], - "enumValues": null, - "possibleTypes": null - }, - { - "kind": "SCALAR", - "name": "DiscID", - "description": "[Disc ID](https://musicbrainz.org/doc/Disc_ID) is the code\nnumber which MusicBrainz uses to link a physical CD to a [release](https://musicbrainz.org/doc/Release)\nlisting.\n\nA release may have any number of disc IDs, and a disc ID may be linked to\nmultiple releases. This is because disc ID calculation involves a hash of the\nframe offsets of the CD tracks.\n\nDifferent pressing of a CD often have slightly different frame offsets, and\nhence different disc IDs.\n\nConversely, two different CDs may happen to have exactly the same set of frame\noffsets and hence the same disc ID.", - "fields": null, - "inputFields": null, - "interfaces": null, - "enumValues": null, - "possibleTypes": null - }, - { - "kind": "OBJECT", - "name": "Track", - "description": "A track is the way a recording is represented on a particular\n release (or, more exactly, on a particular medium). Every track has a title\n (see the guidelines for titles) and is credited to one or more artists.", - "fields": [ - { - "name": "mbid", - "description": "The MBID of the entity.", - "args": [], - "type": { - "kind": "NON_NULL", - "name": null, - "ofType": { - "kind": "SCALAR", - "name": "MBID", - "ofType": null - } - }, - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "title", - "description": "The official title of the entity.", - "args": [], - "type": { - "kind": "SCALAR", - "name": "String", - "ofType": null - }, - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "position", - "description": "The track’s position on the overall release (including all\ntracks from all discs).", - "args": [], - "type": { - "kind": "SCALAR", - "name": "Int", - "ofType": null - }, - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "number", - "description": "The track number, which may include information about the\ndisc or side it appears on, e.g. “A1” or “B3”.", - "args": [], - "type": { - "kind": "SCALAR", - "name": "String", - "ofType": null - }, - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "length", - "description": "The length of the track.", - "args": [], - "type": { - "kind": "SCALAR", - "name": "Duration", - "ofType": null - }, - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "recording", - "description": "The recording that appears on the track.", - "args": [], - "type": { - "kind": "OBJECT", - "name": "Recording", - "ofType": null - }, - "isDeprecated": false, - "deprecationReason": null - } - ], - "inputFields": null, - "interfaces": [ - { - "kind": "INTERFACE", - "name": "Entity", - "ofType": null - } - ], - "enumValues": null, - "possibleTypes": null - }, - { - "kind": "OBJECT", - "name": "LabelConnection", - "description": "A connection to a list of items.", - "fields": [ - { - "name": "pageInfo", - "description": "Information to aid in pagination.", - "args": [], - "type": { - "kind": "NON_NULL", - "name": null, - "ofType": { - "kind": "OBJECT", - "name": "PageInfo", - "ofType": null - } - }, - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "edges", - "description": "A list of edges.", - "args": [], - "type": { - "kind": "LIST", - "name": null, - "ofType": { - "kind": "OBJECT", - "name": "LabelEdge", - "ofType": null - } - }, - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "nodes", - "description": "A list of nodes in the connection (without going through the\n`edges` field).", - "args": [], - "type": { - "kind": "LIST", - "name": null, - "ofType": { - "kind": "OBJECT", - "name": "Label", - "ofType": null - } - }, - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "totalCount", - "description": "A count of the total number of items in this connection,\nignoring pagination.", - "args": [], - "type": { - "kind": "SCALAR", - "name": "Int", - "ofType": null - }, - "isDeprecated": false, - "deprecationReason": null - } - ], - "inputFields": null, - "interfaces": [], - "enumValues": null, - "possibleTypes": null - }, - { - "kind": "OBJECT", - "name": "LabelEdge", - "description": "An edge in a connection.", - "fields": [ - { - "name": "node", - "description": "The item at the end of the edge", - "args": [], - "type": { - "kind": "OBJECT", - "name": "Label", - "ofType": null - }, - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "cursor", - "description": "A cursor for use in pagination", - "args": [], - "type": { - "kind": "NON_NULL", - "name": null, - "ofType": { - "kind": "SCALAR", - "name": "String", - "ofType": null - } - }, - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "score", - "description": "The relevancy score (0–100) assigned by the search engine, if\nthese results were found through a search.", - "args": [], - "type": { - "kind": "SCALAR", - "name": "Int", - "ofType": null - }, - "isDeprecated": false, - "deprecationReason": null - } - ], - "inputFields": null, - "interfaces": [], - "enumValues": null, - "possibleTypes": null - }, - { - "kind": "OBJECT", - "name": "Label", - "description": "[Labels](https://musicbrainz.org/doc/Label) represent mostly\n(but not only) imprints. To a lesser extent, a label entity may be created to\nrepresent a record company.", - "fields": [ - { - "name": "id", - "description": "The ID of an object", - "args": [], - "type": { - "kind": "NON_NULL", - "name": null, - "ofType": { - "kind": "SCALAR", - "name": "ID", - "ofType": null - } - }, - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "mbid", - "description": "The MBID of the entity.", - "args": [], - "type": { - "kind": "NON_NULL", - "name": null, - "ofType": { - "kind": "SCALAR", - "name": "MBID", - "ofType": null - } - }, - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "name", - "description": "The official name of the entity.", - "args": [], - "type": { - "kind": "SCALAR", - "name": "String", - "ofType": null - }, - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "sortName", - "description": "The string to use for the purpose of ordering by name (for\nexample, by moving articles like ‘the’ to the end or a person’s last name to\nthe front).", - "args": [], - "type": { - "kind": "SCALAR", - "name": "String", - "ofType": null - }, - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "disambiguation", - "description": "A comment used to help distinguish identically named entitites.", - "args": [], - "type": { - "kind": "SCALAR", - "name": "String", - "ofType": null - }, - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "aliases", - "description": "[Aliases](https://musicbrainz.org/doc/Aliases) are used to store\nalternate names or misspellings.", - "args": [], - "type": { - "kind": "LIST", - "name": null, - "ofType": { - "kind": "OBJECT", - "name": "Alias", - "ofType": null - } - }, - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "country", - "description": "The country of origin for the label.", - "args": [], - "type": { - "kind": "SCALAR", - "name": "String", - "ofType": null - }, - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "area", - "description": "The area in which the label is based.", - "args": [], - "type": { - "kind": "OBJECT", - "name": "Area", - "ofType": null - }, - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "lifeSpan", - "description": "The begin and end dates of the entity’s existence. Its exact\nmeaning depends on the type of entity.", - "args": [], - "type": { - "kind": "OBJECT", - "name": "LifeSpan", - "ofType": null - }, - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "labelCode", - "description": "The [“LC” code](https://musicbrainz.org/doc/Label/Label_Code)\nof the label.", - "args": [], - "type": { - "kind": "SCALAR", - "name": "Int", - "ofType": null - }, - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "ipis", - "description": "List of [Interested Parties Information](https://musicbrainz.org/doc/IPI)\ncodes for the label.", - "args": [], - "type": { - "kind": "LIST", - "name": null, - "ofType": { - "kind": "SCALAR", - "name": "IPI", - "ofType": null - } - }, - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "type", - "description": "A type describing the main activity of the label, e.g.\nimprint, production, distributor, rights society, etc.", - "args": [], - "type": { - "kind": "SCALAR", - "name": "String", - "ofType": null - }, - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "typeID", - "description": "The MBID associated with the value of the `type`\nfield.", - "args": [], - "type": { - "kind": "SCALAR", - "name": "MBID", - "ofType": null - }, - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "releases", - "description": "A list of releases linked to this entity.", - "args": [ - { - "name": "type", - "description": "Filter by one or more release group types.", - "type": { - "kind": "LIST", - "name": null, - "ofType": { - "kind": "ENUM", - "name": "ReleaseGroupType", - "ofType": null - } - }, - "defaultValue": null - }, - { - "name": "status", - "description": "Filter by one or more release statuses.", - "type": { - "kind": "LIST", - "name": null, - "ofType": { - "kind": "ENUM", - "name": "ReleaseStatus", - "ofType": null - } - }, - "defaultValue": null - }, - { - "name": "after", - "description": null, - "type": { - "kind": "SCALAR", - "name": "String", - "ofType": null - }, - "defaultValue": null - }, - { - "name": "first", - "description": null, - "type": { - "kind": "SCALAR", - "name": "Int", - "ofType": null - }, - "defaultValue": null - } - ], - "type": { - "kind": "OBJECT", - "name": "ReleaseConnection", - "ofType": null - }, - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "relationships", - "description": "Relationships between this entity and other entitites.", - "args": [], - "type": { - "kind": "OBJECT", - "name": "Relationships", - "ofType": null - }, - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "collections", - "description": "A list of collections containing this entity.", - "args": [ - { - "name": "after", - "description": null, - "type": { - "kind": "SCALAR", - "name": "String", - "ofType": null - }, - "defaultValue": null - }, - { - "name": "first", - "description": null, - "type": { - "kind": "SCALAR", - "name": "Int", - "ofType": null - }, - "defaultValue": null - } - ], - "type": { - "kind": "OBJECT", - "name": "CollectionConnection", - "ofType": null - }, - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "rating", - "description": "The rating users have given to this entity.", - "args": [], - "type": { - "kind": "OBJECT", - "name": "Rating", - "ofType": null - }, - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "tags", - "description": "A list of tags linked to this entity.", - "args": [ - { - "name": "after", - "description": null, - "type": { - "kind": "SCALAR", - "name": "String", - "ofType": null - }, - "defaultValue": null - }, - { - "name": "first", - "description": null, - "type": { - "kind": "SCALAR", - "name": "Int", - "ofType": null - }, - "defaultValue": null - } - ], - "type": { - "kind": "OBJECT", - "name": "TagConnection", - "ofType": null - }, - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "fanArt", - "description": "Images of the label from [fanart.tv](https://fanart.tv/).\nThis field is provided by the fanart.tv extension.", - "args": [], - "type": { - "kind": "OBJECT", - "name": "FanArtLabel", - "ofType": null - }, - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "mediaWikiImages", - "description": "Label images found at MediaWiki URLs in the label’s URL relationships.\nDefaults to URL relationships with the type “logo”.\nThis field is provided by the MediaWiki extension.", - "args": [ - { - "name": "type", - "description": "The type of URL relationship that will be selected to find images. See the\npossible [Label-URL relationship types](https://musicbrainz.org/relationships/label-url).", - "type": { - "kind": "SCALAR", - "name": "String", - "ofType": null - }, - "defaultValue": "\"logo\"" - } - ], - "type": { - "kind": "NON_NULL", - "name": null, - "ofType": { - "kind": "LIST", - "name": null, - "ofType": { - "kind": "OBJECT", - "name": "MediaWikiImage", - "ofType": null - } - } - }, - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "discogs", - "description": "Information about the label on Discogs.", - "args": [], - "type": { - "kind": "OBJECT", - "name": "DiscogsLabel", - "ofType": null - }, - "isDeprecated": false, - "deprecationReason": null - } - ], - "inputFields": null, - "interfaces": [ - { - "kind": "INTERFACE", - "name": "Node", - "ofType": null - }, - { - "kind": "INTERFACE", - "name": "Entity", - "ofType": null - } - ], - "enumValues": null, - "possibleTypes": null - }, - { - "kind": "OBJECT", - "name": "Relationships", - "description": "Lists of entity relationships for each entity type.", - "fields": [ - { - "name": "areas", - "description": "A list of relationships between these two entity types.", - "args": [ - { - "name": "direction", - "description": "Filter by the relationship direction.", - "type": { - "kind": "SCALAR", - "name": "String", - "ofType": null - }, - "defaultValue": null - }, - { - "name": "type", - "description": "Filter by the relationship type.", - "type": { - "kind": "SCALAR", - "name": "String", - "ofType": null - }, - "defaultValue": null - }, - { - "name": "typeID", - "description": "The MBID associated with the value of the `type`\nfield.", - "type": { - "kind": "SCALAR", - "name": "MBID", - "ofType": null - }, - "defaultValue": null - }, - { - "name": "after", - "description": null, - "type": { - "kind": "SCALAR", - "name": "String", - "ofType": null - }, - "defaultValue": null - }, - { - "name": "first", - "description": null, - "type": { - "kind": "SCALAR", - "name": "Int", - "ofType": null - }, - "defaultValue": null - }, - { - "name": "before", - "description": null, - "type": { - "kind": "SCALAR", - "name": "String", - "ofType": null - }, - "defaultValue": null - }, - { - "name": "last", - "description": null, - "type": { - "kind": "SCALAR", - "name": "Int", - "ofType": null - }, - "defaultValue": null - } - ], - "type": { - "kind": "OBJECT", - "name": "RelationshipConnection", - "ofType": null - }, - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "artists", - "description": "A list of relationships between these two entity types.", - "args": [ - { - "name": "direction", - "description": "Filter by the relationship direction.", - "type": { - "kind": "SCALAR", - "name": "String", - "ofType": null - }, - "defaultValue": null - }, - { - "name": "type", - "description": "Filter by the relationship type.", - "type": { - "kind": "SCALAR", - "name": "String", - "ofType": null - }, - "defaultValue": null - }, - { - "name": "typeID", - "description": "The MBID associated with the value of the `type`\nfield.", - "type": { - "kind": "SCALAR", - "name": "MBID", - "ofType": null - }, - "defaultValue": null - }, - { - "name": "after", - "description": null, - "type": { - "kind": "SCALAR", - "name": "String", - "ofType": null - }, - "defaultValue": null - }, - { - "name": "first", - "description": null, - "type": { - "kind": "SCALAR", - "name": "Int", - "ofType": null - }, - "defaultValue": null - }, - { - "name": "before", - "description": null, - "type": { - "kind": "SCALAR", - "name": "String", - "ofType": null - }, - "defaultValue": null - }, - { - "name": "last", - "description": null, - "type": { - "kind": "SCALAR", - "name": "Int", - "ofType": null - }, - "defaultValue": null - } - ], - "type": { - "kind": "OBJECT", - "name": "RelationshipConnection", - "ofType": null - }, - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "events", - "description": "A list of relationships between these two entity types.", - "args": [ - { - "name": "direction", - "description": "Filter by the relationship direction.", - "type": { - "kind": "SCALAR", - "name": "String", - "ofType": null - }, - "defaultValue": null - }, - { - "name": "type", - "description": "Filter by the relationship type.", - "type": { - "kind": "SCALAR", - "name": "String", - "ofType": null - }, - "defaultValue": null - }, - { - "name": "typeID", - "description": "The MBID associated with the value of the `type`\nfield.", - "type": { - "kind": "SCALAR", - "name": "MBID", - "ofType": null - }, - "defaultValue": null - }, - { - "name": "after", - "description": null, - "type": { - "kind": "SCALAR", - "name": "String", - "ofType": null - }, - "defaultValue": null - }, - { - "name": "first", - "description": null, - "type": { - "kind": "SCALAR", - "name": "Int", - "ofType": null - }, - "defaultValue": null - }, - { - "name": "before", - "description": null, - "type": { - "kind": "SCALAR", - "name": "String", - "ofType": null - }, - "defaultValue": null - }, - { - "name": "last", - "description": null, - "type": { - "kind": "SCALAR", - "name": "Int", - "ofType": null - }, - "defaultValue": null - } - ], - "type": { - "kind": "OBJECT", - "name": "RelationshipConnection", - "ofType": null - }, - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "instruments", - "description": "A list of relationships between these two entity types.", - "args": [ - { - "name": "direction", - "description": "Filter by the relationship direction.", - "type": { - "kind": "SCALAR", - "name": "String", - "ofType": null - }, - "defaultValue": null - }, - { - "name": "type", - "description": "Filter by the relationship type.", - "type": { - "kind": "SCALAR", - "name": "String", - "ofType": null - }, - "defaultValue": null - }, - { - "name": "typeID", - "description": "The MBID associated with the value of the `type`\nfield.", - "type": { - "kind": "SCALAR", - "name": "MBID", - "ofType": null - }, - "defaultValue": null - }, - { - "name": "after", - "description": null, - "type": { - "kind": "SCALAR", - "name": "String", - "ofType": null - }, - "defaultValue": null - }, - { - "name": "first", - "description": null, - "type": { - "kind": "SCALAR", - "name": "Int", - "ofType": null - }, - "defaultValue": null - }, - { - "name": "before", - "description": null, - "type": { - "kind": "SCALAR", - "name": "String", - "ofType": null - }, - "defaultValue": null - }, - { - "name": "last", - "description": null, - "type": { - "kind": "SCALAR", - "name": "Int", - "ofType": null - }, - "defaultValue": null - } - ], - "type": { - "kind": "OBJECT", - "name": "RelationshipConnection", - "ofType": null - }, - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "labels", - "description": "A list of relationships between these two entity types.", - "args": [ - { - "name": "direction", - "description": "Filter by the relationship direction.", - "type": { - "kind": "SCALAR", - "name": "String", - "ofType": null - }, - "defaultValue": null - }, - { - "name": "type", - "description": "Filter by the relationship type.", - "type": { - "kind": "SCALAR", - "name": "String", - "ofType": null - }, - "defaultValue": null - }, - { - "name": "typeID", - "description": "The MBID associated with the value of the `type`\nfield.", - "type": { - "kind": "SCALAR", - "name": "MBID", - "ofType": null - }, - "defaultValue": null - }, - { - "name": "after", - "description": null, - "type": { - "kind": "SCALAR", - "name": "String", - "ofType": null - }, - "defaultValue": null - }, - { - "name": "first", - "description": null, - "type": { - "kind": "SCALAR", - "name": "Int", - "ofType": null - }, - "defaultValue": null - }, - { - "name": "before", - "description": null, - "type": { - "kind": "SCALAR", - "name": "String", - "ofType": null - }, - "defaultValue": null - }, - { - "name": "last", - "description": null, - "type": { - "kind": "SCALAR", - "name": "Int", - "ofType": null - }, - "defaultValue": null - } - ], - "type": { - "kind": "OBJECT", - "name": "RelationshipConnection", - "ofType": null - }, - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "places", - "description": "A list of relationships between these two entity types.", - "args": [ - { - "name": "direction", - "description": "Filter by the relationship direction.", - "type": { - "kind": "SCALAR", - "name": "String", - "ofType": null - }, - "defaultValue": null - }, - { - "name": "type", - "description": "Filter by the relationship type.", - "type": { - "kind": "SCALAR", - "name": "String", - "ofType": null - }, - "defaultValue": null - }, - { - "name": "typeID", - "description": "The MBID associated with the value of the `type`\nfield.", - "type": { - "kind": "SCALAR", - "name": "MBID", - "ofType": null - }, - "defaultValue": null - }, - { - "name": "after", - "description": null, - "type": { - "kind": "SCALAR", - "name": "String", - "ofType": null - }, - "defaultValue": null - }, - { - "name": "first", - "description": null, - "type": { - "kind": "SCALAR", - "name": "Int", - "ofType": null - }, - "defaultValue": null - }, - { - "name": "before", - "description": null, - "type": { - "kind": "SCALAR", - "name": "String", - "ofType": null - }, - "defaultValue": null - }, - { - "name": "last", - "description": null, - "type": { - "kind": "SCALAR", - "name": "Int", - "ofType": null - }, - "defaultValue": null - } - ], - "type": { - "kind": "OBJECT", - "name": "RelationshipConnection", - "ofType": null - }, - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "recordings", - "description": "A list of relationships between these two entity types.", - "args": [ - { - "name": "direction", - "description": "Filter by the relationship direction.", - "type": { - "kind": "SCALAR", - "name": "String", - "ofType": null - }, - "defaultValue": null - }, - { - "name": "type", - "description": "Filter by the relationship type.", - "type": { - "kind": "SCALAR", - "name": "String", - "ofType": null - }, - "defaultValue": null - }, - { - "name": "typeID", - "description": "The MBID associated with the value of the `type`\nfield.", - "type": { - "kind": "SCALAR", - "name": "MBID", - "ofType": null - }, - "defaultValue": null - }, - { - "name": "after", - "description": null, - "type": { - "kind": "SCALAR", - "name": "String", - "ofType": null - }, - "defaultValue": null - }, - { - "name": "first", - "description": null, - "type": { - "kind": "SCALAR", - "name": "Int", - "ofType": null - }, - "defaultValue": null - }, - { - "name": "before", - "description": null, - "type": { - "kind": "SCALAR", - "name": "String", - "ofType": null - }, - "defaultValue": null - }, - { - "name": "last", - "description": null, - "type": { - "kind": "SCALAR", - "name": "Int", - "ofType": null - }, - "defaultValue": null - } - ], - "type": { - "kind": "OBJECT", - "name": "RelationshipConnection", - "ofType": null - }, - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "releases", - "description": "A list of relationships between these two entity types.", - "args": [ - { - "name": "direction", - "description": "Filter by the relationship direction.", - "type": { - "kind": "SCALAR", - "name": "String", - "ofType": null - }, - "defaultValue": null - }, - { - "name": "type", - "description": "Filter by the relationship type.", - "type": { - "kind": "SCALAR", - "name": "String", - "ofType": null - }, - "defaultValue": null - }, - { - "name": "typeID", - "description": "The MBID associated with the value of the `type`\nfield.", - "type": { - "kind": "SCALAR", - "name": "MBID", - "ofType": null - }, - "defaultValue": null - }, - { - "name": "after", - "description": null, - "type": { - "kind": "SCALAR", - "name": "String", - "ofType": null - }, - "defaultValue": null - }, - { - "name": "first", - "description": null, - "type": { - "kind": "SCALAR", - "name": "Int", - "ofType": null - }, - "defaultValue": null - }, - { - "name": "before", - "description": null, - "type": { - "kind": "SCALAR", - "name": "String", - "ofType": null - }, - "defaultValue": null - }, - { - "name": "last", - "description": null, - "type": { - "kind": "SCALAR", - "name": "Int", - "ofType": null - }, - "defaultValue": null - } - ], - "type": { - "kind": "OBJECT", - "name": "RelationshipConnection", - "ofType": null - }, - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "releaseGroups", - "description": "A list of relationships between these two entity types.", - "args": [ - { - "name": "direction", - "description": "Filter by the relationship direction.", - "type": { - "kind": "SCALAR", - "name": "String", - "ofType": null - }, - "defaultValue": null - }, - { - "name": "type", - "description": "Filter by the relationship type.", - "type": { - "kind": "SCALAR", - "name": "String", - "ofType": null - }, - "defaultValue": null - }, - { - "name": "typeID", - "description": "The MBID associated with the value of the `type`\nfield.", - "type": { - "kind": "SCALAR", - "name": "MBID", - "ofType": null - }, - "defaultValue": null - }, - { - "name": "after", - "description": null, - "type": { - "kind": "SCALAR", - "name": "String", - "ofType": null - }, - "defaultValue": null - }, - { - "name": "first", - "description": null, - "type": { - "kind": "SCALAR", - "name": "Int", - "ofType": null - }, - "defaultValue": null - }, - { - "name": "before", - "description": null, - "type": { - "kind": "SCALAR", - "name": "String", - "ofType": null - }, - "defaultValue": null - }, - { - "name": "last", - "description": null, - "type": { - "kind": "SCALAR", - "name": "Int", - "ofType": null - }, - "defaultValue": null - } - ], - "type": { - "kind": "OBJECT", - "name": "RelationshipConnection", - "ofType": null - }, - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "series", - "description": "A list of relationships between these two entity types.", - "args": [ - { - "name": "direction", - "description": "Filter by the relationship direction.", - "type": { - "kind": "SCALAR", - "name": "String", - "ofType": null - }, - "defaultValue": null - }, - { - "name": "type", - "description": "Filter by the relationship type.", - "type": { - "kind": "SCALAR", - "name": "String", - "ofType": null - }, - "defaultValue": null - }, - { - "name": "typeID", - "description": "The MBID associated with the value of the `type`\nfield.", - "type": { - "kind": "SCALAR", - "name": "MBID", - "ofType": null - }, - "defaultValue": null - }, - { - "name": "after", - "description": null, - "type": { - "kind": "SCALAR", - "name": "String", - "ofType": null - }, - "defaultValue": null - }, - { - "name": "first", - "description": null, - "type": { - "kind": "SCALAR", - "name": "Int", - "ofType": null - }, - "defaultValue": null - }, - { - "name": "before", - "description": null, - "type": { - "kind": "SCALAR", - "name": "String", - "ofType": null - }, - "defaultValue": null - }, - { - "name": "last", - "description": null, - "type": { - "kind": "SCALAR", - "name": "Int", - "ofType": null - }, - "defaultValue": null - } - ], - "type": { - "kind": "OBJECT", - "name": "RelationshipConnection", - "ofType": null - }, - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "urls", - "description": "A list of relationships between these two entity types.", - "args": [ - { - "name": "direction", - "description": "Filter by the relationship direction.", - "type": { - "kind": "SCALAR", - "name": "String", - "ofType": null - }, - "defaultValue": null - }, - { - "name": "type", - "description": "Filter by the relationship type.", - "type": { - "kind": "SCALAR", - "name": "String", - "ofType": null - }, - "defaultValue": null - }, - { - "name": "typeID", - "description": "The MBID associated with the value of the `type`\nfield.", - "type": { - "kind": "SCALAR", - "name": "MBID", - "ofType": null - }, - "defaultValue": null - }, - { - "name": "after", - "description": null, - "type": { - "kind": "SCALAR", - "name": "String", - "ofType": null - }, - "defaultValue": null - }, - { - "name": "first", - "description": null, - "type": { - "kind": "SCALAR", - "name": "Int", - "ofType": null - }, - "defaultValue": null - }, - { - "name": "before", - "description": null, - "type": { - "kind": "SCALAR", - "name": "String", - "ofType": null - }, - "defaultValue": null - }, - { - "name": "last", - "description": null, - "type": { - "kind": "SCALAR", - "name": "Int", - "ofType": null - }, - "defaultValue": null - } - ], - "type": { - "kind": "OBJECT", - "name": "RelationshipConnection", - "ofType": null - }, - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "works", - "description": "A list of relationships between these two entity types.", - "args": [ - { - "name": "direction", - "description": "Filter by the relationship direction.", - "type": { - "kind": "SCALAR", - "name": "String", - "ofType": null - }, - "defaultValue": null - }, - { - "name": "type", - "description": "Filter by the relationship type.", - "type": { - "kind": "SCALAR", - "name": "String", - "ofType": null - }, - "defaultValue": null - }, - { - "name": "typeID", - "description": "The MBID associated with the value of the `type`\nfield.", - "type": { - "kind": "SCALAR", - "name": "MBID", - "ofType": null - }, - "defaultValue": null - }, - { - "name": "after", - "description": null, - "type": { - "kind": "SCALAR", - "name": "String", - "ofType": null - }, - "defaultValue": null - }, - { - "name": "first", - "description": null, - "type": { - "kind": "SCALAR", - "name": "Int", - "ofType": null - }, - "defaultValue": null - }, - { - "name": "before", - "description": null, - "type": { - "kind": "SCALAR", - "name": "String", - "ofType": null - }, - "defaultValue": null - }, - { - "name": "last", - "description": null, - "type": { - "kind": "SCALAR", - "name": "Int", - "ofType": null - }, - "defaultValue": null - } - ], - "type": { - "kind": "OBJECT", - "name": "RelationshipConnection", - "ofType": null - }, - "isDeprecated": false, - "deprecationReason": null - } - ], - "inputFields": null, - "interfaces": [], - "enumValues": null, - "possibleTypes": null - }, - { - "kind": "OBJECT", - "name": "RelationshipConnection", - "description": "A connection to a list of items.", - "fields": [ - { - "name": "pageInfo", - "description": "Information to aid in pagination.", - "args": [], - "type": { - "kind": "NON_NULL", - "name": null, - "ofType": { - "kind": "OBJECT", - "name": "PageInfo", - "ofType": null - } - }, - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "edges", - "description": "A list of edges.", - "args": [], - "type": { - "kind": "LIST", - "name": null, - "ofType": { - "kind": "OBJECT", - "name": "RelationshipEdge", - "ofType": null - } - }, - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "nodes", - "description": "A list of nodes in the connection (without going through the\n`edges` field).", - "args": [], - "type": { - "kind": "LIST", - "name": null, - "ofType": { - "kind": "OBJECT", - "name": "Relationship", - "ofType": null - } - }, - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "totalCount", - "description": "A count of the total number of items in this connection,\nignoring pagination.", - "args": [], - "type": { - "kind": "SCALAR", - "name": "Int", - "ofType": null - }, - "isDeprecated": false, - "deprecationReason": null - } - ], - "inputFields": null, - "interfaces": [], - "enumValues": null, - "possibleTypes": null - }, - { - "kind": "OBJECT", - "name": "RelationshipEdge", - "description": "An edge in a connection.", - "fields": [ - { - "name": "node", - "description": "The item at the end of the edge", - "args": [], - "type": { - "kind": "OBJECT", - "name": "Relationship", - "ofType": null - }, - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "cursor", - "description": "A cursor for use in pagination", - "args": [], - "type": { - "kind": "NON_NULL", - "name": null, - "ofType": { - "kind": "SCALAR", - "name": "String", - "ofType": null - } - }, - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "score", - "description": "The relevancy score (0–100) assigned by the search engine, if\nthese results were found through a search.", - "args": [], - "type": { - "kind": "SCALAR", - "name": "Int", - "ofType": null - }, - "isDeprecated": false, - "deprecationReason": null - } - ], - "inputFields": null, - "interfaces": [], - "enumValues": null, - "possibleTypes": null - }, - { - "kind": "OBJECT", - "name": "Relationship", - "description": "[Relationships](https://musicbrainz.org/doc/Relationships) are a\nway to represent all the different ways in which entities are connected to each\nother and to URLs outside MusicBrainz.", - "fields": [ - { - "name": "target", - "description": "The target entity.", - "args": [], - "type": { - "kind": "NON_NULL", - "name": null, - "ofType": { - "kind": "INTERFACE", - "name": "Entity", - "ofType": null - } - }, - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "direction", - "description": "The direction of the relationship.", - "args": [], - "type": { - "kind": "NON_NULL", - "name": null, - "ofType": { - "kind": "SCALAR", - "name": "String", - "ofType": null - } - }, - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "targetType", - "description": "The type of entity on the receiving end of the relationship.", - "args": [], - "type": { - "kind": "NON_NULL", - "name": null, - "ofType": { - "kind": "SCALAR", - "name": "String", - "ofType": null - } - }, - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "sourceCredit", - "description": "How the source entity was actually credited, if different\nfrom its main (performance) name.", - "args": [], - "type": { - "kind": "SCALAR", - "name": "String", - "ofType": null - }, - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "targetCredit", - "description": "How the target entity was actually credited, if different\nfrom its main (performance) name.", - "args": [], - "type": { - "kind": "SCALAR", - "name": "String", - "ofType": null - }, - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "begin", - "description": "The date on which the relationship became applicable.", - "args": [], - "type": { - "kind": "SCALAR", - "name": "Date", - "ofType": null - }, - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "end", - "description": "The date on which the relationship became no longer applicable.", - "args": [], - "type": { - "kind": "SCALAR", - "name": "Date", - "ofType": null - }, - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "ended", - "description": "Whether the relationship still applies.", - "args": [], - "type": { - "kind": "SCALAR", - "name": "Boolean", - "ofType": null - }, - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "attributes", - "description": "Attributes which modify the relationship. There is a [list\nof all attributes](https://musicbrainz.org/relationship-attributes), but the\nattributes which are available, and how they should be used, depends on the\nrelationship type.", - "args": [], - "type": { - "kind": "LIST", - "name": null, - "ofType": { - "kind": "SCALAR", - "name": "String", - "ofType": null - } - }, - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "type", - "description": "The type of relationship.", - "args": [], - "type": { - "kind": "SCALAR", - "name": "String", - "ofType": null - }, - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "typeID", - "description": "The MBID associated with the value of the `type`\nfield.", - "args": [], - "type": { - "kind": "SCALAR", - "name": "MBID", - "ofType": null - }, - "isDeprecated": false, - "deprecationReason": null - } - ], - "inputFields": null, - "interfaces": [], - "enumValues": null, - "possibleTypes": null - }, - { - "kind": "OBJECT", - "name": "CollectionConnection", - "description": "A connection to a list of items.", - "fields": [ - { - "name": "pageInfo", - "description": "Information to aid in pagination.", - "args": [], - "type": { - "kind": "NON_NULL", - "name": null, - "ofType": { - "kind": "OBJECT", - "name": "PageInfo", - "ofType": null - } - }, - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "edges", - "description": "A list of edges.", - "args": [], - "type": { - "kind": "LIST", - "name": null, - "ofType": { - "kind": "OBJECT", - "name": "CollectionEdge", - "ofType": null - } - }, - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "nodes", - "description": "A list of nodes in the connection (without going through the\n`edges` field).", - "args": [], - "type": { - "kind": "LIST", - "name": null, - "ofType": { - "kind": "OBJECT", - "name": "Collection", - "ofType": null - } - }, - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "totalCount", - "description": "A count of the total number of items in this connection,\nignoring pagination.", - "args": [], - "type": { - "kind": "SCALAR", - "name": "Int", - "ofType": null - }, - "isDeprecated": false, - "deprecationReason": null - } - ], - "inputFields": null, - "interfaces": [], - "enumValues": null, - "possibleTypes": null - }, - { - "kind": "OBJECT", - "name": "CollectionEdge", - "description": "An edge in a connection.", - "fields": [ - { - "name": "node", - "description": "The item at the end of the edge", - "args": [], - "type": { - "kind": "OBJECT", - "name": "Collection", - "ofType": null - }, - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "cursor", - "description": "A cursor for use in pagination", - "args": [], - "type": { - "kind": "NON_NULL", - "name": null, - "ofType": { - "kind": "SCALAR", - "name": "String", - "ofType": null - } - }, - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "score", - "description": "The relevancy score (0–100) assigned by the search engine, if\nthese results were found through a search.", - "args": [], - "type": { - "kind": "SCALAR", - "name": "Int", - "ofType": null - }, - "isDeprecated": false, - "deprecationReason": null - } - ], - "inputFields": null, - "interfaces": [], - "enumValues": null, - "possibleTypes": null - }, - { - "kind": "OBJECT", - "name": "Collection", - "description": "[Collections](https://musicbrainz.org/doc/Collections) are\nlists of entities that users can create.", - "fields": [ - { - "name": "id", - "description": "The ID of an object", - "args": [], - "type": { - "kind": "NON_NULL", - "name": null, - "ofType": { - "kind": "SCALAR", - "name": "ID", - "ofType": null - } - }, - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "mbid", - "description": "The MBID of the entity.", - "args": [], - "type": { - "kind": "NON_NULL", - "name": null, - "ofType": { - "kind": "SCALAR", - "name": "MBID", - "ofType": null - } - }, - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "name", - "description": "The official name of the entity.", - "args": [], - "type": { - "kind": "SCALAR", - "name": "String", - "ofType": null - }, - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "editor", - "description": "The username of the editor who created the collection.", - "args": [], - "type": { - "kind": "NON_NULL", - "name": null, - "ofType": { - "kind": "SCALAR", - "name": "String", - "ofType": null - } - }, - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "entityType", - "description": "The type of entity listed in the collection.", - "args": [], - "type": { - "kind": "NON_NULL", - "name": null, - "ofType": { - "kind": "SCALAR", - "name": "String", - "ofType": null - } - }, - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "type", - "description": "The type of collection.", - "args": [], - "type": { - "kind": "SCALAR", - "name": "String", - "ofType": null - }, - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "typeID", - "description": "The MBID associated with the value of the `type`\nfield.", - "args": [], - "type": { - "kind": "SCALAR", - "name": "MBID", - "ofType": null - }, - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "areas", - "description": "The list of areas found in this collection.", - "args": [ - { - "name": "after", - "description": null, - "type": { - "kind": "SCALAR", - "name": "String", - "ofType": null - }, - "defaultValue": null - }, - { - "name": "first", - "description": null, - "type": { - "kind": "SCALAR", - "name": "Int", - "ofType": null - }, - "defaultValue": null - } - ], - "type": { - "kind": "OBJECT", - "name": "AreaConnection", - "ofType": null - }, - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "artists", - "description": "The list of artists found in this collection.", - "args": [ - { - "name": "after", - "description": null, - "type": { - "kind": "SCALAR", - "name": "String", - "ofType": null - }, - "defaultValue": null - }, - { - "name": "first", - "description": null, - "type": { - "kind": "SCALAR", - "name": "Int", - "ofType": null - }, - "defaultValue": null - } - ], - "type": { - "kind": "OBJECT", - "name": "ArtistConnection", - "ofType": null - }, - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "events", - "description": "The list of events found in this collection.", - "args": [ - { - "name": "after", - "description": null, - "type": { - "kind": "SCALAR", - "name": "String", - "ofType": null - }, - "defaultValue": null - }, - { - "name": "first", - "description": null, - "type": { - "kind": "SCALAR", - "name": "Int", - "ofType": null - }, - "defaultValue": null - } - ], - "type": { - "kind": "OBJECT", - "name": "EventConnection", - "ofType": null - }, - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "instruments", - "description": "The list of instruments found in this collection.", - "args": [ - { - "name": "after", - "description": null, - "type": { - "kind": "SCALAR", - "name": "String", - "ofType": null - }, - "defaultValue": null - }, - { - "name": "first", - "description": null, - "type": { - "kind": "SCALAR", - "name": "Int", - "ofType": null - }, - "defaultValue": null - } - ], - "type": { - "kind": "OBJECT", - "name": "InstrumentConnection", - "ofType": null - }, - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "labels", - "description": "The list of labels found in this collection.", - "args": [ - { - "name": "after", - "description": null, - "type": { - "kind": "SCALAR", - "name": "String", - "ofType": null - }, - "defaultValue": null - }, - { - "name": "first", - "description": null, - "type": { - "kind": "SCALAR", - "name": "Int", - "ofType": null - }, - "defaultValue": null - } - ], - "type": { - "kind": "OBJECT", - "name": "LabelConnection", - "ofType": null - }, - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "places", - "description": "The list of places found in this collection.", - "args": [ - { - "name": "after", - "description": null, - "type": { - "kind": "SCALAR", - "name": "String", - "ofType": null - }, - "defaultValue": null - }, - { - "name": "first", - "description": null, - "type": { - "kind": "SCALAR", - "name": "Int", - "ofType": null - }, - "defaultValue": null - } - ], - "type": { - "kind": "OBJECT", - "name": "PlaceConnection", - "ofType": null - }, - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "recordings", - "description": "The list of recordings found in this collection.", - "args": [ - { - "name": "after", - "description": null, - "type": { - "kind": "SCALAR", - "name": "String", - "ofType": null - }, - "defaultValue": null - }, - { - "name": "first", - "description": null, - "type": { - "kind": "SCALAR", - "name": "Int", - "ofType": null - }, - "defaultValue": null - } - ], - "type": { - "kind": "OBJECT", - "name": "RecordingConnection", - "ofType": null - }, - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "releases", - "description": "The list of releases found in this collection.", - "args": [ - { - "name": "type", - "description": "Filter by one or more release group types.", - "type": { - "kind": "LIST", - "name": null, - "ofType": { - "kind": "ENUM", - "name": "ReleaseGroupType", - "ofType": null - } - }, - "defaultValue": null - }, - { - "name": "status", - "description": "Filter by one or more release statuses.", - "type": { - "kind": "LIST", - "name": null, - "ofType": { - "kind": "ENUM", - "name": "ReleaseStatus", - "ofType": null - } - }, - "defaultValue": null - }, - { - "name": "after", - "description": null, - "type": { - "kind": "SCALAR", - "name": "String", - "ofType": null - }, - "defaultValue": null - }, - { - "name": "first", - "description": null, - "type": { - "kind": "SCALAR", - "name": "Int", - "ofType": null - }, - "defaultValue": null - } - ], - "type": { - "kind": "OBJECT", - "name": "ReleaseConnection", - "ofType": null - }, - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "releaseGroups", - "description": "The list of release groups found in this collection.", - "args": [ - { - "name": "type", - "description": "Filter by one or more release group types.", - "type": { - "kind": "LIST", - "name": null, - "ofType": { - "kind": "ENUM", - "name": "ReleaseGroupType", - "ofType": null - } - }, - "defaultValue": null - }, - { - "name": "after", - "description": null, - "type": { - "kind": "SCALAR", - "name": "String", - "ofType": null - }, - "defaultValue": null - }, - { - "name": "first", - "description": null, - "type": { - "kind": "SCALAR", - "name": "Int", - "ofType": null - }, - "defaultValue": null - } - ], - "type": { - "kind": "OBJECT", - "name": "ReleaseGroupConnection", - "ofType": null - }, - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "series", - "description": "The list of series found in this collection.", - "args": [ - { - "name": "after", - "description": null, - "type": { - "kind": "SCALAR", - "name": "String", - "ofType": null - }, - "defaultValue": null - }, - { - "name": "first", - "description": null, - "type": { - "kind": "SCALAR", - "name": "Int", - "ofType": null - }, - "defaultValue": null - } - ], - "type": { - "kind": "OBJECT", - "name": "SeriesConnection", - "ofType": null - }, - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "works", - "description": "The list of works found in this collection.", - "args": [ - { - "name": "after", - "description": null, - "type": { - "kind": "SCALAR", - "name": "String", - "ofType": null - }, - "defaultValue": null - }, - { - "name": "first", - "description": null, - "type": { - "kind": "SCALAR", - "name": "Int", - "ofType": null - }, - "defaultValue": null - } - ], - "type": { - "kind": "OBJECT", - "name": "WorkConnection", - "ofType": null - }, - "isDeprecated": false, - "deprecationReason": null - } - ], - "inputFields": null, - "interfaces": [ - { - "kind": "INTERFACE", - "name": "Node", - "ofType": null - }, - { - "kind": "INTERFACE", - "name": "Entity", - "ofType": null - } - ], - "enumValues": null, - "possibleTypes": null - }, - { - "kind": "OBJECT", - "name": "AreaConnection", - "description": "A connection to a list of items.", - "fields": [ - { - "name": "pageInfo", - "description": "Information to aid in pagination.", - "args": [], - "type": { - "kind": "NON_NULL", - "name": null, - "ofType": { - "kind": "OBJECT", - "name": "PageInfo", - "ofType": null - } - }, - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "edges", - "description": "A list of edges.", - "args": [], - "type": { - "kind": "LIST", - "name": null, - "ofType": { - "kind": "OBJECT", - "name": "AreaEdge", - "ofType": null - } - }, - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "nodes", - "description": "A list of nodes in the connection (without going through the\n`edges` field).", - "args": [], - "type": { - "kind": "LIST", - "name": null, - "ofType": { - "kind": "OBJECT", - "name": "Area", - "ofType": null - } - }, - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "totalCount", - "description": "A count of the total number of items in this connection,\nignoring pagination.", - "args": [], - "type": { - "kind": "SCALAR", - "name": "Int", - "ofType": null - }, - "isDeprecated": false, - "deprecationReason": null - } - ], - "inputFields": null, - "interfaces": [], - "enumValues": null, - "possibleTypes": null - }, - { - "kind": "OBJECT", - "name": "AreaEdge", - "description": "An edge in a connection.", - "fields": [ - { - "name": "node", - "description": "The item at the end of the edge", - "args": [], - "type": { - "kind": "OBJECT", - "name": "Area", - "ofType": null - }, - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "cursor", - "description": "A cursor for use in pagination", - "args": [], - "type": { - "kind": "NON_NULL", - "name": null, - "ofType": { - "kind": "SCALAR", - "name": "String", - "ofType": null - } - }, - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "score", - "description": "The relevancy score (0–100) assigned by the search engine, if\nthese results were found through a search.", - "args": [], - "type": { - "kind": "SCALAR", - "name": "Int", - "ofType": null - }, - "isDeprecated": false, - "deprecationReason": null - } - ], - "inputFields": null, - "interfaces": [], - "enumValues": null, - "possibleTypes": null - }, - { - "kind": "OBJECT", - "name": "EventConnection", - "description": "A connection to a list of items.", - "fields": [ - { - "name": "pageInfo", - "description": "Information to aid in pagination.", - "args": [], - "type": { - "kind": "NON_NULL", - "name": null, - "ofType": { - "kind": "OBJECT", - "name": "PageInfo", - "ofType": null - } - }, - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "edges", - "description": "A list of edges.", - "args": [], - "type": { - "kind": "LIST", - "name": null, - "ofType": { - "kind": "OBJECT", - "name": "EventEdge", - "ofType": null - } - }, - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "nodes", - "description": "A list of nodes in the connection (without going through the\n`edges` field).", - "args": [], - "type": { - "kind": "LIST", - "name": null, - "ofType": { - "kind": "OBJECT", - "name": "Event", - "ofType": null - } - }, - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "totalCount", - "description": "A count of the total number of items in this connection,\nignoring pagination.", - "args": [], - "type": { - "kind": "SCALAR", - "name": "Int", - "ofType": null - }, - "isDeprecated": false, - "deprecationReason": null - } - ], - "inputFields": null, - "interfaces": [], - "enumValues": null, - "possibleTypes": null - }, - { - "kind": "OBJECT", - "name": "EventEdge", - "description": "An edge in a connection.", - "fields": [ - { - "name": "node", - "description": "The item at the end of the edge", - "args": [], - "type": { - "kind": "OBJECT", - "name": "Event", - "ofType": null - }, - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "cursor", - "description": "A cursor for use in pagination", - "args": [], - "type": { - "kind": "NON_NULL", - "name": null, - "ofType": { - "kind": "SCALAR", - "name": "String", - "ofType": null - } - }, - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "score", - "description": "The relevancy score (0–100) assigned by the search engine, if\nthese results were found through a search.", - "args": [], - "type": { - "kind": "SCALAR", - "name": "Int", - "ofType": null - }, - "isDeprecated": false, - "deprecationReason": null - } - ], - "inputFields": null, - "interfaces": [], - "enumValues": null, - "possibleTypes": null - }, - { - "kind": "OBJECT", - "name": "Event", - "description": "An [event](https://musicbrainz.org/doc/Event) refers to an\norganised event which people can attend, and is relevant to MusicBrainz.\nGenerally this means live performances, like concerts and festivals.", - "fields": [ - { - "name": "id", - "description": "The ID of an object", - "args": [], - "type": { - "kind": "NON_NULL", - "name": null, - "ofType": { - "kind": "SCALAR", - "name": "ID", - "ofType": null - } - }, - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "mbid", - "description": "The MBID of the entity.", - "args": [], - "type": { - "kind": "NON_NULL", - "name": null, - "ofType": { - "kind": "SCALAR", - "name": "MBID", - "ofType": null - } - }, - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "name", - "description": "The official name of the entity.", - "args": [], - "type": { - "kind": "SCALAR", - "name": "String", - "ofType": null - }, - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "disambiguation", - "description": "A comment used to help distinguish identically named entitites.", - "args": [], - "type": { - "kind": "SCALAR", - "name": "String", - "ofType": null - }, - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "aliases", - "description": "[Aliases](https://musicbrainz.org/doc/Aliases) are used to store\nalternate names or misspellings.", - "args": [], - "type": { - "kind": "LIST", - "name": null, - "ofType": { - "kind": "OBJECT", - "name": "Alias", - "ofType": null - } - }, - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "lifeSpan", - "description": "The begin and end dates of the entity’s existence. Its exact\nmeaning depends on the type of entity.", - "args": [], - "type": { - "kind": "OBJECT", - "name": "LifeSpan", - "ofType": null - }, - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "time", - "description": "The start time of the event.", - "args": [], - "type": { - "kind": "SCALAR", - "name": "Time", - "ofType": null - }, - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "cancelled", - "description": "Whether or not the event took place.", - "args": [], - "type": { - "kind": "SCALAR", - "name": "Boolean", - "ofType": null - }, - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "setlist", - "description": "A list of songs performed, optionally including links to\nartists and works. See the [setlist documentation](https://musicbrainz.org/doc/Event/Setlist)\nfor syntax and examples.", - "args": [], - "type": { - "kind": "SCALAR", - "name": "String", - "ofType": null - }, - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "type", - "description": "What kind of event the event is, e.g. concert, festival, etc.", - "args": [], - "type": { - "kind": "SCALAR", - "name": "String", - "ofType": null - }, - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "typeID", - "description": "The MBID associated with the value of the `type`\nfield.", - "args": [], - "type": { - "kind": "SCALAR", - "name": "MBID", - "ofType": null - }, - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "relationships", - "description": "Relationships between this entity and other entitites.", - "args": [], - "type": { - "kind": "OBJECT", - "name": "Relationships", - "ofType": null - }, - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "collections", - "description": "A list of collections containing this entity.", - "args": [ - { - "name": "after", - "description": null, - "type": { - "kind": "SCALAR", - "name": "String", - "ofType": null - }, - "defaultValue": null - }, - { - "name": "first", - "description": null, - "type": { - "kind": "SCALAR", - "name": "Int", - "ofType": null - }, - "defaultValue": null - } - ], - "type": { - "kind": "OBJECT", - "name": "CollectionConnection", - "ofType": null - }, - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "rating", - "description": "The rating users have given to this entity.", - "args": [], - "type": { - "kind": "OBJECT", - "name": "Rating", - "ofType": null - }, - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "tags", - "description": "A list of tags linked to this entity.", - "args": [ - { - "name": "after", - "description": null, - "type": { - "kind": "SCALAR", - "name": "String", - "ofType": null - }, - "defaultValue": null - }, - { - "name": "first", - "description": null, - "type": { - "kind": "SCALAR", - "name": "Int", - "ofType": null - }, - "defaultValue": null - } - ], - "type": { - "kind": "OBJECT", - "name": "TagConnection", - "ofType": null - }, - "isDeprecated": false, - "deprecationReason": null - } - ], - "inputFields": null, - "interfaces": [ - { - "kind": "INTERFACE", - "name": "Node", - "ofType": null - }, - { - "kind": "INTERFACE", - "name": "Entity", - "ofType": null - } - ], - "enumValues": null, - "possibleTypes": null - }, - { - "kind": "SCALAR", - "name": "Time", - "description": "A time of day, in 24-hour hh:mm notation.", - "fields": null, - "inputFields": null, - "interfaces": null, - "enumValues": null, - "possibleTypes": null - }, - { - "kind": "OBJECT", - "name": "Rating", - "description": "[Ratings](https://musicbrainz.org/doc/Rating_System) allow users\nto rate MusicBrainz entities. User may assign a value between 1 and 5; these\nvalues are then aggregated by the server to compute an average community rating\nfor the entity.", - "fields": [ - { - "name": "voteCount", - "description": "The number of votes that have contributed to the rating.", - "args": [], - "type": { - "kind": "NON_NULL", - "name": null, - "ofType": { - "kind": "SCALAR", - "name": "Int", - "ofType": null - } - }, - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "value", - "description": "The average rating value based on the aggregated votes.", - "args": [], - "type": { - "kind": "SCALAR", - "name": "Float", - "ofType": null - }, - "isDeprecated": false, - "deprecationReason": null - } - ], - "inputFields": null, - "interfaces": [], - "enumValues": null, - "possibleTypes": null - }, - { - "kind": "SCALAR", - "name": "Float", - "description": "The `Float` scalar type represents signed double-precision fractional values as specified by [IEEE 754](http://en.wikipedia.org/wiki/IEEE_floating_point). ", - "fields": null, - "inputFields": null, - "interfaces": null, - "enumValues": null, - "possibleTypes": null - }, - { - "kind": "OBJECT", - "name": "TagConnection", - "description": "A connection to a list of items.", - "fields": [ - { - "name": "pageInfo", - "description": "Information to aid in pagination.", - "args": [], - "type": { - "kind": "NON_NULL", - "name": null, - "ofType": { - "kind": "OBJECT", - "name": "PageInfo", - "ofType": null - } - }, - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "edges", - "description": "A list of edges.", - "args": [], - "type": { - "kind": "LIST", - "name": null, - "ofType": { - "kind": "OBJECT", - "name": "TagEdge", - "ofType": null - } - }, - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "nodes", - "description": "A list of nodes in the connection (without going through the\n`edges` field).", - "args": [], - "type": { - "kind": "LIST", - "name": null, - "ofType": { - "kind": "OBJECT", - "name": "Tag", - "ofType": null - } - }, - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "totalCount", - "description": "A count of the total number of items in this connection,\nignoring pagination.", - "args": [], - "type": { - "kind": "SCALAR", - "name": "Int", - "ofType": null - }, - "isDeprecated": false, - "deprecationReason": null - } - ], - "inputFields": null, - "interfaces": [], - "enumValues": null, - "possibleTypes": null - }, - { - "kind": "OBJECT", - "name": "TagEdge", - "description": "An edge in a connection.", - "fields": [ - { - "name": "node", - "description": "The item at the end of the edge", - "args": [], - "type": { - "kind": "OBJECT", - "name": "Tag", - "ofType": null - }, - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "cursor", - "description": "A cursor for use in pagination", - "args": [], - "type": { - "kind": "NON_NULL", - "name": null, - "ofType": { - "kind": "SCALAR", - "name": "String", - "ofType": null - } - }, - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "score", - "description": "The relevancy score (0–100) assigned by the search engine, if\nthese results were found through a search.", - "args": [], - "type": { - "kind": "SCALAR", - "name": "Int", - "ofType": null - }, - "isDeprecated": false, - "deprecationReason": null - } - ], - "inputFields": null, - "interfaces": [], - "enumValues": null, - "possibleTypes": null - }, - { - "kind": "OBJECT", - "name": "Tag", - "description": "[Tags](https://musicbrainz.org/tags) are a way to mark entities\nwith extra information – for example, the genres that apply to an artist,\nrelease, or recording.", - "fields": [ - { - "name": "name", - "description": "The tag label.", - "args": [], - "type": { - "kind": "NON_NULL", - "name": null, - "ofType": { - "kind": "SCALAR", - "name": "String", - "ofType": null - } - }, - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "count", - "description": "How many times this tag has been applied to the entity.", - "args": [], - "type": { - "kind": "SCALAR", - "name": "Int", - "ofType": null - }, - "isDeprecated": false, - "deprecationReason": null - } - ], - "inputFields": null, - "interfaces": [], - "enumValues": null, - "possibleTypes": null - }, - { - "kind": "OBJECT", - "name": "InstrumentConnection", - "description": "A connection to a list of items.", - "fields": [ - { - "name": "pageInfo", - "description": "Information to aid in pagination.", - "args": [], - "type": { - "kind": "NON_NULL", - "name": null, - "ofType": { - "kind": "OBJECT", - "name": "PageInfo", - "ofType": null - } - }, - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "edges", - "description": "A list of edges.", - "args": [], - "type": { - "kind": "LIST", - "name": null, - "ofType": { - "kind": "OBJECT", - "name": "InstrumentEdge", - "ofType": null - } - }, - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "nodes", - "description": "A list of nodes in the connection (without going through the\n`edges` field).", - "args": [], - "type": { - "kind": "LIST", - "name": null, - "ofType": { - "kind": "OBJECT", - "name": "Instrument", - "ofType": null - } - }, - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "totalCount", - "description": "A count of the total number of items in this connection,\nignoring pagination.", - "args": [], - "type": { - "kind": "SCALAR", - "name": "Int", - "ofType": null - }, - "isDeprecated": false, - "deprecationReason": null - } - ], - "inputFields": null, - "interfaces": [], - "enumValues": null, - "possibleTypes": null - }, - { - "kind": "OBJECT", - "name": "InstrumentEdge", - "description": "An edge in a connection.", - "fields": [ - { - "name": "node", - "description": "The item at the end of the edge", - "args": [], - "type": { - "kind": "OBJECT", - "name": "Instrument", - "ofType": null - }, - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "cursor", - "description": "A cursor for use in pagination", - "args": [], - "type": { - "kind": "NON_NULL", - "name": null, - "ofType": { - "kind": "SCALAR", - "name": "String", - "ofType": null - } - }, - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "score", - "description": "The relevancy score (0–100) assigned by the search engine, if\nthese results were found through a search.", - "args": [], - "type": { - "kind": "SCALAR", - "name": "Int", - "ofType": null - }, - "isDeprecated": false, - "deprecationReason": null - } - ], - "inputFields": null, - "interfaces": [], - "enumValues": null, - "possibleTypes": null - }, - { - "kind": "OBJECT", - "name": "Instrument", - "description": "[Instruments](https://musicbrainz.org/doc/Instrument) are\ndevices created or adapted to make musical sounds. Instruments are primarily\nused in relationships between two other entities.", - "fields": [ - { - "name": "id", - "description": "The ID of an object", - "args": [], - "type": { - "kind": "NON_NULL", - "name": null, - "ofType": { - "kind": "SCALAR", - "name": "ID", - "ofType": null - } - }, - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "mbid", - "description": "The MBID of the entity.", - "args": [], - "type": { - "kind": "NON_NULL", - "name": null, - "ofType": { - "kind": "SCALAR", - "name": "MBID", - "ofType": null - } - }, - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "name", - "description": "The official name of the entity.", - "args": [], - "type": { - "kind": "SCALAR", - "name": "String", - "ofType": null - }, - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "disambiguation", - "description": "A comment used to help distinguish identically named entitites.", - "args": [], - "type": { - "kind": "SCALAR", - "name": "String", - "ofType": null - }, - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "aliases", - "description": "[Aliases](https://musicbrainz.org/doc/Aliases) are used to store\nalternate names or misspellings.", - "args": [], - "type": { - "kind": "LIST", - "name": null, - "ofType": { - "kind": "OBJECT", - "name": "Alias", - "ofType": null - } - }, - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "description", - "description": "A brief description of the main characteristics of the\ninstrument.", - "args": [], - "type": { - "kind": "SCALAR", - "name": "String", - "ofType": null - }, - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "type", - "description": "The type categorises the instrument by the way the sound is\ncreated, similar to the [Hornbostel-Sachs](https://en.wikipedia.org/wiki/Hornbostel%E2%80%93Sachs)\nclassification.", - "args": [], - "type": { - "kind": "SCALAR", - "name": "String", - "ofType": null - }, - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "typeID", - "description": "The MBID associated with the value of the `type`\nfield.", - "args": [], - "type": { - "kind": "SCALAR", - "name": "MBID", - "ofType": null - }, - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "relationships", - "description": "Relationships between this entity and other entitites.", - "args": [], - "type": { - "kind": "OBJECT", - "name": "Relationships", - "ofType": null - }, - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "collections", - "description": "A list of collections containing this entity.", - "args": [ - { - "name": "after", - "description": null, - "type": { - "kind": "SCALAR", - "name": "String", - "ofType": null - }, - "defaultValue": null - }, - { - "name": "first", - "description": null, - "type": { - "kind": "SCALAR", - "name": "Int", - "ofType": null - }, - "defaultValue": null - } - ], - "type": { - "kind": "OBJECT", - "name": "CollectionConnection", - "ofType": null - }, - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "tags", - "description": "A list of tags linked to this entity.", - "args": [ - { - "name": "after", - "description": null, - "type": { - "kind": "SCALAR", - "name": "String", - "ofType": null - }, - "defaultValue": null - }, - { - "name": "first", - "description": null, - "type": { - "kind": "SCALAR", - "name": "Int", - "ofType": null - }, - "defaultValue": null - } - ], - "type": { - "kind": "OBJECT", - "name": "TagConnection", - "ofType": null - }, - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "mediaWikiImages", - "description": "Instrument images found at MediaWiki URLs in the instrument’s URL\nrelationships. Defaults to URL relationships with the type “image”.\nThis field is provided by the MediaWiki extension.", - "args": [ - { - "name": "type", - "description": "The type of URL relationship that will be selected to find images. See the\npossible [Instrument-URL relationship types](https://musicbrainz.org/relationships/instrument-url).", - "type": { - "kind": "SCALAR", - "name": "String", - "ofType": null - }, - "defaultValue": "\"image\"" - } - ], - "type": { - "kind": "NON_NULL", - "name": null, - "ofType": { - "kind": "LIST", - "name": null, - "ofType": { - "kind": "OBJECT", - "name": "MediaWikiImage", - "ofType": null - } - } - }, - "isDeprecated": false, - "deprecationReason": null - } - ], - "inputFields": null, - "interfaces": [ - { - "kind": "INTERFACE", - "name": "Node", - "ofType": null - }, - { - "kind": "INTERFACE", - "name": "Entity", - "ofType": null - } - ], - "enumValues": null, - "possibleTypes": null - }, - { - "kind": "OBJECT", - "name": "MediaWikiImage", - "description": "An object describing various properties of an image stored on a MediaWiki\nserver. The information comes the [MediaWiki imageinfo API](https://www.mediawiki.org/wiki/API:Imageinfo).", - "fields": [ - { - "name": "url", - "description": "The URL of the actual image file.", - "args": [], - "type": { - "kind": "NON_NULL", - "name": null, - "ofType": { - "kind": "SCALAR", - "name": "URLString", - "ofType": null - } - }, - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "descriptionURL", - "description": "The URL of the wiki page describing the image.", - "args": [], - "type": { - "kind": "SCALAR", - "name": "URLString", - "ofType": null - }, - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "user", - "description": "The user who uploaded the file.", - "args": [], - "type": { - "kind": "SCALAR", - "name": "String", - "ofType": null - }, - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "size", - "description": "The size of the file in bytes.", - "args": [], - "type": { - "kind": "SCALAR", - "name": "Int", - "ofType": null - }, - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "width", - "description": "The pixel width of the image.", - "args": [], - "type": { - "kind": "SCALAR", - "name": "Int", - "ofType": null - }, - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "height", - "description": "The pixel height of the image.", - "args": [], - "type": { - "kind": "SCALAR", - "name": "Int", - "ofType": null - }, - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "canonicalTitle", - "description": "The canonical title of the file.", - "args": [], - "type": { - "kind": "SCALAR", - "name": "String", - "ofType": null - }, - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "objectName", - "description": "The image title, brief description, or file name.", - "args": [], - "type": { - "kind": "SCALAR", - "name": "String", - "ofType": null - }, - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "descriptionHTML", - "description": "A description of the image, potentially containing HTML.", - "args": [], - "type": { - "kind": "SCALAR", - "name": "String", - "ofType": null - }, - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "originalDateTimeHTML", - "description": "The original date of creation of the image. May be a description rather than\na parseable timestamp, and may contain HTML.", - "args": [], - "type": { - "kind": "SCALAR", - "name": "String", - "ofType": null - }, - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "categories", - "description": "A list of the categories of the image.", - "args": [], - "type": { - "kind": "NON_NULL", - "name": null, - "ofType": { - "kind": "LIST", - "name": null, - "ofType": { - "kind": "SCALAR", - "name": "String", - "ofType": null - } - } - }, - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "artistHTML", - "description": "The name of the image author, potentially containing HTML.", - "args": [], - "type": { - "kind": "SCALAR", - "name": "String", - "ofType": null - }, - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "creditHTML", - "description": "The source of the image, potentially containing HTML.", - "args": [], - "type": { - "kind": "SCALAR", - "name": "String", - "ofType": null - }, - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "licenseShortName", - "description": "A short human-readable license name.", - "args": [], - "type": { - "kind": "SCALAR", - "name": "String", - "ofType": null - }, - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "licenseURL", - "description": "A web address where the license is described.", - "args": [], - "type": { - "kind": "SCALAR", - "name": "URLString", - "ofType": null - }, - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "metadata", - "description": "The full list of values in the `extmetadata` field.", - "args": [], - "type": { - "kind": "NON_NULL", - "name": null, - "ofType": { - "kind": "LIST", - "name": null, - "ofType": { - "kind": "OBJECT", - "name": "MediaWikiImageMetadata", - "ofType": null - } - } - }, - "isDeprecated": false, - "deprecationReason": null - } - ], - "inputFields": null, - "interfaces": [], - "enumValues": null, - "possibleTypes": null - }, - { - "kind": "SCALAR", - "name": "URLString", - "description": "A web address.", - "fields": null, - "inputFields": null, - "interfaces": null, - "enumValues": null, - "possibleTypes": null - }, - { - "kind": "OBJECT", - "name": "MediaWikiImageMetadata", - "description": "An entry in the `extmetadata` field of a MediaWiki image file.", - "fields": [ - { - "name": "name", - "description": "The name of the metadata field.", - "args": [], - "type": { - "kind": "NON_NULL", - "name": null, - "ofType": { - "kind": "SCALAR", - "name": "String", - "ofType": null - } - }, - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "value", - "description": "The value of the metadata field. All values will be converted to strings.", - "args": [], - "type": { - "kind": "SCALAR", - "name": "String", - "ofType": null - }, - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "source", - "description": "The source of the value.", - "args": [], - "type": { - "kind": "SCALAR", - "name": "String", - "ofType": null - }, - "isDeprecated": false, - "deprecationReason": null - } - ], - "inputFields": null, - "interfaces": [], - "enumValues": null, - "possibleTypes": null - }, - { - "kind": "OBJECT", - "name": "PlaceConnection", - "description": "A connection to a list of items.", - "fields": [ - { - "name": "pageInfo", - "description": "Information to aid in pagination.", - "args": [], - "type": { - "kind": "NON_NULL", - "name": null, - "ofType": { - "kind": "OBJECT", - "name": "PageInfo", - "ofType": null - } - }, - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "edges", - "description": "A list of edges.", - "args": [], - "type": { - "kind": "LIST", - "name": null, - "ofType": { - "kind": "OBJECT", - "name": "PlaceEdge", - "ofType": null - } - }, - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "nodes", - "description": "A list of nodes in the connection (without going through the\n`edges` field).", - "args": [], - "type": { - "kind": "LIST", - "name": null, - "ofType": { - "kind": "OBJECT", - "name": "Place", - "ofType": null - } - }, - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "totalCount", - "description": "A count of the total number of items in this connection,\nignoring pagination.", - "args": [], - "type": { - "kind": "SCALAR", - "name": "Int", - "ofType": null - }, - "isDeprecated": false, - "deprecationReason": null - } - ], - "inputFields": null, - "interfaces": [], - "enumValues": null, - "possibleTypes": null - }, - { - "kind": "OBJECT", - "name": "PlaceEdge", - "description": "An edge in a connection.", - "fields": [ - { - "name": "node", - "description": "The item at the end of the edge", - "args": [], - "type": { - "kind": "OBJECT", - "name": "Place", - "ofType": null - }, - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "cursor", - "description": "A cursor for use in pagination", - "args": [], - "type": { - "kind": "NON_NULL", - "name": null, - "ofType": { - "kind": "SCALAR", - "name": "String", - "ofType": null - } - }, - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "score", - "description": "The relevancy score (0–100) assigned by the search engine, if\nthese results were found through a search.", - "args": [], - "type": { - "kind": "SCALAR", - "name": "Int", - "ofType": null - }, - "isDeprecated": false, - "deprecationReason": null - } - ], - "inputFields": null, - "interfaces": [], - "enumValues": null, - "possibleTypes": null - }, - { - "kind": "OBJECT", - "name": "Place", - "description": "A [place](https://musicbrainz.org/doc/Place) is a venue, studio,\nor other place where music is performed, recorded, engineered, etc.", - "fields": [ - { - "name": "id", - "description": "The ID of an object", - "args": [], - "type": { - "kind": "NON_NULL", - "name": null, - "ofType": { - "kind": "SCALAR", - "name": "ID", - "ofType": null - } - }, - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "mbid", - "description": "The MBID of the entity.", - "args": [], - "type": { - "kind": "NON_NULL", - "name": null, - "ofType": { - "kind": "SCALAR", - "name": "MBID", - "ofType": null - } - }, - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "name", - "description": "The official name of the entity.", - "args": [], - "type": { - "kind": "SCALAR", - "name": "String", - "ofType": null - }, - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "disambiguation", - "description": "A comment used to help distinguish identically named entitites.", - "args": [], - "type": { - "kind": "SCALAR", - "name": "String", - "ofType": null - }, - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "aliases", - "description": "[Aliases](https://musicbrainz.org/doc/Aliases) are used to store\nalternate names or misspellings.", - "args": [], - "type": { - "kind": "LIST", - "name": null, - "ofType": { - "kind": "OBJECT", - "name": "Alias", - "ofType": null - } - }, - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "address", - "description": "The address describes the location of the place using the\nstandard addressing format for the country it is located in.", - "args": [], - "type": { - "kind": "SCALAR", - "name": "String", - "ofType": null - }, - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "area", - "description": "The area entity representing the area, such as the city, in\nwhich the place is located.", - "args": [], - "type": { - "kind": "OBJECT", - "name": "Area", - "ofType": null - }, - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "coordinates", - "description": "The geographic coordinates of the place.", - "args": [], - "type": { - "kind": "OBJECT", - "name": "Coordinates", - "ofType": null - }, - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "lifeSpan", - "description": "The begin and end dates of the entity’s existence. Its exact\nmeaning depends on the type of entity.", - "args": [], - "type": { - "kind": "OBJECT", - "name": "LifeSpan", - "ofType": null - }, - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "type", - "description": "The type categorises the place based on its primary\nfunction.", - "args": [], - "type": { - "kind": "SCALAR", - "name": "String", - "ofType": null - }, - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "typeID", - "description": "The MBID associated with the value of the `type`\nfield.", - "args": [], - "type": { - "kind": "SCALAR", - "name": "MBID", - "ofType": null - }, - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "events", - "description": "A list of events linked to this entity.", - "args": [ - { - "name": "after", - "description": null, - "type": { - "kind": "SCALAR", - "name": "String", - "ofType": null - }, - "defaultValue": null - }, - { - "name": "first", - "description": null, - "type": { - "kind": "SCALAR", - "name": "Int", - "ofType": null - }, - "defaultValue": null - } - ], - "type": { - "kind": "OBJECT", - "name": "EventConnection", - "ofType": null - }, - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "relationships", - "description": "Relationships between this entity and other entitites.", - "args": [], - "type": { - "kind": "OBJECT", - "name": "Relationships", - "ofType": null - }, - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "collections", - "description": "A list of collections containing this entity.", - "args": [ - { - "name": "after", - "description": null, - "type": { - "kind": "SCALAR", - "name": "String", - "ofType": null - }, - "defaultValue": null - }, - { - "name": "first", - "description": null, - "type": { - "kind": "SCALAR", - "name": "Int", - "ofType": null - }, - "defaultValue": null - } - ], - "type": { - "kind": "OBJECT", - "name": "CollectionConnection", - "ofType": null - }, - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "tags", - "description": "A list of tags linked to this entity.", - "args": [ - { - "name": "after", - "description": null, - "type": { - "kind": "SCALAR", - "name": "String", - "ofType": null - }, - "defaultValue": null - }, - { - "name": "first", - "description": null, - "type": { - "kind": "SCALAR", - "name": "Int", - "ofType": null - }, - "defaultValue": null - } - ], - "type": { - "kind": "OBJECT", - "name": "TagConnection", - "ofType": null - }, - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "mediaWikiImages", - "description": "Place images found at MediaWiki URLs in the place’s URL relationships.\nDefaults to URL relationships with the type “image”.\nThis field is provided by the MediaWiki extension.", - "args": [ - { - "name": "type", - "description": "The type of URL relationship that will be selected to find images. See the\npossible [Place-URL relationship types](https://musicbrainz.org/relationships/place-url).", - "type": { - "kind": "SCALAR", - "name": "String", - "ofType": null - }, - "defaultValue": "\"image\"" - } - ], - "type": { - "kind": "NON_NULL", - "name": null, - "ofType": { - "kind": "LIST", - "name": null, - "ofType": { - "kind": "OBJECT", - "name": "MediaWikiImage", - "ofType": null - } - } - }, - "isDeprecated": false, - "deprecationReason": null - } - ], - "inputFields": null, - "interfaces": [ - { - "kind": "INTERFACE", - "name": "Node", - "ofType": null - }, - { - "kind": "INTERFACE", - "name": "Entity", - "ofType": null - } - ], - "enumValues": null, - "possibleTypes": null - }, - { - "kind": "OBJECT", - "name": "Coordinates", - "description": "Geographic coordinates described with latitude and longitude.", - "fields": [ - { - "name": "latitude", - "description": "The north–south position of a point on the Earth’s surface.", - "args": [], - "type": { - "kind": "SCALAR", - "name": "Degrees", - "ofType": null - }, - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "longitude", - "description": "The east–west position of a point on the Earth’s surface.", - "args": [], - "type": { - "kind": "SCALAR", - "name": "Degrees", - "ofType": null - }, - "isDeprecated": false, - "deprecationReason": null - } - ], - "inputFields": null, - "interfaces": [], - "enumValues": null, - "possibleTypes": null - }, - { - "kind": "SCALAR", - "name": "Degrees", - "description": "Decimal degrees, used for latitude and longitude.", - "fields": null, - "inputFields": null, - "interfaces": null, - "enumValues": null, - "possibleTypes": null - }, - { - "kind": "OBJECT", - "name": "ReleaseGroupConnection", - "description": "A connection to a list of items.", - "fields": [ - { - "name": "pageInfo", - "description": "Information to aid in pagination.", - "args": [], - "type": { - "kind": "NON_NULL", - "name": null, - "ofType": { - "kind": "OBJECT", - "name": "PageInfo", - "ofType": null - } - }, - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "edges", - "description": "A list of edges.", - "args": [], - "type": { - "kind": "LIST", - "name": null, - "ofType": { - "kind": "OBJECT", - "name": "ReleaseGroupEdge", - "ofType": null - } - }, - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "nodes", - "description": "A list of nodes in the connection (without going through the\n`edges` field).", - "args": [], - "type": { - "kind": "LIST", - "name": null, - "ofType": { - "kind": "OBJECT", - "name": "ReleaseGroup", - "ofType": null - } - }, - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "totalCount", - "description": "A count of the total number of items in this connection,\nignoring pagination.", - "args": [], - "type": { - "kind": "SCALAR", - "name": "Int", - "ofType": null - }, - "isDeprecated": false, - "deprecationReason": null - } - ], - "inputFields": null, - "interfaces": [], - "enumValues": null, - "possibleTypes": null - }, - { - "kind": "OBJECT", - "name": "ReleaseGroupEdge", - "description": "An edge in a connection.", - "fields": [ - { - "name": "node", - "description": "The item at the end of the edge", - "args": [], - "type": { - "kind": "OBJECT", - "name": "ReleaseGroup", - "ofType": null - }, - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "cursor", - "description": "A cursor for use in pagination", - "args": [], - "type": { - "kind": "NON_NULL", - "name": null, - "ofType": { - "kind": "SCALAR", - "name": "String", - "ofType": null - } - }, - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "score", - "description": "The relevancy score (0–100) assigned by the search engine, if\nthese results were found through a search.", - "args": [], - "type": { - "kind": "SCALAR", - "name": "Int", - "ofType": null - }, - "isDeprecated": false, - "deprecationReason": null - } - ], - "inputFields": null, - "interfaces": [], - "enumValues": null, - "possibleTypes": null - }, - { - "kind": "OBJECT", - "name": "ReleaseGroup", - "description": "A [release group](https://musicbrainz.org/doc/Release_Group) is\nused to group several different releases into a single logical entity. Every\nrelease belongs to one, and only one release group.\n\nBoth release groups and releases are “albums” in a general sense, but with an\nimportant difference: a release is something you can buy as media such as a CD\nor a vinyl record, while a release group embraces the overall concept of an\nalbum – it doesn’t matter how many CDs or editions/versions it had.", - "fields": [ - { - "name": "id", - "description": "The ID of an object", - "args": [], - "type": { - "kind": "NON_NULL", - "name": null, - "ofType": { - "kind": "SCALAR", - "name": "ID", - "ofType": null - } - }, - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "mbid", - "description": "The MBID of the entity.", - "args": [], - "type": { - "kind": "NON_NULL", - "name": null, - "ofType": { - "kind": "SCALAR", - "name": "MBID", - "ofType": null - } - }, - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "title", - "description": "The official title of the entity.", - "args": [], - "type": { - "kind": "SCALAR", - "name": "String", - "ofType": null - }, - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "disambiguation", - "description": "A comment used to help distinguish identically named entitites.", - "args": [], - "type": { - "kind": "SCALAR", - "name": "String", - "ofType": null - }, - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "aliases", - "description": "[Aliases](https://musicbrainz.org/doc/Aliases) are used to store\nalternate names or misspellings.", - "args": [], - "type": { - "kind": "LIST", - "name": null, - "ofType": { - "kind": "OBJECT", - "name": "Alias", - "ofType": null - } - }, - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "artistCredit", - "description": "The main credited artist(s).", - "args": [], - "type": { - "kind": "LIST", - "name": null, - "ofType": { - "kind": "OBJECT", - "name": "ArtistCredit", - "ofType": null - } - }, - "isDeprecated": true, - "deprecationReason": "The `artistCredit` field has been renamed to\n`artistCredits`, since it is a list of credits and is referred to in the\nplural form throughout the MusicBrainz documentation. This field is deprecated\nand will be removed in a major release in the future. Use the equivalent\n`artistCredits` field." - }, - { - "name": "artistCredits", - "description": "The main credited artist(s).", - "args": [], - "type": { - "kind": "LIST", - "name": null, - "ofType": { - "kind": "OBJECT", - "name": "ArtistCredit", - "ofType": null - } - }, - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "firstReleaseDate", - "description": "The date of the earliest release in the group.", - "args": [], - "type": { - "kind": "SCALAR", - "name": "Date", - "ofType": null - }, - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "primaryType", - "description": "The [type](https://musicbrainz.org/doc/Release_Group/Type)\nof a release group describes what kind of releases the release group represents,\ne.g. album, single, soundtrack, compilation, etc. A release group can have a\n“main” type and an unspecified number of additional types.", - "args": [], - "type": { - "kind": "ENUM", - "name": "ReleaseGroupType", - "ofType": null - }, - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "primaryTypeID", - "description": "The MBID associated with the value of the `primaryType`\nfield.", - "args": [], - "type": { - "kind": "SCALAR", - "name": "MBID", - "ofType": null - }, - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "secondaryTypes", - "description": "Additional [types](https://musicbrainz.org/doc/Release_Group/Type)\nthat apply to this release group.", - "args": [], - "type": { - "kind": "LIST", - "name": null, - "ofType": { - "kind": "ENUM", - "name": "ReleaseGroupType", - "ofType": null - } - }, - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "secondaryTypeIDs", - "description": "The MBIDs associated with the values of the `secondaryTypes`\nfield.", - "args": [], - "type": { - "kind": "LIST", - "name": null, - "ofType": { - "kind": "SCALAR", - "name": "MBID", - "ofType": null - } - }, - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "artists", - "description": "A list of artists linked to this entity.", - "args": [ - { - "name": "after", - "description": null, - "type": { - "kind": "SCALAR", - "name": "String", - "ofType": null - }, - "defaultValue": null - }, - { - "name": "first", - "description": null, - "type": { - "kind": "SCALAR", - "name": "Int", - "ofType": null - }, - "defaultValue": null - } - ], - "type": { - "kind": "OBJECT", - "name": "ArtistConnection", - "ofType": null - }, - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "releases", - "description": "A list of releases linked to this entity.", - "args": [ - { - "name": "type", - "description": "Filter by one or more release group types.", - "type": { - "kind": "LIST", - "name": null, - "ofType": { - "kind": "ENUM", - "name": "ReleaseGroupType", - "ofType": null - } - }, - "defaultValue": null - }, - { - "name": "status", - "description": "Filter by one or more release statuses.", - "type": { - "kind": "LIST", - "name": null, - "ofType": { - "kind": "ENUM", - "name": "ReleaseStatus", - "ofType": null - } - }, - "defaultValue": null - }, - { - "name": "after", - "description": null, - "type": { - "kind": "SCALAR", - "name": "String", - "ofType": null - }, - "defaultValue": null - }, - { - "name": "first", - "description": null, - "type": { - "kind": "SCALAR", - "name": "Int", - "ofType": null - }, - "defaultValue": null - } - ], - "type": { - "kind": "OBJECT", - "name": "ReleaseConnection", - "ofType": null - }, - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "relationships", - "description": "Relationships between this entity and other entitites.", - "args": [], - "type": { - "kind": "OBJECT", - "name": "Relationships", - "ofType": null - }, - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "collections", - "description": "A list of collections containing this entity.", - "args": [ - { - "name": "after", - "description": null, - "type": { - "kind": "SCALAR", - "name": "String", - "ofType": null - }, - "defaultValue": null - }, - { - "name": "first", - "description": null, - "type": { - "kind": "SCALAR", - "name": "Int", - "ofType": null - }, - "defaultValue": null - } - ], - "type": { - "kind": "OBJECT", - "name": "CollectionConnection", - "ofType": null - }, - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "rating", - "description": "The rating users have given to this entity.", - "args": [], - "type": { - "kind": "OBJECT", - "name": "Rating", - "ofType": null - }, - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "tags", - "description": "A list of tags linked to this entity.", - "args": [ - { - "name": "after", - "description": null, - "type": { - "kind": "SCALAR", - "name": "String", - "ofType": null - }, - "defaultValue": null - }, - { - "name": "first", - "description": null, - "type": { - "kind": "SCALAR", - "name": "Int", - "ofType": null - }, - "defaultValue": null - } - ], - "type": { - "kind": "OBJECT", - "name": "TagConnection", - "ofType": null - }, - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "coverArtArchive", - "description": "The cover art for a release in the release group, obtained from the\n[Cover Art Archive](https://musicbrainz.org/doc/Cover_Art_Archive). A\nrelease in the release group will be chosen as representative of the release\ngroup.\nThis field is provided by the Cover Art Archive extension.", - "args": [], - "type": { - "kind": "OBJECT", - "name": "CoverArtArchiveRelease", - "ofType": null - }, - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "fanArt", - "description": "Images of the release group from [fanart.tv](https://fanart.tv/).\nThis field is provided by the fanart.tv extension.", - "args": [], - "type": { - "kind": "OBJECT", - "name": "FanArtAlbum", - "ofType": null - }, - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "theAudioDB", - "description": "Data about the release group from [TheAudioDB](http://www.theaudiodb.com/),\na good source of descriptive information, reviews, and images.\nThis field is provided by TheAudioDB extension.", - "args": [], - "type": { - "kind": "OBJECT", - "name": "TheAudioDBAlbum", - "ofType": null - }, - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "discogs", - "description": "Information about the release group on Discogs.", - "args": [], - "type": { - "kind": "OBJECT", - "name": "DiscogsMaster", - "ofType": null - }, - "isDeprecated": false, - "deprecationReason": null - } - ], - "inputFields": null, - "interfaces": [ - { - "kind": "INTERFACE", - "name": "Node", - "ofType": null - }, - { - "kind": "INTERFACE", - "name": "Entity", - "ofType": null - } - ], - "enumValues": null, - "possibleTypes": null - }, - { - "kind": "OBJECT", - "name": "CoverArtArchiveRelease", - "description": "An object containing a list of the cover art images for a release obtained\nfrom the [Cover Art Archive](https://musicbrainz.org/doc/Cover_Art_Archive),\nas well as a summary of what artwork is available.", - "fields": [ - { - "name": "front", - "description": "The URL of an image depicting the album cover or “main front” of the release,\ni.e. the front of the packaging of the audio recording (or in the case of a\ndigital release, the image associated with it in a digital media store).\n\nIn the MusicBrainz schema, this field is a Boolean value indicating the\npresence of a front image, whereas here the value is the URL for the image\nitself if one exists. You can check for null if you just want to determine\nthe presence of an image.", - "args": [ - { - "name": "size", - "description": "The size of the image to retrieve. By default, the returned image will\nhave its full original dimensions, but certain thumbnail sizes may be\nretrieved as well.", - "type": { - "kind": "ENUM", - "name": "CoverArtArchiveImageSize", - "ofType": null - }, - "defaultValue": "FULL" - } - ], - "type": { - "kind": "SCALAR", - "name": "URLString", - "ofType": null - }, - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "back", - "description": "The URL of an image depicting the “main back” of the release, i.e. the back\nof the packaging of the audio recording.\n\nIn the MusicBrainz schema, this field is a Boolean value indicating the\npresence of a back image, whereas here the value is the URL for the image\nitself. You can check for null if you just want to determine the presence of\nan image.", - "args": [ - { - "name": "size", - "description": "The size of the image to retrieve. By default, the returned image will\nhave its full original dimensions, but certain thumbnail sizes may be\nretrieved as well.", - "type": { - "kind": "ENUM", - "name": "CoverArtArchiveImageSize", - "ofType": null - }, - "defaultValue": "FULL" - } - ], - "type": { - "kind": "SCALAR", - "name": "URLString", - "ofType": null - }, - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "images", - "description": "A list of images depicting the different sides and surfaces of a release’s\nmedia and packaging.", - "args": [], - "type": { - "kind": "NON_NULL", - "name": null, - "ofType": { - "kind": "LIST", - "name": null, - "ofType": { - "kind": "OBJECT", - "name": "CoverArtArchiveImage", - "ofType": null - } - } - }, - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "artwork", - "description": "Whether there is artwork present for this release.", - "args": [], - "type": { - "kind": "NON_NULL", - "name": null, - "ofType": { - "kind": "SCALAR", - "name": "Boolean", - "ofType": null - } - }, - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "count", - "description": "The number of artwork images present for this release.", - "args": [], - "type": { - "kind": "NON_NULL", - "name": null, - "ofType": { - "kind": "SCALAR", - "name": "Int", - "ofType": null - } - }, - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "release", - "description": "The particular release shown in the returned cover art.", - "args": [], - "type": { - "kind": "OBJECT", - "name": "Release", - "ofType": null - }, - "isDeprecated": false, - "deprecationReason": null - } - ], - "inputFields": null, - "interfaces": [], - "enumValues": null, - "possibleTypes": null - }, - { - "kind": "ENUM", - "name": "CoverArtArchiveImageSize", - "description": "The image sizes that may be requested at the [Cover Art Archive](https://musicbrainz.org/doc/Cover_Art_Archive).", - "fields": null, - "inputFields": null, - "interfaces": null, - "enumValues": [ - { - "name": "SMALL", - "description": "A maximum dimension of 250px.", - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "LARGE", - "description": "A maximum dimension of 500px.", - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "FULL", - "description": "The image’s original dimensions, with no maximum.", - "isDeprecated": false, - "deprecationReason": null - } - ], - "possibleTypes": null - }, - { - "kind": "OBJECT", - "name": "CoverArtArchiveImage", - "description": "An individual piece of album artwork from the [Cover Art Archive](https://musicbrainz.org/doc/Cover_Art_Archive).", - "fields": [ - { - "name": "fileID", - "description": "The Internet Archive’s internal file ID for the image.", - "args": [], - "type": { - "kind": "NON_NULL", - "name": null, - "ofType": { - "kind": "SCALAR", - "name": "String", - "ofType": null - } - }, - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "image", - "description": "The URL at which the image can be found.", - "args": [], - "type": { - "kind": "NON_NULL", - "name": null, - "ofType": { - "kind": "SCALAR", - "name": "URLString", - "ofType": null - } - }, - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "thumbnails", - "description": "A set of thumbnails for the image.", - "args": [], - "type": { - "kind": "NON_NULL", - "name": null, - "ofType": { - "kind": "OBJECT", - "name": "CoverArtArchiveImageThumbnails", - "ofType": null - } - }, - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "front", - "description": "Whether this image depicts the “main front” of the release.", - "args": [], - "type": { - "kind": "NON_NULL", - "name": null, - "ofType": { - "kind": "SCALAR", - "name": "Boolean", - "ofType": null - } - }, - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "back", - "description": "Whether this image depicts the “main back” of the release.", - "args": [], - "type": { - "kind": "NON_NULL", - "name": null, - "ofType": { - "kind": "SCALAR", - "name": "Boolean", - "ofType": null - } - }, - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "types", - "description": "A list of [image types](https://musicbrainz.org/doc/Cover_Art/Types)\ndescribing what part(s) of the release the image includes.", - "args": [], - "type": { - "kind": "NON_NULL", - "name": null, - "ofType": { - "kind": "LIST", - "name": null, - "ofType": { - "kind": "SCALAR", - "name": "String", - "ofType": null - } - } - }, - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "edit", - "description": "The MusicBrainz edit ID.", - "args": [], - "type": { - "kind": "SCALAR", - "name": "Int", - "ofType": null - }, - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "approved", - "description": "Whether the image was approved by the MusicBrainz edit system.", - "args": [], - "type": { - "kind": "SCALAR", - "name": "Boolean", - "ofType": null - }, - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "comment", - "description": "A free-text comment left for the image.", - "args": [], - "type": { - "kind": "SCALAR", - "name": "String", - "ofType": null - }, - "isDeprecated": false, - "deprecationReason": null - } - ], - "inputFields": null, - "interfaces": [], - "enumValues": null, - "possibleTypes": null - }, - { - "kind": "OBJECT", - "name": "CoverArtArchiveImageThumbnails", - "description": "URLs for thumbnails of different sizes for a particular piece of cover art.", - "fields": [ - { - "name": "small", - "description": "The URL of a small version of the cover art, where the maximum dimension is\n250px.", - "args": [], - "type": { - "kind": "SCALAR", - "name": "URLString", - "ofType": null - }, - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "large", - "description": "The URL of a large version of the cover art, where the maximum dimension is\n500px.", - "args": [], - "type": { - "kind": "SCALAR", - "name": "URLString", - "ofType": null - }, - "isDeprecated": false, - "deprecationReason": null - } - ], - "inputFields": null, - "interfaces": [], - "enumValues": null, - "possibleTypes": null - }, - { - "kind": "OBJECT", - "name": "FanArtAlbum", - "description": "An object containing lists of the different types of release group images from\n[fanart.tv](https://fanart.tv/).", - "fields": [ - { - "name": "albumCovers", - "description": "A list of 1000x1000 JPG images of the cover artwork of the release group.", - "args": [], - "type": { - "kind": "LIST", - "name": null, - "ofType": { - "kind": "OBJECT", - "name": "FanArtImage", - "ofType": null - } - }, - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "discImages", - "description": "A list of 1000x1000 PNG images of the physical disc media for the release\ngroup, with transparent backgrounds.", - "args": [], - "type": { - "kind": "LIST", - "name": null, - "ofType": { - "kind": "OBJECT", - "name": "FanArtDiscImage", - "ofType": null - } - }, - "isDeprecated": false, - "deprecationReason": null - } - ], - "inputFields": null, - "interfaces": [], - "enumValues": null, - "possibleTypes": null - }, - { - "kind": "OBJECT", - "name": "FanArtImage", - "description": "A single image from [fanart.tv](https://fanart.tv/).", - "fields": [ - { - "name": "imageID", - "description": "The ID of the image on fanart.tv.", - "args": [], - "type": { - "kind": "SCALAR", - "name": "ID", - "ofType": null - }, - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "url", - "description": "The URL of the image.", - "args": [ - { - "name": "size", - "description": "The size of the image to retrieve.", - "type": { - "kind": "ENUM", - "name": "FanArtImageSize", - "ofType": null - }, - "defaultValue": "FULL" - } - ], - "type": { - "kind": "SCALAR", - "name": "URLString", - "ofType": null - }, - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "likeCount", - "description": "The number of likes the image has received by fanart.tv users.", - "args": [], - "type": { - "kind": "SCALAR", - "name": "Int", - "ofType": null - }, - "isDeprecated": false, - "deprecationReason": null - } - ], - "inputFields": null, - "interfaces": [], - "enumValues": null, - "possibleTypes": null - }, - { - "kind": "ENUM", - "name": "FanArtImageSize", - "description": "The image sizes that may be requested at [fanart.tv](https://fanart.tv/).", - "fields": null, - "inputFields": null, - "interfaces": null, - "enumValues": [ - { - "name": "FULL", - "description": "The image’s full original dimensions.", - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "PREVIEW", - "description": "A maximum dimension of 200px.", - "isDeprecated": false, - "deprecationReason": null - } - ], - "possibleTypes": null - }, - { - "kind": "OBJECT", - "name": "FanArtDiscImage", - "description": "A disc image from [fanart.tv](https://fanart.tv/).", - "fields": [ - { - "name": "imageID", - "description": "The ID of the image on fanart.tv.", - "args": [], - "type": { - "kind": "SCALAR", - "name": "ID", - "ofType": null - }, - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "url", - "description": "The URL of the image.", - "args": [ - { - "name": "size", - "description": "The size of the image to retrieve.", - "type": { - "kind": "ENUM", - "name": "FanArtImageSize", - "ofType": null - }, - "defaultValue": "FULL" - } - ], - "type": { - "kind": "SCALAR", - "name": "URLString", - "ofType": null - }, - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "likeCount", - "description": "The number of likes the image has received by fanart.tv users.", - "args": [], - "type": { - "kind": "SCALAR", - "name": "Int", - "ofType": null - }, - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "discNumber", - "description": "The disc number.", - "args": [], - "type": { - "kind": "SCALAR", - "name": "Int", - "ofType": null - }, - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "size", - "description": "The width and height of the (square) disc image.", - "args": [], - "type": { - "kind": "SCALAR", - "name": "Int", - "ofType": null - }, - "isDeprecated": false, - "deprecationReason": null - } - ], - "inputFields": null, - "interfaces": [], - "enumValues": null, - "possibleTypes": null - }, - { - "kind": "OBJECT", - "name": "TheAudioDBAlbum", - "description": "An album on [TheAudioDB](http://www.theaudiodb.com/) corresponding with a\nMusicBrainz Release Group.", - "fields": [ - { - "name": "albumID", - "description": "TheAudioDB ID of the album.", - "args": [], - "type": { - "kind": "SCALAR", - "name": "ID", - "ofType": null - }, - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "artistID", - "description": "TheAudioDB ID of the artist who released the album.", - "args": [], - "type": { - "kind": "SCALAR", - "name": "ID", - "ofType": null - }, - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "description", - "description": "A description of the album, often available in several languages.", - "args": [ - { - "name": "lang", - "description": "The two-letter code for the language in which to retrieve the biography.", - "type": { - "kind": "SCALAR", - "name": "String", - "ofType": null - }, - "defaultValue": "\"en\"" - } - ], - "type": { - "kind": "SCALAR", - "name": "String", - "ofType": null - }, - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "review", - "description": "A review of the album.", - "args": [], - "type": { - "kind": "SCALAR", - "name": "String", - "ofType": null - }, - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "salesCount", - "description": "The worldwide sales figure.", - "args": [], - "type": { - "kind": "SCALAR", - "name": "Float", - "ofType": null - }, - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "score", - "description": "The album’s rating as determined by user votes, out of 10.", - "args": [], - "type": { - "kind": "SCALAR", - "name": "Float", - "ofType": null - }, - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "scoreVotes", - "description": "The number of users who voted to determine the album’s score.", - "args": [], - "type": { - "kind": "SCALAR", - "name": "Float", - "ofType": null - }, - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "discImage", - "description": "An image of the physical disc media for the album.", - "args": [ - { - "name": "size", - "description": "The size of the image to retrieve.", - "type": { - "kind": "ENUM", - "name": "TheAudioDBImageSize", - "ofType": null - }, - "defaultValue": "FULL" - } - ], - "type": { - "kind": "SCALAR", - "name": "URLString", - "ofType": null - }, - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "spineImage", - "description": "An image of the spine of the album packaging.", - "args": [ - { - "name": "size", - "description": "The size of the image to retrieve.", - "type": { - "kind": "ENUM", - "name": "TheAudioDBImageSize", - "ofType": null - }, - "defaultValue": "FULL" - } - ], - "type": { - "kind": "SCALAR", - "name": "URLString", - "ofType": null - }, - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "frontImage", - "description": "An image of the front of the album packaging.", - "args": [ - { - "name": "size", - "description": "The size of the image to retrieve.", - "type": { - "kind": "ENUM", - "name": "TheAudioDBImageSize", - "ofType": null - }, - "defaultValue": "FULL" - } - ], - "type": { - "kind": "SCALAR", - "name": "URLString", - "ofType": null - }, - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "backImage", - "description": "An image of the back of the album packaging.", - "args": [ - { - "name": "size", - "description": "The size of the image to retrieve.", - "type": { - "kind": "ENUM", - "name": "TheAudioDBImageSize", - "ofType": null - }, - "defaultValue": "FULL" - } - ], - "type": { - "kind": "SCALAR", - "name": "URLString", - "ofType": null - }, - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "genre", - "description": "The primary musical genre of the album (e.g. “Alternative Rock”).", - "args": [], - "type": { - "kind": "SCALAR", - "name": "String", - "ofType": null - }, - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "mood", - "description": "The primary musical mood of the album (e.g. “Sad”).", - "args": [], - "type": { - "kind": "SCALAR", - "name": "String", - "ofType": null - }, - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "style", - "description": "The primary musical style of the album (e.g. “Rock/Pop”).", - "args": [], - "type": { - "kind": "SCALAR", - "name": "String", - "ofType": null - }, - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "speed", - "description": "A rough description of the primary musical speed of the album (e.g. “Medium”).", - "args": [], - "type": { - "kind": "SCALAR", - "name": "String", - "ofType": null - }, - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "theme", - "description": "The primary musical theme of the album (e.g. “In Love”).", - "args": [], - "type": { - "kind": "SCALAR", - "name": "String", - "ofType": null - }, - "isDeprecated": false, - "deprecationReason": null - } - ], - "inputFields": null, - "interfaces": [], - "enumValues": null, - "possibleTypes": null - }, - { - "kind": "ENUM", - "name": "TheAudioDBImageSize", - "description": "The image sizes that may be requested at [TheAudioDB](http://www.theaudiodb.com/).", - "fields": null, - "inputFields": null, - "interfaces": null, - "enumValues": [ - { - "name": "FULL", - "description": "The image’s full original dimensions.", - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "PREVIEW", - "description": "A maximum dimension of 200px.", - "isDeprecated": false, - "deprecationReason": null - } - ], - "possibleTypes": null - }, - { - "kind": "OBJECT", - "name": "DiscogsMaster", - "description": "Master releases group different versions of the same release (for example,\nreleases in different formats, issued in different countries, re-releases,\netc.). The equivalent of a MusicBrainz release group.", - "fields": [ - { - "name": "masterID", - "description": "The ID of the master on Discogs.", - "args": [], - "type": { - "kind": "NON_NULL", - "name": null, - "ofType": { - "kind": "SCALAR", - "name": "ID", - "ofType": null - } - }, - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "title", - "description": "The title of the master.", - "args": [], - "type": { - "kind": "NON_NULL", - "name": null, - "ofType": { - "kind": "SCALAR", - "name": "String", - "ofType": null - } - }, - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "url", - "description": "The URL of the master on Discogs.", - "args": [], - "type": { - "kind": "NON_NULL", - "name": null, - "ofType": { - "kind": "SCALAR", - "name": "URLString", - "ofType": null - } - }, - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "artistCredits", - "description": "The artists credited on the master.", - "args": [], - "type": { - "kind": "NON_NULL", - "name": null, - "ofType": { - "kind": "LIST", - "name": null, - "ofType": { - "kind": "NON_NULL", - "name": null, - "ofType": { - "kind": "OBJECT", - "name": "DiscogsArtistCredit", - "ofType": null - } - } - } - }, - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "genres", - "description": "The primary musical genres of the master (e.g. “Electronic”).", - "args": [], - "type": { - "kind": "NON_NULL", - "name": null, - "ofType": { - "kind": "LIST", - "name": null, - "ofType": { - "kind": "NON_NULL", - "name": null, - "ofType": { - "kind": "SCALAR", - "name": "String", - "ofType": null - } - } - } - }, - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "styles", - "description": "The primary musical styles of the master (e.g. “Techno”, “Minimal”).", - "args": [], - "type": { - "kind": "NON_NULL", - "name": null, - "ofType": { - "kind": "LIST", - "name": null, - "ofType": { - "kind": "NON_NULL", - "name": null, - "ofType": { - "kind": "SCALAR", - "name": "String", - "ofType": null - } - } - } - }, - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "forSaleCount", - "description": "The number of listings the master currently has on the marketplace.", - "args": [], - "type": { - "kind": "SCALAR", - "name": "Int", - "ofType": null - }, - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "lowestPrice", - "description": "The lowest price for the master currently found on the marketplace.", - "args": [ - { - "name": "currency", - "description": "The three-letter currency code for which to retrieve the price. Discogs\nsupports USD, GBP, EUR, CAD, AUD, JPY, CHF, MXN, BRL, NZD, SEK, and ZAR.\n#\n[NOT YET WORKING]", - "type": { - "kind": "SCALAR", - "name": "String", - "ofType": null - }, - "defaultValue": null - } - ], - "type": { - "kind": "SCALAR", - "name": "Float", - "ofType": null - }, - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "year", - "description": "The year the master was released (most likely its “main” release).", - "args": [], - "type": { - "kind": "SCALAR", - "name": "Int", - "ofType": null - }, - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "mainRelease", - "description": "The main release from the master.", - "args": [], - "type": { - "kind": "OBJECT", - "name": "DiscogsRelease", - "ofType": null - }, - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "images", - "description": "Images of the master.", - "args": [], - "type": { - "kind": "NON_NULL", - "name": null, - "ofType": { - "kind": "LIST", - "name": null, - "ofType": { - "kind": "NON_NULL", - "name": null, - "ofType": { - "kind": "OBJECT", - "name": "DiscogsImage", - "ofType": null - } - } - } - }, - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "videos", - "description": "Music videos from the master.", - "args": [], - "type": { - "kind": "NON_NULL", - "name": null, - "ofType": { - "kind": "LIST", - "name": null, - "ofType": { - "kind": "NON_NULL", - "name": null, - "ofType": { - "kind": "OBJECT", - "name": "DiscogsVideo", - "ofType": null - } - } - } - }, - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "dataQuality", - "description": "A description of the quality and completeness of this master’s data in the\nDiscogs database.", - "args": [], - "type": { - "kind": "SCALAR", - "name": "String", - "ofType": null - }, - "isDeprecated": false, - "deprecationReason": null - } - ], - "inputFields": null, - "interfaces": [], - "enumValues": null, - "possibleTypes": null - }, - { - "kind": "OBJECT", - "name": "DiscogsArtistCredit", - "description": "A credited artist on a release, track, etc.", - "fields": [ - { - "name": "name", - "description": "The official or common name of the credited artist.", - "args": [], - "type": { - "kind": "SCALAR", - "name": "String", - "ofType": null - }, - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "nameVariation", - "description": "The artist name as credited on this particular work (the Artist Name\nVariation, or ANV, in Discogs terms).", - "args": [], - "type": { - "kind": "SCALAR", - "name": "String", - "ofType": null - }, - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "joinPhrase", - "description": "Join phrases might include words and/or punctuation to separate artist\nnames as they appear on the release, track, etc.", - "args": [], - "type": { - "kind": "SCALAR", - "name": "String", - "ofType": null - }, - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "roles", - "description": "A list of roles the artist had on the work in question.", - "args": [], - "type": { - "kind": "NON_NULL", - "name": null, - "ofType": { - "kind": "LIST", - "name": null, - "ofType": { - "kind": "NON_NULL", - "name": null, - "ofType": { - "kind": "SCALAR", - "name": "String", - "ofType": null - } - } - } - }, - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "tracks", - "description": "A list of tracks or track ranges (e.g. “A1 to A4”) on which the artist is\ncredited.", - "args": [], - "type": { - "kind": "NON_NULL", - "name": null, - "ofType": { - "kind": "LIST", - "name": null, - "ofType": { - "kind": "NON_NULL", - "name": null, - "ofType": { - "kind": "SCALAR", - "name": "String", - "ofType": null - } - } - } - }, - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "artist", - "description": "The artist’s entry on Discogs.", - "args": [], - "type": { - "kind": "OBJECT", - "name": "DiscogsArtist", - "ofType": null - }, - "isDeprecated": false, - "deprecationReason": null - } - ], - "inputFields": null, - "interfaces": [], - "enumValues": null, - "possibleTypes": null - }, - { - "kind": "OBJECT", - "name": "DiscogsArtist", - "description": "An artist on Discogs.", - "fields": [ - { - "name": "artistID", - "description": "The ID of the artist on Discogs.", - "args": [], - "type": { - "kind": "NON_NULL", - "name": null, - "ofType": { - "kind": "SCALAR", - "name": "ID", - "ofType": null - } - }, - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "name", - "description": "The name of the artist on Discogs.", - "args": [], - "type": { - "kind": "NON_NULL", - "name": null, - "ofType": { - "kind": "SCALAR", - "name": "String", - "ofType": null - } - }, - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "nameVariations", - "description": "Commonly found variations of the artist’s name.", - "args": [], - "type": { - "kind": "NON_NULL", - "name": null, - "ofType": { - "kind": "LIST", - "name": null, - "ofType": { - "kind": "NON_NULL", - "name": null, - "ofType": { - "kind": "SCALAR", - "name": "String", - "ofType": null - } - } - } - }, - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "realName", - "description": "The artist’s real name, if the artist is a person who uses a stage name.", - "args": [], - "type": { - "kind": "SCALAR", - "name": "String", - "ofType": null - }, - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "aliases", - "description": "A list of Discogs artists that represent the same artist under a different\nalias.", - "args": [], - "type": { - "kind": "NON_NULL", - "name": null, - "ofType": { - "kind": "LIST", - "name": null, - "ofType": { - "kind": "NON_NULL", - "name": null, - "ofType": { - "kind": "OBJECT", - "name": "DiscogsArtist", - "ofType": null - } - } - } - }, - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "url", - "description": "The URL of the artist’s page on Discogs.", - "args": [], - "type": { - "kind": "NON_NULL", - "name": null, - "ofType": { - "kind": "SCALAR", - "name": "URLString", - "ofType": null - } - }, - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "urls", - "description": "Links to the artist’s official pages on different web properties.", - "args": [], - "type": { - "kind": "NON_NULL", - "name": null, - "ofType": { - "kind": "LIST", - "name": null, - "ofType": { - "kind": "NON_NULL", - "name": null, - "ofType": { - "kind": "SCALAR", - "name": "URLString", - "ofType": null - } - } - } - }, - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "profile", - "description": "A biography or description of the artist.", - "args": [], - "type": { - "kind": "SCALAR", - "name": "String", - "ofType": null - }, - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "images", - "description": "A list of images picturing the artist.", - "args": [], - "type": { - "kind": "NON_NULL", - "name": null, - "ofType": { - "kind": "LIST", - "name": null, - "ofType": { - "kind": "NON_NULL", - "name": null, - "ofType": { - "kind": "OBJECT", - "name": "DiscogsImage", - "ofType": null - } - } - } - }, - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "members", - "description": "A list of members, if the artist is a group.", - "args": [], - "type": { - "kind": "NON_NULL", - "name": null, - "ofType": { - "kind": "LIST", - "name": null, - "ofType": { - "kind": "NON_NULL", - "name": null, - "ofType": { - "kind": "OBJECT", - "name": "DiscogsArtistMember", - "ofType": null - } - } - } - }, - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "dataQuality", - "description": "A description of the quality and completeness of this artist’s data in the\nDiscogs database.", - "args": [], - "type": { - "kind": "SCALAR", - "name": "String", - "ofType": null - }, - "isDeprecated": false, - "deprecationReason": null - } - ], - "inputFields": null, - "interfaces": [], - "enumValues": null, - "possibleTypes": null - }, - { - "kind": "OBJECT", - "name": "DiscogsImage", - "description": "A single image from Discogs.", - "fields": [ - { - "name": "url", - "description": "The URL of the image file.", - "args": [], - "type": { - "kind": "NON_NULL", - "name": null, - "ofType": { - "kind": "SCALAR", - "name": "URLString", - "ofType": null - } - }, - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "type", - "description": "The image type, primary or secondary.", - "args": [], - "type": { - "kind": "NON_NULL", - "name": null, - "ofType": { - "kind": "ENUM", - "name": "DiscogsImageType", - "ofType": null - } - }, - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "width", - "description": "The image width in pixels.", - "args": [], - "type": { - "kind": "NON_NULL", - "name": null, - "ofType": { - "kind": "SCALAR", - "name": "Int", - "ofType": null - } - }, - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "height", - "description": "The image height in pixels.", - "args": [], - "type": { - "kind": "NON_NULL", - "name": null, - "ofType": { - "kind": "SCALAR", - "name": "Int", - "ofType": null - } - }, - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "thumbnail", - "description": "The URL for a 150x150 thumbnail of the image.", - "args": [], - "type": { - "kind": "SCALAR", - "name": "URLString", - "ofType": null - }, - "isDeprecated": false, - "deprecationReason": null - } - ], - "inputFields": null, - "interfaces": [], - "enumValues": null, - "possibleTypes": null - }, - { - "kind": "ENUM", - "name": "DiscogsImageType", - "description": "The type of image.", - "fields": null, - "inputFields": null, - "interfaces": null, - "enumValues": [ - { - "name": "PRIMARY", - "description": "The primary image representing the item.", - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "SECONDARY", - "description": "A secondary image representing the item.", - "isDeprecated": false, - "deprecationReason": null - } - ], - "possibleTypes": null - }, - { - "kind": "OBJECT", - "name": "DiscogsArtistMember", - "description": "A single artist who is a member of a group on Discogs.", - "fields": [ - { - "name": "active", - "description": "Whether or not the member is still active in the group.", - "args": [], - "type": { - "kind": "SCALAR", - "name": "Boolean", - "ofType": null - }, - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "name", - "description": "The name of the member.", - "args": [], - "type": { - "kind": "NON_NULL", - "name": null, - "ofType": { - "kind": "SCALAR", - "name": "String", - "ofType": null - } - }, - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "artist", - "description": "The member’s artist information on Discogs.", - "args": [], - "type": { - "kind": "OBJECT", - "name": "DiscogsArtist", - "ofType": null - }, - "isDeprecated": false, - "deprecationReason": null - } - ], - "inputFields": null, - "interfaces": [], - "enumValues": null, - "possibleTypes": null - }, - { - "kind": "OBJECT", - "name": "DiscogsRelease", - "description": "A release on Discogs.", - "fields": [ - { - "name": "releaseID", - "description": "The ID of the release on Discogs.", - "args": [], - "type": { - "kind": "NON_NULL", - "name": null, - "ofType": { - "kind": "SCALAR", - "name": "ID", - "ofType": null - } - }, - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "title", - "description": "The title of the release.", - "args": [], - "type": { - "kind": "NON_NULL", - "name": null, - "ofType": { - "kind": "SCALAR", - "name": "String", - "ofType": null - } - }, - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "url", - "description": "The URL of the release on Discogs.", - "args": [], - "type": { - "kind": "NON_NULL", - "name": null, - "ofType": { - "kind": "SCALAR", - "name": "URLString", - "ofType": null - } - }, - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "artistCredits", - "description": "The artists credited on the release.", - "args": [], - "type": { - "kind": "NON_NULL", - "name": null, - "ofType": { - "kind": "LIST", - "name": null, - "ofType": { - "kind": "NON_NULL", - "name": null, - "ofType": { - "kind": "OBJECT", - "name": "DiscogsArtistCredit", - "ofType": null - } - } - } - }, - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "extraArtistCredits", - "description": "An additional list of artists who contributed to the release, but are not\nnamed in the release’s artists.", - "args": [], - "type": { - "kind": "NON_NULL", - "name": null, - "ofType": { - "kind": "LIST", - "name": null, - "ofType": { - "kind": "NON_NULL", - "name": null, - "ofType": { - "kind": "OBJECT", - "name": "DiscogsArtistCredit", - "ofType": null - } - } - } - }, - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "genres", - "description": "The primary musical genres of the release (e.g. “Electronic”).", - "args": [], - "type": { - "kind": "NON_NULL", - "name": null, - "ofType": { - "kind": "LIST", - "name": null, - "ofType": { - "kind": "NON_NULL", - "name": null, - "ofType": { - "kind": "SCALAR", - "name": "String", - "ofType": null - } - } - } - }, - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "styles", - "description": "The primary musical styles of the release (e.g. “Techno”, “Minimal”).", - "args": [], - "type": { - "kind": "NON_NULL", - "name": null, - "ofType": { - "kind": "LIST", - "name": null, - "ofType": { - "kind": "NON_NULL", - "name": null, - "ofType": { - "kind": "SCALAR", - "name": "String", - "ofType": null - } - } - } - }, - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "forSaleCount", - "description": "The number of listings the release currently has on the marketplace.", - "args": [], - "type": { - "kind": "SCALAR", - "name": "Int", - "ofType": null - }, - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "lowestPrice", - "description": "The lowest price for the release currently found on the marketplace.", - "args": [ - { - "name": "currency", - "description": "The three-letter currency code for which to retrieve the price. Discogs\nsupports USD, GBP, EUR, CAD, AUD, JPY, CHF, MXN, BRL, NZD, SEK, and ZAR.\n#\n[NOT YET WORKING]", - "type": { - "kind": "SCALAR", - "name": "String", - "ofType": null - }, - "defaultValue": null - } - ], - "type": { - "kind": "SCALAR", - "name": "Float", - "ofType": null - }, - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "year", - "description": "The year the release was issued.", - "args": [], - "type": { - "kind": "SCALAR", - "name": "Int", - "ofType": null - }, - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "notes", - "description": "Notes about the release.", - "args": [], - "type": { - "kind": "SCALAR", - "name": "String", - "ofType": null - }, - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "country", - "description": "The country in which the release was issued.", - "args": [], - "type": { - "kind": "SCALAR", - "name": "String", - "ofType": null - }, - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "master", - "description": "The master release on Discogs.", - "args": [], - "type": { - "kind": "OBJECT", - "name": "DiscogsMaster", - "ofType": null - }, - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "thumbnail", - "description": "The primary thumbnail image for the release.", - "args": [], - "type": { - "kind": "SCALAR", - "name": "URLString", - "ofType": null - }, - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "images", - "description": "Images of the release.", - "args": [], - "type": { - "kind": "NON_NULL", - "name": null, - "ofType": { - "kind": "LIST", - "name": null, - "ofType": { - "kind": "NON_NULL", - "name": null, - "ofType": { - "kind": "OBJECT", - "name": "DiscogsImage", - "ofType": null - } - } - } - }, - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "videos", - "description": "Music videos from the release.", - "args": [], - "type": { - "kind": "NON_NULL", - "name": null, - "ofType": { - "kind": "LIST", - "name": null, - "ofType": { - "kind": "NON_NULL", - "name": null, - "ofType": { - "kind": "OBJECT", - "name": "DiscogsVideo", - "ofType": null - } - } - } - }, - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "community", - "description": "Information about the Discogs community’s contributions to the release’s\ndata.", - "args": [], - "type": { - "kind": "OBJECT", - "name": "DiscogsCommunity", - "ofType": null - }, - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "dataQuality", - "description": "A description of the quality and completeness of this release’s data in\nthe Discogs database.", - "args": [], - "type": { - "kind": "SCALAR", - "name": "String", - "ofType": null - }, - "isDeprecated": false, - "deprecationReason": null - } - ], - "inputFields": null, - "interfaces": [], - "enumValues": null, - "possibleTypes": null - }, - { - "kind": "OBJECT", - "name": "DiscogsVideo", - "description": "A single video linked from Discogs.", - "fields": [ - { - "name": "url", - "description": "The URL of the video.", - "args": [], - "type": { - "kind": "NON_NULL", - "name": null, - "ofType": { - "kind": "SCALAR", - "name": "URLString", - "ofType": null - } - }, - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "title", - "description": "The title of the video.", - "args": [], - "type": { - "kind": "SCALAR", - "name": "String", - "ofType": null - }, - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "description", - "description": "The video description.", - "args": [], - "type": { - "kind": "SCALAR", - "name": "String", - "ofType": null - }, - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "duration", - "description": "The duration of the video in milliseconds.", - "args": [], - "type": { - "kind": "SCALAR", - "name": "Duration", - "ofType": null - }, - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "embed", - "description": "Whether the video is embeddable.", - "args": [], - "type": { - "kind": "SCALAR", - "name": "Boolean", - "ofType": null - }, - "isDeprecated": false, - "deprecationReason": null - } - ], - "inputFields": null, - "interfaces": [], - "enumValues": null, - "possibleTypes": null - }, - { - "kind": "OBJECT", - "name": "DiscogsCommunity", - "description": "Community statistics regarding an item on Discogs.", - "fields": [ - { - "name": "status", - "description": "The acceptance status.", - "args": [], - "type": { - "kind": "SCALAR", - "name": "String", - "ofType": null - }, - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "rating", - "description": "Information about how Discogs users have rated the item.", - "args": [], - "type": { - "kind": "OBJECT", - "name": "DiscogsRating", - "ofType": null - }, - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "haveCount", - "description": "The number of Discogs users who have the item in their collection.", - "args": [], - "type": { - "kind": "SCALAR", - "name": "Int", - "ofType": null - }, - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "wantCount", - "description": "The number of Discogs users who want the item.", - "args": [], - "type": { - "kind": "SCALAR", - "name": "Int", - "ofType": null - }, - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "contributors", - "description": "The Discogs users who have contributed to the item’s data.", - "args": [], - "type": { - "kind": "NON_NULL", - "name": null, - "ofType": { - "kind": "LIST", - "name": null, - "ofType": { - "kind": "NON_NULL", - "name": null, - "ofType": { - "kind": "OBJECT", - "name": "DiscogsUser", - "ofType": null - } - } - } - }, - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "submitter", - "description": "The Discogs user who submitted the item.", - "args": [], - "type": { - "kind": "OBJECT", - "name": "DiscogsUser", - "ofType": null - }, - "isDeprecated": false, - "deprecationReason": null - } - ], - "inputFields": null, - "interfaces": [], - "enumValues": null, - "possibleTypes": null - }, - { - "kind": "OBJECT", - "name": "DiscogsRating", - "description": "An aggregated rating on Discogs.", - "fields": [ - { - "name": "voteCount", - "description": "The number of users who have contributed to the rating.", - "args": [], - "type": { - "kind": "NON_NULL", - "name": null, - "ofType": { - "kind": "SCALAR", - "name": "Int", - "ofType": null - } - }, - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "value", - "description": "The average rating as determined by users.", - "args": [], - "type": { - "kind": "SCALAR", - "name": "Float", - "ofType": null - }, - "isDeprecated": false, - "deprecationReason": null - } - ], - "inputFields": null, - "interfaces": [], - "enumValues": null, - "possibleTypes": null - }, - { - "kind": "OBJECT", - "name": "DiscogsUser", - "description": "A user on Discogs.", - "fields": [ - { - "name": "username", - "description": "The user’s username on Discogs.", - "args": [], - "type": { - "kind": "NON_NULL", - "name": null, - "ofType": { - "kind": "SCALAR", - "name": "String", - "ofType": null - } - }, - "isDeprecated": false, - "deprecationReason": null - } - ], - "inputFields": null, - "interfaces": [], - "enumValues": null, - "possibleTypes": null - }, - { - "kind": "OBJECT", - "name": "SeriesConnection", - "description": "A connection to a list of items.", - "fields": [ - { - "name": "pageInfo", - "description": "Information to aid in pagination.", - "args": [], - "type": { - "kind": "NON_NULL", - "name": null, - "ofType": { - "kind": "OBJECT", - "name": "PageInfo", - "ofType": null - } - }, - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "edges", - "description": "A list of edges.", - "args": [], - "type": { - "kind": "LIST", - "name": null, - "ofType": { - "kind": "OBJECT", - "name": "SeriesEdge", - "ofType": null - } - }, - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "nodes", - "description": "A list of nodes in the connection (without going through the\n`edges` field).", - "args": [], - "type": { - "kind": "LIST", - "name": null, - "ofType": { - "kind": "OBJECT", - "name": "Series", - "ofType": null - } - }, - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "totalCount", - "description": "A count of the total number of items in this connection,\nignoring pagination.", - "args": [], - "type": { - "kind": "SCALAR", - "name": "Int", - "ofType": null - }, - "isDeprecated": false, - "deprecationReason": null - } - ], - "inputFields": null, - "interfaces": [], - "enumValues": null, - "possibleTypes": null - }, - { - "kind": "OBJECT", - "name": "SeriesEdge", - "description": "An edge in a connection.", - "fields": [ - { - "name": "node", - "description": "The item at the end of the edge", - "args": [], - "type": { - "kind": "OBJECT", - "name": "Series", - "ofType": null - }, - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "cursor", - "description": "A cursor for use in pagination", - "args": [], - "type": { - "kind": "NON_NULL", - "name": null, - "ofType": { - "kind": "SCALAR", - "name": "String", - "ofType": null - } - }, - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "score", - "description": "The relevancy score (0–100) assigned by the search engine, if\nthese results were found through a search.", - "args": [], - "type": { - "kind": "SCALAR", - "name": "Int", - "ofType": null - }, - "isDeprecated": false, - "deprecationReason": null - } - ], - "inputFields": null, - "interfaces": [], - "enumValues": null, - "possibleTypes": null - }, - { - "kind": "OBJECT", - "name": "Series", - "description": "A [series](https://musicbrainz.org/doc/Series) is a sequence of\nseparate release groups, releases, recordings, works or events with a common\ntheme.", - "fields": [ - { - "name": "id", - "description": "The ID of an object", - "args": [], - "type": { - "kind": "NON_NULL", - "name": null, - "ofType": { - "kind": "SCALAR", - "name": "ID", - "ofType": null - } - }, - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "mbid", - "description": "The MBID of the entity.", - "args": [], - "type": { - "kind": "NON_NULL", - "name": null, - "ofType": { - "kind": "SCALAR", - "name": "MBID", - "ofType": null - } - }, - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "name", - "description": "The official name of the entity.", - "args": [], - "type": { - "kind": "SCALAR", - "name": "String", - "ofType": null - }, - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "disambiguation", - "description": "A comment used to help distinguish identically named entitites.", - "args": [], - "type": { - "kind": "SCALAR", - "name": "String", - "ofType": null - }, - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "type", - "description": "The type primarily describes what type of entity the series\ncontains.", - "args": [], - "type": { - "kind": "SCALAR", - "name": "String", - "ofType": null - }, - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "typeID", - "description": "The MBID associated with the value of the `type`\nfield.", - "args": [], - "type": { - "kind": "SCALAR", - "name": "MBID", - "ofType": null - }, - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "relationships", - "description": "Relationships between this entity and other entitites.", - "args": [], - "type": { - "kind": "OBJECT", - "name": "Relationships", - "ofType": null - }, - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "collections", - "description": "A list of collections containing this entity.", - "args": [ - { - "name": "after", - "description": null, - "type": { - "kind": "SCALAR", - "name": "String", - "ofType": null - }, - "defaultValue": null - }, - { - "name": "first", - "description": null, - "type": { - "kind": "SCALAR", - "name": "Int", - "ofType": null - }, - "defaultValue": null - } - ], - "type": { - "kind": "OBJECT", - "name": "CollectionConnection", - "ofType": null - }, - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "tags", - "description": "A list of tags linked to this entity.", - "args": [ - { - "name": "after", - "description": null, - "type": { - "kind": "SCALAR", - "name": "String", - "ofType": null - }, - "defaultValue": null - }, - { - "name": "first", - "description": null, - "type": { - "kind": "SCALAR", - "name": "Int", - "ofType": null - }, - "defaultValue": null - } - ], - "type": { - "kind": "OBJECT", - "name": "TagConnection", - "ofType": null - }, - "isDeprecated": false, - "deprecationReason": null - } - ], - "inputFields": null, - "interfaces": [ - { - "kind": "INTERFACE", - "name": "Node", - "ofType": null - }, - { - "kind": "INTERFACE", - "name": "Entity", - "ofType": null - } - ], - "enumValues": null, - "possibleTypes": null - }, - { - "kind": "OBJECT", - "name": "WorkConnection", - "description": "A connection to a list of items.", - "fields": [ - { - "name": "pageInfo", - "description": "Information to aid in pagination.", - "args": [], - "type": { - "kind": "NON_NULL", - "name": null, - "ofType": { - "kind": "OBJECT", - "name": "PageInfo", - "ofType": null - } - }, - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "edges", - "description": "A list of edges.", - "args": [], - "type": { - "kind": "LIST", - "name": null, - "ofType": { - "kind": "OBJECT", - "name": "WorkEdge", - "ofType": null - } - }, - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "nodes", - "description": "A list of nodes in the connection (without going through the\n`edges` field).", - "args": [], - "type": { - "kind": "LIST", - "name": null, - "ofType": { - "kind": "OBJECT", - "name": "Work", - "ofType": null - } - }, - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "totalCount", - "description": "A count of the total number of items in this connection,\nignoring pagination.", - "args": [], - "type": { - "kind": "SCALAR", - "name": "Int", - "ofType": null - }, - "isDeprecated": false, - "deprecationReason": null - } - ], - "inputFields": null, - "interfaces": [], - "enumValues": null, - "possibleTypes": null - }, - { - "kind": "OBJECT", - "name": "WorkEdge", - "description": "An edge in a connection.", - "fields": [ - { - "name": "node", - "description": "The item at the end of the edge", - "args": [], - "type": { - "kind": "OBJECT", - "name": "Work", - "ofType": null - }, - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "cursor", - "description": "A cursor for use in pagination", - "args": [], - "type": { - "kind": "NON_NULL", - "name": null, - "ofType": { - "kind": "SCALAR", - "name": "String", - "ofType": null - } - }, - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "score", - "description": "The relevancy score (0–100) assigned by the search engine, if\nthese results were found through a search.", - "args": [], - "type": { - "kind": "SCALAR", - "name": "Int", - "ofType": null - }, - "isDeprecated": false, - "deprecationReason": null - } - ], - "inputFields": null, - "interfaces": [], - "enumValues": null, - "possibleTypes": null - }, - { - "kind": "OBJECT", - "name": "Work", - "description": "A [work](https://musicbrainz.org/doc/Work) is a distinct\nintellectual or artistic creation, which can be expressed in the form of one or\nmore audio recordings.", - "fields": [ - { - "name": "id", - "description": "The ID of an object", - "args": [], - "type": { - "kind": "NON_NULL", - "name": null, - "ofType": { - "kind": "SCALAR", - "name": "ID", - "ofType": null - } - }, - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "mbid", - "description": "The MBID of the entity.", - "args": [], - "type": { - "kind": "NON_NULL", - "name": null, - "ofType": { - "kind": "SCALAR", - "name": "MBID", - "ofType": null - } - }, - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "title", - "description": "The official title of the entity.", - "args": [], - "type": { - "kind": "SCALAR", - "name": "String", - "ofType": null - }, - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "disambiguation", - "description": "A comment used to help distinguish identically named entitites.", - "args": [], - "type": { - "kind": "SCALAR", - "name": "String", - "ofType": null - }, - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "aliases", - "description": "[Aliases](https://musicbrainz.org/doc/Aliases) are used to store\nalternate names or misspellings.", - "args": [], - "type": { - "kind": "LIST", - "name": null, - "ofType": { - "kind": "OBJECT", - "name": "Alias", - "ofType": null - } - }, - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "iswcs", - "description": "A list of [ISWCs](https://musicbrainz.org/doc/ISWC) assigned\nto the work by copyright collecting agencies.", - "args": [], - "type": { - "kind": "LIST", - "name": null, - "ofType": { - "kind": "SCALAR", - "name": "String", - "ofType": null - } - }, - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "language", - "description": "The language in which the work was originally written.", - "args": [], - "type": { - "kind": "SCALAR", - "name": "String", - "ofType": null - }, - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "type", - "description": "The type of work.", - "args": [], - "type": { - "kind": "SCALAR", - "name": "String", - "ofType": null - }, - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "typeID", - "description": "The MBID associated with the value of the `type`\nfield.", - "args": [], - "type": { - "kind": "SCALAR", - "name": "MBID", - "ofType": null - }, - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "artists", - "description": "A list of artists linked to this entity.", - "args": [ - { - "name": "after", - "description": null, - "type": { - "kind": "SCALAR", - "name": "String", - "ofType": null - }, - "defaultValue": null - }, - { - "name": "first", - "description": null, - "type": { - "kind": "SCALAR", - "name": "Int", - "ofType": null - }, - "defaultValue": null - } - ], - "type": { - "kind": "OBJECT", - "name": "ArtistConnection", - "ofType": null - }, - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "relationships", - "description": "Relationships between this entity and other entitites.", - "args": [], - "type": { - "kind": "OBJECT", - "name": "Relationships", - "ofType": null - }, - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "collections", - "description": "A list of collections containing this entity.", - "args": [ - { - "name": "after", - "description": null, - "type": { - "kind": "SCALAR", - "name": "String", - "ofType": null - }, - "defaultValue": null - }, - { - "name": "first", - "description": null, - "type": { - "kind": "SCALAR", - "name": "Int", - "ofType": null - }, - "defaultValue": null - } - ], - "type": { - "kind": "OBJECT", - "name": "CollectionConnection", - "ofType": null - }, - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "rating", - "description": "The rating users have given to this entity.", - "args": [], - "type": { - "kind": "OBJECT", - "name": "Rating", - "ofType": null - }, - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "tags", - "description": "A list of tags linked to this entity.", - "args": [ - { - "name": "after", - "description": null, - "type": { - "kind": "SCALAR", - "name": "String", - "ofType": null - }, - "defaultValue": null - }, - { - "name": "first", - "description": null, - "type": { - "kind": "SCALAR", - "name": "Int", - "ofType": null - }, - "defaultValue": null - } - ], - "type": { - "kind": "OBJECT", - "name": "TagConnection", - "ofType": null - }, - "isDeprecated": false, - "deprecationReason": null - } - ], - "inputFields": null, - "interfaces": [ - { - "kind": "INTERFACE", - "name": "Node", - "ofType": null - }, - { - "kind": "INTERFACE", - "name": "Entity", - "ofType": null - } - ], - "enumValues": null, - "possibleTypes": null - }, - { - "kind": "OBJECT", - "name": "FanArtLabel", - "description": "An object containing lists of the different types of label images from\n[fanart.tv](https://fanart.tv/).", - "fields": [ - { - "name": "logos", - "description": "A list of 400x270 PNG images containing the label’s logo. There will\nusually be a black version, a color version, and a white version, all with\ntransparent backgrounds.", - "args": [], - "type": { - "kind": "LIST", - "name": null, - "ofType": { - "kind": "OBJECT", - "name": "FanArtLabelImage", - "ofType": null - } - }, - "isDeprecated": false, - "deprecationReason": null - } - ], - "inputFields": null, - "interfaces": [], - "enumValues": null, - "possibleTypes": null - }, - { - "kind": "OBJECT", - "name": "FanArtLabelImage", - "description": "A music label image from [fanart.tv](https://fanart.tv/).", - "fields": [ - { - "name": "imageID", - "description": "The ID of the image on fanart.tv.", - "args": [], - "type": { - "kind": "SCALAR", - "name": "ID", - "ofType": null - }, - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "url", - "description": "The URL of the image.", - "args": [ - { - "name": "size", - "description": "The size of the image to retrieve.", - "type": { - "kind": "ENUM", - "name": "FanArtImageSize", - "ofType": null - }, - "defaultValue": "FULL" - } - ], - "type": { - "kind": "SCALAR", - "name": "URLString", - "ofType": null - }, - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "likeCount", - "description": "The number of likes the image has received by fanart.tv users.", - "args": [], - "type": { - "kind": "SCALAR", - "name": "Int", - "ofType": null - }, - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "color", - "description": "The type of color content in the image (usually “white” or “colour”).", - "args": [], - "type": { - "kind": "SCALAR", - "name": "String", - "ofType": null - }, - "isDeprecated": false, - "deprecationReason": null - } - ], - "inputFields": null, - "interfaces": [], - "enumValues": null, - "possibleTypes": null - }, - { - "kind": "OBJECT", - "name": "DiscogsLabel", - "description": "A label on Discogs.", - "fields": [ - { - "name": "labelID", - "description": "The ID of the label on Discogs.", - "args": [], - "type": { - "kind": "NON_NULL", - "name": null, - "ofType": { - "kind": "SCALAR", - "name": "ID", - "ofType": null - } - }, - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "name", - "description": "The name of the label.", - "args": [], - "type": { - "kind": "NON_NULL", - "name": null, - "ofType": { - "kind": "SCALAR", - "name": "String", - "ofType": null - } - }, - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "url", - "description": "The URL of the label on Discogs.", - "args": [], - "type": { - "kind": "NON_NULL", - "name": null, - "ofType": { - "kind": "SCALAR", - "name": "URLString", - "ofType": null - } - }, - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "profile", - "description": "A description of the history of the label.", - "args": [], - "type": { - "kind": "SCALAR", - "name": "String", - "ofType": null - }, - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "contactInfo", - "description": "Information on how to contact a representative of the label.", - "args": [], - "type": { - "kind": "SCALAR", - "name": "String", - "ofType": null - }, - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "parentLabel", - "description": "The parent label, if this label is a subsidiary.", - "args": [], - "type": { - "kind": "OBJECT", - "name": "DiscogsLabel", - "ofType": null - }, - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "subLabels", - "description": "A list of labels that are subsidiaries of this label.", - "args": [], - "type": { - "kind": "NON_NULL", - "name": null, - "ofType": { - "kind": "LIST", - "name": null, - "ofType": { - "kind": "NON_NULL", - "name": null, - "ofType": { - "kind": "OBJECT", - "name": "DiscogsLabel", - "ofType": null - } - } - } - }, - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "images", - "description": "A list of images associated with the label.", - "args": [], - "type": { - "kind": "NON_NULL", - "name": null, - "ofType": { - "kind": "LIST", - "name": null, - "ofType": { - "kind": "NON_NULL", - "name": null, - "ofType": { - "kind": "OBJECT", - "name": "DiscogsImage", - "ofType": null - } - } - } - }, - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "dataQuality", - "description": "A description of the quality and completeness of this label’s data in the\nDiscogs database.", - "args": [], - "type": { - "kind": "SCALAR", - "name": "String", - "ofType": null - }, - "isDeprecated": false, - "deprecationReason": null - } - ], - "inputFields": null, - "interfaces": [], - "enumValues": null, - "possibleTypes": null - }, - { - "kind": "OBJECT", - "name": "LastFMAlbum", - "description": "An album on [Last.fm](https://www.last.fm/) corresponding with a MusicBrainz\nRelease.", - "fields": [ - { - "name": "mbid", - "description": "The MBID of the corresponding MusicBrainz release.", - "args": [], - "type": { - "kind": "SCALAR", - "name": "MBID", - "ofType": null - }, - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "title", - "description": "The title of the album according to [Last.fm](https://www.last.fm/).", - "args": [], - "type": { - "kind": "SCALAR", - "name": "String", - "ofType": null - }, - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "url", - "description": "The URL for the album on [Last.fm](https://www.last.fm/).", - "args": [], - "type": { - "kind": "NON_NULL", - "name": null, - "ofType": { - "kind": "SCALAR", - "name": "URLString", - "ofType": null - } - }, - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "image", - "description": "An image of the cover artwork of the release.", - "args": [ - { - "name": "size", - "description": "The size of the image to retrieve.", - "type": { - "kind": "ENUM", - "name": "LastFMImageSize", - "ofType": null - }, - "defaultValue": null - } - ], - "type": { - "kind": "SCALAR", - "name": "URLString", - "ofType": null - }, - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "listenerCount", - "description": "The number of listeners recorded for the album.", - "args": [], - "type": { - "kind": "SCALAR", - "name": "Float", - "ofType": null - }, - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "playCount", - "description": "The number of plays recorded for the album.", - "args": [], - "type": { - "kind": "SCALAR", - "name": "Float", - "ofType": null - }, - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "description", - "description": "Historical information written about the album, often available in several\nlanguages.", - "args": [ - { - "name": "lang", - "description": "The two-letter code for the language in which to retrieve the description.", - "type": { - "kind": "SCALAR", - "name": "String", - "ofType": null - }, - "defaultValue": null - } - ], - "type": { - "kind": "OBJECT", - "name": "LastFMWikiContent", - "ofType": null - }, - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "artist", - "description": "The artist who released the album. This returns the Last.fm artist info,\nnot the MusicBrainz artist.", - "args": [], - "type": { - "kind": "OBJECT", - "name": "LastFMArtist", - "ofType": null - }, - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "topTags", - "description": "A list of tags applied to the artist by users, ordered by popularity.", - "args": [ - { - "name": "first", - "description": "The maximum number of tags to retrieve.", - "type": { - "kind": "SCALAR", - "name": "Int", - "ofType": null - }, - "defaultValue": "25" - }, - { - "name": "after", - "description": "The cursor of the edge after which more tags will be retrieved.", - "type": { - "kind": "SCALAR", - "name": "String", - "ofType": null - }, - "defaultValue": null - } - ], - "type": { - "kind": "OBJECT", - "name": "LastFMTagConnection", - "ofType": null - }, - "isDeprecated": false, - "deprecationReason": null - } - ], - "inputFields": null, - "interfaces": [], - "enumValues": null, - "possibleTypes": null - }, - { - "kind": "ENUM", - "name": "LastFMImageSize", - "description": "The image sizes that may be requested at [Last.fm](https://www.last.fm/).", - "fields": null, - "inputFields": null, - "interfaces": null, - "enumValues": [ - { - "name": "SMALL", - "description": "A maximum dimension of 34px.", - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "MEDIUM", - "description": "A maximum dimension of 64px.", - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "LARGE", - "description": "A maximum dimension of 174px.", - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "EXTRALARGE", - "description": "A maximum dimension of 300px.", - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "MEGA", - "description": "A maximum dimension of 300px.", - "isDeprecated": false, - "deprecationReason": null - } - ], - "possibleTypes": null - }, - { - "kind": "OBJECT", - "name": "LastFMWikiContent", - "description": "Biographical or background information written about an entity on\n[Last.fm](https://www.last.fm/).", - "fields": [ - { - "name": "summaryHTML", - "description": "A summary of the wiki content, which may contain HTML.", - "args": [], - "type": { - "kind": "SCALAR", - "name": "String", - "ofType": null - }, - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "contentHTML", - "description": "The full wiki content, which may contain HTML.", - "args": [], - "type": { - "kind": "SCALAR", - "name": "String", - "ofType": null - }, - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "publishDate", - "description": "The date the content was published. The data is reformatted from the\nLast.fm API’s original format into the Date scalar format.", - "args": [], - "type": { - "kind": "SCALAR", - "name": "Date", - "ofType": null - }, - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "publishTime", - "description": "The time the content was published. The data is reformatted from the\nLast.fm API’s original format into the Time scalar format. The API offers\nno indication as to which time zone the time is in.", - "args": [], - "type": { - "kind": "SCALAR", - "name": "Time", - "ofType": null - }, - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "url", - "description": "The URL at which the content was published.", - "args": [], - "type": { - "kind": "SCALAR", - "name": "URLString", - "ofType": null - }, - "isDeprecated": false, - "deprecationReason": null - } - ], - "inputFields": null, - "interfaces": [], - "enumValues": null, - "possibleTypes": null - }, - { - "kind": "OBJECT", - "name": "LastFMArtist", - "description": "An artist on [Last.fm](https://www.last.fm/).", - "fields": [ - { - "name": "mbid", - "description": "The MBID of the corresponding MusicBrainz artist.", - "args": [], - "type": { - "kind": "SCALAR", - "name": "MBID", - "ofType": null - }, - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "name", - "description": "The name of the artist according to [Last.fm](https://www.last.fm/).", - "args": [], - "type": { - "kind": "SCALAR", - "name": "String", - "ofType": null - }, - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "url", - "description": "The URL for the artist on [Last.fm](https://www.last.fm/).", - "args": [], - "type": { - "kind": "NON_NULL", - "name": null, - "ofType": { - "kind": "SCALAR", - "name": "URLString", - "ofType": null - } - }, - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "image", - "description": "An image of the artist.", - "args": [ - { - "name": "size", - "description": "The size of the image to retrieve.", - "type": { - "kind": "ENUM", - "name": "LastFMImageSize", - "ofType": null - }, - "defaultValue": null - } - ], - "type": { - "kind": "SCALAR", - "name": "URLString", - "ofType": null - }, - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "listenerCount", - "description": "The number of listeners recorded for the artist.", - "args": [], - "type": { - "kind": "SCALAR", - "name": "Float", - "ofType": null - }, - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "playCount", - "description": "The number of plays recorded for the artist.", - "args": [], - "type": { - "kind": "SCALAR", - "name": "Float", - "ofType": null - }, - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "similarArtists", - "description": "A list of similar artists.", - "args": [ - { - "name": "first", - "description": "The maximum number of artists to retrieve.", - "type": { - "kind": "SCALAR", - "name": "Int", - "ofType": null - }, - "defaultValue": "25" - }, - { - "name": "after", - "description": "The cursor of the edge after which more artists will be retrieved.", - "type": { - "kind": "SCALAR", - "name": "String", - "ofType": null - }, - "defaultValue": null - } - ], - "type": { - "kind": "OBJECT", - "name": "LastFMArtistConnection", - "ofType": null - }, - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "topAlbums", - "description": "A list of the artist’s most popular albums.", - "args": [ - { - "name": "first", - "description": "The maximum number of albums to retrieve.", - "type": { - "kind": "SCALAR", - "name": "Int", - "ofType": null - }, - "defaultValue": "25" - }, - { - "name": "after", - "description": "The cursor of the edge after which more albums will be retrieved.", - "type": { - "kind": "SCALAR", - "name": "String", - "ofType": null - }, - "defaultValue": null - } - ], - "type": { - "kind": "OBJECT", - "name": "LastFMAlbumConnection", - "ofType": null - }, - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "topTags", - "description": "A list of tags applied to the artist by users, ordered by popularity.", - "args": [ - { - "name": "first", - "description": "The maximum number of tags to retrieve.", - "type": { - "kind": "SCALAR", - "name": "Int", - "ofType": null - }, - "defaultValue": "25" - }, - { - "name": "after", - "description": "The cursor of the edge after which more tags will be retrieved.", - "type": { - "kind": "SCALAR", - "name": "String", - "ofType": null - }, - "defaultValue": null - } - ], - "type": { - "kind": "OBJECT", - "name": "LastFMTagConnection", - "ofType": null - }, - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "topTracks", - "description": "A list of the artist’s most popular tracks.", - "args": [ - { - "name": "first", - "description": "The maximum number of tracks to retrieve.", - "type": { - "kind": "SCALAR", - "name": "Int", - "ofType": null - }, - "defaultValue": "25" - }, - { - "name": "after", - "description": "The cursor of the edge after which more tracks will be retrieved.", - "type": { - "kind": "SCALAR", - "name": "String", - "ofType": null - }, - "defaultValue": null - } - ], - "type": { - "kind": "OBJECT", - "name": "LastFMTrackConnection", - "ofType": null - }, - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "biography", - "description": "A biography of the artist, often available in several languages.", - "args": [ - { - "name": "lang", - "description": "The two-letter code for the language in which to retrieve the biography.", - "type": { - "kind": "SCALAR", - "name": "String", - "ofType": null - }, - "defaultValue": null - } - ], - "type": { - "kind": "OBJECT", - "name": "LastFMWikiContent", - "ofType": null - }, - "isDeprecated": false, - "deprecationReason": null - } - ], - "inputFields": null, - "interfaces": [], - "enumValues": null, - "possibleTypes": null - }, - { - "kind": "OBJECT", - "name": "LastFMArtistConnection", - "description": "A connection to a list of items.", - "fields": [ - { - "name": "pageInfo", - "description": "Information to aid in pagination.", - "args": [], - "type": { - "kind": "NON_NULL", - "name": null, - "ofType": { - "kind": "OBJECT", - "name": "PageInfo", - "ofType": null - } - }, - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "edges", - "description": "A list of edges.", - "args": [], - "type": { - "kind": "LIST", - "name": null, - "ofType": { - "kind": "OBJECT", - "name": "LastFMArtistEdge", - "ofType": null - } - }, - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "nodes", - "description": "A list of nodes in the connection (without going through the `edges` field).", - "args": [], - "type": { - "kind": "LIST", - "name": null, - "ofType": { - "kind": "OBJECT", - "name": "LastFMArtist", - "ofType": null - } - }, - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "totalCount", - "description": "A count of the total number of items in this connection, ignoring pagination.", - "args": [], - "type": { - "kind": "SCALAR", - "name": "Int", - "ofType": null - }, - "isDeprecated": false, - "deprecationReason": null - } - ], - "inputFields": null, - "interfaces": [], - "enumValues": null, - "possibleTypes": null - }, - { - "kind": "OBJECT", - "name": "LastFMArtistEdge", - "description": "An edge in a connection.", - "fields": [ - { - "name": "node", - "description": "The item at the end of the edge.", - "args": [], - "type": { - "kind": "OBJECT", - "name": "LastFMArtist", - "ofType": null - }, - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "cursor", - "description": "A cursor for use in pagination.", - "args": [], - "type": { - "kind": "NON_NULL", - "name": null, - "ofType": { - "kind": "SCALAR", - "name": "String", - "ofType": null - } - }, - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "matchScore", - "description": "The artist similarity score (0–1) as determined by [Last.fm](https://www.last.fm/),\nif this connection is with another artist.", - "args": [], - "type": { - "kind": "SCALAR", - "name": "Float", - "ofType": null - }, - "isDeprecated": false, - "deprecationReason": null - } - ], - "inputFields": null, - "interfaces": [], - "enumValues": null, - "possibleTypes": null - }, - { - "kind": "OBJECT", - "name": "LastFMAlbumConnection", - "description": "A connection to a list of items.", - "fields": [ - { - "name": "pageInfo", - "description": "Information to aid in pagination.", - "args": [], - "type": { - "kind": "NON_NULL", - "name": null, - "ofType": { - "kind": "OBJECT", - "name": "PageInfo", - "ofType": null - } - }, - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "edges", - "description": "A list of edges.", - "args": [], - "type": { - "kind": "LIST", - "name": null, - "ofType": { - "kind": "OBJECT", - "name": "LastFMAlbumEdge", - "ofType": null - } - }, - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "nodes", - "description": "A list of nodes in the connection (without going through the `edges` field).", - "args": [], - "type": { - "kind": "LIST", - "name": null, - "ofType": { - "kind": "OBJECT", - "name": "LastFMAlbum", - "ofType": null - } - }, - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "totalCount", - "description": "A count of the total number of items in this connection, ignoring pagination.", - "args": [], - "type": { - "kind": "SCALAR", - "name": "Int", - "ofType": null - }, - "isDeprecated": false, - "deprecationReason": null - } - ], - "inputFields": null, - "interfaces": [], - "enumValues": null, - "possibleTypes": null - }, - { - "kind": "OBJECT", - "name": "LastFMAlbumEdge", - "description": "An edge in a connection.", - "fields": [ - { - "name": "node", - "description": "The item at the end of the edge.", - "args": [], - "type": { - "kind": "OBJECT", - "name": "LastFMAlbum", - "ofType": null - }, - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "cursor", - "description": "A cursor for use in pagination.", - "args": [], - "type": { - "kind": "NON_NULL", - "name": null, - "ofType": { - "kind": "SCALAR", - "name": "String", - "ofType": null - } - }, - "isDeprecated": false, - "deprecationReason": null - } - ], - "inputFields": null, - "interfaces": [], - "enumValues": null, - "possibleTypes": null - }, - { - "kind": "OBJECT", - "name": "LastFMTagConnection", - "description": "A connection to a list of items.", - "fields": [ - { - "name": "pageInfo", - "description": "Information to aid in pagination.", - "args": [], - "type": { - "kind": "NON_NULL", - "name": null, - "ofType": { - "kind": "OBJECT", - "name": "PageInfo", - "ofType": null - } - }, - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "edges", - "description": "A list of edges.", - "args": [], - "type": { - "kind": "LIST", - "name": null, - "ofType": { - "kind": "OBJECT", - "name": "LastFMTagEdge", - "ofType": null - } - }, - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "nodes", - "description": "A list of nodes in the connection (without going through the `edges` field).", - "args": [], - "type": { - "kind": "LIST", - "name": null, - "ofType": { - "kind": "OBJECT", - "name": "LastFMTag", - "ofType": null - } - }, - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "totalCount", - "description": "A count of the total number of items in this connection, ignoring pagination.", - "args": [], - "type": { - "kind": "SCALAR", - "name": "Int", - "ofType": null - }, - "isDeprecated": false, - "deprecationReason": null - } - ], - "inputFields": null, - "interfaces": [], - "enumValues": null, - "possibleTypes": null - }, - { - "kind": "OBJECT", - "name": "LastFMTagEdge", - "description": "An edge in a connection.", - "fields": [ - { - "name": "node", - "description": "The item at the end of the edge.", - "args": [], - "type": { - "kind": "OBJECT", - "name": "LastFMTag", - "ofType": null - }, - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "cursor", - "description": "A cursor for use in pagination.", - "args": [], - "type": { - "kind": "NON_NULL", - "name": null, - "ofType": { - "kind": "SCALAR", - "name": "String", - "ofType": null - } - }, - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "tagCount", - "description": "The number of times the tag has been applied to the item in question.", - "args": [], - "type": { - "kind": "SCALAR", - "name": "Int", - "ofType": null - }, - "isDeprecated": false, - "deprecationReason": null - } - ], - "inputFields": null, - "interfaces": [], - "enumValues": null, - "possibleTypes": null - }, - { - "kind": "OBJECT", - "name": "LastFMTag", - "description": "A tag added by users to an entity on [Last.fm](https://www.last.fm/).", - "fields": [ - { - "name": "name", - "description": "The tag name.", - "args": [], - "type": { - "kind": "NON_NULL", - "name": null, - "ofType": { - "kind": "SCALAR", - "name": "String", - "ofType": null - } - }, - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "url", - "description": "The URL for the tag on [Last.fm](https://www.last.fm/).", - "args": [], - "type": { - "kind": "NON_NULL", - "name": null, - "ofType": { - "kind": "SCALAR", - "name": "URLString", - "ofType": null - } - }, - "isDeprecated": false, - "deprecationReason": null - } - ], - "inputFields": null, - "interfaces": [], - "enumValues": null, - "possibleTypes": null - }, - { - "kind": "OBJECT", - "name": "LastFMTrackConnection", - "description": "A connection to a list of items.", - "fields": [ - { - "name": "pageInfo", - "description": "Information to aid in pagination.", - "args": [], - "type": { - "kind": "NON_NULL", - "name": null, - "ofType": { - "kind": "OBJECT", - "name": "PageInfo", - "ofType": null - } - }, - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "edges", - "description": "A list of edges.", - "args": [], - "type": { - "kind": "LIST", - "name": null, - "ofType": { - "kind": "OBJECT", - "name": "LastFMTrackEdge", - "ofType": null - } - }, - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "nodes", - "description": "A list of nodes in the connection (without going through the `edges` field).", - "args": [], - "type": { - "kind": "LIST", - "name": null, - "ofType": { - "kind": "OBJECT", - "name": "LastFMTrack", - "ofType": null - } - }, - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "totalCount", - "description": "A count of the total number of items in this connection, ignoring pagination.", - "args": [], - "type": { - "kind": "SCALAR", - "name": "Int", - "ofType": null - }, - "isDeprecated": false, - "deprecationReason": null - } - ], - "inputFields": null, - "interfaces": [], - "enumValues": null, - "possibleTypes": null - }, - { - "kind": "OBJECT", - "name": "LastFMTrackEdge", - "description": "An edge in a connection.", - "fields": [ - { - "name": "node", - "description": "The item at the end of the edge.", - "args": [], - "type": { - "kind": "OBJECT", - "name": "LastFMTrack", - "ofType": null - }, - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "cursor", - "description": "A cursor for use in pagination.", - "args": [], - "type": { - "kind": "NON_NULL", - "name": null, - "ofType": { - "kind": "SCALAR", - "name": "String", - "ofType": null - } - }, - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "matchScore", - "description": "The track similarity score (0–1) as determined by [Last.fm](https://www.last.fm/),\nif this connection is with another track.", - "args": [], - "type": { - "kind": "SCALAR", - "name": "Float", - "ofType": null - }, - "isDeprecated": false, - "deprecationReason": null - } - ], - "inputFields": null, - "interfaces": [], - "enumValues": null, - "possibleTypes": null - }, - { - "kind": "OBJECT", - "name": "LastFMTrack", - "description": "A track on [Last.fm](https://www.last.fm/) corresponding with a MusicBrainz\nRecording.", - "fields": [ - { - "name": "mbid", - "description": "The MBID of the corresponding MusicBrainz recording.", - "args": [], - "type": { - "kind": "SCALAR", - "name": "MBID", - "ofType": null - }, - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "title", - "description": "The title of the track according to [Last.fm](https://www.last.fm/).", - "args": [], - "type": { - "kind": "SCALAR", - "name": "String", - "ofType": null - }, - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "url", - "description": "The URL for the track on [Last.fm](https://www.last.fm/).", - "args": [], - "type": { - "kind": "NON_NULL", - "name": null, - "ofType": { - "kind": "SCALAR", - "name": "URLString", - "ofType": null - } - }, - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "duration", - "description": "The length of the track.", - "args": [], - "type": { - "kind": "SCALAR", - "name": "Duration", - "ofType": null - }, - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "listenerCount", - "description": "The number of listeners recorded for the track.", - "args": [], - "type": { - "kind": "SCALAR", - "name": "Float", - "ofType": null - }, - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "playCount", - "description": "The number of plays recorded for the track.", - "args": [], - "type": { - "kind": "SCALAR", - "name": "Float", - "ofType": null - }, - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "description", - "description": "Historical information written about the track, often available in several\nlanguages.", - "args": [ - { - "name": "lang", - "description": "The two-letter code for the language in which to retrieve the description.", - "type": { - "kind": "SCALAR", - "name": "String", - "ofType": null - }, - "defaultValue": null - } - ], - "type": { - "kind": "OBJECT", - "name": "LastFMWikiContent", - "ofType": null - }, - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "artist", - "description": "The artist who released the track. This returns the Last.fm artist info,\nnot the MusicBrainz artist.", - "args": [], - "type": { - "kind": "OBJECT", - "name": "LastFMArtist", - "ofType": null - }, - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "album", - "description": "The album on which the track appears. This returns the Last.fm album info,\nnot the MusicBrainz release.", - "args": [], - "type": { - "kind": "OBJECT", - "name": "LastFMAlbum", - "ofType": null - }, - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "similarTracks", - "description": "A list of similar tracks.", - "args": [ - { - "name": "first", - "description": "The maximum number of tracks to retrieve.", - "type": { - "kind": "SCALAR", - "name": "Int", - "ofType": null - }, - "defaultValue": "25" - }, - { - "name": "after", - "description": "The cursor of the edge after which more tracks will be retrieved.", - "type": { - "kind": "SCALAR", - "name": "String", - "ofType": null - }, - "defaultValue": null - } - ], - "type": { - "kind": "OBJECT", - "name": "LastFMTrackConnection", - "ofType": null - }, - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "topTags", - "description": "A list of tags applied to the track by users, ordered by popularity.", - "args": [ - { - "name": "first", - "description": "The maximum number of tags to retrieve.", - "type": { - "kind": "SCALAR", - "name": "Int", - "ofType": null - }, - "defaultValue": "25" - }, - { - "name": "after", - "description": "The cursor of the edge after which more tags will be retrieved.", - "type": { - "kind": "SCALAR", - "name": "String", - "ofType": null - }, - "defaultValue": null - } - ], - "type": { - "kind": "OBJECT", - "name": "LastFMTagConnection", - "ofType": null - }, - "isDeprecated": false, - "deprecationReason": null - } - ], - "inputFields": null, - "interfaces": [], - "enumValues": null, - "possibleTypes": null - }, - { - "kind": "ENUM", - "name": "SpotifyMatchStrategy", - "description": "Strategies for matching MusicBrainz entities to Spotify entities.", - "fields": null, - "inputFields": null, - "interfaces": null, - "enumValues": [ - { - "name": "URL", - "description": "The entity will be matched by finding an explicit URL relationship that\nlinks to Spotify.", - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "EXTERNALID", - "description": "The entity will be matched by searching for Spotify entities by some\nexternal ID that is known to both MusicBrainz and Spotify, like an ISRC\nor UPC barcode. Since this can result in multiple Spotify matches, the most\npopular will be preferred (if possible), or the first.", - "isDeprecated": false, - "deprecationReason": null - } - ], - "possibleTypes": null - }, - { - "kind": "OBJECT", - "name": "SpotifyAlbum", - "description": "An album from Spotify.", - "fields": [ - { - "name": "albumID", - "description": "The [Spotify ID](https://developer.spotify.com/documentation/web-api/#spotify-uris-and-ids)\nfor the album.", - "args": [], - "type": { - "kind": "NON_NULL", - "name": null, - "ofType": { - "kind": "SCALAR", - "name": "ID", - "ofType": null - } - }, - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "uri", - "description": "The [Spotify URI](https://developer.spotify.com/documentation/web-api/#spotify-uris-and-ids)\nfor the album.", - "args": [], - "type": { - "kind": "NON_NULL", - "name": null, - "ofType": { - "kind": "SCALAR", - "name": "String", - "ofType": null - } - }, - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "href", - "description": "A link to the Web API endpoint providing full details of the album.", - "args": [], - "type": { - "kind": "NON_NULL", - "name": null, - "ofType": { - "kind": "SCALAR", - "name": "URLString", - "ofType": null - } - }, - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "title", - "description": "The name of the album. In case of an album takedown, the value may be empty.", - "args": [], - "type": { - "kind": "SCALAR", - "name": "String", - "ofType": null - }, - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "albumType", - "description": "The type of the album, e.g. “Album”, “Single”, “Compilation”.", - "args": [], - "type": { - "kind": "NON_NULL", - "name": null, - "ofType": { - "kind": "ENUM", - "name": "ReleaseGroupType", - "ofType": null - } - }, - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "artists", - "description": "The artists of the album.", - "args": [], - "type": { - "kind": "NON_NULL", - "name": null, - "ofType": { - "kind": "LIST", - "name": null, - "ofType": { - "kind": "NON_NULL", - "name": null, - "ofType": { - "kind": "OBJECT", - "name": "SpotifyArtist", - "ofType": null - } - } - } - }, - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "availableMarkets", - "description": "The markets in which the album is available: [ISO 3166-1 alpha-2](http://en.wikipedia.org/wiki/ISO_3166-1_alpha-2)\ncountry codes.\n\nNote that an album is considered available in a market when at least 1 of its tracks is available in that market.", - "args": [], - "type": { - "kind": "NON_NULL", - "name": null, - "ofType": { - "kind": "LIST", - "name": null, - "ofType": { - "kind": "NON_NULL", - "name": null, - "ofType": { - "kind": "SCALAR", - "name": "String", - "ofType": null - } - } - } - }, - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "copyrights", - "description": "The copyright statements of the album.", - "args": [], - "type": { - "kind": "NON_NULL", - "name": null, - "ofType": { - "kind": "LIST", - "name": null, - "ofType": { - "kind": "NON_NULL", - "name": null, - "ofType": { - "kind": "OBJECT", - "name": "SpotifyCopyright", - "ofType": null - } - } - } - }, - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "externalIDs", - "description": "Known external IDs for the album.", - "args": [], - "type": { - "kind": "NON_NULL", - "name": null, - "ofType": { - "kind": "LIST", - "name": null, - "ofType": { - "kind": "NON_NULL", - "name": null, - "ofType": { - "kind": "OBJECT", - "name": "SpotifyExternalID", - "ofType": null - } - } - } - }, - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "externalURLs", - "description": "Known external URLs for this album.", - "args": [], - "type": { - "kind": "NON_NULL", - "name": null, - "ofType": { - "kind": "LIST", - "name": null, - "ofType": { - "kind": "NON_NULL", - "name": null, - "ofType": { - "kind": "OBJECT", - "name": "SpotifyExternalURL", - "ofType": null - } - } - } - }, - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "genres", - "description": "A list of the genres used to classify the album. For example: “Prog Rock”,\n“Post-Grunge”. (If not yet classified, the array is empty.)", - "args": [], - "type": { - "kind": "NON_NULL", - "name": null, - "ofType": { - "kind": "LIST", - "name": null, - "ofType": { - "kind": "NON_NULL", - "name": null, - "ofType": { - "kind": "SCALAR", - "name": "String", - "ofType": null - } - } - } - }, - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "images", - "description": "The cover art for the album in various sizes, widest first.", - "args": [], - "type": { - "kind": "NON_NULL", - "name": null, - "ofType": { - "kind": "LIST", - "name": null, - "ofType": { - "kind": "NON_NULL", - "name": null, - "ofType": { - "kind": "OBJECT", - "name": "SpotifyImage", - "ofType": null - } - } - } - }, - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "label", - "description": "The label for the album.", - "args": [], - "type": { - "kind": "SCALAR", - "name": "String", - "ofType": null - }, - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "popularity", - "description": "The popularity of the album. The value will be between 0 and 100, with 100\nbeing the most popular. The popularity is calculated from the popularity of\nthe album’s individual tracks.", - "args": [], - "type": { - "kind": "NON_NULL", - "name": null, - "ofType": { - "kind": "SCALAR", - "name": "Int", - "ofType": null - } - }, - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "releaseDate", - "description": "The date the album was first released, for example “1981-12-15”. Depending\non the precision, the month or day might be missing.", - "args": [], - "type": { - "kind": "SCALAR", - "name": "Date", - "ofType": null - }, - "isDeprecated": false, - "deprecationReason": null - } - ], - "inputFields": null, - "interfaces": [], - "enumValues": null, - "possibleTypes": null - }, - { - "kind": "OBJECT", - "name": "SpotifyArtist", - "description": "An artist from Spotify.", - "fields": [ - { - "name": "artistID", - "description": "The [Spotify ID](https://developer.spotify.com/documentation/web-api/#spotify-uris-and-ids)\nfor the artist.", - "args": [], - "type": { - "kind": "NON_NULL", - "name": null, - "ofType": { - "kind": "SCALAR", - "name": "ID", - "ofType": null - } - }, - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "uri", - "description": "The [Spotify URI](https://developer.spotify.com/documentation/web-api/#spotify-uris-and-ids)\nfor the artist.", - "args": [], - "type": { - "kind": "NON_NULL", - "name": null, - "ofType": { - "kind": "SCALAR", - "name": "String", - "ofType": null - } - }, - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "href", - "description": "A link to the Web API endpoint providing full details of the artist.", - "args": [], - "type": { - "kind": "NON_NULL", - "name": null, - "ofType": { - "kind": "SCALAR", - "name": "URLString", - "ofType": null - } - }, - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "name", - "description": "The name of the artist.", - "args": [], - "type": { - "kind": "NON_NULL", - "name": null, - "ofType": { - "kind": "SCALAR", - "name": "String", - "ofType": null - } - }, - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "externalURLs", - "description": "Known external URLs for this artist.", - "args": [], - "type": { - "kind": "NON_NULL", - "name": null, - "ofType": { - "kind": "LIST", - "name": null, - "ofType": { - "kind": "NON_NULL", - "name": null, - "ofType": { - "kind": "OBJECT", - "name": "SpotifyExternalURL", - "ofType": null - } - } - } - }, - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "genres", - "description": "A list of the genres the artist is associated with. For example:\n“Prog Rock”, “Post-Grunge”. (If not yet classified, the array is empty.)", - "args": [], - "type": { - "kind": "NON_NULL", - "name": null, - "ofType": { - "kind": "LIST", - "name": null, - "ofType": { - "kind": "NON_NULL", - "name": null, - "ofType": { - "kind": "SCALAR", - "name": "String", - "ofType": null - } - } - } - }, - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "popularity", - "description": "The popularity of the artist. The value will be between 0 and 100, with 100\nbeing the most popular. The artist’s popularity is calculated from the\npopularity of all the artist’s tracks.", - "args": [], - "type": { - "kind": "NON_NULL", - "name": null, - "ofType": { - "kind": "SCALAR", - "name": "Int", - "ofType": null - } - }, - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "images", - "description": "Images of the artist in various sizes, widest first.", - "args": [], - "type": { - "kind": "NON_NULL", - "name": null, - "ofType": { - "kind": "LIST", - "name": null, - "ofType": { - "kind": "NON_NULL", - "name": null, - "ofType": { - "kind": "OBJECT", - "name": "SpotifyImage", - "ofType": null - } - } - } - }, - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "topTracks", - "description": "Spotify catalog information about an artist’s top tracks by country.", - "args": [ - { - "name": "market", - "description": "An [ISO 3166-1 alpha-2](http://en.wikipedia.org/wiki/ISO_3166-1_alpha-2)\ncountry code.", - "type": { - "kind": "NON_NULL", - "name": null, - "ofType": { - "kind": "SCALAR", - "name": "String", - "ofType": null - } - }, - "defaultValue": null - } - ], - "type": { - "kind": "NON_NULL", - "name": null, - "ofType": { - "kind": "LIST", - "name": null, - "ofType": { - "kind": "NON_NULL", - "name": null, - "ofType": { - "kind": "OBJECT", - "name": "SpotifyTrack", - "ofType": null - } - } - } - }, - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "relatedArtists", - "description": "Spotify catalog information about artists similar to a given artist.\nSimilarity is based on analysis of the Spotify community’s listening\nhistory.", - "args": [], - "type": { - "kind": "NON_NULL", - "name": null, - "ofType": { - "kind": "LIST", - "name": null, - "ofType": { - "kind": "NON_NULL", - "name": null, - "ofType": { - "kind": "OBJECT", - "name": "SpotifyArtist", - "ofType": null - } - } - } - }, - "isDeprecated": false, - "deprecationReason": null - } - ], - "inputFields": null, - "interfaces": [], - "enumValues": null, - "possibleTypes": null - }, - { - "kind": "OBJECT", - "name": "SpotifyExternalURL", - "description": "A URL for linking to an entity with some third party.", - "fields": [ - { - "name": "type", - "description": "The type of the URL, for example “spotify”.", - "args": [], - "type": { - "kind": "NON_NULL", - "name": null, - "ofType": { - "kind": "SCALAR", - "name": "String", - "ofType": null - } - }, - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "url", - "description": "An external, public URL to the object.", - "args": [], - "type": { - "kind": "NON_NULL", - "name": null, - "ofType": { - "kind": "SCALAR", - "name": "URLString", - "ofType": null - } - }, - "isDeprecated": false, - "deprecationReason": null - } - ], - "inputFields": null, - "interfaces": [], - "enumValues": null, - "possibleTypes": null - }, - { - "kind": "OBJECT", - "name": "SpotifyImage", - "description": "A single image from Spotify.", - "fields": [ - { - "name": "url", - "description": "The source URL of the image.", - "args": [], - "type": { - "kind": "NON_NULL", - "name": null, - "ofType": { - "kind": "SCALAR", - "name": "URLString", - "ofType": null - } - }, - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "width", - "description": "The image width in pixels, if known.", - "args": [], - "type": { - "kind": "SCALAR", - "name": "Int", - "ofType": null - }, - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "height", - "description": "The image height in pixels, if known.", - "args": [], - "type": { - "kind": "SCALAR", - "name": "Int", - "ofType": null - }, - "isDeprecated": false, - "deprecationReason": null - } - ], - "inputFields": null, - "interfaces": [], - "enumValues": null, - "possibleTypes": null - }, - { - "kind": "OBJECT", - "name": "SpotifyTrack", - "description": "A track from Spotify.", - "fields": [ - { - "name": "trackID", - "description": "The [Spotify ID](https://developer.spotify.com/documentation/web-api/#spotify-uris-and-ids)\nfor the track.", - "args": [], - "type": { - "kind": "NON_NULL", - "name": null, - "ofType": { - "kind": "SCALAR", - "name": "ID", - "ofType": null - } - }, - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "uri", - "description": "The [Spotify URI](https://developer.spotify.com/documentation/web-api/#spotify-uris-and-ids)\nfor the track.", - "args": [], - "type": { - "kind": "NON_NULL", - "name": null, - "ofType": { - "kind": "SCALAR", - "name": "String", - "ofType": null - } - }, - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "href", - "description": "A link to the Web API endpoint providing full details of the track.", - "args": [], - "type": { - "kind": "NON_NULL", - "name": null, - "ofType": { - "kind": "SCALAR", - "name": "URLString", - "ofType": null - } - }, - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "title", - "description": "The name of the track.", - "args": [], - "type": { - "kind": "NON_NULL", - "name": null, - "ofType": { - "kind": "SCALAR", - "name": "String", - "ofType": null - } - }, - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "audioFeatures", - "description": "The audio features of the track.", - "args": [], - "type": { - "kind": "OBJECT", - "name": "SpotifyAudioFeatures", - "ofType": null - }, - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "album", - "description": "The album on which the track appears.", - "args": [], - "type": { - "kind": "OBJECT", - "name": "SpotifyAlbum", - "ofType": null - }, - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "artists", - "description": "The artists who performed the track.", - "args": [], - "type": { - "kind": "NON_NULL", - "name": null, - "ofType": { - "kind": "LIST", - "name": null, - "ofType": { - "kind": "NON_NULL", - "name": null, - "ofType": { - "kind": "OBJECT", - "name": "SpotifyArtist", - "ofType": null - } - } - } - }, - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "availableMarkets", - "description": "A list of the countries in which the track can be played, identified by\ntheir [ISO 3166-1 alpha-2](http://en.wikipedia.org/wiki/ISO_3166-1_alpha-2)\ncode.", - "args": [], - "type": { - "kind": "NON_NULL", - "name": null, - "ofType": { - "kind": "LIST", - "name": null, - "ofType": { - "kind": "NON_NULL", - "name": null, - "ofType": { - "kind": "SCALAR", - "name": "String", - "ofType": null - } - } - } - }, - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "discNumber", - "description": "The disc number (usually `1` unless the album consists of more than one\ndisc).", - "args": [], - "type": { - "kind": "NON_NULL", - "name": null, - "ofType": { - "kind": "SCALAR", - "name": "Int", - "ofType": null - } - }, - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "duration", - "description": "The track length in milliseconds.", - "args": [], - "type": { - "kind": "NON_NULL", - "name": null, - "ofType": { - "kind": "SCALAR", - "name": "Duration", - "ofType": null - } - }, - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "explicit", - "description": "Whether or not the track has explicit lyrics, if known.", - "args": [], - "type": { - "kind": "SCALAR", - "name": "Boolean", - "ofType": null - }, - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "externalIDs", - "description": "Known external IDs for the track.", - "args": [], - "type": { - "kind": "NON_NULL", - "name": null, - "ofType": { - "kind": "LIST", - "name": null, - "ofType": { - "kind": "NON_NULL", - "name": null, - "ofType": { - "kind": "OBJECT", - "name": "SpotifyExternalID", - "ofType": null - } - } - } - }, - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "externalURLs", - "description": "Known external URLs for the track.", - "args": [], - "type": { - "kind": "NON_NULL", - "name": null, - "ofType": { - "kind": "LIST", - "name": null, - "ofType": { - "kind": "NON_NULL", - "name": null, - "ofType": { - "kind": "OBJECT", - "name": "SpotifyExternalURL", - "ofType": null - } - } - } - }, - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "popularity", - "description": "The popularity of the track. The value will be between 0 and 100, with 100\nbeing the most popular.\n\nThe popularity is calculated by algorithm and is based, in the most part, on\nthe total number of plays the track has had and how recent those plays are.\nGenerally speaking, songs that are being played a lot now will have a higher\npopularity than songs that were played a lot in the past.\n\nDuplicate tracks (e.g. the same track from a single and an album) are rated\nindependently.\n\nArtist and album popularity is derived mathematically from track popularity.\n\nNote that the popularity value may lag actual popularity by a few days: the\nvalue is not updated in real time.", - "args": [], - "type": { - "kind": "NON_NULL", - "name": null, - "ofType": { - "kind": "SCALAR", - "name": "Int", - "ofType": null - } - }, - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "previewURL", - "description": "A link to a 30 second preview (MP3 format) of the track, if available.", - "args": [], - "type": { - "kind": "SCALAR", - "name": "URLString", - "ofType": null - }, - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "trackNumber", - "description": "The number of the track. If an album has several discs, the track number is\nthe number on the specified disc.", - "args": [], - "type": { - "kind": "NON_NULL", - "name": null, - "ofType": { - "kind": "SCALAR", - "name": "Int", - "ofType": null - } - }, - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "musicBrainz", - "description": "A MusicBrainz recording that corresponds to the track.", - "args": [ - { - "name": "strategy", - "description": "The strategies to use to match the track with a MusicBrainz recording, in\npreferential order.", - "type": { - "kind": "LIST", - "name": null, - "ofType": { - "kind": "NON_NULL", - "name": null, - "ofType": { - "kind": "ENUM", - "name": "SpotifyMatchStrategy", - "ofType": null - } - } - }, - "defaultValue": "[URL, EXTERNALID]" - } - ], - "type": { - "kind": "OBJECT", - "name": "Recording", - "ofType": null - }, - "isDeprecated": false, - "deprecationReason": null - } - ], - "inputFields": null, - "interfaces": [], - "enumValues": null, - "possibleTypes": null - }, - { - "kind": "OBJECT", - "name": "SpotifyAudioFeatures", - "description": "The audio features of a track from Spotify.", - "fields": [ - { - "name": "acousticness", - "description": "A confidence measure from 0.0 to 1.0 of whether the track is acoustic. 1.0\nrepresents high confidence the track is acoustic.", - "args": [], - "type": { - "kind": "NON_NULL", - "name": null, - "ofType": { - "kind": "SCALAR", - "name": "Float", - "ofType": null - } - }, - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "danceability", - "description": "Danceability describes how suitable a track is for dancing based on a\ncombination of musical elements including tempo, rhythm stability, beat\nstrength, and overall regularity. A value of 0.0 is least danceable and 1.0\nis most danceable.", - "args": [], - "type": { - "kind": "NON_NULL", - "name": null, - "ofType": { - "kind": "SCALAR", - "name": "Float", - "ofType": null - } - }, - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "duration", - "description": "The duration of the track in milliseconds.", - "args": [], - "type": { - "kind": "NON_NULL", - "name": null, - "ofType": { - "kind": "SCALAR", - "name": "Duration", - "ofType": null - } - }, - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "energy", - "description": "Energy is a measure from 0.0 to 1.0 and represents a perceptual measure of\nintensity and activity. Typically, energetic tracks feel fast, loud, and\nnoisy. For example, death metal has high energy, while a Bach prelude scores\nlow on the scale. Perceptual features contributing to this attribute include\ndynamic range, perceived loudness, timbre, onset rate, and general entropy.", - "args": [], - "type": { - "kind": "NON_NULL", - "name": null, - "ofType": { - "kind": "SCALAR", - "name": "Float", - "ofType": null - } - }, - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "instrumentalness", - "description": "Predicts whether a track contains no vocals. “Ooh” and “aah” sounds are\ntreated as instrumental in this context. Rap or spoken word tracks are\nclearly “vocal”. The closer the instrumentalness value is to 1.0, the\ngreater likelihood the track contains no vocal content. Values above 0.5 are\nintended to represent instrumental tracks, but confidence is higher as the\nvalue approaches 1.0.", - "args": [], - "type": { - "kind": "NON_NULL", - "name": null, - "ofType": { - "kind": "SCALAR", - "name": "Float", - "ofType": null - } - }, - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "key", - "description": "The key the track is in. Integers map to pitches using standard [Pitch Class\nnotation](https://en.wikipedia.org/wiki/Pitch_class), e.g. 0 = C, 1 = C♯/D♭,\n2 = D, and so on. See the `keyName` field if you’d prefer the note as a\nstring.", - "args": [], - "type": { - "kind": "NON_NULL", - "name": null, - "ofType": { - "kind": "SCALAR", - "name": "Int", - "ofType": null - } - }, - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "keyName", - "description": "The `key` translated from an integer to a name like “C”. (Only one name\nwill be returned, so enharmonic notes like like C♯/D♭ will just return\n“C♯”.)", - "args": [], - "type": { - "kind": "NON_NULL", - "name": null, - "ofType": { - "kind": "SCALAR", - "name": "String", - "ofType": null - } - }, - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "liveness", - "description": "Detects the presence of an audience in the recording. Higher liveness values\nrepresent an increased probability that the track was performed live. A\nvalue above 0.8 provides strong likelihood that the track is live.", - "args": [], - "type": { - "kind": "NON_NULL", - "name": null, - "ofType": { - "kind": "SCALAR", - "name": "Float", - "ofType": null - } - }, - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "loudness", - "description": "The overall loudness of a track in decibels (dB). Loudness values are\naveraged across the entire track and are useful for comparing relative\nloudness of tracks. Loudness is the quality of a sound that is the primary\npsychological correlate of physical strength (amplitude). Values typical\nrange between -60 and 0 db.", - "args": [], - "type": { - "kind": "NON_NULL", - "name": null, - "ofType": { - "kind": "SCALAR", - "name": "Float", - "ofType": null - } - }, - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "mode", - "description": "Mode indicates the modality (major or minor) of a track, the type of scale\nfrom which its melodic content is derived. Major is represented by 1 and\nminor is 0.", - "args": [], - "type": { - "kind": "NON_NULL", - "name": null, - "ofType": { - "kind": "ENUM", - "name": "SpotifyTrackMode", - "ofType": null - } - }, - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "speechiness", - "description": "Speechiness detects the presence of spoken words in a track. The more\nexclusively speech-like the recording (e.g. talk show, audio book, poetry),\nthe closer to 1.0 the attribute value. Values above 0.66 describe tracks\nthat are probably made entirely of spoken words. Values between 0.33 and\n0.66 describe tracks that may contain both music and speech, either in\nsections or layered, including such cases as rap music. Values below 0.33\nmost likely represent music and other non-speech-like tracks.", - "args": [], - "type": { - "kind": "NON_NULL", - "name": null, - "ofType": { - "kind": "SCALAR", - "name": "Float", - "ofType": null - } - }, - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "tempo", - "description": "The overall estimated tempo of a track in beats per minute (BPM). In musical\nterminology, tempo is the speed or pace of a given piece and derives\ndirectly from the average beat duration.", - "args": [], - "type": { - "kind": "NON_NULL", - "name": null, - "ofType": { - "kind": "SCALAR", - "name": "Float", - "ofType": null - } - }, - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "timeSignature", - "description": "An estimated overall time signature of a track. The time signature (meter)\nis a notational convention to specify how many beats are in each bar (or\nmeasure).", - "args": [], - "type": { - "kind": "NON_NULL", - "name": null, - "ofType": { - "kind": "SCALAR", - "name": "Float", - "ofType": null - } - }, - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "valence", - "description": "A measure from 0.0 to 1.0 describing the musical positiveness conveyed by a\ntrack. Tracks with high valence sound more positive (e.g. happy, cheerful,\neuphoric), while tracks with low valence sound more negative (e.g. sad,\ndepressed, angry).", - "args": [], - "type": { - "kind": "NON_NULL", - "name": null, - "ofType": { - "kind": "SCALAR", - "name": "Float", - "ofType": null - } - }, - "isDeprecated": false, - "deprecationReason": null - } - ], - "inputFields": null, - "interfaces": [], - "enumValues": null, - "possibleTypes": null - }, - { - "kind": "ENUM", - "name": "SpotifyTrackMode", - "description": "The potential values for modality (major or minor) of a track.", - "fields": null, - "inputFields": null, - "interfaces": null, - "enumValues": [ - { - "name": "MAJOR", - "description": "The major scale.", - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "MINOR", - "description": "The minor scale.", - "isDeprecated": false, - "deprecationReason": null - } - ], - "possibleTypes": null - }, - { - "kind": "OBJECT", - "name": "SpotifyExternalID", - "description": "A value for identifying an entity with some third party.", - "fields": [ - { - "name": "type", - "description": "The identifier type, for example “isrc”, “ean”, “upc”.", - "args": [], - "type": { - "kind": "NON_NULL", - "name": null, - "ofType": { - "kind": "SCALAR", - "name": "String", - "ofType": null - } - }, - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "id", - "description": "The identifier value.", - "args": [], - "type": { - "kind": "NON_NULL", - "name": null, - "ofType": { - "kind": "SCALAR", - "name": "String", - "ofType": null - } - }, - "isDeprecated": false, - "deprecationReason": null - } - ], - "inputFields": null, - "interfaces": [], - "enumValues": null, - "possibleTypes": null - }, - { - "kind": "OBJECT", - "name": "SpotifyCopyright", - "description": "A copyright statement for an album from Spotify.", - "fields": [ - { - "name": "text", - "description": "The copyright text.", - "args": [], - "type": { - "kind": "NON_NULL", - "name": null, - "ofType": { - "kind": "SCALAR", - "name": "String", - "ofType": null - } - }, - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "type", - "description": "Whether the copyright is for the work itself or the sound recording\n(performance).", - "args": [], - "type": { - "kind": "NON_NULL", - "name": null, - "ofType": { - "kind": "ENUM", - "name": "SpotifyCopyrightType", - "ofType": null - } - }, - "isDeprecated": false, - "deprecationReason": null - } - ], - "inputFields": null, - "interfaces": [], - "enumValues": null, - "possibleTypes": null - }, - { - "kind": "ENUM", - "name": "SpotifyCopyrightType", - "description": "The type of copyright.", - "fields": null, - "inputFields": null, - "interfaces": null, - "enumValues": [ - { - "name": "COPYRIGHT", - "description": "The copyright.", - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "PERFORMANCE", - "description": "The sound recording (performance) copyright.", - "isDeprecated": false, - "deprecationReason": null - } - ], - "possibleTypes": null - }, - { - "kind": "OBJECT", - "name": "TheAudioDBTrack", - "description": "A track on [TheAudioDB](http://www.theaudiodb.com/) corresponding with a\nMusicBrainz Recording.", - "fields": [ - { - "name": "trackID", - "description": "TheAudioDB ID of the track.", - "args": [], - "type": { - "kind": "SCALAR", - "name": "ID", - "ofType": null - }, - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "albumID", - "description": "TheAudioDB ID of the album on which the track appears.", - "args": [], - "type": { - "kind": "SCALAR", - "name": "ID", - "ofType": null - }, - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "artistID", - "description": "TheAudioDB ID of the artist who released the track.", - "args": [], - "type": { - "kind": "SCALAR", - "name": "ID", - "ofType": null - }, - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "description", - "description": "A description of the track.", - "args": [ - { - "name": "lang", - "description": "The two-letter code for the language in which to retrieve the description.", - "type": { - "kind": "SCALAR", - "name": "String", - "ofType": null - }, - "defaultValue": "\"en\"" - } - ], - "type": { - "kind": "SCALAR", - "name": "String", - "ofType": null - }, - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "thumbnail", - "description": "A thumbnail image for the track.", - "args": [ - { - "name": "size", - "description": "The size of the image to retrieve.", - "type": { - "kind": "ENUM", - "name": "TheAudioDBImageSize", - "ofType": null - }, - "defaultValue": "FULL" - } - ], - "type": { - "kind": "SCALAR", - "name": "URLString", - "ofType": null - }, - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "score", - "description": "The track’s rating as determined by user votes, out of 10.", - "args": [], - "type": { - "kind": "SCALAR", - "name": "Float", - "ofType": null - }, - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "scoreVotes", - "description": "The number of users who voted to determine the album’s score.", - "args": [], - "type": { - "kind": "SCALAR", - "name": "Float", - "ofType": null - }, - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "trackNumber", - "description": "The track number of the song on the album.", - "args": [], - "type": { - "kind": "SCALAR", - "name": "Int", - "ofType": null - }, - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "musicVideo", - "description": "The official music video for the track.", - "args": [], - "type": { - "kind": "OBJECT", - "name": "TheAudioDBMusicVideo", - "ofType": null - }, - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "genre", - "description": "The primary musical genre of the track (e.g. “Alternative Rock”).", - "args": [], - "type": { - "kind": "SCALAR", - "name": "String", - "ofType": null - }, - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "mood", - "description": "The primary musical mood of the track (e.g. “Sad”).", - "args": [], - "type": { - "kind": "SCALAR", - "name": "String", - "ofType": null - }, - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "style", - "description": "The primary musical style of the track (e.g. “Rock/Pop”).", - "args": [], - "type": { - "kind": "SCALAR", - "name": "String", - "ofType": null - }, - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "theme", - "description": "The primary musical theme of the track (e.g. “In Love”).", - "args": [], - "type": { - "kind": "SCALAR", - "name": "String", - "ofType": null - }, - "isDeprecated": false, - "deprecationReason": null - } - ], - "inputFields": null, - "interfaces": [], - "enumValues": null, - "possibleTypes": null - }, - { - "kind": "OBJECT", - "name": "TheAudioDBMusicVideo", - "description": "Details of a music video associated with a track on [TheAudioDB](http://www.theaudiodb.com/).", - "fields": [ - { - "name": "url", - "description": "The URL where the music video can be found.", - "args": [], - "type": { - "kind": "SCALAR", - "name": "URLString", - "ofType": null - }, - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "companyName", - "description": "The video production company of the music video.", - "args": [], - "type": { - "kind": "SCALAR", - "name": "String", - "ofType": null - }, - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "directorName", - "description": "The director of the music video.", - "args": [], - "type": { - "kind": "SCALAR", - "name": "String", - "ofType": null - }, - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "screenshots", - "description": "A list of still images from the music video.", - "args": [ - { - "name": "size", - "description": "The size of the images to retrieve.", - "type": { - "kind": "ENUM", - "name": "TheAudioDBImageSize", - "ofType": null - }, - "defaultValue": "FULL" - } - ], - "type": { - "kind": "NON_NULL", - "name": null, - "ofType": { - "kind": "LIST", - "name": null, - "ofType": { - "kind": "SCALAR", - "name": "URLString", - "ofType": null - } - } - }, - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "viewCount", - "description": "The number of views the video has received at the given URL. This will rarely\nbe up to date, so use cautiously.", - "args": [], - "type": { - "kind": "SCALAR", - "name": "Float", - "ofType": null - }, - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "likeCount", - "description": "The number of likes the video has received at the given URL. This will rarely\nbe up to date, so use cautiously.", - "args": [], - "type": { - "kind": "SCALAR", - "name": "Float", - "ofType": null - }, - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "dislikeCount", - "description": "The number of dislikes the video has received at the given URL. This will\nrarely be up to date, so use cautiously.", - "args": [], - "type": { - "kind": "SCALAR", - "name": "Float", - "ofType": null - }, - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "commentCount", - "description": "The number of comments the video has received at the given URL. This will\nrarely be up to date, so use cautiously.", - "args": [], - "type": { - "kind": "SCALAR", - "name": "Float", - "ofType": null - }, - "isDeprecated": false, - "deprecationReason": null - } - ], - "inputFields": null, - "interfaces": [], - "enumValues": null, - "possibleTypes": null - }, - { - "kind": "OBJECT", - "name": "FanArtArtist", - "description": "An object containing lists of the different types of artist images from\n[fanart.tv](https://fanart.tv/).", - "fields": [ - { - "name": "backgrounds", - "description": "A list of 1920x1080 JPG images picturing the artist, suitable for use as\nbackgrounds.", - "args": [], - "type": { - "kind": "LIST", - "name": null, - "ofType": { - "kind": "OBJECT", - "name": "FanArtImage", - "ofType": null - } - }, - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "banners", - "description": "A list of 1000x185 JPG images containing the artist and their logo or name.", - "args": [], - "type": { - "kind": "LIST", - "name": null, - "ofType": { - "kind": "OBJECT", - "name": "FanArtImage", - "ofType": null - } - }, - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "logos", - "description": "A list of 400x155 PNG images containing the artist’s logo or name, with\ntransparent backgrounds.", - "args": [], - "type": { - "kind": "LIST", - "name": null, - "ofType": { - "kind": "OBJECT", - "name": "FanArtImage", - "ofType": null - } - }, - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "logosHD", - "description": "A list of 800x310 PNG images containing the artist’s logo or name, with\ntransparent backgrounds.", - "args": [], - "type": { - "kind": "LIST", - "name": null, - "ofType": { - "kind": "OBJECT", - "name": "FanArtImage", - "ofType": null - } - }, - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "thumbnails", - "description": "A list of 1000x1000 JPG thumbnail images picturing the artist (usually\ncontaining every member of a band).", - "args": [], - "type": { - "kind": "LIST", - "name": null, - "ofType": { - "kind": "OBJECT", - "name": "FanArtImage", - "ofType": null - } - }, - "isDeprecated": false, - "deprecationReason": null - } - ], - "inputFields": null, - "interfaces": [], - "enumValues": null, - "possibleTypes": null - }, - { - "kind": "OBJECT", - "name": "TheAudioDBArtist", - "description": "An artist on [TheAudioDB](http://www.theaudiodb.com/).", - "fields": [ - { - "name": "artistID", - "description": "TheAudioDB ID of the artist.", - "args": [], - "type": { - "kind": "SCALAR", - "name": "ID", - "ofType": null - }, - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "biography", - "description": "A biography of the artist, often available in several languages.", - "args": [ - { - "name": "lang", - "description": "The two-letter code for the language in which to retrieve the biography.", - "type": { - "kind": "SCALAR", - "name": "String", - "ofType": null - }, - "defaultValue": "\"en\"" - } - ], - "type": { - "kind": "SCALAR", - "name": "String", - "ofType": null - }, - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "memberCount", - "description": "The number of members in the musical group, if applicable.", - "args": [], - "type": { - "kind": "SCALAR", - "name": "Int", - "ofType": null - }, - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "banner", - "description": "A 1000x185 JPG banner image containing the artist and their logo or name.", - "args": [ - { - "name": "size", - "description": "The size of the image to retrieve.", - "type": { - "kind": "ENUM", - "name": "TheAudioDBImageSize", - "ofType": null - }, - "defaultValue": "FULL" - } - ], - "type": { - "kind": "SCALAR", - "name": "URLString", - "ofType": null - }, - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "fanArt", - "description": "A list of 1280x720 or 1920x1080 JPG images depicting the artist.", - "args": [ - { - "name": "size", - "description": "The size of the images to retrieve.", - "type": { - "kind": "ENUM", - "name": "TheAudioDBImageSize", - "ofType": null - }, - "defaultValue": "FULL" - } - ], - "type": { - "kind": "NON_NULL", - "name": null, - "ofType": { - "kind": "LIST", - "name": null, - "ofType": { - "kind": "SCALAR", - "name": "URLString", - "ofType": null - } - } - }, - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "logo", - "description": "A 400x155 PNG image containing the artist’s logo or name, with a transparent\nbackground.", - "args": [ - { - "name": "size", - "description": "The size of the image to retrieve.", - "type": { - "kind": "ENUM", - "name": "TheAudioDBImageSize", - "ofType": null - }, - "defaultValue": "FULL" - } - ], - "type": { - "kind": "SCALAR", - "name": "URLString", - "ofType": null - }, - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "thumbnail", - "description": "A 1000x1000 JPG thumbnail image picturing the artist (usually containing\nevery member of a band).", - "args": [ - { - "name": "size", - "description": "The size of the image to retrieve.", - "type": { - "kind": "ENUM", - "name": "TheAudioDBImageSize", - "ofType": null - }, - "defaultValue": "FULL" - } - ], - "type": { - "kind": "SCALAR", - "name": "URLString", - "ofType": null - }, - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "genre", - "description": "The primary musical genre of the artist (e.g. “Alternative Rock”).", - "args": [], - "type": { - "kind": "SCALAR", - "name": "String", - "ofType": null - }, - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "mood", - "description": "The primary musical mood of the artist (e.g. “Sad”).", - "args": [], - "type": { - "kind": "SCALAR", - "name": "String", - "ofType": null - }, - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "style", - "description": "The primary musical style of the artist (e.g. “Rock/Pop”).", - "args": [], - "type": { - "kind": "SCALAR", - "name": "String", - "ofType": null - }, - "isDeprecated": false, - "deprecationReason": null - } - ], - "inputFields": null, - "interfaces": [], - "enumValues": null, - "possibleTypes": null - }, - { - "kind": "OBJECT", - "name": "LastFMCountry", - "description": "A country with chart data available on [Last.fm](https://www.last.fm/).", - "fields": [ - { - "name": "topArtists", - "description": "The top artists in this country, ordered by popularity.", - "args": [ - { - "name": "first", - "description": "The maximum number of artists to retrieve.", - "type": { - "kind": "SCALAR", - "name": "Int", - "ofType": null - }, - "defaultValue": "25" - }, - { - "name": "after", - "description": "The cursor of the edge after which more artists will be retrieved.", - "type": { - "kind": "SCALAR", - "name": "String", - "ofType": null - }, - "defaultValue": null - } - ], - "type": { - "kind": "OBJECT", - "name": "LastFMArtistConnection", - "ofType": null - }, - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "topTracks", - "description": "The top tracks in this country, ordered by popularity.", - "args": [ - { - "name": "first", - "description": "The maximum number of tracks to retrieve.", - "type": { - "kind": "SCALAR", - "name": "Int", - "ofType": null - }, - "defaultValue": "25" - }, - { - "name": "after", - "description": "The cursor of the edge after which more tracks will be retrieved.", - "type": { - "kind": "SCALAR", - "name": "String", - "ofType": null - }, - "defaultValue": null - } - ], - "type": { - "kind": "OBJECT", - "name": "LastFMTrackConnection", - "ofType": null - }, - "isDeprecated": false, - "deprecationReason": null - } - ], - "inputFields": null, - "interfaces": [], - "enumValues": null, - "possibleTypes": null - }, - { - "kind": "OBJECT", - "name": "URL", - "description": "A [URL](https://musicbrainz.org/doc/URL) pointing to a resource\nexternal to MusicBrainz, i.e. an official homepage, a site where music can be\nacquired, an entry in another database, etc.", - "fields": [ - { - "name": "id", - "description": "The ID of an object", - "args": [], - "type": { - "kind": "NON_NULL", - "name": null, - "ofType": { - "kind": "SCALAR", - "name": "ID", - "ofType": null - } - }, - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "mbid", - "description": "The MBID of the entity.", - "args": [], - "type": { - "kind": "NON_NULL", - "name": null, - "ofType": { - "kind": "SCALAR", - "name": "MBID", - "ofType": null - } - }, - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "resource", - "description": "The actual URL string.", - "args": [], - "type": { - "kind": "NON_NULL", - "name": null, - "ofType": { - "kind": "SCALAR", - "name": "URLString", - "ofType": null - } - }, - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "relationships", - "description": "Relationships between this entity and other entitites.", - "args": [], - "type": { - "kind": "OBJECT", - "name": "Relationships", - "ofType": null - }, - "isDeprecated": false, - "deprecationReason": null - } - ], - "inputFields": null, - "interfaces": [ - { - "kind": "INTERFACE", - "name": "Node", - "ofType": null - }, - { - "kind": "INTERFACE", - "name": "Entity", - "ofType": null - } - ], - "enumValues": null, - "possibleTypes": null - }, - { - "kind": "OBJECT", - "name": "BrowseQuery", - "description": "A query for all MusicBrainz entities directly linked to another\nentity.", - "fields": [ - { - "name": "areas", - "description": "Browse area entities linked to the given arguments.", - "args": [ - { - "name": "collection", - "description": "The MBID of a collection in which the entity is found.", - "type": { - "kind": "SCALAR", - "name": "MBID", - "ofType": null - }, - "defaultValue": null - }, - { - "name": "after", - "description": null, - "type": { - "kind": "SCALAR", - "name": "String", - "ofType": null - }, - "defaultValue": null - }, - { - "name": "first", - "description": null, - "type": { - "kind": "SCALAR", - "name": "Int", - "ofType": null - }, - "defaultValue": null - } - ], - "type": { - "kind": "OBJECT", - "name": "AreaConnection", - "ofType": null - }, - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "artists", - "description": "Browse artist entities linked to the given arguments.", - "args": [ - { - "name": "area", - "description": "The MBID of an area to which the entity is linked.", - "type": { - "kind": "SCALAR", - "name": "MBID", - "ofType": null - }, - "defaultValue": null - }, - { - "name": "collection", - "description": "The MBID of a collection in which the entity is found.", - "type": { - "kind": "SCALAR", - "name": "MBID", - "ofType": null - }, - "defaultValue": null - }, - { - "name": "recording", - "description": "The MBID of a recording to which the entity is linked.", - "type": { - "kind": "SCALAR", - "name": "MBID", - "ofType": null - }, - "defaultValue": null - }, - { - "name": "release", - "description": "The MBID of a release to which the entity is linked.", - "type": { - "kind": "SCALAR", - "name": "MBID", - "ofType": null - }, - "defaultValue": null - }, - { - "name": "releaseGroup", - "description": "The MBID of a release group to which the entity is linked.", - "type": { - "kind": "SCALAR", - "name": "MBID", - "ofType": null - }, - "defaultValue": null - }, - { - "name": "work", - "description": "The MBID of a work to which the entity is linked.", - "type": { - "kind": "SCALAR", - "name": "MBID", - "ofType": null - }, - "defaultValue": null - }, - { - "name": "after", - "description": null, - "type": { - "kind": "SCALAR", - "name": "String", - "ofType": null - }, - "defaultValue": null - }, - { - "name": "first", - "description": null, - "type": { - "kind": "SCALAR", - "name": "Int", - "ofType": null - }, - "defaultValue": null - } - ], - "type": { - "kind": "OBJECT", - "name": "ArtistConnection", - "ofType": null - }, - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "collections", - "description": "Browse collection entities linked to the given arguments.", - "args": [ - { - "name": "area", - "description": "The MBID of an area to which the entity is linked.", - "type": { - "kind": "SCALAR", - "name": "MBID", - "ofType": null - }, - "defaultValue": null - }, - { - "name": "artist", - "description": "The MBID of an artist to which the entity is linked.", - "type": { - "kind": "SCALAR", - "name": "MBID", - "ofType": null - }, - "defaultValue": null - }, - { - "name": "editor", - "description": "The username of the editor who created the collection.", - "type": { - "kind": "SCALAR", - "name": "String", - "ofType": null - }, - "defaultValue": null - }, - { - "name": "event", - "description": "The MBID of an event to which the entity is linked.", - "type": { - "kind": "SCALAR", - "name": "MBID", - "ofType": null - }, - "defaultValue": null - }, - { - "name": "label", - "description": "The MBID of a label to which the entity is linked.", - "type": { - "kind": "SCALAR", - "name": "MBID", - "ofType": null - }, - "defaultValue": null - }, - { - "name": "place", - "description": "The MBID of a place to which the entity is linked.", - "type": { - "kind": "SCALAR", - "name": "MBID", - "ofType": null - }, - "defaultValue": null - }, - { - "name": "recording", - "description": "The MBID of a recording to which the entity is linked.", - "type": { - "kind": "SCALAR", - "name": "MBID", - "ofType": null - }, - "defaultValue": null - }, - { - "name": "release", - "description": "The MBID of a release to which the entity is linked.", - "type": { - "kind": "SCALAR", - "name": "MBID", - "ofType": null - }, - "defaultValue": null - }, - { - "name": "releaseGroup", - "description": "The MBID of a release group to which the entity is linked.", - "type": { - "kind": "SCALAR", - "name": "MBID", - "ofType": null - }, - "defaultValue": null - }, - { - "name": "work", - "description": "The MBID of a work to which the entity is linked.", - "type": { - "kind": "SCALAR", - "name": "MBID", - "ofType": null - }, - "defaultValue": null - }, - { - "name": "after", - "description": null, - "type": { - "kind": "SCALAR", - "name": "String", - "ofType": null - }, - "defaultValue": null - }, - { - "name": "first", - "description": null, - "type": { - "kind": "SCALAR", - "name": "Int", - "ofType": null - }, - "defaultValue": null - } - ], - "type": { - "kind": "OBJECT", - "name": "CollectionConnection", - "ofType": null - }, - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "events", - "description": "Browse event entities linked to the given arguments.", - "args": [ - { - "name": "area", - "description": "The MBID of an area to which the entity is linked.", - "type": { - "kind": "SCALAR", - "name": "MBID", - "ofType": null - }, - "defaultValue": null - }, - { - "name": "artist", - "description": "The MBID of an artist to which the entity is linked.", - "type": { - "kind": "SCALAR", - "name": "MBID", - "ofType": null - }, - "defaultValue": null - }, - { - "name": "collection", - "description": "The MBID of a collection in which the entity is found.", - "type": { - "kind": "SCALAR", - "name": "MBID", - "ofType": null - }, - "defaultValue": null - }, - { - "name": "place", - "description": "The MBID of a place to which the entity is linked.", - "type": { - "kind": "SCALAR", - "name": "MBID", - "ofType": null - }, - "defaultValue": null - }, - { - "name": "after", - "description": null, - "type": { - "kind": "SCALAR", - "name": "String", - "ofType": null - }, - "defaultValue": null - }, - { - "name": "first", - "description": null, - "type": { - "kind": "SCALAR", - "name": "Int", - "ofType": null - }, - "defaultValue": null - } - ], - "type": { - "kind": "OBJECT", - "name": "EventConnection", - "ofType": null - }, - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "labels", - "description": "Browse label entities linked to the given arguments.", - "args": [ - { - "name": "area", - "description": "The MBID of an area to which the entity is linked.", - "type": { - "kind": "SCALAR", - "name": "MBID", - "ofType": null - }, - "defaultValue": null - }, - { - "name": "collection", - "description": "The MBID of a collection in which the entity is found.", - "type": { - "kind": "SCALAR", - "name": "MBID", - "ofType": null - }, - "defaultValue": null - }, - { - "name": "release", - "description": "The MBID of a release to which the entity is linked.", - "type": { - "kind": "SCALAR", - "name": "MBID", - "ofType": null - }, - "defaultValue": null - }, - { - "name": "after", - "description": null, - "type": { - "kind": "SCALAR", - "name": "String", - "ofType": null - }, - "defaultValue": null - }, - { - "name": "first", - "description": null, - "type": { - "kind": "SCALAR", - "name": "Int", - "ofType": null - }, - "defaultValue": null - } - ], - "type": { - "kind": "OBJECT", - "name": "LabelConnection", - "ofType": null - }, - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "places", - "description": "Browse place entities linked to the given arguments.", - "args": [ - { - "name": "area", - "description": "The MBID of an area to which the entity is linked.", - "type": { - "kind": "SCALAR", - "name": "MBID", - "ofType": null - }, - "defaultValue": null - }, - { - "name": "collection", - "description": "The MBID of a collection in which the entity is found.", - "type": { - "kind": "SCALAR", - "name": "MBID", - "ofType": null - }, - "defaultValue": null - }, - { - "name": "after", - "description": null, - "type": { - "kind": "SCALAR", - "name": "String", - "ofType": null - }, - "defaultValue": null - }, - { - "name": "first", - "description": null, - "type": { - "kind": "SCALAR", - "name": "Int", - "ofType": null - }, - "defaultValue": null - } - ], - "type": { - "kind": "OBJECT", - "name": "PlaceConnection", - "ofType": null - }, - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "recordings", - "description": "Browse recording entities linked to the given arguments.", - "args": [ - { - "name": "artist", - "description": "The MBID of an artist to which the entity is linked.", - "type": { - "kind": "SCALAR", - "name": "MBID", - "ofType": null - }, - "defaultValue": null - }, - { - "name": "collection", - "description": "The MBID of a collection in which the entity is found.", - "type": { - "kind": "SCALAR", - "name": "MBID", - "ofType": null - }, - "defaultValue": null - }, - { - "name": "isrc", - "description": "The [International Standard Recording Code](https://musicbrainz.org/doc/ISRC)\n(ISRC) of the recording.", - "type": { - "kind": "SCALAR", - "name": "ISRC", - "ofType": null - }, - "defaultValue": null - }, - { - "name": "release", - "description": "The MBID of a release to which the entity is linked.", - "type": { - "kind": "SCALAR", - "name": "MBID", - "ofType": null - }, - "defaultValue": null - }, - { - "name": "after", - "description": null, - "type": { - "kind": "SCALAR", - "name": "String", - "ofType": null - }, - "defaultValue": null - }, - { - "name": "first", - "description": null, - "type": { - "kind": "SCALAR", - "name": "Int", - "ofType": null - }, - "defaultValue": null - } - ], - "type": { - "kind": "OBJECT", - "name": "RecordingConnection", - "ofType": null - }, - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "releases", - "description": "Browse release entities linked to the given arguments.", - "args": [ - { - "name": "area", - "description": "The MBID of an area to which the entity is linked.", - "type": { - "kind": "SCALAR", - "name": "MBID", - "ofType": null - }, - "defaultValue": null - }, - { - "name": "artist", - "description": "The MBID of an artist to which the entity is linked.", - "type": { - "kind": "SCALAR", - "name": "MBID", - "ofType": null - }, - "defaultValue": null - }, - { - "name": "collection", - "description": "The MBID of a collection in which the entity is found.", - "type": { - "kind": "SCALAR", - "name": "MBID", - "ofType": null - }, - "defaultValue": null - }, - { - "name": "discID", - "description": "A [disc ID](https://musicbrainz.org/doc/Disc_ID)\nassociated with the release.", - "type": { - "kind": "SCALAR", - "name": "DiscID", - "ofType": null - }, - "defaultValue": null - }, - { - "name": "label", - "description": "The MBID of a label to which the entity is linked.", - "type": { - "kind": "SCALAR", - "name": "MBID", - "ofType": null - }, - "defaultValue": null - }, - { - "name": "recording", - "description": "The MBID of a recording to which the entity is linked.", - "type": { - "kind": "SCALAR", - "name": "MBID", - "ofType": null - }, - "defaultValue": null - }, - { - "name": "releaseGroup", - "description": "The MBID of a release group to which the entity is linked.", - "type": { - "kind": "SCALAR", - "name": "MBID", - "ofType": null - }, - "defaultValue": null - }, - { - "name": "track", - "description": "The MBID of a track that is included in the release.", - "type": { - "kind": "SCALAR", - "name": "MBID", - "ofType": null - }, - "defaultValue": null - }, - { - "name": "trackArtist", - "description": "The MBID of an artist that appears on a track in the\nrelease, but is not included in the credits for the release itself.", - "type": { - "kind": "SCALAR", - "name": "MBID", - "ofType": null - }, - "defaultValue": null - }, - { - "name": "type", - "description": "Filter by one or more release group types.", - "type": { - "kind": "LIST", - "name": null, - "ofType": { - "kind": "ENUM", - "name": "ReleaseGroupType", - "ofType": null - } - }, - "defaultValue": null - }, - { - "name": "status", - "description": "Filter by one or more release statuses.", - "type": { - "kind": "LIST", - "name": null, - "ofType": { - "kind": "ENUM", - "name": "ReleaseStatus", - "ofType": null - } - }, - "defaultValue": null - }, - { - "name": "after", - "description": null, - "type": { - "kind": "SCALAR", - "name": "String", - "ofType": null - }, - "defaultValue": null - }, - { - "name": "first", - "description": null, - "type": { - "kind": "SCALAR", - "name": "Int", - "ofType": null - }, - "defaultValue": null - } - ], - "type": { - "kind": "OBJECT", - "name": "ReleaseConnection", - "ofType": null - }, - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "releaseGroups", - "description": "Browse release group entities linked to the given arguments.", - "args": [ - { - "name": "artist", - "description": "The MBID of an artist to which the entity is linked.", - "type": { - "kind": "SCALAR", - "name": "MBID", - "ofType": null - }, - "defaultValue": null - }, - { - "name": "collection", - "description": "The MBID of a collection in which the entity is found.", - "type": { - "kind": "SCALAR", - "name": "MBID", - "ofType": null - }, - "defaultValue": null - }, - { - "name": "release", - "description": "The MBID of a release to which the entity is linked.", - "type": { - "kind": "SCALAR", - "name": "MBID", - "ofType": null - }, - "defaultValue": null - }, - { - "name": "type", - "description": "Filter by one or more release group types.", - "type": { - "kind": "LIST", - "name": null, - "ofType": { - "kind": "ENUM", - "name": "ReleaseGroupType", - "ofType": null - } - }, - "defaultValue": null - }, - { - "name": "after", - "description": null, - "type": { - "kind": "SCALAR", - "name": "String", - "ofType": null - }, - "defaultValue": null - }, - { - "name": "first", - "description": null, - "type": { - "kind": "SCALAR", - "name": "Int", - "ofType": null - }, - "defaultValue": null - } - ], - "type": { - "kind": "OBJECT", - "name": "ReleaseGroupConnection", - "ofType": null - }, - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "works", - "description": "Browse work entities linked to the given arguments.", - "args": [ - { - "name": "artist", - "description": "The MBID of an artist to which the entity is linked.", - "type": { - "kind": "SCALAR", - "name": "MBID", - "ofType": null - }, - "defaultValue": null - }, - { - "name": "collection", - "description": "The MBID of a collection in which the entity is found.", - "type": { - "kind": "SCALAR", - "name": "MBID", - "ofType": null - }, - "defaultValue": null - }, - { - "name": "iswc", - "description": "The [International Standard Musical Work Code](https://musicbrainz.org/doc/ISWC)\n(ISWC) of the work.", - "type": { - "kind": "SCALAR", - "name": "ISWC", - "ofType": null - }, - "defaultValue": null - }, - { - "name": "after", - "description": null, - "type": { - "kind": "SCALAR", - "name": "String", - "ofType": null - }, - "defaultValue": null - }, - { - "name": "first", - "description": null, - "type": { - "kind": "SCALAR", - "name": "Int", - "ofType": null - }, - "defaultValue": null - } - ], - "type": { - "kind": "OBJECT", - "name": "WorkConnection", - "ofType": null - }, - "isDeprecated": false, - "deprecationReason": null - } - ], - "inputFields": null, - "interfaces": [], - "enumValues": null, - "possibleTypes": null - }, - { - "kind": "SCALAR", - "name": "ISWC", - "description": "The [International Standard Musical Work Code](https://musicbrainz.org/doc/ISWC)\n(ISWC) is an ISO standard similar to ISBNs for identifying musical works /\ncompositions.", - "fields": null, - "inputFields": null, - "interfaces": null, - "enumValues": null, - "possibleTypes": null - }, - { - "kind": "OBJECT", - "name": "SearchQuery", - "description": "A search for MusicBrainz entities using Lucene query syntax.", - "fields": [ - { - "name": "areas", - "description": "Search for area entities matching the given query.", - "args": [ - { - "name": "query", - "description": "The query terms, in Lucene search syntax. See [examples\nand search fields](https://musicbrainz.org/doc/Development/XML_Web_Service/Version_2/Search).", - "type": { - "kind": "NON_NULL", - "name": null, - "ofType": { - "kind": "SCALAR", - "name": "String", - "ofType": null - } - }, - "defaultValue": null - }, - { - "name": "after", - "description": null, - "type": { - "kind": "SCALAR", - "name": "String", - "ofType": null - }, - "defaultValue": null - }, - { - "name": "first", - "description": null, - "type": { - "kind": "SCALAR", - "name": "Int", - "ofType": null - }, - "defaultValue": null - } - ], - "type": { - "kind": "OBJECT", - "name": "AreaConnection", - "ofType": null - }, - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "artists", - "description": "Search for artist entities matching the given query.", - "args": [ - { - "name": "query", - "description": "The query terms, in Lucene search syntax. See [examples\nand search fields](https://musicbrainz.org/doc/Development/XML_Web_Service/Version_2/Search).", - "type": { - "kind": "NON_NULL", - "name": null, - "ofType": { - "kind": "SCALAR", - "name": "String", - "ofType": null - } - }, - "defaultValue": null - }, - { - "name": "after", - "description": null, - "type": { - "kind": "SCALAR", - "name": "String", - "ofType": null - }, - "defaultValue": null - }, - { - "name": "first", - "description": null, - "type": { - "kind": "SCALAR", - "name": "Int", - "ofType": null - }, - "defaultValue": null - } - ], - "type": { - "kind": "OBJECT", - "name": "ArtistConnection", - "ofType": null - }, - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "events", - "description": "Search for event entities matching the given query.", - "args": [ - { - "name": "query", - "description": "The query terms, in Lucene search syntax. See [examples\nand search fields](https://musicbrainz.org/doc/Development/XML_Web_Service/Version_2/Search).", - "type": { - "kind": "NON_NULL", - "name": null, - "ofType": { - "kind": "SCALAR", - "name": "String", - "ofType": null - } - }, - "defaultValue": null - }, - { - "name": "after", - "description": null, - "type": { - "kind": "SCALAR", - "name": "String", - "ofType": null - }, - "defaultValue": null - }, - { - "name": "first", - "description": null, - "type": { - "kind": "SCALAR", - "name": "Int", - "ofType": null - }, - "defaultValue": null - } - ], - "type": { - "kind": "OBJECT", - "name": "EventConnection", - "ofType": null - }, - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "instruments", - "description": "Search for instrument entities matching the given query.", - "args": [ - { - "name": "query", - "description": "The query terms, in Lucene search syntax. See [examples\nand search fields](https://musicbrainz.org/doc/Development/XML_Web_Service/Version_2/Search).", - "type": { - "kind": "NON_NULL", - "name": null, - "ofType": { - "kind": "SCALAR", - "name": "String", - "ofType": null - } - }, - "defaultValue": null - }, - { - "name": "after", - "description": null, - "type": { - "kind": "SCALAR", - "name": "String", - "ofType": null - }, - "defaultValue": null - }, - { - "name": "first", - "description": null, - "type": { - "kind": "SCALAR", - "name": "Int", - "ofType": null - }, - "defaultValue": null - } - ], - "type": { - "kind": "OBJECT", - "name": "InstrumentConnection", - "ofType": null - }, - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "labels", - "description": "Search for label entities matching the given query.", - "args": [ - { - "name": "query", - "description": "The query terms, in Lucene search syntax. See [examples\nand search fields](https://musicbrainz.org/doc/Development/XML_Web_Service/Version_2/Search).", - "type": { - "kind": "NON_NULL", - "name": null, - "ofType": { - "kind": "SCALAR", - "name": "String", - "ofType": null - } - }, - "defaultValue": null - }, - { - "name": "after", - "description": null, - "type": { - "kind": "SCALAR", - "name": "String", - "ofType": null - }, - "defaultValue": null - }, - { - "name": "first", - "description": null, - "type": { - "kind": "SCALAR", - "name": "Int", - "ofType": null - }, - "defaultValue": null - } - ], - "type": { - "kind": "OBJECT", - "name": "LabelConnection", - "ofType": null - }, - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "places", - "description": "Search for place entities matching the given query.", - "args": [ - { - "name": "query", - "description": "The query terms, in Lucene search syntax. See [examples\nand search fields](https://musicbrainz.org/doc/Development/XML_Web_Service/Version_2/Search).", - "type": { - "kind": "NON_NULL", - "name": null, - "ofType": { - "kind": "SCALAR", - "name": "String", - "ofType": null - } - }, - "defaultValue": null - }, - { - "name": "after", - "description": null, - "type": { - "kind": "SCALAR", - "name": "String", - "ofType": null - }, - "defaultValue": null - }, - { - "name": "first", - "description": null, - "type": { - "kind": "SCALAR", - "name": "Int", - "ofType": null - }, - "defaultValue": null - } - ], - "type": { - "kind": "OBJECT", - "name": "PlaceConnection", - "ofType": null - }, - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "recordings", - "description": "Search for recording entities matching the given query.", - "args": [ - { - "name": "query", - "description": "The query terms, in Lucene search syntax. See [examples\nand search fields](https://musicbrainz.org/doc/Development/XML_Web_Service/Version_2/Search).", - "type": { - "kind": "NON_NULL", - "name": null, - "ofType": { - "kind": "SCALAR", - "name": "String", - "ofType": null - } - }, - "defaultValue": null - }, - { - "name": "after", - "description": null, - "type": { - "kind": "SCALAR", - "name": "String", - "ofType": null - }, - "defaultValue": null - }, - { - "name": "first", - "description": null, - "type": { - "kind": "SCALAR", - "name": "Int", - "ofType": null - }, - "defaultValue": null - } - ], - "type": { - "kind": "OBJECT", - "name": "RecordingConnection", - "ofType": null - }, - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "releases", - "description": "Search for release entities matching the given query.", - "args": [ - { - "name": "query", - "description": "The query terms, in Lucene search syntax. See [examples\nand search fields](https://musicbrainz.org/doc/Development/XML_Web_Service/Version_2/Search).", - "type": { - "kind": "NON_NULL", - "name": null, - "ofType": { - "kind": "SCALAR", - "name": "String", - "ofType": null - } - }, - "defaultValue": null - }, - { - "name": "after", - "description": null, - "type": { - "kind": "SCALAR", - "name": "String", - "ofType": null - }, - "defaultValue": null - }, - { - "name": "first", - "description": null, - "type": { - "kind": "SCALAR", - "name": "Int", - "ofType": null - }, - "defaultValue": null - } - ], - "type": { - "kind": "OBJECT", - "name": "ReleaseConnection", - "ofType": null - }, - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "releaseGroups", - "description": "Search for release group entities matching the given query.", - "args": [ - { - "name": "query", - "description": "The query terms, in Lucene search syntax. See [examples\nand search fields](https://musicbrainz.org/doc/Development/XML_Web_Service/Version_2/Search).", - "type": { - "kind": "NON_NULL", - "name": null, - "ofType": { - "kind": "SCALAR", - "name": "String", - "ofType": null - } - }, - "defaultValue": null - }, - { - "name": "after", - "description": null, - "type": { - "kind": "SCALAR", - "name": "String", - "ofType": null - }, - "defaultValue": null - }, - { - "name": "first", - "description": null, - "type": { - "kind": "SCALAR", - "name": "Int", - "ofType": null - }, - "defaultValue": null - } - ], - "type": { - "kind": "OBJECT", - "name": "ReleaseGroupConnection", - "ofType": null - }, - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "series", - "description": "Search for series entities matching the given query.", - "args": [ - { - "name": "query", - "description": "The query terms, in Lucene search syntax. See [examples\nand search fields](https://musicbrainz.org/doc/Development/XML_Web_Service/Version_2/Search).", - "type": { - "kind": "NON_NULL", - "name": null, - "ofType": { - "kind": "SCALAR", - "name": "String", - "ofType": null - } - }, - "defaultValue": null - }, - { - "name": "after", - "description": null, - "type": { - "kind": "SCALAR", - "name": "String", - "ofType": null - }, - "defaultValue": null - }, - { - "name": "first", - "description": null, - "type": { - "kind": "SCALAR", - "name": "Int", - "ofType": null - }, - "defaultValue": null - } - ], - "type": { - "kind": "OBJECT", - "name": "SeriesConnection", - "ofType": null - }, - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "works", - "description": "Search for work entities matching the given query.", - "args": [ - { - "name": "query", - "description": "The query terms, in Lucene search syntax. See [examples\nand search fields](https://musicbrainz.org/doc/Development/XML_Web_Service/Version_2/Search).", - "type": { - "kind": "NON_NULL", - "name": null, - "ofType": { - "kind": "SCALAR", - "name": "String", - "ofType": null - } - }, - "defaultValue": null - }, - { - "name": "after", - "description": null, - "type": { - "kind": "SCALAR", - "name": "String", - "ofType": null - }, - "defaultValue": null - }, - { - "name": "first", - "description": null, - "type": { - "kind": "SCALAR", - "name": "Int", - "ofType": null - }, - "defaultValue": null - } - ], - "type": { - "kind": "OBJECT", - "name": "WorkConnection", - "ofType": null - }, - "isDeprecated": false, - "deprecationReason": null - } - ], - "inputFields": null, - "interfaces": [], - "enumValues": null, - "possibleTypes": null - }, - { - "kind": "OBJECT", - "name": "LastFMQuery", - "description": "The different types of [Last.fm](https://www.last.fm/) queries that can be\nmade that are not connected to any particular MusicBrainz entity.", - "fields": [ - { - "name": "chart", - "description": "A query for chart data.", - "args": [], - "type": { - "kind": "NON_NULL", - "name": null, - "ofType": { - "kind": "OBJECT", - "name": "LastFMChartQuery", - "ofType": null - } - }, - "isDeprecated": false, - "deprecationReason": null - } - ], - "inputFields": null, - "interfaces": [], - "enumValues": null, - "possibleTypes": null - }, - { - "kind": "OBJECT", - "name": "LastFMChartQuery", - "description": "A query for chart data on [Last.fm](https://www.last.fm/).", - "fields": [ - { - "name": "topArtists", - "description": "The most popular artists, ordered by popularity. If a country code is\ngiven, retrieve the most popular artists in that country.", - "args": [ - { - "name": "country", - "description": "A two-letter [ISO 3166 country code](https://en.wikipedia.org/wiki/ISO_3166).", - "type": { - "kind": "SCALAR", - "name": "String", - "ofType": null - }, - "defaultValue": null - }, - { - "name": "first", - "description": "The maximum number of artists to retrieve.", - "type": { - "kind": "SCALAR", - "name": "Int", - "ofType": null - }, - "defaultValue": "25" - }, - { - "name": "after", - "description": "The cursor of the edge after which more artists will be retrieved.", - "type": { - "kind": "SCALAR", - "name": "String", - "ofType": null - }, - "defaultValue": null - } - ], - "type": { - "kind": "OBJECT", - "name": "LastFMArtistConnection", - "ofType": null - }, - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "topTags", - "description": "The most popular tags, ordered by popularity.", - "args": [ - { - "name": "first", - "description": "The maximum number of tags to retrieve.", - "type": { - "kind": "SCALAR", - "name": "Int", - "ofType": null - }, - "defaultValue": "25" - }, - { - "name": "after", - "description": "The cursor of the edge after which more tags will be retrieved.", - "type": { - "kind": "SCALAR", - "name": "String", - "ofType": null - }, - "defaultValue": null - } - ], - "type": { - "kind": "OBJECT", - "name": "LastFMTagConnection", - "ofType": null - }, - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "topTracks", - "description": "The most popular tracks, ordered by popularity. If a country code is\ngiven, retrieve the most popular tracks in that country.", - "args": [ - { - "name": "country", - "description": "A two-letter [ISO 3166 country code](https://en.wikipedia.org/wiki/ISO_3166).", - "type": { - "kind": "SCALAR", - "name": "String", - "ofType": null - }, - "defaultValue": null - }, - { - "name": "first", - "description": "The maximum number of tracks to retrieve.", - "type": { - "kind": "SCALAR", - "name": "Int", - "ofType": null - }, - "defaultValue": "25" - }, - { - "name": "after", - "description": "The cursor of the edge after which more tracks will be retrieved.", - "type": { - "kind": "SCALAR", - "name": "String", - "ofType": null - }, - "defaultValue": null - } - ], - "type": { - "kind": "OBJECT", - "name": "LastFMTrackConnection", - "ofType": null - }, - "isDeprecated": false, - "deprecationReason": null - } - ], - "inputFields": null, - "interfaces": [], - "enumValues": null, - "possibleTypes": null - }, - { - "kind": "OBJECT", - "name": "SpotifyQuery", - "description": null, - "fields": [ - { - "name": "recommendations", - "description": "Track recommendations based on seed entities and various parameters.", - "args": [ - { - "name": "seedArtists", - "description": "A list of [Spotify IDs](https://developer.spotify.com/documentation/web-api/#spotify-uris-and-ids)\nfor seed artists. Up to 5 seed values may be provided in any combination\nof `seedArtists`, `seedTracks`, and `seedGenres`.", - "type": { - "kind": "LIST", - "name": null, - "ofType": { - "kind": "NON_NULL", - "name": null, - "ofType": { - "kind": "SCALAR", - "name": "ID", - "ofType": null - } - } - }, - "defaultValue": "[]" - }, - { - "name": "seedGenres", - "description": "A comma separated list of any genres in the set of [available genre seeds](https://developer.spotify.com/documentation/web-api/reference/browse/get-recommendations/#available-genre-seeds).\nUp to 5 seed values may be provided in any combination of `seedArtists`,\n`seedTracks`, and `seedGenres`.", - "type": { - "kind": "LIST", - "name": null, - "ofType": { - "kind": "NON_NULL", - "name": null, - "ofType": { - "kind": "SCALAR", - "name": "ID", - "ofType": null - } - } - }, - "defaultValue": "[]" - }, - { - "name": "seedTracks", - "description": "A list of [Spotify IDs](https://developer.spotify.com/documentation/web-api/#spotify-uris-and-ids)\nfor seed tracks. Up to 5 seed values may be provided in any combination\nof `seedArtists`, `seedTracks`, and `seedGenres`.", - "type": { - "kind": "LIST", - "name": null, - "ofType": { - "kind": "NON_NULL", - "name": null, - "ofType": { - "kind": "SCALAR", - "name": "ID", - "ofType": null - } - } - }, - "defaultValue": "[]" - }, - { - "name": "limit", - "description": "The target size of the list of recommended tracks. For seeds with\nunusually small pools or when highly restrictive filtering is applied, it\nmay be impossible to generate the requested number of recommended tracks.\nDebugging information for such cases is available in the response.\n\nDefault: 20. Minimum: 1. Maximum: 100.", - "type": { - "kind": "SCALAR", - "name": "Int", - "ofType": null - }, - "defaultValue": null - } - ], - "type": { - "kind": "NON_NULL", - "name": null, - "ofType": { - "kind": "OBJECT", - "name": "SpotifyRecommendations", - "ofType": null - } - }, - "isDeprecated": false, - "deprecationReason": null - } - ], - "inputFields": null, - "interfaces": [], - "enumValues": null, - "possibleTypes": null - }, - { - "kind": "OBJECT", - "name": "SpotifyRecommendations", - "description": null, - "fields": [ - { - "name": "tracks", - "description": null, - "args": [], - "type": { - "kind": "NON_NULL", - "name": null, - "ofType": { - "kind": "LIST", - "name": null, - "ofType": { - "kind": "NON_NULL", - "name": null, - "ofType": { - "kind": "OBJECT", - "name": "SpotifyTrack", - "ofType": null - } - } - } - }, - "isDeprecated": false, - "deprecationReason": null - } - ], - "inputFields": null, - "interfaces": [], - "enumValues": null, - "possibleTypes": null - }, - { - "kind": "OBJECT", - "name": "__Schema", - "description": "A GraphQL Schema defines the capabilities of a GraphQL server. It exposes all available types and directives on the server, as well as the entry points for query, mutation, and subscription operations.", - "fields": [ - { - "name": "types", - "description": "A list of all types supported by this server.", - "args": [], - "type": { - "kind": "NON_NULL", - "name": null, - "ofType": { - "kind": "LIST", - "name": null, - "ofType": { - "kind": "NON_NULL", - "name": null, - "ofType": { - "kind": "OBJECT", - "name": "__Type", - "ofType": null - } - } - } - }, - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "queryType", - "description": "The type that query operations will be rooted at.", - "args": [], - "type": { - "kind": "NON_NULL", - "name": null, - "ofType": { - "kind": "OBJECT", - "name": "__Type", - "ofType": null - } - }, - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "mutationType", - "description": "If this server supports mutation, the type that mutation operations will be rooted at.", - "args": [], - "type": { - "kind": "OBJECT", - "name": "__Type", - "ofType": null - }, - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "subscriptionType", - "description": "If this server support subscription, the type that subscription operations will be rooted at.", - "args": [], - "type": { - "kind": "OBJECT", - "name": "__Type", - "ofType": null - }, - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "directives", - "description": "A list of all directives supported by this server.", - "args": [], - "type": { - "kind": "NON_NULL", - "name": null, - "ofType": { - "kind": "LIST", - "name": null, - "ofType": { - "kind": "NON_NULL", - "name": null, - "ofType": { - "kind": "OBJECT", - "name": "__Directive", - "ofType": null - } - } - } - }, - "isDeprecated": false, - "deprecationReason": null - } - ], - "inputFields": null, - "interfaces": [], - "enumValues": null, - "possibleTypes": null - }, - { - "kind": "OBJECT", - "name": "__Type", - "description": "The fundamental unit of any GraphQL Schema is the type. There are many kinds of types in GraphQL as represented by the `__TypeKind` enum.\n\nDepending on the kind of a type, certain fields describe information about that type. Scalar types provide no information beyond a name and description, while Enum types provide their values. Object and Interface types provide the fields they describe. Abstract types, Union and Interface, provide the Object types possible at runtime. List and NonNull types compose other types.", - "fields": [ - { - "name": "kind", - "description": null, - "args": [], - "type": { - "kind": "NON_NULL", - "name": null, - "ofType": { - "kind": "ENUM", - "name": "__TypeKind", - "ofType": null - } - }, - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "name", - "description": null, - "args": [], - "type": { - "kind": "SCALAR", - "name": "String", - "ofType": null - }, - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "description", - "description": null, - "args": [], - "type": { - "kind": "SCALAR", - "name": "String", - "ofType": null - }, - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "fields", - "description": null, - "args": [ - { - "name": "includeDeprecated", - "description": null, - "type": { - "kind": "SCALAR", - "name": "Boolean", - "ofType": null - }, - "defaultValue": "false" - } - ], - "type": { - "kind": "LIST", - "name": null, - "ofType": { - "kind": "NON_NULL", - "name": null, - "ofType": { - "kind": "OBJECT", - "name": "__Field", - "ofType": null - } - } - }, - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "interfaces", - "description": null, - "args": [], - "type": { - "kind": "LIST", - "name": null, - "ofType": { - "kind": "NON_NULL", - "name": null, - "ofType": { - "kind": "OBJECT", - "name": "__Type", - "ofType": null - } - } - }, - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "possibleTypes", - "description": null, - "args": [], - "type": { - "kind": "LIST", - "name": null, - "ofType": { - "kind": "NON_NULL", - "name": null, - "ofType": { - "kind": "OBJECT", - "name": "__Type", - "ofType": null - } - } - }, - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "enumValues", - "description": null, - "args": [ - { - "name": "includeDeprecated", - "description": null, - "type": { - "kind": "SCALAR", - "name": "Boolean", - "ofType": null - }, - "defaultValue": "false" - } - ], - "type": { - "kind": "LIST", - "name": null, - "ofType": { - "kind": "NON_NULL", - "name": null, - "ofType": { - "kind": "OBJECT", - "name": "__EnumValue", - "ofType": null - } - } - }, - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "inputFields", - "description": null, - "args": [], - "type": { - "kind": "LIST", - "name": null, - "ofType": { - "kind": "NON_NULL", - "name": null, - "ofType": { - "kind": "OBJECT", - "name": "__InputValue", - "ofType": null - } - } - }, - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "ofType", - "description": null, - "args": [], - "type": { - "kind": "OBJECT", - "name": "__Type", - "ofType": null - }, - "isDeprecated": false, - "deprecationReason": null - } - ], - "inputFields": null, - "interfaces": [], - "enumValues": null, - "possibleTypes": null - }, - { - "kind": "ENUM", - "name": "__TypeKind", - "description": "An enum describing what kind of type a given `__Type` is.", - "fields": null, - "inputFields": null, - "interfaces": null, - "enumValues": [ - { - "name": "SCALAR", - "description": "Indicates this type is a scalar.", - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "OBJECT", - "description": "Indicates this type is an object. `fields` and `interfaces` are valid fields.", - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "INTERFACE", - "description": "Indicates this type is an interface. `fields` and `possibleTypes` are valid fields.", - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "UNION", - "description": "Indicates this type is a union. `possibleTypes` is a valid field.", - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "ENUM", - "description": "Indicates this type is an enum. `enumValues` is a valid field.", - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "INPUT_OBJECT", - "description": "Indicates this type is an input object. `inputFields` is a valid field.", - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "LIST", - "description": "Indicates this type is a list. `ofType` is a valid field.", - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "NON_NULL", - "description": "Indicates this type is a non-null. `ofType` is a valid field.", - "isDeprecated": false, - "deprecationReason": null - } - ], - "possibleTypes": null - }, - { - "kind": "OBJECT", - "name": "__Field", - "description": "Object and Interface types are described by a list of Fields, each of which has a name, potentially a list of arguments, and a return type.", - "fields": [ - { - "name": "name", - "description": null, - "args": [], - "type": { - "kind": "NON_NULL", - "name": null, - "ofType": { - "kind": "SCALAR", - "name": "String", - "ofType": null - } - }, - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "description", - "description": null, - "args": [], - "type": { - "kind": "SCALAR", - "name": "String", - "ofType": null - }, - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "args", - "description": null, - "args": [], - "type": { - "kind": "NON_NULL", - "name": null, - "ofType": { - "kind": "LIST", - "name": null, - "ofType": { - "kind": "NON_NULL", - "name": null, - "ofType": { - "kind": "OBJECT", - "name": "__InputValue", - "ofType": null - } - } - } - }, - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "type", - "description": null, - "args": [], - "type": { - "kind": "NON_NULL", - "name": null, - "ofType": { - "kind": "OBJECT", - "name": "__Type", - "ofType": null - } - }, - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "isDeprecated", - "description": null, - "args": [], - "type": { - "kind": "NON_NULL", - "name": null, - "ofType": { - "kind": "SCALAR", - "name": "Boolean", - "ofType": null - } - }, - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "deprecationReason", - "description": null, - "args": [], - "type": { - "kind": "SCALAR", - "name": "String", - "ofType": null - }, - "isDeprecated": false, - "deprecationReason": null - } - ], - "inputFields": null, - "interfaces": [], - "enumValues": null, - "possibleTypes": null - }, - { - "kind": "OBJECT", - "name": "__InputValue", - "description": "Arguments provided to Fields or Directives and the input fields of an InputObject are represented as Input Values which describe their type and optionally a default value.", - "fields": [ - { - "name": "name", - "description": null, - "args": [], - "type": { - "kind": "NON_NULL", - "name": null, - "ofType": { - "kind": "SCALAR", - "name": "String", - "ofType": null - } - }, - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "description", - "description": null, - "args": [], - "type": { - "kind": "SCALAR", - "name": "String", - "ofType": null - }, - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "type", - "description": null, - "args": [], - "type": { - "kind": "NON_NULL", - "name": null, - "ofType": { - "kind": "OBJECT", - "name": "__Type", - "ofType": null - } - }, - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "defaultValue", - "description": "A GraphQL-formatted string representing the default value for this input value.", - "args": [], - "type": { - "kind": "SCALAR", - "name": "String", - "ofType": null - }, - "isDeprecated": false, - "deprecationReason": null - } - ], - "inputFields": null, - "interfaces": [], - "enumValues": null, - "possibleTypes": null - }, - { - "kind": "OBJECT", - "name": "__EnumValue", - "description": "One possible value for a given Enum. Enum values are unique values, not a placeholder for a string or numeric value. However an Enum value is returned in a JSON response as a string.", - "fields": [ - { - "name": "name", - "description": null, - "args": [], - "type": { - "kind": "NON_NULL", - "name": null, - "ofType": { - "kind": "SCALAR", - "name": "String", - "ofType": null - } - }, - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "description", - "description": null, - "args": [], - "type": { - "kind": "SCALAR", - "name": "String", - "ofType": null - }, - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "isDeprecated", - "description": null, - "args": [], - "type": { - "kind": "NON_NULL", - "name": null, - "ofType": { - "kind": "SCALAR", - "name": "Boolean", - "ofType": null - } - }, - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "deprecationReason", - "description": null, - "args": [], - "type": { - "kind": "SCALAR", - "name": "String", - "ofType": null - }, - "isDeprecated": false, - "deprecationReason": null - } - ], - "inputFields": null, - "interfaces": [], - "enumValues": null, - "possibleTypes": null - }, - { - "kind": "OBJECT", - "name": "__Directive", - "description": "A Directive provides a way to describe alternate runtime execution and type validation behavior in a GraphQL document.\n\nIn some cases, you need to provide options to alter GraphQL's execution behavior in ways field arguments will not suffice, such as conditionally including or skipping a field. Directives provide this by describing additional information to the executor.", - "fields": [ - { - "name": "name", - "description": null, - "args": [], - "type": { - "kind": "NON_NULL", - "name": null, - "ofType": { - "kind": "SCALAR", - "name": "String", - "ofType": null - } - }, - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "description", - "description": null, - "args": [], - "type": { - "kind": "SCALAR", - "name": "String", - "ofType": null - }, - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "locations", - "description": null, - "args": [], - "type": { - "kind": "NON_NULL", - "name": null, - "ofType": { - "kind": "LIST", - "name": null, - "ofType": { - "kind": "NON_NULL", - "name": null, - "ofType": { - "kind": "ENUM", - "name": "__DirectiveLocation", - "ofType": null - } - } - } - }, - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "args", - "description": null, - "args": [], - "type": { - "kind": "NON_NULL", - "name": null, - "ofType": { - "kind": "LIST", - "name": null, - "ofType": { - "kind": "NON_NULL", - "name": null, - "ofType": { - "kind": "OBJECT", - "name": "__InputValue", - "ofType": null - } - } - } - }, - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "onOperation", - "description": null, - "args": [], - "type": { - "kind": "NON_NULL", - "name": null, - "ofType": { - "kind": "SCALAR", - "name": "Boolean", - "ofType": null - } - }, - "isDeprecated": true, - "deprecationReason": "Use `locations`." - }, - { - "name": "onFragment", - "description": null, - "args": [], - "type": { - "kind": "NON_NULL", - "name": null, - "ofType": { - "kind": "SCALAR", - "name": "Boolean", - "ofType": null - } - }, - "isDeprecated": true, - "deprecationReason": "Use `locations`." - }, - { - "name": "onField", - "description": null, - "args": [], - "type": { - "kind": "NON_NULL", - "name": null, - "ofType": { - "kind": "SCALAR", - "name": "Boolean", - "ofType": null - } - }, - "isDeprecated": true, - "deprecationReason": "Use `locations`." - } - ], - "inputFields": null, - "interfaces": [], - "enumValues": null, - "possibleTypes": null - }, - { - "kind": "ENUM", - "name": "__DirectiveLocation", - "description": "A Directive can be adjacent to many parts of the GraphQL language, a __DirectiveLocation describes one such possible adjacencies.", - "fields": null, - "inputFields": null, - "interfaces": null, - "enumValues": [ - { - "name": "QUERY", - "description": "Location adjacent to a query operation.", - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "MUTATION", - "description": "Location adjacent to a mutation operation.", - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "SUBSCRIPTION", - "description": "Location adjacent to a subscription operation.", - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "FIELD", - "description": "Location adjacent to a field.", - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "FRAGMENT_DEFINITION", - "description": "Location adjacent to a fragment definition.", - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "FRAGMENT_SPREAD", - "description": "Location adjacent to a fragment spread.", - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "INLINE_FRAGMENT", - "description": "Location adjacent to an inline fragment.", - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "SCHEMA", - "description": "Location adjacent to a schema definition.", - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "SCALAR", - "description": "Location adjacent to a scalar definition.", - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "OBJECT", - "description": "Location adjacent to an object type definition.", - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "FIELD_DEFINITION", - "description": "Location adjacent to a field definition.", - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "ARGUMENT_DEFINITION", - "description": "Location adjacent to an argument definition.", - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "INTERFACE", - "description": "Location adjacent to an interface definition.", - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "UNION", - "description": "Location adjacent to a union definition.", - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "ENUM", - "description": "Location adjacent to an enum definition.", - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "ENUM_VALUE", - "description": "Location adjacent to an enum value definition.", - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "INPUT_OBJECT", - "description": "Location adjacent to an input object type definition.", - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "INPUT_FIELD_DEFINITION", - "description": "Location adjacent to an input object field definition.", - "isDeprecated": false, - "deprecationReason": null - } - ], - "possibleTypes": null - }, - { - "kind": "OBJECT", - "name": "DiscogsReleaseConnection", - "description": "A connection to a list of Discogs releases.", - "fields": [ - { - "name": "pageInfo", - "description": "Information to aid in pagination.", - "args": [], - "type": { - "kind": "NON_NULL", - "name": null, - "ofType": { - "kind": "OBJECT", - "name": "PageInfo", - "ofType": null - } - }, - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "edges", - "description": "A list of edges.", - "args": [], - "type": { - "kind": "NON_NULL", - "name": null, - "ofType": { - "kind": "LIST", - "name": null, - "ofType": { - "kind": "NON_NULL", - "name": null, - "ofType": { - "kind": "OBJECT", - "name": "DiscogsReleaseEdge", - "ofType": null - } - } - } - }, - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "nodes", - "description": "A list of nodes in the connection (without going through the `edges` field).", - "args": [], - "type": { - "kind": "NON_NULL", - "name": null, - "ofType": { - "kind": "LIST", - "name": null, - "ofType": { - "kind": "NON_NULL", - "name": null, - "ofType": { - "kind": "OBJECT", - "name": "DiscogsRelease", - "ofType": null - } - } - } - }, - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "totalCount", - "description": "A count of the total number of items in this connection, ignoring pagination.", - "args": [], - "type": { - "kind": "SCALAR", - "name": "Int", - "ofType": null - }, - "isDeprecated": false, - "deprecationReason": null - } - ], - "inputFields": null, - "interfaces": [], - "enumValues": null, - "possibleTypes": null - }, - { - "kind": "OBJECT", - "name": "DiscogsReleaseEdge", - "description": "An edge in a Discogs release connection.", - "fields": [ - { - "name": "node", - "description": "The release at the end of the edge.", - "args": [], - "type": { - "kind": "NON_NULL", - "name": null, - "ofType": { - "kind": "OBJECT", - "name": "DiscogsRelease", - "ofType": null - } - }, - "isDeprecated": false, - "deprecationReason": null - } - ], - "inputFields": null, - "interfaces": [], - "enumValues": null, - "possibleTypes": null - } - ], - "directives": [ - { - "name": "include", - "description": "Directs the executor to include this field or fragment only when the `if` argument is true.", - "locations": [ - "FIELD", - "FRAGMENT_SPREAD", - "INLINE_FRAGMENT" - ], - "args": [ - { - "name": "if", - "description": "Included when true.", - "type": { - "kind": "NON_NULL", - "name": null, - "ofType": { - "kind": "SCALAR", - "name": "Boolean", - "ofType": null - } - }, - "defaultValue": null - } - ] - }, - { - "name": "skip", - "description": "Directs the executor to skip this field or fragment when the `if` argument is true.", - "locations": [ - "FIELD", - "FRAGMENT_SPREAD", - "INLINE_FRAGMENT" - ], - "args": [ - { - "name": "if", - "description": "Skipped when true.", - "type": { - "kind": "NON_NULL", - "name": null, - "ofType": { - "kind": "SCALAR", - "name": "Boolean", - "ofType": null - } - }, - "defaultValue": null - } - ] - }, - { - "name": "deprecated", - "description": "Marks an element of a GraphQL schema as no longer supported.", - "locations": [ - "FIELD_DEFINITION", - "ENUM_VALUE" - ], - "args": [ - { - "name": "reason", - "description": "Explains why this element was deprecated, usually also including a suggestion for how to access supported similar data. Formatted in [Markdown](https://daringfireball.net/projects/markdown/).", - "type": { - "kind": "SCALAR", - "name": "String", - "ofType": null - }, - "defaultValue": "\"No longer supported\"" - } - ] - } - ] - } - } - } \ No newline at end of file diff --git a/example/graphbrainz/lib/main.dart b/example/graphbrainz/lib/main.dart index d1feaa80..c5fff7d8 100644 --- a/example/graphbrainz/lib/main.dart +++ b/example/graphbrainz/lib/main.dart @@ -10,6 +10,7 @@ void main() async { final query = EdSheeranQuery(); final query2 = EdSheeranQuery(); final response = await client.execute(query); + client.dispose(); print('Equality works: ${query == query2}'); diff --git a/example/graphbrainz/lib/queries/ed_sheeran.query.dart b/example/graphbrainz/lib/queries/ed_sheeran.query.dart index d4832fbd..0d815d60 100644 --- a/example/graphbrainz/lib/queries/ed_sheeran.query.dart +++ b/example/graphbrainz/lib/queries/ed_sheeran.query.dart @@ -1,5 +1,6 @@ // GENERATED CODE - DO NOT MODIFY BY HAND +import 'package:meta/meta.dart'; import 'package:artemis/artemis.dart'; import 'package:json_annotation/json_annotation.dart'; import 'package:equatable/equatable.dart'; diff --git a/example/graphbrainz/pubspec.lock b/example/graphbrainz/pubspec.lock index 555f52f3..e68ab0de 100644 --- a/example/graphbrainz/pubspec.lock +++ b/example/graphbrainz/pubspec.lock @@ -21,7 +21,7 @@ packages: path: "../.." relative: true source: path - version: "3.2.0" + version: "5.0.2" async: dependency: transitive description: @@ -189,7 +189,7 @@ packages: name: gql url: "https://pub.dartlang.org" source: hosted - version: "0.12.0" + version: "0.12.2" gql_code_gen: dependency: transitive description: @@ -203,28 +203,28 @@ packages: name: gql_dedupe_link url: "https://pub.dartlang.org" source: hosted - version: "1.0.8" + version: "1.0.9" gql_exec: dependency: transitive description: name: gql_exec url: "https://pub.dartlang.org" source: hosted - version: "0.2.0" + version: "0.2.2" gql_http_link: dependency: transitive description: name: gql_http_link url: "https://pub.dartlang.org" source: hosted - version: "0.2.6" + version: "0.2.7" gql_link: dependency: transitive description: name: gql_link url: "https://pub.dartlang.org" source: hosted - version: "0.2.2" + version: "0.2.3" graphs: dependency: transitive description: diff --git a/example/pokemon/build.yaml b/example/pokemon/build.yaml index 2b27ea6b..0919dcef 100644 --- a/example/pokemon/build.yaml +++ b/example/pokemon/build.yaml @@ -3,21 +3,21 @@ targets: sources: - lib/** - graphql/** - - pokemon.schema.json + - pokemon.schema.graphql builders: artemis: options: fragments_glob: graphql/**.fragment.graphql schema_mapping: - - schema: pokemon.schema.json + - schema: pokemon.schema.graphql queries_glob: graphql/simple_query.query.graphql output: lib/graphql/simple_query.dart - - schema: pokemon.schema.json + - schema: pokemon.schema.graphql queries_glob: graphql/big_query.query.graphql output: lib/graphql/big_query.dart - - schema: pokemon.schema.json + - schema: pokemon.schema.graphql queries_glob: graphql/fragment_query.query.graphql output: lib/graphql/fragment_query.dart - - schema: pokemon.schema.json + - schema: pokemon.schema.graphql queries_glob: graphql/fragments_glob.query.graphql output: lib/graphql/fragments_glob.dart diff --git a/example/pokemon/pokemon.schema.graphql b/example/pokemon/pokemon.schema.graphql new file mode 100644 index 00000000..35ed7903 --- /dev/null +++ b/example/pokemon/pokemon.schema.graphql @@ -0,0 +1,92 @@ +"""Represents a Pokémon's attack types""" +type Attack { + """The name of this Pokémon attack""" + name: String + + """The type of this Pokémon attack""" + type: String + + """The damage of this Pokémon attack""" + damage: Int +} + +"""Represents a Pokémon""" +type Pokemon { + """The ID of an object""" + id: ID! + + """The identifier of this Pokémon""" + number: String + + """The name of this Pokémon""" + name: String + + """The minimum and maximum weight of this Pokémon""" + weight: PokemonDimension + + """The minimum and maximum weight of this Pokémon""" + height: PokemonDimension + + """The classification of this Pokémon""" + classification: String + + """The type(s) of this Pokémon""" + types: [String] + + """The type(s) of Pokémons that this Pokémon is resistant to""" + resistant: [String] + + """The attacks of this Pokémon""" + attacks: PokemonAttack + + """The type(s) of Pokémons that this Pokémon weak to""" + weaknesses: [String] + fleeRate: Float + + """The maximum CP of this Pokémon""" + maxCP: Int + + """The evolutions of this Pokémon""" + evolutions: [Pokemon] + + """The evolution requirements of this Pokémon""" + evolutionRequirements: PokemonEvolutionRequirement + + """The maximum HP of this Pokémon""" + maxHP: Int + image: String +} + +"""Represents a Pokémon's attack types""" +type PokemonAttack { + """The fast attacks of this Pokémon""" + fast: [Attack] + + """The special attacks of this Pokémon""" + special: [Attack] +} + +"""Represents a Pokémon's dimensions""" +type PokemonDimension { + """The minimum value of this dimension""" + minimum: String + + """The maximum value of this dimension""" + maximum: String +} + +"""Represents a Pokémon's requirement to evolve""" +type PokemonEvolutionRequirement { + """The amount of candy to evolve""" + amount: Int + + """The name of the candy to evolve""" + name: String +} + +"""Query any Pokémon by number or name""" +type Query { + query: Query + pokemons(first: Int!): [Pokemon] + pokemon(id: String, name: String): Pokemon +} diff --git a/example/pokemon/pokemon.schema.json b/example/pokemon/pokemon.schema.json deleted file mode 100644 index 2514fde8..00000000 --- a/example/pokemon/pokemon.schema.json +++ /dev/null @@ -1,1443 +0,0 @@ -{ - "data": { - "__schema": { - "queryType": { - "name": "Query" - }, - "mutationType": null, - "subscriptionType": null, - "types": [ - { - "kind": "OBJECT", - "name": "Query", - "description": "Query any Pokémon by number or name", - "fields": [ - { - "name": "query", - "description": null, - "args": [], - "type": { - "kind": "OBJECT", - "name": "Query", - "ofType": null - }, - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "pokemons", - "description": null, - "args": [ - { - "name": "first", - "description": null, - "type": { - "kind": "NON_NULL", - "name": null, - "ofType": { - "kind": "SCALAR", - "name": "Int", - "ofType": null - } - }, - "defaultValue": null - } - ], - "type": { - "kind": "LIST", - "name": null, - "ofType": { - "kind": "OBJECT", - "name": "Pokemon", - "ofType": null - } - }, - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "pokemon", - "description": null, - "args": [ - { - "name": "id", - "description": null, - "type": { - "kind": "SCALAR", - "name": "String", - "ofType": null - }, - "defaultValue": null - }, - { - "name": "name", - "description": null, - "type": { - "kind": "SCALAR", - "name": "String", - "ofType": null - }, - "defaultValue": null - } - ], - "type": { - "kind": "OBJECT", - "name": "Pokemon", - "ofType": null - }, - "isDeprecated": false, - "deprecationReason": null - } - ], - "inputFields": null, - "interfaces": [], - "enumValues": null, - "possibleTypes": null - }, - { - "kind": "SCALAR", - "name": "Int", - "description": "The `Int` scalar type represents non-fractional signed whole numeric values. Int can represent values between -(2^31) and 2^31 - 1. ", - "fields": null, - "inputFields": null, - "interfaces": null, - "enumValues": null, - "possibleTypes": null - }, - { - "kind": "OBJECT", - "name": "Pokemon", - "description": "Represents a Pokémon", - "fields": [ - { - "name": "id", - "description": "The ID of an object", - "args": [], - "type": { - "kind": "NON_NULL", - "name": null, - "ofType": { - "kind": "SCALAR", - "name": "ID", - "ofType": null - } - }, - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "number", - "description": "The identifier of this Pokémon", - "args": [], - "type": { - "kind": "SCALAR", - "name": "String", - "ofType": null - }, - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "name", - "description": "The name of this Pokémon", - "args": [], - "type": { - "kind": "SCALAR", - "name": "String", - "ofType": null - }, - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "weight", - "description": "The minimum and maximum weight of this Pokémon", - "args": [], - "type": { - "kind": "OBJECT", - "name": "PokemonDimension", - "ofType": null - }, - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "height", - "description": "The minimum and maximum weight of this Pokémon", - "args": [], - "type": { - "kind": "OBJECT", - "name": "PokemonDimension", - "ofType": null - }, - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "classification", - "description": "The classification of this Pokémon", - "args": [], - "type": { - "kind": "SCALAR", - "name": "String", - "ofType": null - }, - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "types", - "description": "The type(s) of this Pokémon", - "args": [], - "type": { - "kind": "LIST", - "name": null, - "ofType": { - "kind": "SCALAR", - "name": "String", - "ofType": null - } - }, - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "resistant", - "description": "The type(s) of Pokémons that this Pokémon is resistant to", - "args": [], - "type": { - "kind": "LIST", - "name": null, - "ofType": { - "kind": "SCALAR", - "name": "String", - "ofType": null - } - }, - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "attacks", - "description": "The attacks of this Pokémon", - "args": [], - "type": { - "kind": "OBJECT", - "name": "PokemonAttack", - "ofType": null - }, - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "weaknesses", - "description": "The type(s) of Pokémons that this Pokémon weak to", - "args": [], - "type": { - "kind": "LIST", - "name": null, - "ofType": { - "kind": "SCALAR", - "name": "String", - "ofType": null - } - }, - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "fleeRate", - "description": null, - "args": [], - "type": { - "kind": "SCALAR", - "name": "Float", - "ofType": null - }, - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "maxCP", - "description": "The maximum CP of this Pokémon", - "args": [], - "type": { - "kind": "SCALAR", - "name": "Int", - "ofType": null - }, - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "evolutions", - "description": "The evolutions of this Pokémon", - "args": [], - "type": { - "kind": "LIST", - "name": null, - "ofType": { - "kind": "OBJECT", - "name": "Pokemon", - "ofType": null - } - }, - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "evolutionRequirements", - "description": "The evolution requirements of this Pokémon", - "args": [], - "type": { - "kind": "OBJECT", - "name": "PokemonEvolutionRequirement", - "ofType": null - }, - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "maxHP", - "description": "The maximum HP of this Pokémon", - "args": [], - "type": { - "kind": "SCALAR", - "name": "Int", - "ofType": null - }, - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "image", - "description": null, - "args": [], - "type": { - "kind": "SCALAR", - "name": "String", - "ofType": null - }, - "isDeprecated": false, - "deprecationReason": null - } - ], - "inputFields": null, - "interfaces": [], - "enumValues": null, - "possibleTypes": null - }, - { - "kind": "SCALAR", - "name": "ID", - "description": "The `ID` scalar type represents a unique identifier, often used to refetch an object or as key for a cache. The ID type appears in a JSON response as a String; however, it is not intended to be human-readable. When expected as an input type, any string (such as `\"4\"`) or integer (such as `4`) input value will be accepted as an ID.", - "fields": null, - "inputFields": null, - "interfaces": null, - "enumValues": null, - "possibleTypes": null - }, - { - "kind": "SCALAR", - "name": "String", - "description": "The `String` scalar type represents textual data, represented as UTF-8 character sequences. The String type is most often used by GraphQL to represent free-form human-readable text.", - "fields": null, - "inputFields": null, - "interfaces": null, - "enumValues": null, - "possibleTypes": null - }, - { - "kind": "OBJECT", - "name": "PokemonDimension", - "description": "Represents a Pokémon's dimensions", - "fields": [ - { - "name": "minimum", - "description": "The minimum value of this dimension", - "args": [], - "type": { - "kind": "SCALAR", - "name": "String", - "ofType": null - }, - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "maximum", - "description": "The maximum value of this dimension", - "args": [], - "type": { - "kind": "SCALAR", - "name": "String", - "ofType": null - }, - "isDeprecated": false, - "deprecationReason": null - } - ], - "inputFields": null, - "interfaces": [], - "enumValues": null, - "possibleTypes": null - }, - { - "kind": "OBJECT", - "name": "PokemonAttack", - "description": "Represents a Pokémon's attack types", - "fields": [ - { - "name": "fast", - "description": "The fast attacks of this Pokémon", - "args": [], - "type": { - "kind": "LIST", - "name": null, - "ofType": { - "kind": "OBJECT", - "name": "Attack", - "ofType": null - } - }, - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "special", - "description": "The special attacks of this Pokémon", - "args": [], - "type": { - "kind": "LIST", - "name": null, - "ofType": { - "kind": "OBJECT", - "name": "Attack", - "ofType": null - } - }, - "isDeprecated": false, - "deprecationReason": null - } - ], - "inputFields": null, - "interfaces": [], - "enumValues": null, - "possibleTypes": null - }, - { - "kind": "OBJECT", - "name": "Attack", - "description": "Represents a Pokémon's attack types", - "fields": [ - { - "name": "name", - "description": "The name of this Pokémon attack", - "args": [], - "type": { - "kind": "SCALAR", - "name": "String", - "ofType": null - }, - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "type", - "description": "The type of this Pokémon attack", - "args": [], - "type": { - "kind": "SCALAR", - "name": "String", - "ofType": null - }, - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "damage", - "description": "The damage of this Pokémon attack", - "args": [], - "type": { - "kind": "SCALAR", - "name": "Int", - "ofType": null - }, - "isDeprecated": false, - "deprecationReason": null - } - ], - "inputFields": null, - "interfaces": [], - "enumValues": null, - "possibleTypes": null - }, - { - "kind": "SCALAR", - "name": "Float", - "description": "The `Float` scalar type represents signed double-precision fractional values as specified by [IEEE 754](http://en.wikipedia.org/wiki/IEEE_floating_point). ", - "fields": null, - "inputFields": null, - "interfaces": null, - "enumValues": null, - "possibleTypes": null - }, - { - "kind": "OBJECT", - "name": "PokemonEvolutionRequirement", - "description": "Represents a Pokémon's requirement to evolve", - "fields": [ - { - "name": "amount", - "description": "The amount of candy to evolve", - "args": [], - "type": { - "kind": "SCALAR", - "name": "Int", - "ofType": null - }, - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "name", - "description": "The name of the candy to evolve", - "args": [], - "type": { - "kind": "SCALAR", - "name": "String", - "ofType": null - }, - "isDeprecated": false, - "deprecationReason": null - } - ], - "inputFields": null, - "interfaces": [], - "enumValues": null, - "possibleTypes": null - }, - { - "kind": "OBJECT", - "name": "__Schema", - "description": "A GraphQL Schema defines the capabilities of a GraphQL server. It exposes all available types and directives on the server, as well as the entry points for query, mutation, and subscription operations.", - "fields": [ - { - "name": "types", - "description": "A list of all types supported by this server.", - "args": [], - "type": { - "kind": "NON_NULL", - "name": null, - "ofType": { - "kind": "LIST", - "name": null, - "ofType": { - "kind": "NON_NULL", - "name": null, - "ofType": { - "kind": "OBJECT", - "name": "__Type", - "ofType": null - } - } - } - }, - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "queryType", - "description": "The type that query operations will be rooted at.", - "args": [], - "type": { - "kind": "NON_NULL", - "name": null, - "ofType": { - "kind": "OBJECT", - "name": "__Type", - "ofType": null - } - }, - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "mutationType", - "description": "If this server supports mutation, the type that mutation operations will be rooted at.", - "args": [], - "type": { - "kind": "OBJECT", - "name": "__Type", - "ofType": null - }, - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "subscriptionType", - "description": "If this server support subscription, the type that subscription operations will be rooted at.", - "args": [], - "type": { - "kind": "OBJECT", - "name": "__Type", - "ofType": null - }, - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "directives", - "description": "A list of all directives supported by this server.", - "args": [], - "type": { - "kind": "NON_NULL", - "name": null, - "ofType": { - "kind": "LIST", - "name": null, - "ofType": { - "kind": "NON_NULL", - "name": null, - "ofType": { - "kind": "OBJECT", - "name": "__Directive", - "ofType": null - } - } - } - }, - "isDeprecated": false, - "deprecationReason": null - } - ], - "inputFields": null, - "interfaces": [], - "enumValues": null, - "possibleTypes": null - }, - { - "kind": "OBJECT", - "name": "__Type", - "description": "The fundamental unit of any GraphQL Schema is the type. There are many kinds of types in GraphQL as represented by the `__TypeKind` enum.\n\nDepending on the kind of a type, certain fields describe information about that type. Scalar types provide no information beyond a name and description, while Enum types provide their values. Object and Interface types provide the fields they describe. Abstract types, Union and Interface, provide the Object types possible at runtime. List and NonNull types compose other types.", - "fields": [ - { - "name": "kind", - "description": null, - "args": [], - "type": { - "kind": "NON_NULL", - "name": null, - "ofType": { - "kind": "ENUM", - "name": "__TypeKind", - "ofType": null - } - }, - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "name", - "description": null, - "args": [], - "type": { - "kind": "SCALAR", - "name": "String", - "ofType": null - }, - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "description", - "description": null, - "args": [], - "type": { - "kind": "SCALAR", - "name": "String", - "ofType": null - }, - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "fields", - "description": null, - "args": [ - { - "name": "includeDeprecated", - "description": null, - "type": { - "kind": "SCALAR", - "name": "Boolean", - "ofType": null - }, - "defaultValue": "false" - } - ], - "type": { - "kind": "LIST", - "name": null, - "ofType": { - "kind": "NON_NULL", - "name": null, - "ofType": { - "kind": "OBJECT", - "name": "__Field", - "ofType": null - } - } - }, - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "interfaces", - "description": null, - "args": [], - "type": { - "kind": "LIST", - "name": null, - "ofType": { - "kind": "NON_NULL", - "name": null, - "ofType": { - "kind": "OBJECT", - "name": "__Type", - "ofType": null - } - } - }, - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "possibleTypes", - "description": null, - "args": [], - "type": { - "kind": "LIST", - "name": null, - "ofType": { - "kind": "NON_NULL", - "name": null, - "ofType": { - "kind": "OBJECT", - "name": "__Type", - "ofType": null - } - } - }, - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "enumValues", - "description": null, - "args": [ - { - "name": "includeDeprecated", - "description": null, - "type": { - "kind": "SCALAR", - "name": "Boolean", - "ofType": null - }, - "defaultValue": "false" - } - ], - "type": { - "kind": "LIST", - "name": null, - "ofType": { - "kind": "NON_NULL", - "name": null, - "ofType": { - "kind": "OBJECT", - "name": "__EnumValue", - "ofType": null - } - } - }, - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "inputFields", - "description": null, - "args": [], - "type": { - "kind": "LIST", - "name": null, - "ofType": { - "kind": "NON_NULL", - "name": null, - "ofType": { - "kind": "OBJECT", - "name": "__InputValue", - "ofType": null - } - } - }, - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "ofType", - "description": null, - "args": [], - "type": { - "kind": "OBJECT", - "name": "__Type", - "ofType": null - }, - "isDeprecated": false, - "deprecationReason": null - } - ], - "inputFields": null, - "interfaces": [], - "enumValues": null, - "possibleTypes": null - }, - { - "kind": "ENUM", - "name": "__TypeKind", - "description": "An enum describing what kind of type a given `__Type` is.", - "fields": null, - "inputFields": null, - "interfaces": null, - "enumValues": [ - { - "name": "SCALAR", - "description": "Indicates this type is a scalar.", - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "OBJECT", - "description": "Indicates this type is an object. `fields` and `interfaces` are valid fields.", - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "INTERFACE", - "description": "Indicates this type is an interface. `fields` and `possibleTypes` are valid fields.", - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "UNION", - "description": "Indicates this type is a union. `possibleTypes` is a valid field.", - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "ENUM", - "description": "Indicates this type is an enum. `enumValues` is a valid field.", - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "INPUT_OBJECT", - "description": "Indicates this type is an input object. `inputFields` is a valid field.", - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "LIST", - "description": "Indicates this type is a list. `ofType` is a valid field.", - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "NON_NULL", - "description": "Indicates this type is a non-null. `ofType` is a valid field.", - "isDeprecated": false, - "deprecationReason": null - } - ], - "possibleTypes": null - }, - { - "kind": "SCALAR", - "name": "Boolean", - "description": "The `Boolean` scalar type represents `true` or `false`.", - "fields": null, - "inputFields": null, - "interfaces": null, - "enumValues": null, - "possibleTypes": null - }, - { - "kind": "OBJECT", - "name": "__Field", - "description": "Object and Interface types are described by a list of Fields, each of which has a name, potentially a list of arguments, and a return type.", - "fields": [ - { - "name": "name", - "description": null, - "args": [], - "type": { - "kind": "NON_NULL", - "name": null, - "ofType": { - "kind": "SCALAR", - "name": "String", - "ofType": null - } - }, - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "description", - "description": null, - "args": [], - "type": { - "kind": "SCALAR", - "name": "String", - "ofType": null - }, - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "args", - "description": null, - "args": [], - "type": { - "kind": "NON_NULL", - "name": null, - "ofType": { - "kind": "LIST", - "name": null, - "ofType": { - "kind": "NON_NULL", - "name": null, - "ofType": { - "kind": "OBJECT", - "name": "__InputValue", - "ofType": null - } - } - } - }, - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "type", - "description": null, - "args": [], - "type": { - "kind": "NON_NULL", - "name": null, - "ofType": { - "kind": "OBJECT", - "name": "__Type", - "ofType": null - } - }, - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "isDeprecated", - "description": null, - "args": [], - "type": { - "kind": "NON_NULL", - "name": null, - "ofType": { - "kind": "SCALAR", - "name": "Boolean", - "ofType": null - } - }, - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "deprecationReason", - "description": null, - "args": [], - "type": { - "kind": "SCALAR", - "name": "String", - "ofType": null - }, - "isDeprecated": false, - "deprecationReason": null - } - ], - "inputFields": null, - "interfaces": [], - "enumValues": null, - "possibleTypes": null - }, - { - "kind": "OBJECT", - "name": "__InputValue", - "description": "Arguments provided to Fields or Directives and the input fields of an InputObject are represented as Input Values which describe their type and optionally a default value.", - "fields": [ - { - "name": "name", - "description": null, - "args": [], - "type": { - "kind": "NON_NULL", - "name": null, - "ofType": { - "kind": "SCALAR", - "name": "String", - "ofType": null - } - }, - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "description", - "description": null, - "args": [], - "type": { - "kind": "SCALAR", - "name": "String", - "ofType": null - }, - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "type", - "description": null, - "args": [], - "type": { - "kind": "NON_NULL", - "name": null, - "ofType": { - "kind": "OBJECT", - "name": "__Type", - "ofType": null - } - }, - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "defaultValue", - "description": "A GraphQL-formatted string representing the default value for this input value.", - "args": [], - "type": { - "kind": "SCALAR", - "name": "String", - "ofType": null - }, - "isDeprecated": false, - "deprecationReason": null - } - ], - "inputFields": null, - "interfaces": [], - "enumValues": null, - "possibleTypes": null - }, - { - "kind": "OBJECT", - "name": "__EnumValue", - "description": "One possible value for a given Enum. Enum values are unique values, not a placeholder for a string or numeric value. However an Enum value is returned in a JSON response as a string.", - "fields": [ - { - "name": "name", - "description": null, - "args": [], - "type": { - "kind": "NON_NULL", - "name": null, - "ofType": { - "kind": "SCALAR", - "name": "String", - "ofType": null - } - }, - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "description", - "description": null, - "args": [], - "type": { - "kind": "SCALAR", - "name": "String", - "ofType": null - }, - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "isDeprecated", - "description": null, - "args": [], - "type": { - "kind": "NON_NULL", - "name": null, - "ofType": { - "kind": "SCALAR", - "name": "Boolean", - "ofType": null - } - }, - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "deprecationReason", - "description": null, - "args": [], - "type": { - "kind": "SCALAR", - "name": "String", - "ofType": null - }, - "isDeprecated": false, - "deprecationReason": null - } - ], - "inputFields": null, - "interfaces": [], - "enumValues": null, - "possibleTypes": null - }, - { - "kind": "OBJECT", - "name": "__Directive", - "description": "A Directive provides a way to describe alternate runtime execution and type validation behavior in a GraphQL document.\n\nIn some cases, you need to provide options to alter GraphQL's execution behavior in ways field arguments will not suffice, such as conditionally including or skipping a field. Directives provide this by describing additional information to the executor.", - "fields": [ - { - "name": "name", - "description": null, - "args": [], - "type": { - "kind": "NON_NULL", - "name": null, - "ofType": { - "kind": "SCALAR", - "name": "String", - "ofType": null - } - }, - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "description", - "description": null, - "args": [], - "type": { - "kind": "SCALAR", - "name": "String", - "ofType": null - }, - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "locations", - "description": null, - "args": [], - "type": { - "kind": "NON_NULL", - "name": null, - "ofType": { - "kind": "LIST", - "name": null, - "ofType": { - "kind": "NON_NULL", - "name": null, - "ofType": { - "kind": "ENUM", - "name": "__DirectiveLocation", - "ofType": null - } - } - } - }, - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "args", - "description": null, - "args": [], - "type": { - "kind": "NON_NULL", - "name": null, - "ofType": { - "kind": "LIST", - "name": null, - "ofType": { - "kind": "NON_NULL", - "name": null, - "ofType": { - "kind": "OBJECT", - "name": "__InputValue", - "ofType": null - } - } - } - }, - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "onOperation", - "description": null, - "args": [], - "type": { - "kind": "NON_NULL", - "name": null, - "ofType": { - "kind": "SCALAR", - "name": "Boolean", - "ofType": null - } - }, - "isDeprecated": true, - "deprecationReason": "Use `locations`." - }, - { - "name": "onFragment", - "description": null, - "args": [], - "type": { - "kind": "NON_NULL", - "name": null, - "ofType": { - "kind": "SCALAR", - "name": "Boolean", - "ofType": null - } - }, - "isDeprecated": true, - "deprecationReason": "Use `locations`." - }, - { - "name": "onField", - "description": null, - "args": [], - "type": { - "kind": "NON_NULL", - "name": null, - "ofType": { - "kind": "SCALAR", - "name": "Boolean", - "ofType": null - } - }, - "isDeprecated": true, - "deprecationReason": "Use `locations`." - } - ], - "inputFields": null, - "interfaces": [], - "enumValues": null, - "possibleTypes": null - }, - { - "kind": "ENUM", - "name": "__DirectiveLocation", - "description": "A Directive can be adjacent to many parts of the GraphQL language, a __DirectiveLocation describes one such possible adjacencies.", - "fields": null, - "inputFields": null, - "interfaces": null, - "enumValues": [ - { - "name": "QUERY", - "description": "Location adjacent to a query operation.", - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "MUTATION", - "description": "Location adjacent to a mutation operation.", - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "SUBSCRIPTION", - "description": "Location adjacent to a subscription operation.", - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "FIELD", - "description": "Location adjacent to a field.", - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "FRAGMENT_DEFINITION", - "description": "Location adjacent to a fragment definition.", - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "FRAGMENT_SPREAD", - "description": "Location adjacent to a fragment spread.", - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "INLINE_FRAGMENT", - "description": "Location adjacent to an inline fragment.", - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "SCHEMA", - "description": "Location adjacent to a schema definition.", - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "SCALAR", - "description": "Location adjacent to a scalar definition.", - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "OBJECT", - "description": "Location adjacent to an object type definition.", - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "FIELD_DEFINITION", - "description": "Location adjacent to a field definition.", - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "ARGUMENT_DEFINITION", - "description": "Location adjacent to an argument definition.", - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "INTERFACE", - "description": "Location adjacent to an interface definition.", - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "UNION", - "description": "Location adjacent to a union definition.", - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "ENUM", - "description": "Location adjacent to an enum definition.", - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "ENUM_VALUE", - "description": "Location adjacent to an enum value definition.", - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "INPUT_OBJECT", - "description": "Location adjacent to an input object type definition.", - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "INPUT_FIELD_DEFINITION", - "description": "Location adjacent to an input object field definition.", - "isDeprecated": false, - "deprecationReason": null - } - ], - "possibleTypes": null - } - ], - "directives": [ - { - "name": "include", - "description": "Directs the executor to include this field or fragment only when the `if` argument is true.", - "locations": [ - "FIELD", - "FRAGMENT_SPREAD", - "INLINE_FRAGMENT" - ], - "args": [ - { - "name": "if", - "description": "Included when true.", - "type": { - "kind": "NON_NULL", - "name": null, - "ofType": { - "kind": "SCALAR", - "name": "Boolean", - "ofType": null - } - }, - "defaultValue": null - } - ] - }, - { - "name": "skip", - "description": "Directs the executor to skip this field or fragment when the `if` argument is true.", - "locations": [ - "FIELD", - "FRAGMENT_SPREAD", - "INLINE_FRAGMENT" - ], - "args": [ - { - "name": "if", - "description": "Skipped when true.", - "type": { - "kind": "NON_NULL", - "name": null, - "ofType": { - "kind": "SCALAR", - "name": "Boolean", - "ofType": null - } - }, - "defaultValue": null - } - ] - }, - { - "name": "deprecated", - "description": "Marks an element of a GraphQL schema as no longer supported.", - "locations": [ - "FIELD_DEFINITION", - "ENUM_VALUE" - ], - "args": [ - { - "name": "reason", - "description": "Explains why this element was deprecated, usually also including a suggestion for how to access supported similar data. Formatted in [Markdown](https://daringfireball.net/projects/markdown/).", - "type": { - "kind": "SCALAR", - "name": "String", - "ofType": null - }, - "defaultValue": "\"No longer supported\"" - } - ] - } - ] - } - } -} \ No newline at end of file diff --git a/example/pokemon/pubspec.lock b/example/pokemon/pubspec.lock index 9c3f4869..ebe83cf1 100644 --- a/example/pokemon/pubspec.lock +++ b/example/pokemon/pubspec.lock @@ -21,7 +21,7 @@ packages: path: "../.." relative: true source: path - version: "3.2.0" + version: "5.0.2" async: dependency: transitive description: @@ -189,7 +189,7 @@ packages: name: gql url: "https://pub.dartlang.org" source: hosted - version: "0.12.0" + version: "0.12.2" gql_code_gen: dependency: transitive description: @@ -203,28 +203,28 @@ packages: name: gql_dedupe_link url: "https://pub.dartlang.org" source: hosted - version: "1.0.8" + version: "1.0.9" gql_exec: dependency: transitive description: name: gql_exec url: "https://pub.dartlang.org" source: hosted - version: "0.2.0" + version: "0.2.2" gql_http_link: dependency: transitive description: name: gql_http_link url: "https://pub.dartlang.org" source: hosted - version: "0.2.6" + version: "0.2.7" gql_link: dependency: transitive description: name: gql_link url: "https://pub.dartlang.org" source: hosted - version: "0.2.2" + version: "0.2.3" graphs: dependency: transitive description: diff --git a/example/zoeira/build.yaml b/example/zoeira/build.yaml deleted file mode 100644 index 742578bf..00000000 --- a/example/zoeira/build.yaml +++ /dev/null @@ -1,15 +0,0 @@ -targets: - $default: - sources: - - lib/** - - graphql/** - - schema.json - builders: - gql_build|ast_builder: - enabled: true - # artemis: - # options: - # schema_mapping: - # - schema: schema.json - # queries_glob: graphql/simple_query.graphql - # output: lib/graphql/simple_query.dart diff --git a/lib/builder.dart b/lib/builder.dart index fd03f4dd..ca82a79b 100644 --- a/lib/builder.dart +++ b/lib/builder.dart @@ -103,8 +103,10 @@ Make sure that `queries_glob` your build.yaml file include GraphQL queries files ) .first; } catch (e) { - throw Exception('''Schema `${schemaMap.schema}` was not found! + throw Exception( + '''Schema `${schemaMap.schema}` was not found or doesn't have a proper format! Make sure the file exists and you've typed it correctly on build.yaml. +${e} '''); } diff --git a/pubspec.yaml b/pubspec.yaml index bd4534c2..15d798a0 100644 --- a/pubspec.yaml +++ b/pubspec.yaml @@ -1,5 +1,5 @@ name: artemis -version: 5.0.2 +version: 5.0.3 authors: - Igor Borges @@ -16,11 +16,11 @@ dependencies: code_builder: ^3.2.0 equatable: ^1.0.1 gql_code_gen: ^0.1.5 - gql_dedupe_link: ^1.0.8 - gql_exec: ^0.2.0 - gql_http_link: ^0.2.6 - gql_link: ^0.2.2 - gql: ^0.12.0 + gql_dedupe_link: ^1.0.9 + gql_exec: ^0.2.2 + gql_http_link: ^0.2.7 + gql_link: ^0.2.3 + gql: ^0.12.2 http: ^0.12.0+2 json_annotation: ^3.0.0 meta: ^1.1.7