changedOutput schema / properties / result / oneOf
Previous value: -[
- {
- "additionalProperties": false,
- "description": "ISRC result arm: recordings carrying the ISRC.",
- "properties": {
- "identifier": {
- "description": "The looked-up identifier value.",
- "type": "string"
- },
- "kind": {
- "const": "recordings",
- "description": "ISRC resolved to recordings.",
- "type": "string"
- },
- "recordings": {
- "description": "Recordings carrying this ISRC.",
- "items": {
- "additionalProperties": false,
- "description": "A recording carrying the looked-up ISRC.",
- "properties": {
- "artistCredit": {
- "description": "Credited artist string; falls back to \"Unknown artist\" when none is recorded.",
- "type": "string"
- },
- "length": {
- "description": "Recording length as m:ss. Omitted when unknown.",
- "type": "string"
- },
- "mbid": {
- "description": "Recording MBID — chain to musicbrainz_get_recording.",
- "type": "string"
- },
- "title": {
- "description": "Recording title.",
- "type": "string"
- }
- },
- "required": [
- "mbid",
- "title",
- "artistCredit"
- ],
- "type": "object"
- },
- "type": "array"
- }
- },
- "required": [
- "kind",
- "identifier",
- "recordings"
- ],
- "type": "object"
- },
- {
- "additionalProperties": false,
- "description": "ISWC result arm: works carrying the ISWC.",
- "properties": {
- "identifier": {
- "description": "The looked-up identifier value.",
- "type": "string"
- },
- "kind": {
- "const": "works",
- "description": "ISWC resolved to works.",
- "type": "string"
- },
- "works": {
- "description": "Works carrying this ISWC.",
- "items": {
- "additionalProperties": false,
- "description": "A work carrying the looked-up ISWC.",
- "properties": {
- "mbid": {
- "description": "Work MBID — chain to musicbrainz_get_work.",
- "type": "string"
- },
- "title": {
- "description": "Work title.",
- "type": "string"
- },
- "type": {
- "description": "Work type. Omitted when absent.",
- "type": "string"
- }
- },
- "required": [
- "mbid",
- "title"
- ],
- "type": "object"
- },
- "type": "array"
- }
- },
- "required": [
- "kind",
- "identifier",
- "works"
- ],
- "type": "object"
- },
- {
- "additionalProperties": false,
- "description": "Barcode result arm: releases carrying the barcode.",
- "properties": {
- "identifier": {
- "description": "The barcode digits that were searched (spaces and hyphens removed).",
- "type": "string"
- },
- "kind": {
- "const": "releases",
- "description": "Barcode resolved to releases.",
- "type": "string"
- },
- "releases": {
- "description": "Releases carrying this barcode (ranked).",
- "items": {
- "additionalProperties": false,
- "description": "A release carrying the looked-up barcode.",
- "properties": {
- "artistCredit": {
- "description": "Credited artist string.",
- "type": "string"
- },
- "country": {
- "description": "Release country code. Omitted when absent.",
- "type": "string"
- },
- "date": {
- "description": "Release date. Omitted when absent.",
- "type": "string"
- },
- "mbid": {
- "description": "Release MBID — chain to musicbrainz_get_release.",
- "type": "string"
- },
- "score": {
- "description": "Lucene relevance score, 0–100 (barcode is a search filter; exact = 100).",
- "type": "number"
- },
- "title": {
- "description": "Release title.",
- "type": "string"
- }
- },
- "required": [
- "mbid",
- "title",
- "artistCredit",
- "score"
- ],
- "type": "object"
- },
- "type": "array"
- }
- },
- "required": [
- "kind",
- "identifier",
- "releases"
- ],
- "type": "object"
- }
-]New value: +[
+ {
+ "additionalProperties": false,
+ "description": "ISRC result arm: recordings carrying the ISRC.",
+ "properties": {
+ "identifier": {
+ "description": "The looked-up identifier value.",
+ "type": "string"
+ },
+ "kind": {
+ "const": "recordings",
+ "description": "ISRC resolved to recordings.",
+ "type": "string"
+ },
+ "recordings": {
+ "description": "Recordings carrying this ISRC.",
+ "items": {
+ "additionalProperties": false,
+ "description": "A recording carrying the looked-up ISRC.",
+ "properties": {
+ "artistCredit": {
+ "description": "Credited artist string; falls back to \"Unknown artist\" when none is recorded.",
+ "type": "string"
+ },
+ "length": {
+ "description": "Recording length as m:ss. Omitted when unknown.",
+ "type": "string"
+ },
+ "mbid": {
+ "description": "Recording MBID — chain to musicbrainz_get_recording.",
+ "type": "string"
+ },
+ "title": {
+ "description": "Recording title.",
+ "type": "string"
+ }
+ },
+ "required": [
+ "mbid",
+ "title",
+ "artistCredit"
+ ],
+ "type": "object"
+ },
+ "type": "array"
+ }
+ },
+ "required": [
+ "kind",
+ "identifier",
+ "recordings"
+ ],
+ "type": "object"
+ },
+ {
+ "additionalProperties": false,
+ "description": "ISWC result arm: works carrying the ISWC.",
+ "properties": {
+ "identifier": {
+ "description": "The looked-up identifier value.",
+ "type": "string"
+ },
+ "kind": {
+ "const": "works",
+ "description": "ISWC resolved to works.",
+ "type": "string"
+ },
+ "works": {
+ "description": "Works carrying this ISWC.",
+ "items": {
+ "additionalProperties": false,
+ "description": "A work carrying the looked-up ISWC.",
+ "properties": {
+ "mbid": {
+ "description": "Work MBID — chain to musicbrainz_get_work.",
+ "type": "string"
+ },
+ "title": {
+ "description": "Work title.",
+ "type": "string"
+ },
+ "type": {
+ "description": "Work type. Omitted when absent.",
+ "type": "string"
+ }
+ },
+ "required": [
+ "mbid",
+ "title"
+ ],
+ "type": "object"
+ },
+ "type": "array"
+ }
+ },
+ "required": [
+ "kind",
+ "identifier",
+ "works"
+ ],
+ "type": "object"
+ },
+ {
+ "additionalProperties": false,
+ "description": "Barcode result arm: releases carrying the barcode.",
+ "properties": {
+ "identifier": {
+ "description": "The barcode digits that were searched (spaces and hyphens removed).",
+ "type": "string"
+ },
+ "kind": {
+ "const": "releases",
+ "description": "Barcode resolved to releases.",
+ "type": "string"
+ },
+ "releases": {
+ "description": "Releases carrying this barcode (ranked).",
+ "items": {
+ "additionalProperties": false,
+ "description": "A release carrying the looked-up barcode.",
+ "properties": {
+ "artistCredit": {
+ "description": "Credited artist string.",
+ "type": "string"
+ },
+ "barcode": {
+ "description": "UPC/EAN. Empty means confirmed absent. Omitted when unknown.",
+ "type": "string"
+ },
+ "country": {
+ "description": "Release country code. Omitted when absent.",
+ "type": "string"
+ },
+ "date": {
+ "description": "Release date. Omitted when absent.",
+ "type": "string"
+ },
+ "formats": {
+ "description": "Known media formats in medium order. Omitted when none are known.",
+ "items": {
+ "type": "string"
+ },
+ "type": "array"
+ },
+ "labelInfo": {
+ "description": "Known label and catalog-number pairings. Omitted when none are known.",
+ "items": {
+ "additionalProperties": false,
+ "description": "Label + catalog-number pairing for the release.",
+ "properties": {
+ "catalogNumber": {
+ "description": "Catalog number on this release. Omitted when absent.",
+ "type": "string"
+ },
+ "labelId": {
+ "description": "Label MBID — chain to musicbrainz_get_label. Omitted when absent.",
+ "type": "string"
+ },
+ "labelName": {
+ "description": "Label name. Omitted when absent.",
+ "type": "string"
+ }
+ },
+ "type": "object"
+ },
+ "type": "array"
+ },
+ "mbid": {
+ "description": "Release MBID — chain to musicbrainz_get_release.",
+ "type": "string"
+ },
+ "packaging": {
+ "description": "Packaging type. Omitted when unknown.",
+ "type": "string"
+ },
+ "releaseEvents": {
+ "description": "Release dates and countries in upstream event order. Omitted when none are known.",
+ "items": {
+ "additionalProperties": false,
+ "description": "One dated or country-specific release event.",
+ "properties": {
+ "country": {
+ "description": "ISO 3166-1 code of the event area. Omitted when unknown.",
+ "type": "string"
+ },
+ "date": {
+ "description": "Event date, which may be partial. Omitted when unknown.",
+ "type": "string"
+ }
+ },
+ "type": "object"
+ },
+ "type": "array"
+ },
+ "releaseGroupId": {
+ "description": "Parent release-group MBID — chain to musicbrainz_get_release_group.",
+ "type": "string"
+ },
+ "score": {
+ "description": "Lucene relevance score, 0–100 (barcode is a search filter; exact = 100).",
+ "type": "number"
+ },
+ "title": {
+ "description": "Release title.",
+ "type": "string"
+ },
+ "trackCount": {
+ "description": "Reported release track count, or sum of all medium counts. Omitted when unknown.",
+ "type": "number"
+ }
+ },
+ "required": [
+ "mbid",
+ "title",
+ "artistCredit",
+ "score"
+ ],
+ "type": "object"
+ },
+ "type": "array"
+ },
+ "totalCount": {
+ "description": "Total barcode matches reported by MusicBrainz.",
+ "type": "number"
+ }
+ },
+ "required": [
+ "kind",
+ "identifier",
+ "totalCount",
+ "releases"
+ ],
+ "type": "object"
+ }
+]