Entity Definition: albums
→ Data
Type Diagram
classDiagram
class albums_item["albums.item"] {
*id : string
*title : string
*artist_id : string [FK]
label_id : string [FK]
genre_id : string [FK]
*year : integer
is_live : boolean
liner_notes : string [FK]
cover : string [FK]
}
class blob_item["blob.item"]
class prose_item["prose.item"]
class artists_item["artists.item"]
class labels_item["labels.item"]
class genres_item["genres.item"]
albums_item --> artists_item : artist_id
albums_item --> labels_item : label_id
albums_item --> genres_item : genre_id
albums_item --> prose_item : liner_notes
albums_item --> blob_item : cover
Entity: albums
Type: albums.item
description: A studio or live album. Each album belongs to exactly one artist; label
and genre are optional but typical.
attributes
| id |
type |
required |
references |
validation |
metadata |
id |
string |
yes |
|
|
|
title |
string |
yes |
|
|
{description: Album title.} |
artist_id |
string |
yes |
artists.id |
|
{description: Id of the artist who released this album.} |
label_id |
string |
|
labels.id |
|
{description: Id of the label that released this album.} |
genre_id |
string |
|
genres.id |
|
{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 |
|
prose.id |
|
{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 |
|
blob.id |
|
{description: 'Id of the cover-art blob (a contents-relative path, extension included). Optional - only some albums ship cover art.'} |