{ "format_version": 1, "id": "artist", "name": "Artist", "plural": "Artists", "picture": null, "builtin": false, "visibility": "owner", "engine": null, "columns": [ { "key": "name", "name": "Name", "type": "text", "required": true, "placeholder": "Name this artist" }, { "key": "photo", "name": "Photo", "type": "photo" }, { "key": "albums", "name": "Albums", "type": "number", "units": { "one": "album", "other": "albums" }, "computed": { "rollup": { "table": "music_album", "link": "artist", "op": "count" } } }, { "key": "songs", "name": "Songs", "type": "number", "units": { "one": "song", "other": "songs" }, "computed": { "rollup": { "table": "track", "link": "artist", "op": "count" } } } ], "title": "name", "date": null, "project": null, "order": null, "slip": { "title": "name", "subtitle": [ "albums", "songs" ], "trailing": null, "photo": "photo", "toggle": null }, "tile": { "face": "slip-list" }, "page": [ { "heading": null, "columns": [ "photo", "name" ] }, { "heading": "Albums", "list": { "table": "music_album", "link": "artist", "empty": { "title": "No albums by this artist", "message": "Add an album and choose this artist for it." }, "add": "Add an album" } }, { "heading": "Songs", "list": { "table": "track", "link": "artist", "empty": { "title": "No songs by this artist", "message": "Add a song and choose this artist for it." }, "add": "Add a song" } } ], "sort": { "column": "name", "descending": false }, "empty": { "title": "No artists yet", "message": "Add an artist whose songs you keep." }, "create": { "label": "Add an artist" }, "instructions": "One row per artist, a person or a band: their name and a photo. Their albums are the albums whose artist links them, their songs the songs that do.", "card": { "face": "person", "fields": [ { "slot": "photo", "column": "photo" }, { "slot": "title", "column": "name" }, { "slot": "count", "column": "albums" } ], "opens": { "table": "music_album", "by": "artist", "order": [ "year", "title" ] } } }