View Definition: artist_album_pairs
→ Data
Source Diagram
classDiagram
class artists_item["artists.item"]
class albums_item["albums.item"]
albums_item --> artists_item : artist_id
Definition
From
artists
Join
| To |
On (left = right) |
As |
Pre-join where |
Flatten |
| albums |
id = artist_id |
albums |
|
{of: albums, as: album, preserve_empty: false} |
Select
| Item |
As |
| id |
id |
| name |
name |
| album |
album |
Shape
Type: artist_album_pairs.item
| id |
type |
required |
validation |
metadata |
id |
string |
yes |
|
|
name |
string |
yes |
|
{description: Display name of the artist or band.} |
album |
object |
yes |
|
|
album.id |
string |
yes |
|
|
album.title |
string |
yes |
|
{description: Album title.} |
album.artist_id |
string |
yes |
|
{description: Id of the artist who released this album.} |
album.label_id |
string |
|
|
{description: Id of the label that released this album.} |
album.genre_id |
string |
|
|
{description: Id of the album's primary genre.} |
album.year |
integer |
yes |
|
{description: Year of release.} |
album.is_live |
boolean |
|
|
{description: 'True for concert recordings, false (or omitted) for studio albums.'} |
album.liner_notes |
string |
|
|
{description: Id of the prose record holding this album's liner notes (a contents-relative path without extension). Optional - only some albums have liner notes.} |
album.cover |
string |
|
|
{description: 'Id of the cover-art blob (a contents-relative path, extension included). Optional - only some albums ship cover art.'} |