View Definition: featured_albums
→ Data
Source Diagram
classDiagram
class albums_item["albums.item"]
class catalog_featured_item["catalog.featured.item"]
catalog_featured_item --> albums_item : album_id
Definition
From
catalog.featured
Join
| To |
On (left = right) |
As |
Pre-join where |
Flatten |
| albums |
album_id = id |
album_matches |
|
{of: album_matches, as: album, preserve_empty: false} |
Select
| Item |
As |
| album_id |
album_id |
| note |
note |
| album |
album |
Shape
Type: featured_albums.item
| id |
type |
required |
validation |
metadata |
album_id |
string |
yes |
|
{description: Id of the highlighted album.} |
note |
string |
|
|
{description: One-line reason for the highlight.} |
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.'} |