{
  "format": "json",
  "type": "object",
  "$schema": "http://json-schema.org/draft-07/schema#",
  "title": "Apple Music Artist Schema",
  "properties": {
    "data": {
      "type": "array",
      "items": {
        "$ref": "#/definitions/Artists"
      }
    }
  },
  "required": [
    "data"
  ],
  "definitions": {
    "URL": {
      "type": "string",
      "format": "uri",
      "qt-uri-protocols": [
        "https"
      ],
      "examples": [
        "https://example.com"
      ]
    },
    "DateOrInt": {
      "anyOf": [
        {
          "type": "string",
          "format": "date",
          "examples": [
            "2021-12-13"
          ]
        },
        {
          "type": "string",
          "pattern": "^\\d+$",
          "examples": [
            "912756491237"
          ]
        }
      ],
      "title": "DateOrInt"
    },
    "Activities": {
      "type": "object",
      "title": "Activities"
    },
    "AppleCurators": {
      "type": "object",
      "title": "AppleCurators"
    },
    "Curators": {
      "type": "object",
      "title": "Curators"
    },
    "Stations": {
      "type": "object",
      "title": "Stations"
    },
    "RecordLabels": {
      "type": "object",
      "title": "RecordLabels"
    },
    "Copyright": {
      "type": "string",
      "examples": [
        "℗ 2015 Sony Music Entertainment Canada Inc."
      ],
      "title": "Copyright"
    },
    "ISRC": {
      "type": "string",
      "examples": [
        "CAV161500008",
        "GBDXG0600014"
      ]
    },
    "UPC": {
      "type": "string",
      "examples": [
        "886445458077"
      ],
      "title": "UPC"
    },
    "TextColor": {
      "type": "string",
      "examples": [
        "ffffff",
        "0c0b09",
        "2a2724",
        "3d3c3a",
        "555250"
      ]
    },
    "Artwork": {
      "type": "object",
      "additionalProperties": true,
      "properties": {
        "bgColor": {
          "$ref": "#/definitions/TextColor"
        },
        "height": {
          "type": "number",
          "examples": [
            1500
          ]
        },
        "width": {
          "type": "number",
          "examples": [
            1500
          ]
        },
        "textColor1": {
          "$ref": "#/definitions/TextColor"
        },
        "textColor2": {
          "$ref": "#/definitions/TextColor"
        },
        "textColor3": {
          "$ref": "#/definitions/TextColor"
        },
        "textColor4": {
          "$ref": "#/definitions/TextColor"
        },
        "url": {
          "$ref": "#/definitions/URL"
        }
      },
      "required": [
        "height",
        "width",
        "url"
      ],
      "title": "Artwork"
    },
    "ContentRating": {
      "type": "string",
      "enum": [
        "clean",
        "explicit"
      ],
      "title": "ContentRating"
    },
    "EditorialNotes": {
      "type": "object",
      "additionalProperties": true,
      "properties": {
        "short": {
          "type": "string"
        },
        "standard": {
          "type": "string"
        },
        "name": {
          "type": "string"
        },
        "tagline": {
          "type": "string"
        }
      },
      "title": "EditorialNotes"
    },
    "PlayParameters": {
      "type": "object",
      "additionalProperties": true,
      "properties": {
        "id": {
          "type": "string",
          "examples": [
            "310730204"
          ]
        },
        "kind": {
          "type": "string",
          "examples": [
            "album",
            "song",
            "playlist"
          ]
        }
      },
      "required": [
        "id",
        "kind"
      ],
      "title": "PlayParameters"
    },
    "Preview": {
      "type": "object",
      "additionalProperties": true,
      "properties": {
        "artwork": {
          "$ref": "#/definitions/Artwork"
        },
        "url": {
          "$ref": "#/definitions/URL"
        },
        "hlsUrl": {
          "$ref": "#/definitions/URL"
        }
      },
      "required": [
        "url"
      ],
      "title": "Preview"
    },
    "Genres.Attributes": {
      "type": "object",
      "additionalProperties": true,
      "properties": {
        "name": {
          "type": "string",
          "examples": [
            "Country"
          ]
        },
        "parentId": {
          "type": "string",
          "examples": [
            "34"
          ]
        },
        "parentName": {
          "type": "string",
          "examples": [
            "Music"
          ]
        }
      },
      "required": [
        "name"
      ],
      "title": "Genres.Attributes"
    },
    "Genres": {
      "type": "object",
      "additionalProperties": true,
      "properties": {
        "id": {
          "type": "string",
          "examples": [
            "6"
          ]
        },
        "type": {
          "type": "string",
          "enum": [
            "genres"
          ]
        },
        "href": {
          "$ref": "#/definitions/URL"
        },
        "attributes": {
          "$ref": "#/definitions/Genres.Attributes"
        }
      },
      "required": [
        "href"
      ],
      "title": "Genres"
    },
    "GenresArray": {
      "type": "array",
      "items": {
        "$ref": "#/definitions/Genres"
      },
      "title": "GenresArray"
    },
    "GenreNamesArray": {
      "type": "array",
      "items": {
        "type": "string",
        "examples": [
          "Country",
          "Rock"
        ]
      }
    },
    "AttributesTitle": {
      "type": "object",
      "additionalProperties": true,
      "properties": {
        "title": {
          "type": "string"
        }
      },
      "required": [
        "title"
      ],
      "title": "AttributesTitle"
    },
    "DescriptionAttribute": {
      "type": "object",
      "additionalProperties": true,
      "properties": {
        "short": {
          "type": "string"
        },
        "standard": {
          "type": "string"
        }
      },
      "required": [
        "standard"
      ],
      "title": "DescriptionAttribute"
    },
    "RelationToAlbums": {
      "type": "object",
      "additionalProperties": true,
      "properties": {
        "href": {
          "$ref": "#/definitions/URL"
        },
        "next": {
          "$ref": "#/definitions/URL"
        },
        "data": {
          "type": "array",
          "items": {
            "$ref": "#/definitions/Albums"
          }
        }
      },
      "required": [
        "data"
      ],
      "title": "RelationToAlbums"
    },
    "RelationToArtists": {
      "type": "object",
      "additionalProperties": true,
      "properties": {
        "href": {
          "$ref": "#/definitions/URL"
        },
        "next": {
          "$ref": "#/definitions/URL"
        },
        "data": {
          "type": "array",
          "items": {
            "$ref": "#/definitions/Artists"
          }
        }
      },
      "required": [
        "data"
      ],
      "title": "RelationToArtists"
    },
    "RelationToGenresArray": {
      "type": "object",
      "additionalProperties": true,
      "properties": {
        "href": {
          "$ref": "#/definitions/URL"
        },
        "next": {
          "$ref": "#/definitions/URL"
        },
        "data": {
          "$ref": "#/definitions/GenresArray"
        }
      },
      "required": [
        "data"
      ],
      "title": "RelationToGenresArray"
    },
    "RelationToMusicVideos": {
      "type": "object",
      "additionalProperties": true,
      "properties": {
        "href": {
          "$ref": "#/definitions/URL"
        },
        "next": {
          "$ref": "#/definitions/URL"
        },
        "data": {
          "type": "array",
          "items": {
            "$ref": "#/definitions/MusicVideos"
          }
        }
      },
      "required": [
        "data"
      ],
      "title": "RelationToMusicVideos"
    },
    "RelationToPlaylists": {
      "type": "object",
      "additionalProperties": true,
      "properties": {
        "href": {
          "$ref": "#/definitions/URL"
        },
        "next": {
          "$ref": "#/definitions/URL"
        },
        "data": {
          "type": "array",
          "items": {
            "$ref": "#/definitions/Playlists"
          }
        }
      },
      "required": [
        "data"
      ],
      "title": "RelationToPlaylists"
    },
    "RelationToSongs": {
      "type": "object",
      "additionalProperties": true,
      "properties": {
        "href": {
          "$ref": "#/definitions/URL"
        },
        "next": {
          "$ref": "#/definitions/URL"
        },
        "data": {
          "type": "array",
          "items": {
            "$ref": "#/definitions/Songs"
          }
        }
      },
      "required": [
        "data"
      ],
      "title": "RelationToSongs"
    },
    "RelationToStations": {
      "type": "object",
      "additionalProperties": true,
      "properties": {
        "href": {
          "$ref": "#/definitions/URL"
        },
        "next": {
          "$ref": "#/definitions/URL"
        },
        "data": {
          "type": "array",
          "items": {
            "$ref": "#/definitions/Stations"
          }
        }
      },
      "required": [
        "data"
      ],
      "title": "RelationToStations"
    },
    "RelationToLibraryAlbums": {
      "type": "object",
      "additionalProperties": true,
      "properties": {
        "href": {
          "$ref": "#/definitions/URL"
        },
        "next": {
          "$ref": "#/definitions/URL"
        },
        "data": {
          "type": "array",
          "items": {
            "$ref": "#/definitions/LibraryAlbums"
          }
        }
      },
      "required": [
        "data"
      ],
      "title": "RelationToLibraryAlbums"
    },
    "RelationWithAttributesToAlbums": {
      "type": "object",
      "additionalProperties": true,
      "properties": {
        "href": {
          "$ref": "#/definitions/URL"
        },
        "next": {
          "$ref": "#/definitions/URL"
        },
        "attributes": {
          "$ref": "#/definitions/AttributesTitle"
        },
        "data": {
          "type": "array",
          "items": {
            "$ref": "#/definitions/Albums"
          }
        }
      },
      "required": [
        "attributes",
        "data"
      ],
      "title": "RelationWithAttributesToAlbums"
    },
    "RelationWithAttributesToArtists": {
      "type": "object",
      "additionalProperties": true,
      "properties": {
        "href": {
          "$ref": "#/definitions/URL"
        },
        "next": {
          "$ref": "#/definitions/URL"
        },
        "attributes": {
          "$ref": "#/definitions/AttributesTitle"
        },
        "data": {
          "type": "array",
          "items": {
            "$ref": "#/definitions/Artists"
          }
        }
      },
      "required": [
        "attributes",
        "data"
      ],
      "title": "RelationWithAttributesToArtists"
    },
    "RelationWithAttributesToMusicVideos": {
      "type": "object",
      "additionalProperties": true,
      "properties": {
        "href": {
          "$ref": "#/definitions/URL"
        },
        "next": {
          "$ref": "#/definitions/URL"
        },
        "attributes": {
          "$ref": "#/definitions/AttributesTitle"
        },
        "data": {
          "type": "array",
          "items": {
            "$ref": "#/definitions/MusicVideos"
          }
        }
      },
      "required": [
        "attributes",
        "data"
      ],
      "title": "RelationWithAttributesToMusicVideos"
    },
    "RelationWithAttributesToPlaylists": {
      "type": "object",
      "additionalProperties": true,
      "properties": {
        "href": {
          "$ref": "#/definitions/URL"
        },
        "next": {
          "$ref": "#/definitions/URL"
        },
        "attributes": {
          "$ref": "#/definitions/AttributesTitle"
        },
        "data": {
          "type": "array",
          "items": {
            "$ref": "#/definitions/Playlists"
          }
        }
      },
      "required": [
        "attributes",
        "data"
      ],
      "title": "RelationWithAttributesToPlaylists"
    },
    "RelationToLibraryArtists": {
      "type": "object",
      "additionalProperties": true,
      "properties": {
        "href": {
          "$ref": "#/definitions/URL"
        },
        "next": {
          "$ref": "#/definitions/URL"
        },
        "data": {
          "type": "array",
          "items": {
            "$ref": "#/definitions/LibraryArtists"
          }
        }
      },
      "required": [
        "data"
      ],
      "title": "RelationToLibraryArtists"
    },
    "RelationToLibraryMusicVideosOrSongs": {
      "type": "object",
      "additionalProperties": true,
      "properties": {
        "href": {
          "$ref": "#/definitions/URL"
        },
        "next": {
          "$ref": "#/definitions/URL"
        },
        "data": {
          "type": "array",
          "items": {
            "anyOf": [
              {
                "$ref": "#/definitions/LibraryMusicVideos"
              },
              {
                "$ref": "#/definitions/LibrarySongs"
              }
            ]
          }
        }
      },
      "required": [
        "data"
      ],
      "title": "RelationToLibraryMusicVideosOrSongs"
    },
    "Albums.Views": {
      "type": "object",
      "additionalProperties": true,
      "properties": {
        "appears-on": {
          "$ref": "#/definitions/RelationWithAttributesToPlaylists"
        },
        "other-versions": {
          "$ref": "#/definitions/RelationWithAttributesToAlbums"
        },
        "related-albums": {
          "$ref": "#/definitions/RelationWithAttributesToAlbums"
        },
        "related-videos": {
          "$ref": "#/definitions/RelationWithAttributesToMusicVideos"
        }
      },
      "title": "Albums.Views"
    },
    "Albums.Relationships.AlbumsTracksRelationship": {
      "type": "object",
      "additionalProperties": true,
      "properties": {
        "data": {
          "type": "array",
          "items": {
            "anyOf": [
              {
                "$ref": "#/definitions/MusicVideos"
              },
              {
                "$ref": "#/definitions/Songs"
              }
            ]
          }
        },
        "href": {
          "$ref": "#/definitions/URL"
        },
        "next": {
          "$ref": "#/definitions/URL"
        }
      },
      "required": [
        "data"
      ],
      "title": "Albums.Relationships.AlbumsTracksRelationship"
    },
    "Albums.Relationships.AlbumsRecordLabelsRelationship": {
      "type": "object",
      "additionalProperties": true,
      "properties": {
        "href": {
          "$ref": "#/definitions/URL"
        },
        "next": {
          "$ref": "#/definitions/URL"
        },
        "data": {
          "type": "array",
          "items": {
            "$ref": "#/definitions/RecordLabels"
          }
        }
      },
      "required": [
        "data"
      ],
      "title": "Albums.Relationships.AlbumsRecordLabelsRelationship"
    },
    "Albums.Relationships": {
      "type": "object",
      "additionalProperties": true,
      "properties": {
        "artists": {
          "$ref": "#/definitions/RelationToArtists"
        },
        "genres": {
          "$ref": "#/definitions/RelationToGenresArray"
        },
        "tracks": {
          "$ref": "#/definitions/Albums.Relationships.AlbumsTracksRelationship"
        },
        "library": {
          "$ref": "#/definitions/RelationToLibraryAlbums"
        },
        "record-labels": {
          "$ref": "#/definitions/Albums.Relationships.AlbumsRecordLabelsRelationship"
        }
      },
      "title": "Albums.Relationships"
    },
    "Albums.Attributes": {
      "type": "object",
      "additionalProperties": true,
      "properties": {
        "artistName": {
          "type": "string",
          "examples": [
            "Jimi Hendrix",
            "BB King"
          ]
        },
        "artistUrl": {
          "$ref": "#/definitions/URL"
        },
        "artwork": {
          "$ref": "#/definitions/Artwork"
        },
        "contentRating": {
          "$ref": "#/definitions/ContentRating"
        },
        "copyright": {
          "$ref": "#/definitions/Copyright"
        },
        "editorialNotes": {
          "$ref": "#/definitions/EditorialNotes"
        },
        "genreNames": {
          "$ref": "#/definitions/GenreNamesArray"
        },
        "isCompilation": {
          "type": "boolean"
        },
        "isComplete": {
          "type": "boolean"
        },
        "isMasteredForItunes": {
          "type": "boolean"
        },
        "isSingle": {
          "type": "boolean"
        },
        "name": {
          "type": "string",
          "examples": [
            "Dark Side of the Moon"
          ]
        },
        "playParams": {
          "$ref": "#/definitions/PlayParameters"
        },
        "recordLabel": {
          "type": "string",
          "examples": [
            "Swan Song Records",
            "Electric Lady Studios"
          ]
        },
        "releaseDate": {
          "$ref": "#/definitions/DateOrInt"
        },
        "trackCount": {
          "type": "integer",
          "examples": [
            12,
            5
          ]
        },
        "upc": {
          "$ref": "#/definitions/UPC"
        },
        "url": {
          "$ref": "#/definitions/URL"
        }
      },
      "required": [
        "artistName",
        "artwork",
        "genreNames",
        "isCompilation",
        "isComplete",
        "isMasteredForItunes",
        "isSingle",
        "name",
        "trackCount",
        "url"
      ],
      "title": "Albums.Attributes"
    },
    "Albums": {
      "type": "object",
      "additionalProperties": true,
      "properties": {
        "id": {
          "type": "string",
          "examples": [
            "1031998253"
          ]
        },
        "type": {
          "type": "string",
          "enum": [
            "albums"
          ]
        },
        "href": {
          "$ref": "#/definitions/URL"
        },
        "attributes": {
          "$ref": "#/definitions/Albums.Attributes"
        },
        "relationships": {
          "$ref": "#/definitions/Albums.Relationships"
        },
        "views": {
          "$ref": "#/definitions/Albums.Views"
        }
      },
      "required": [
        "href"
      ],
      "title": "Albums"
    },
    "Artists.Views.ArtistsTopSongsView": {
      "type": "object",
      "additionalProperties": true,
      "properties": {
        "href": {
          "$ref": "#/definitions/URL"
        },
        "next": {
          "$ref": "#/definitions/URL"
        },
        "attributes": {
          "$ref": "#/definitions/AttributesTitle"
        },
        "data": {
          "type": "array",
          "items": {
            "$ref": "#/definitions/Songs"
          }
        }
      },
      "required": [
        "attributes",
        "data"
      ],
      "title": "Artists.Views.ArtistsTopSongsView"
    },
    "Artists.Views": {
      "type": "object",
      "additionalProperties": true,
      "properties": {
        "appears-on-albums": {
          "$ref": "#/definitions/RelationWithAttributesToAlbums"
        },
        "compilation-albums": {
          "$ref": "#/definitions/RelationWithAttributesToAlbums"
        },
        "featured-albums": {
          "$ref": "#/definitions/RelationWithAttributesToAlbums"
        },
        "featured-playlists": {
          "$ref": "#/definitions/RelationWithAttributesToPlaylists"
        },
        "full-albums": {
          "$ref": "#/definitions/RelationWithAttributesToAlbums"
        },
        "latest-release": {
          "$ref": "#/definitions/RelationWithAttributesToAlbums"
        },
        "live-albums": {
          "$ref": "#/definitions/RelationWithAttributesToAlbums"
        },
        "similar-artists": {
          "$ref": "#/definitions/RelationWithAttributesToArtists"
        },
        "singles": {
          "$ref": "#/definitions/RelationWithAttributesToAlbums"
        },
        "top-music-videos": {
          "$ref": "#/definitions/RelationWithAttributesToMusicVideos"
        },
        "top-songs": {
          "$ref": "#/definitions/Artists.Views.ArtistsTopSongsView"
        }
      },
      "title": "Artists.Views"
    },
    "Artists.Relationships": {
      "type": "object",
      "additionalProperties": true,
      "properties": {
        "albums": {
          "$ref": "#/definitions/RelationToAlbums"
        },
        "genres": {
          "$ref": "#/definitions/RelationToGenresArray"
        },
        "music-videos": {
          "$ref": "#/definitions/RelationToMusicVideos"
        },
        "playlists": {
          "$ref": "#/definitions/RelationToPlaylists"
        },
        "station": {
          "$ref": "#/definitions/RelationToStations"
        }
      },
      "title": "Artists.Relationships"
    },
    "Artists.Attributes": {
      "type": "object",
      "additionalProperties": true,
      "properties": {
        "editorialNotes": {
          "$ref": "#/definitions/EditorialNotes"
        },
        "genreNames": {
          "$ref": "#/definitions/GenreNamesArray"
        },
        "name": {
          "type": "string",
          "examples": [
            "Jack White"
          ]
        },
        "url": {
          "$ref": "#/definitions/URL"
        }
      },
      "required": [
        "genreNames",
        "name",
        "url"
      ],
      "title": "Artists.Attributes"
    },
    "Artists": {
      "type": "object",
      "additionalProperties": true,
      "properties": {
        "id": {
          "type": "string",
          "examples": [
            "178834"
          ]
        },
        "type": {
          "type": "string",
          "enum": [
            "artists"
          ]
        },
        "href": {
          "$ref": "#/definitions/URL"
        },
        "attributes": {
          "$ref": "#/definitions/Artists.Attributes"
        },
        "relationships": {
          "$ref": "#/definitions/Artists.Relationships"
        },
        "views": {
          "$ref": "#/definitions/Artists.Views"
        }
      },
      "required": [
        "href"
      ],
      "title": "Artists"
    },
    "Playlists.Views": {
      "type": "object",
      "additionalProperties": true,
      "properties": {
        "featured-artists": {
          "$ref": "#/definitions/RelationWithAttributesToArtists"
        },
        "more-by-curator": {
          "$ref": "#/definitions/RelationWithAttributesToPlaylists"
        }
      },
      "title": "Playlists.Views"
    },
    "Playlists.Relationships.PlaylistsCuratorRelationship": {
      "type": "object",
      "additionalProperties": true,
      "properties": {
        "href": {
          "$ref": "#/definitions/URL"
        },
        "next": {
          "$ref": "#/definitions/URL"
        },
        "data": {
          "type": "array",
          "items": {
            "anyOf": [
              {
                "$ref": "#/definitions/Activities"
              },
              {
                "$ref": "#/definitions/AppleCurators"
              },
              {
                "$ref": "#/definitions/Curators"
              }
            ]
          }
        }
      },
      "required": [
        "data"
      ],
      "title": "Playlists.Relationships.PlaylistsCuratorRelationship"
    },
    "Playlists.Relationships.PlaylistsLibraryRelationship": {
      "type": "object",
      "additionalProperties": true,
      "properties": {
        "href": {
          "$ref": "#/definitions/URL"
        },
        "next": {
          "$ref": "#/definitions/URL"
        },
        "data": {
          "type": "array",
          "items": {
            "$ref": "#/definitions/LibraryPlaylists"
          }
        }
      },
      "required": [
        "data"
      ],
      "title": "Playlists.Relationships.PlaylistsLibraryRelationship"
    },
    "Playlists.Relationships.PlaylistsTracksRelationship": {
      "type": "object",
      "additionalProperties": true,
      "properties": {
        "href": {
          "$ref": "#/definitions/URL"
        },
        "next": {
          "$ref": "#/definitions/URL"
        },
        "data": {
          "type": "array",
          "items": {
            "anyOf": [
              {
                "$ref": "#/definitions/MusicVideos"
              },
              {
                "$ref": "#/definitions/Songs"
              }
            ]
          }
        }
      },
      "required": [
        "data"
      ],
      "title": "Playlists.Relationships.PlaylistsTracksRelationship"
    },
    "Playlists.Relationships": {
      "type": "object",
      "additionalProperties": true,
      "properties": {
        "curator": {
          "$ref": "#/definitions/Playlists.Relationships.PlaylistsCuratorRelationship"
        },
        "library": {
          "$ref": "#/definitions/Playlists.Relationships.PlaylistsLibraryRelationship"
        },
        "tracks": {
          "$ref": "#/definitions/Playlists.Relationships.PlaylistsTracksRelationship"
        }
      },
      "title": "Playlists.Relationships"
    },
    "Playlists.Attributes": {
      "type": "object",
      "additionalProperties": true,
      "properties": {
        "artwork": {
          "$ref": "#/definitions/Artwork"
        },
        "curatorName": {
          "type": "string",
          "examples": [
            "Apple Music R&B"
          ]
        },
        "description": {
          "$ref": "#/definitions/DescriptionAttribute"
        },
        "isChart": {
          "type": "boolean"
        },
        "lastModifiedDate": {
          "type": "string",
          "format": "date-time",
          "examples": [
            "2015-04-11T16:15:51Z"
          ]
        },
        "name": {
          "type": "string"
        },
        "playlistType": {
          "type": "string",
          "enum": [
            "editorial",
            "external",
            "personal-mix",
            "replay",
            "user-shared"
          ]
        },
        "playParams": {
          "$ref": "#/definitions/PlayParameters"
        },
        "url": {
          "$ref": "#/definitions/URL"
        },
        "trackTypes": {
          "type": "array",
          "items": {
            "type": "string",
            "enum": [
              "music-videos",
              "songs"
            ]
          }
        }
      },
      "required": [
        "curatorName",
        "isChart",
        "name",
        "playlistType",
        "url"
      ],
      "title": "Playlists.Attributes"
    },
    "Playlists": {
      "type": "object",
      "additionalProperties": true,
      "properties": {
        "id": {
          "type": "string",
          "examples": [
            "pl.acc464c750b94302b8806e5fcbe56e17"
          ]
        },
        "type": {
          "type": "string",
          "enum": [
            "playlists"
          ]
        },
        "href": {
          "$ref": "#/definitions/URL"
        },
        "attributes": {
          "$ref": "#/definitions/Playlists.Attributes"
        },
        "relationships": {
          "$ref": "#/definitions/Playlists.Relationships"
        },
        "views": {
          "$ref": "#/definitions/Playlists.Views"
        }
      },
      "required": [
        "href"
      ],
      "title": "Playlists"
    },
    "Songs.Relationships.SongsLibraryRelationship": {
      "type": "object",
      "additionalProperties": true,
      "properties": {
        "href": {
          "$ref": "#/definitions/URL"
        },
        "next": {
          "$ref": "#/definitions/URL"
        },
        "data": {
          "type": "array",
          "items": {
            "$ref": "#/definitions/LibrarySongs"
          }
        }
      },
      "required": [
        "data"
      ],
      "title": "Songs.Relationships.SongsLibraryRelationship"
    },
    "Songs.Relationships": {
      "type": "object",
      "additionalProperties": true,
      "properties": {
        "albums": {
          "$ref": "#/definitions/RelationToAlbums"
        },
        "artists": {
          "$ref": "#/definitions/RelationToArtists"
        },
        "genres": {
          "$ref": "#/definitions/RelationToGenresArray"
        },
        "station": {
          "$ref": "#/definitions/RelationToStations"
        },
        "composers": {
          "$ref": "#/definitions/RelationToArtists"
        },
        "library": {
          "$ref": "#/definitions/Songs.Relationships.SongsLibraryRelationship"
        },
        "music-videos": {
          "$ref": "#/definitions/RelationToMusicVideos"
        }
      },
      "title": "Songs.Relationships"
    },
    "Songs.Attributes": {
      "type": "object",
      "additionalProperties": true,
      "properties": {
        "albumName": {
          "type": "string",
          "examples": [
            "Dark Side of the Moon"
          ]
        },
        "artistName": {
          "type": "string",
          "examples": [
            "Jimi Hendrix"
          ]
        },
        "artwork": {
          "$ref": "#/definitions/Artwork"
        },
        "attribution": {
          "type": "string"
        },
        "composerName": {
          "type": "string"
        },
        "contentRating": {
          "$ref": "#/definitions/ContentRating"
        },
        "discNumber": {
          "type": "integer"
        },
        "durationInMillis": {
          "type": "integer"
        },
        "editorialNotes": {
          "$ref": "#/definitions/EditorialNotes"
        },
        "genreNames": {
          "$ref": "#/definitions/GenreNamesArray"
        },
        "hasLyrics": {
          "type": "boolean"
        },
        "isrc": {
          "$ref": "#/definitions/ISRC"
        },
        "movementCount": {
          "type": "integer",
          "examples": [
            2
          ]
        },
        "movementName": {
          "type": "string",
          "examples": [
            "Second Movement"
          ]
        },
        "movementNumber": {
          "type": "integer",
          "examples": [
            1
          ]
        },
        "name": {
          "type": "string",
          "examples": [
            "The Song Remains the Same"
          ]
        },
        "playParams": {
          "$ref": "#/definitions/PlayParameters"
        },
        "previews": {
          "type": "array",
          "items": {
            "$ref": "#/definitions/Preview"
          }
        },
        "releaseDate": {
          "$ref": "#/definitions/DateOrInt"
        },
        "trackNumber": {
          "type": "integer",
          "examples": [
            5
          ]
        },
        "url": {
          "$ref": "#/definitions/URL"
        },
        "workName": {
          "type": "string"
        },
        "artistUrl": {
          "$ref": "#/definitions/URL"
        }
      },
      "required": [
        "albumName",
        "artistName",
        "artwork",
        "durationInMillis",
        "genreNames",
        "hasLyrics",
        "name",
        "previews",
        "url"
      ],
      "title": "Songs.Attributes"
    },
    "Songs": {
      "type": "object",
      "additionalProperties": true,
      "properties": {
        "id": {
          "type": "string",
          "examples": [
            "900032829"
          ]
        },
        "type": {
          "type": "string",
          "enum": [
            "songs"
          ]
        },
        "href": {
          "$ref": "#/definitions/URL"
        },
        "attributes": {
          "$ref": "#/definitions/Songs.Attributes"
        },
        "relationships": {
          "$ref": "#/definitions/Songs.Relationships"
        }
      },
      "required": [
        "href"
      ],
      "title": "Songs"
    },
    "LibraryAlbums.Relationships": {
      "type": "object",
      "additionalProperties": true,
      "properties": {
        "artists": {
          "$ref": "#/definitions/RelationToLibraryArtists"
        },
        "catalog": {
          "$ref": "#/definitions/RelationToAlbums"
        },
        "tracks": {
          "$ref": "#/definitions/RelationToLibraryMusicVideosOrSongs"
        }
      },
      "title": "LibraryAlbums.Relationships"
    },
    "LibraryAlbums.Attributes": {
      "type": "object",
      "additionalProperties": true,
      "properties": {
        "artistName": {
          "type": "string",
          "examples": [
            "Jimi Hendrix"
          ]
        },
        "artwork": {
          "$ref": "#/definitions/Artwork"
        },
        "contentRating": {
          "$ref": "#/definitions/ContentRating"
        },
        "dateAdded": {
          "$ref": "#/definitions/DateOrInt"
        },
        "name": {
          "type": "string"
        },
        "playParams": {
          "$ref": "#/definitions/PlayParameters"
        },
        "releaseDate": {
          "$ref": "#/definitions/DateOrInt"
        },
        "trackCount": {
          "type": "integer",
          "examples": [
            12
          ]
        },
        "genreNames": {
          "$ref": "#/definitions/GenreNamesArray"
        }
      },
      "required": [
        "artistName",
        "artwork",
        "name",
        "trackCount",
        "genreNames"
      ],
      "title": "LibraryAlbums.Attributes"
    },
    "LibraryAlbums": {
      "type": "object",
      "additionalProperties": true,
      "properties": {
        "id": {
          "type": "string",
          "examples": [
            "1031998253"
          ]
        },
        "type": {
          "type": "string",
          "enum": [
            "library-albums"
          ]
        },
        "href": {
          "$ref": "#/definitions/URL"
        },
        "attributes": {
          "$ref": "#/definitions/LibraryAlbums.Attributes"
        },
        "relationships": {
          "$ref": "#/definitions/LibraryAlbums.Relationships"
        }
      },
      "required": [
        "href"
      ],
      "title": "LibraryAlbums"
    },
    "LibraryArtists.Relationships": {
      "type": "object",
      "additionalProperties": true,
      "properties": {
        "albums": {
          "$ref": "#/definitions/RelationToLibraryAlbums"
        },
        "catalog": {
          "$ref": "#/definitions/RelationToArtists"
        }
      },
      "title": "LibraryArtists.Relationships"
    },
    "LibraryArtists.Attributes": {
      "type": "object",
      "additionalProperties": true,
      "properties": {
        "name": {
          "type": "string",
          "examples": [
            "Jimi Hendrix"
          ]
        }
      },
      "required": [
        "name"
      ],
      "title": "LibraryArtists.Attributes"
    },
    "LibraryArtists": {
      "type": "object",
      "additionalProperties": true,
      "properties": {
        "id": {
          "type": "string",
          "examples": [
            "178834"
          ]
        },
        "type": {
          "type": "string"
        },
        "href": {
          "$ref": "#/definitions/URL"
        },
        "attributes": {
          "$ref": "#/definitions/LibraryArtists.Attributes"
        },
        "relationships": {
          "$ref": "#/definitions/LibraryArtists.Relationships"
        }
      },
      "required": [
        "href"
      ],
      "title": "LibraryArtists"
    },
    "LibrarySongs.Relationships": {
      "type": "object",
      "additionalProperties": true,
      "properties": {
        "albums": {
          "$ref": "#/definitions/RelationToLibraryAlbums"
        },
        "artists": {
          "$ref": "#/definitions/RelationToLibraryArtists"
        },
        "catalog": {
          "$ref": "#/definitions/RelationToSongs"
        }
      },
      "title": "LibrarySongs.Relationships"
    },
    "LibrarySongs.Attributes": {
      "type": "object",
      "additionalProperties": true,
      "properties": {
        "albumName": {
          "type": "string",
          "examples": [
            "Dark Side of the Moon"
          ]
        },
        "artistName": {
          "type": "string",
          "examples": [
            "Pink Floyd"
          ]
        },
        "artwork": {
          "$ref": "#/definitions/Artwork"
        },
        "contentRating": {
          "$ref": "#/definitions/ContentRating"
        },
        "discNumber": {
          "type": "integer",
          "examples": [
            12
          ]
        },
        "durationInMillis": {
          "type": "integer",
          "examples": [
            123124
          ]
        },
        "genreNames": {
          "$ref": "#/definitions/GenreNamesArray"
        },
        "hasLyrics": {
          "type": "boolean"
        },
        "name": {
          "type": "string",
          "examples": [
            "The Song Remains the Same"
          ]
        },
        "playParams": {
          "$ref": "#/definitions/PlayParameters"
        },
        "releaseDate": {
          "$ref": "#/definitions/DateOrInt"
        },
        "trackNumber": {
          "type": "integer",
          "examples": [
            5
          ]
        }
      },
      "required": [
        "artistName",
        "artwork",
        "durationInMillis",
        "genreNames",
        "hasLyrics",
        "name"
      ],
      "title": "LibrarySongs.Attributes"
    },
    "LibrarySongs": {
      "type": "object",
      "additionalProperties": true,
      "properties": {
        "id": {
          "type": "string",
          "examples": [
            "900032829"
          ]
        },
        "type": {
          "type": "string",
          "enum": [
            "library-songs"
          ]
        },
        "href": {
          "$ref": "#/definitions/URL"
        },
        "attributes": {
          "$ref": "#/definitions/LibrarySongs.Attributes"
        },
        "relationships": {
          "$ref": "#/definitions/LibrarySongs.Relationships"
        }
      },
      "required": [
        "href"
      ],
      "title": "LibrarySongs"
    },
    "LibraryMusicVideos.Relationships": {
      "type": "object",
      "additionalProperties": true,
      "properties": {
        "albums": {
          "$ref": "#/definitions/RelationToLibraryAlbums"
        },
        "artists": {
          "$ref": "#/definitions/RelationToLibraryArtists"
        },
        "catalog": {
          "$ref": "#/definitions/RelationToMusicVideos"
        }
      },
      "title": "LibraryMusicVideos.Relationships"
    },
    "LibraryMusicVideos.Attributes": {
      "type": "object",
      "additionalProperties": true,
      "properties": {
        "albumName": {
          "type": "string",
          "examples": [
            "Dark Side of the Moon"
          ]
        },
        "artistName": {
          "type": "string",
          "examples": [
            "Pink Floyd"
          ]
        },
        "artwork": {
          "$ref": "#/definitions/Artwork"
        },
        "contentRating": {
          "$ref": "#/definitions/ContentRating"
        },
        "durationInMillis": {
          "type": "integer",
          "examples": [
            345112345
          ]
        },
        "genreNames": {
          "$ref": "#/definitions/GenreNamesArray"
        },
        "name": {
          "type": "string",
          "examples": [
            "Pink"
          ]
        },
        "playParams": {
          "$ref": "#/definitions/PlayParameters"
        },
        "releaseDate": {
          "$ref": "#/definitions/DateOrInt"
        },
        "trackNumber": {
          "type": "integer",
          "examples": [
            5
          ]
        }
      },
      "required": [
        "artistName",
        "artwork",
        "durationInMillis",
        "genreNames",
        "name"
      ],
      "title": "LibraryMusicVideos.Attributes"
    },
    "LibraryMusicVideos": {
      "type": "object",
      "additionalProperties": true,
      "properties": {
        "id": {
          "type": "string",
          "examples": [
            "1553279848"
          ]
        },
        "type": {
          "type": "string"
        },
        "href": {
          "$ref": "#/definitions/URL"
        },
        "attributes": {
          "$ref": "#/definitions/LibraryMusicVideos.Attributes"
        },
        "relationships": {
          "$ref": "#/definitions/LibraryMusicVideos.Relationships"
        }
      },
      "required": [
        "href"
      ],
      "title": "LibraryMusicVideos"
    },
    "LibraryPlaylists.Relationships": {
      "type": "object",
      "additionalProperties": true,
      "properties": {
        "catalog": {
          "$ref": "#/definitions/RelationToPlaylists"
        },
        "tracks": {
          "$ref": "#/definitions/RelationToLibraryMusicVideosOrSongs"
        }
      },
      "title": "LibraryPlaylists.Relationships"
    },
    "LibraryPlaylists.Attributes": {
      "type": "object",
      "additionalProperties": true,
      "properties": {
        "artwork": {
          "$ref": "#/definitions/Artwork"
        },
        "canEdit": {
          "type": "boolean"
        },
        "dateAdded": {
          "type": "string",
          "format": "date-time"
        },
        "description": {
          "$ref": "#/definitions/DescriptionAttribute"
        },
        "hasCatalog": {
          "type": "boolean"
        },
        "name": {
          "type": "string",
          "examples": [
            "My playlist"
          ]
        },
        "playParams": {
          "$ref": "#/definitions/PlayParameters"
        }
      },
      "required": [
        "canEdit",
        "hasCatalog",
        "name"
      ],
      "title": "LibraryPlaylists.Attributes"
    },
    "LibraryPlaylists": {
      "type": "object",
      "additionalProperties": true,
      "properties": {
        "id": {
          "type": "string",
          "examples": [
            "p.MoGJYM3CYXW09B"
          ]
        },
        "type": {
          "type": "string",
          "enum": [
            "library-playlists"
          ]
        },
        "href": {
          "$ref": "#/definitions/URL"
        },
        "attributes": {
          "$ref": "#/definitions/LibraryPlaylists.Attributes"
        },
        "relationships": {
          "$ref": "#/definitions/LibraryPlaylists.Relationships"
        }
      },
      "required": [
        "href"
      ],
      "title": "LibraryPlaylists"
    },
    "MusicVideos.Views": {
      "type": "object",
      "additionalProperties": true,
      "properties": {
        "more-by-artist": {
          "$ref": "#/definitions/RelationWithAttributesToMusicVideos"
        },
        "more-in-genre": {
          "$ref": "#/definitions/RelationWithAttributesToMusicVideos"
        }
      },
      "title": "MusicVideos.Views"
    },
    "MusicVideos.Relationships.MusicVideosLibraryRelationship": {
      "type": "object",
      "additionalProperties": true,
      "properties": {
        "href": {
          "$ref": "#/definitions/URL"
        },
        "next": {
          "$ref": "#/definitions/URL"
        },
        "data": {
          "type": "array",
          "items": {
            "$ref": "#/definitions/LibraryMusicVideos"
          }
        }
      },
      "required": [
        "data"
      ],
      "title": "MusicVideos.Relationships.MusicVideosLibraryRelationship"
    },
    "MusicVideos.Relationships": {
      "type": "object",
      "additionalProperties": true,
      "properties": {
        "albums": {
          "$ref": "#/definitions/RelationToAlbums"
        },
        "artists": {
          "$ref": "#/definitions/RelationToArtists"
        },
        "genres": {
          "$ref": "#/definitions/RelationToGenresArray"
        },
        "library": {
          "$ref": "#/definitions/MusicVideos.Relationships.MusicVideosLibraryRelationship"
        },
        "songs": {
          "$ref": "#/definitions/RelationToSongs"
        }
      },
      "title": "MusicVideos.Relationships"
    },
    "MusicVideos.Attributes": {
      "type": "object",
      "additionalProperties": true,
      "properties": {
        "albumName": {
          "type": "string",
          "examples": [
            "Dark Side of the Moon"
          ]
        },
        "artistName": {
          "type": "string",
          "examples": [
            "Aerosmith"
          ]
        },
        "artwork": {
          "$ref": "#/definitions/Artwork"
        },
        "contentRating": {
          "$ref": "#/definitions/ContentRating"
        },
        "durationInMillis": {
          "type": "integer",
          "examples": [
            34726534
          ]
        },
        "editorialNotes": {
          "$ref": "#/definitions/EditorialNotes"
        },
        "genreNames": {
          "$ref": "#/definitions/GenreNamesArray"
        },
        "has4K": {
          "type": "boolean"
        },
        "hasHDR": {
          "type": "boolean"
        },
        "isrc": {
          "$ref": "#/definitions/ISRC"
        },
        "name": {
          "type": "string",
          "examples": [
            "Pink"
          ]
        },
        "playParams": {
          "$ref": "#/definitions/PlayParameters"
        },
        "previews": {
          "type": "array",
          "items": {
            "$ref": "#/definitions/Preview"
          }
        },
        "releaseDate": {
          "$ref": "#/definitions/DateOrInt"
        },
        "trackNumber": {
          "type": "integer",
          "examples": [
            5
          ]
        },
        "url": {
          "$ref": "#/definitions/URL"
        },
        "videoSubType": {
          "type": "string",
          "enum": [
            "preview"
          ]
        },
        "workId": {
          "type": "string"
        },
        "workName": {
          "type": "string"
        },
        "artistUrl": {
          "$ref": "#/definitions/URL"
        }
      },
      "required": [
        "artistName",
        "artwork",
        "durationInMillis",
        "genreNames",
        "has4K",
        "hasHDR",
        "name",
        "previews",
        "url"
      ],
      "title": "MusicVideos.Attributes"
    },
    "MusicVideos": {
      "type": "object",
      "additionalProperties": true,
      "properties": {
        "id": {
          "type": "string",
          "examples": [
            "1553279848"
          ]
        },
        "type": {
          "type": "string",
          "enum": [
            "music-videos"
          ]
        },
        "href": {
          "$ref": "#/definitions/URL"
        },
        "attributes": {
          "$ref": "#/definitions/MusicVideos.Attributes"
        },
        "relationships": {
          "$ref": "#/definitions/MusicVideos.Relationships"
        },
        "views": {
          "$ref": "#/definitions/MusicVideos.Views"
        }
      },
      "required": [
        "href"
      ],
      "title": "MusicVideos"
    }
  }
}
