View Definition: artist_discography

→ 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

Select

Item As
id id
name name
country country
formed_year formed_year
bio bio
members members
albums albums

Shape

Type: artist_discography.item

id type required validation metadata
id string yes
name string yes {description: Display name of the artist or band.}
country string {description: 'Primary country of operation (free-form, e.g. "Japan").'}
formed_year integer {description: Year the act was formed.}
bio string {description: Short prose description shown on the artist's page.}
members artist_discography.item.members.item[] {description: 'Current line-up, keyed by a short slug. Optional - an artist with no settled line-up may omit it or leave it empty.'}
albums artist_discography.item.albums.item[] yes

Type: artist_discography.item.members.item

id type required validation metadata
id string yes
name string yes {description: Display name of the member.}
instrument string {description: 'Primary instrument or role within the group (e.g. "guitar", "vocals").'}

Type: artist_discography.item.albums.item

id type required validation metadata
id string yes
title string yes {description: Album title.}
artist_id string yes {description: Id of the artist who released this album.}
label_id string {description: Id of the label that released this album.}
genre_id string {description: Id of the album's primary genre.}
year integer yes {description: Year of release.}
is_live boolean {description: 'True for concert recordings, false (or omitted) for studio albums.'}
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.}
cover string {description: 'Id of the cover-art blob (a contents-relative path, extension included). Optional - only some albums ship cover art.'}