Update schema

This commit is contained in:
Brian Beck 2016-11-26 02:56:26 -08:00
parent ee056eac1b
commit 11c31091f6
2 changed files with 87 additions and 87 deletions

View file

@ -1253,7 +1253,7 @@
}, },
{ {
"name": "genderID", "name": "genderID",
"description": "The MBID associated with the\nvalue of the `gender` field.", "description": "The MBID associated with the value of the `gender`\nfield.",
"args": [], "args": [],
"type": { "type": {
"kind": "SCALAR", "kind": "SCALAR",
@ -1277,7 +1277,7 @@
}, },
{ {
"name": "typeID", "name": "typeID",
"description": "The MBID associated with the\nvalue of the `type` field.", "description": "The MBID associated with the value of the `type`\nfield.",
"args": [], "args": [],
"type": { "type": {
"kind": "SCALAR", "kind": "SCALAR",
@ -1557,7 +1557,7 @@
}, },
{ {
"name": "typeID", "name": "typeID",
"description": "The MBID associated with the\nvalue of the `type` field.", "description": "The MBID associated with the value of the `type`\nfield.",
"args": [], "args": [],
"type": { "type": {
"kind": "SCALAR", "kind": "SCALAR",
@ -2029,7 +2029,7 @@
}, },
{ {
"name": "SOUNDTRACK", "name": "SOUNDTRACK",
"description": "A soundtrack is the musical score to a movie, TV series,\nstage show, computer game etc.", "description": "A soundtrack is the musical score to a movie, TV series,\nstage show, computer game, etc.",
"isDeprecated": false, "isDeprecated": false,
"deprecationReason": null "deprecationReason": null
}, },
@ -2071,7 +2071,7 @@
}, },
{ {
"name": "MIXTAPE", "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 artists 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.", "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 artists 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, "isDeprecated": false,
"deprecationReason": null "deprecationReason": null
}, },
@ -2106,7 +2106,7 @@
}, },
{ {
"name": "PROMOTION", "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)", "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, "isDeprecated": false,
"deprecationReason": null "deprecationReason": null
}, },
@ -2350,7 +2350,7 @@
}, },
{ {
"name": "statusID", "name": "statusID",
"description": "The MBID associated with the\nvalue of the `status` field.", "description": "The MBID associated with the value of the `status`\nfield.",
"args": [], "args": [],
"type": { "type": {
"kind": "SCALAR", "kind": "SCALAR",
@ -2374,7 +2374,7 @@
}, },
{ {
"name": "packagingID", "name": "packagingID",
"description": "The MBID associated with the\nvalue of the `packaging` field.", "description": "The MBID associated with the value of the `packaging`\nfield.",
"args": [], "args": [],
"type": { "type": {
"kind": "SCALAR", "kind": "SCALAR",
@ -2574,7 +2574,7 @@
{ {
"kind": "OBJECT", "kind": "OBJECT",
"name": "ReleaseEvent", "name": "ReleaseEvent",
"description": "Date on which a release was released in a country/region with a\nparticular label, catalog number, barcode, and what release format was used.", "description": "Date on which a release was issued in a country/region with a\nparticular label, catalog number, barcode, and what release format was used.",
"fields": [ "fields": [
{ {
"name": "area", "name": "area",
@ -2839,7 +2839,7 @@
}, },
{ {
"name": "typeID", "name": "typeID",
"description": "The MBID associated with the\nvalue of the `type` field.", "description": "The MBID associated with the value of the `type`\nfield.",
"args": [], "args": [],
"type": { "type": {
"kind": "SCALAR", "kind": "SCALAR",
@ -3122,7 +3122,7 @@
}, },
{ {
"name": "primaryTypeID", "name": "primaryTypeID",
"description": "The MBID associated with the\nvalue of the `primaryType` field.", "description": "The MBID associated with the value of the `primaryType`\nfield.",
"args": [], "args": [],
"type": { "type": {
"kind": "SCALAR", "kind": "SCALAR",
@ -3150,7 +3150,7 @@
}, },
{ {
"name": "secondaryTypeIDs", "name": "secondaryTypeIDs",
"description": "The MBIDs associated with the\nvalues of the `secondaryTypes` field.", "description": "The MBIDs associated with the values of the `secondaryTypes`\nfield.",
"args": [], "args": [],
"type": { "type": {
"kind": "LIST", "kind": "LIST",
@ -3358,7 +3358,7 @@
}, },
{ {
"name": "typeID", "name": "typeID",
"description": "The MBID associated with the\nvalue of the `type` field.", "description": "The MBID associated with the value of the `type`\nfield.",
"type": { "type": {
"kind": "SCALAR", "kind": "SCALAR",
"name": "MBID", "name": "MBID",
@ -3441,7 +3441,7 @@
}, },
{ {
"name": "typeID", "name": "typeID",
"description": "The MBID associated with the\nvalue of the `type` field.", "description": "The MBID associated with the value of the `type`\nfield.",
"type": { "type": {
"kind": "SCALAR", "kind": "SCALAR",
"name": "MBID", "name": "MBID",
@ -3524,7 +3524,7 @@
}, },
{ {
"name": "typeID", "name": "typeID",
"description": "The MBID associated with the\nvalue of the `type` field.", "description": "The MBID associated with the value of the `type`\nfield.",
"type": { "type": {
"kind": "SCALAR", "kind": "SCALAR",
"name": "MBID", "name": "MBID",
@ -3607,7 +3607,7 @@
}, },
{ {
"name": "typeID", "name": "typeID",
"description": "The MBID associated with the\nvalue of the `type` field.", "description": "The MBID associated with the value of the `type`\nfield.",
"type": { "type": {
"kind": "SCALAR", "kind": "SCALAR",
"name": "MBID", "name": "MBID",
@ -3690,7 +3690,7 @@
}, },
{ {
"name": "typeID", "name": "typeID",
"description": "The MBID associated with the\nvalue of the `type` field.", "description": "The MBID associated with the value of the `type`\nfield.",
"type": { "type": {
"kind": "SCALAR", "kind": "SCALAR",
"name": "MBID", "name": "MBID",
@ -3773,7 +3773,7 @@
}, },
{ {
"name": "typeID", "name": "typeID",
"description": "The MBID associated with the\nvalue of the `type` field.", "description": "The MBID associated with the value of the `type`\nfield.",
"type": { "type": {
"kind": "SCALAR", "kind": "SCALAR",
"name": "MBID", "name": "MBID",
@ -3856,7 +3856,7 @@
}, },
{ {
"name": "typeID", "name": "typeID",
"description": "The MBID associated with the\nvalue of the `type` field.", "description": "The MBID associated with the value of the `type`\nfield.",
"type": { "type": {
"kind": "SCALAR", "kind": "SCALAR",
"name": "MBID", "name": "MBID",
@ -3939,7 +3939,7 @@
}, },
{ {
"name": "typeID", "name": "typeID",
"description": "The MBID associated with the\nvalue of the `type` field.", "description": "The MBID associated with the value of the `type`\nfield.",
"type": { "type": {
"kind": "SCALAR", "kind": "SCALAR",
"name": "MBID", "name": "MBID",
@ -4022,7 +4022,7 @@
}, },
{ {
"name": "typeID", "name": "typeID",
"description": "The MBID associated with the\nvalue of the `type` field.", "description": "The MBID associated with the value of the `type`\nfield.",
"type": { "type": {
"kind": "SCALAR", "kind": "SCALAR",
"name": "MBID", "name": "MBID",
@ -4105,7 +4105,7 @@
}, },
{ {
"name": "typeID", "name": "typeID",
"description": "The MBID associated with the\nvalue of the `type` field.", "description": "The MBID associated with the value of the `type`\nfield.",
"type": { "type": {
"kind": "SCALAR", "kind": "SCALAR",
"name": "MBID", "name": "MBID",
@ -4188,7 +4188,7 @@
}, },
{ {
"name": "typeID", "name": "typeID",
"description": "The MBID associated with the\nvalue of the `type` field.", "description": "The MBID associated with the value of the `type`\nfield.",
"type": { "type": {
"kind": "SCALAR", "kind": "SCALAR",
"name": "MBID", "name": "MBID",
@ -4271,7 +4271,7 @@
}, },
{ {
"name": "typeID", "name": "typeID",
"description": "The MBID associated with the\nvalue of the `type` field.", "description": "The MBID associated with the value of the `type`\nfield.",
"type": { "type": {
"kind": "SCALAR", "kind": "SCALAR",
"name": "MBID", "name": "MBID",
@ -4519,7 +4519,7 @@
}, },
{ {
"name": "typeID", "name": "typeID",
"description": "The MBID associated with the\nvalue of the `type` field.", "description": "The MBID associated with the value of the `type`\nfield.",
"args": [], "args": [],
"type": { "type": {
"kind": "SCALAR", "kind": "SCALAR",
@ -4720,7 +4720,7 @@
}, },
{ {
"name": "typeID", "name": "typeID",
"description": "The MBID associated with the\nvalue of the `type` field.", "description": "The MBID associated with the value of the `type`\nfield.",
"args": [], "args": [],
"type": { "type": {
"kind": "SCALAR", "kind": "SCALAR",
@ -4997,7 +4997,7 @@
}, },
{ {
"name": "typeID", "name": "typeID",
"description": "The MBID associated with the\nvalue of the `type` field.", "description": "The MBID associated with the value of the `type`\nfield.",
"args": [], "args": [],
"type": { "type": {
"kind": "SCALAR", "kind": "SCALAR",
@ -5239,7 +5239,7 @@
}, },
{ {
"name": "typeID", "name": "typeID",
"description": "The MBID associated with the\nvalue of the `type` field.", "description": "The MBID associated with the value of the `type`\nfield.",
"args": [], "args": [],
"type": { "type": {
"kind": "SCALAR", "kind": "SCALAR",
@ -5431,7 +5431,7 @@
}, },
{ {
"name": "typeID", "name": "typeID",
"description": "The MBID associated with the\nvalue of the `type` field.", "description": "The MBID associated with the value of the `type`\nfield.",
"args": [], "args": [],
"type": { "type": {
"kind": "SCALAR", "kind": "SCALAR",
@ -5533,7 +5533,7 @@
}, },
{ {
"name": "typeID", "name": "typeID",
"description": "The MBID associated with the\nvalue of the `type` field.", "description": "The MBID associated with the value of the `type`\nfield.",
"args": [], "args": [],
"type": { "type": {
"kind": "SCALAR", "kind": "SCALAR",

114
schema.md
View file

@ -26,8 +26,8 @@ type Alias {
# search hint, etc. # search hint, etc.
type: String type: String
# The MBID associated with the # The MBID associated with the value of the `type`
# value of the `type` field. # field.
typeID: MBID typeID: MBID
} }
@ -140,15 +140,15 @@ type Artist implements Node, Entity {
# neither. Groups do not have genders. # neither. Groups do not have genders.
gender: String gender: String
# The MBID associated with the # The MBID associated with the value of the `gender`
# value of the `gender` field. # field.
genderID: MBID genderID: MBID
# Whether an artist is a person, a group, or something else. # Whether an artist is a person, a group, or something else.
type: String type: String
# The MBID associated with the # The MBID associated with the value of the `type`
# value of the `type` field. # field.
typeID: MBID typeID: MBID
# A list of recording entities linked to this entity. # A list of recording entities linked to this entity.
@ -390,8 +390,8 @@ type Event implements Node, Entity {
# What kind of event the event is, e.g. concert, festival, etc. # What kind of event the event is, e.g. concert, festival, etc.
type: String type: String
# The MBID associated with the # The MBID associated with the value of the `type`
# value of the `type` field. # field.
typeID: MBID typeID: MBID
} }
@ -438,8 +438,8 @@ type Instrument implements Node, Entity {
# classification. # classification.
type: String type: String
# The MBID associated with the # The MBID associated with the value of the `type`
# value of the `type` field. # field.
typeID: MBID typeID: MBID
} }
@ -491,8 +491,8 @@ type Label implements Node, Entity {
# imprint, production, distributor, rights society, etc. # imprint, production, distributor, rights society, etc.
type: String type: String
# The MBID associated with the # The MBID associated with the value of the `type`
# value of the `type` field. # field.
typeID: MBID typeID: MBID
# A list of release entities linked to this entity. # A list of release entities linked to this entity.
@ -659,8 +659,8 @@ type Place implements Node, Entity {
# function. # function.
type: String type: String
# The MBID associated with the # The MBID associated with the value of the `type`
# value of the `type` field. # field.
typeID: MBID typeID: MBID
# A list of event entities linked to this entity. # A list of event entities linked to this entity.
@ -808,8 +808,8 @@ type Relationship {
# The type of relationship. # The type of relationship.
type: String type: String
# The MBID associated with the # The MBID associated with the value of the `type`
# value of the `type` field. # field.
typeID: MBID typeID: MBID
} }
@ -846,8 +846,8 @@ type Relationships {
# Filter by the relationship type. # Filter by the relationship type.
type: String type: String
# The MBID associated with the # The MBID associated with the value of the `type`
# value of the `type` field. # field.
typeID: MBID typeID: MBID
): RelationshipConnection ): RelationshipConnection
@ -864,8 +864,8 @@ type Relationships {
# Filter by the relationship type. # Filter by the relationship type.
type: String type: String
# The MBID associated with the # The MBID associated with the value of the `type`
# value of the `type` field. # field.
typeID: MBID typeID: MBID
): RelationshipConnection ): RelationshipConnection
@ -882,8 +882,8 @@ type Relationships {
# Filter by the relationship type. # Filter by the relationship type.
type: String type: String
# The MBID associated with the # The MBID associated with the value of the `type`
# value of the `type` field. # field.
typeID: MBID typeID: MBID
): RelationshipConnection ): RelationshipConnection
@ -900,8 +900,8 @@ type Relationships {
# Filter by the relationship type. # Filter by the relationship type.
type: String type: String
# The MBID associated with the # The MBID associated with the value of the `type`
# value of the `type` field. # field.
typeID: MBID typeID: MBID
): RelationshipConnection ): RelationshipConnection
@ -918,8 +918,8 @@ type Relationships {
# Filter by the relationship type. # Filter by the relationship type.
type: String type: String
# The MBID associated with the # The MBID associated with the value of the `type`
# value of the `type` field. # field.
typeID: MBID typeID: MBID
): RelationshipConnection ): RelationshipConnection
@ -936,8 +936,8 @@ type Relationships {
# Filter by the relationship type. # Filter by the relationship type.
type: String type: String
# The MBID associated with the # The MBID associated with the value of the `type`
# value of the `type` field. # field.
typeID: MBID typeID: MBID
): RelationshipConnection ): RelationshipConnection
@ -954,8 +954,8 @@ type Relationships {
# Filter by the relationship type. # Filter by the relationship type.
type: String type: String
# The MBID associated with the # The MBID associated with the value of the `type`
# value of the `type` field. # field.
typeID: MBID typeID: MBID
): RelationshipConnection ): RelationshipConnection
@ -972,8 +972,8 @@ type Relationships {
# Filter by the relationship type. # Filter by the relationship type.
type: String type: String
# The MBID associated with the # The MBID associated with the value of the `type`
# value of the `type` field. # field.
typeID: MBID typeID: MBID
): RelationshipConnection ): RelationshipConnection
@ -990,8 +990,8 @@ type Relationships {
# Filter by the relationship type. # Filter by the relationship type.
type: String type: String
# The MBID associated with the # The MBID associated with the value of the `type`
# value of the `type` field. # field.
typeID: MBID typeID: MBID
): RelationshipConnection ): RelationshipConnection
@ -1008,8 +1008,8 @@ type Relationships {
# Filter by the relationship type. # Filter by the relationship type.
type: String type: String
# The MBID associated with the # The MBID associated with the value of the `type`
# value of the `type` field. # field.
typeID: MBID typeID: MBID
): RelationshipConnection ): RelationshipConnection
@ -1026,8 +1026,8 @@ type Relationships {
# Filter by the relationship type. # Filter by the relationship type.
type: String type: String
# The MBID associated with the # The MBID associated with the value of the `type`
# value of the `type` field. # field.
typeID: MBID typeID: MBID
): RelationshipConnection ): RelationshipConnection
@ -1044,8 +1044,8 @@ type Relationships {
# Filter by the relationship type. # Filter by the relationship type.
type: String type: String
# The MBID associated with the # The MBID associated with the value of the `type`
# value of the `type` field. # field.
typeID: MBID typeID: MBID
): RelationshipConnection ): RelationshipConnection
} }
@ -1091,8 +1091,8 @@ type Release implements Node, Entity {
# The status describes how “official” a release is. # The status describes how “official” a release is.
status: ReleaseStatus status: ReleaseStatus
# The MBID associated with the # The MBID associated with the value of the `status`
# value of the `status` field. # field.
statusID: MBID statusID: MBID
# The physical packaging that accompanies the release. See # The physical packaging that accompanies the release. See
@ -1100,8 +1100,8 @@ type Release implements Node, Entity {
# information. # information.
packaging: String packaging: String
# The MBID associated with the # The MBID associated with the value of the `packaging`
# value of the `packaging` field. # field.
packagingID: MBID packagingID: MBID
# Data quality indicates how good the data for a release is. # Data quality indicates how good the data for a release is.
@ -1143,7 +1143,7 @@ type ReleaseEdge {
cursor: String! cursor: String!
} }
# Date on which a release was released in a country/region with a # Date on which a release was issued in a country/region with a
# particular label, catalog number, barcode, and what release format was used. # particular label, catalog number, barcode, and what release format was used.
type ReleaseEvent { type ReleaseEvent {
area: Area area: Area
@ -1183,16 +1183,16 @@ type ReleaseGroup implements Node, Entity {
# “main” type and an unspecified number of additional types. # “main” type and an unspecified number of additional types.
primaryType: ReleaseGroupType primaryType: ReleaseGroupType
# The MBID associated with the # The MBID associated with the value of the `primaryType`
# value of the `primaryType` field. # field.
primaryTypeID: MBID primaryTypeID: MBID
# Additional [types](https://musicbrainz.org/doc/Release_Group/Type) # Additional [types](https://musicbrainz.org/doc/Release_Group/Type)
# that apply to this release group. # that apply to this release group.
secondaryTypes: [ReleaseGroupType] secondaryTypes: [ReleaseGroupType]
# The MBIDs associated with the # The MBIDs associated with the values of the `secondaryTypes`
# values of the `secondaryTypes` field. # field.
secondaryTypeIDs: [MBID] secondaryTypeIDs: [MBID]
# A list of artist entities linked to this entity. # A list of artist entities linked to this entity.
@ -1255,7 +1255,7 @@ enum ReleaseGroupType {
COMPILATION COMPILATION
# A soundtrack is the musical score to a movie, TV series, # A soundtrack is the musical score to a movie, TV series,
# stage show, computer game etc. # stage show, computer game, etc.
SOUNDTRACK SOUNDTRACK
# A non-music spoken word release. # A non-music spoken word release.
@ -1292,7 +1292,7 @@ enum ReleaseGroupType {
# mixes (which are usually deemed compilations) and are defined by having a # mixes (which are usually deemed compilations) and are defined by having a
# significant proportion of new material, including original production or # significant proportion of new material, including original production or
# original vocals over top of other artists instrumentals. They are distinct from # 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 # demos in that they are designed for release directly to the public and fans, not
# to labels. # to labels.
MIXTAPE MIXTAPE
@ -1310,8 +1310,8 @@ enum ReleaseStatus {
OFFICIAL OFFICIAL
# A giveaway release or a release intended to promote an # A giveaway release or a release intended to promote an
# upcoming official release. (e.g. prerelease albums or releases included with a # upcoming official release, e.g. prerelease albums or releases included with a
# magazine) # magazine.
PROMOTION PROMOTION
# An unofficial/underground release that was not sanctioned by # An unofficial/underground release that was not sanctioned by
@ -1370,8 +1370,8 @@ type Series implements Node, Entity {
# contains. # contains.
type: String type: String
# The MBID associated with the # The MBID associated with the value of the `type`
# value of the `type` field. # field.
typeID: MBID typeID: MBID
} }
@ -1442,8 +1442,8 @@ type Work implements Node, Entity {
# The type of work. # The type of work.
type: String type: String
# The MBID associated with the # The MBID associated with the value of the `type`
# value of the `type` field. # field.
typeID: MBID typeID: MBID
# A list of artist entities linked to this entity. # A list of artist entities linked to this entity.