app.rocksky.playlist.song
A song entry in a playlist. Holds a strong reference to the playlist it belongs to, a strong reference to the song record itself, and a denormalized copy of the song metadata so the entry can be rendered without dereferencing the song.
Details · record, key tid
| Kind | record |
|---|---|
| Record key | tid |
| Authority | playlist.rocksky.app |
| Indexed |
Checks
Valid Lint pass{
"$type": "com.atproto.lexicon.schema",
"defs": {
"main": {
"description": "A song entry in a playlist. Holds a strong reference to the playlist it belongs to, a strong reference to the song record itself, and a denormalized copy of the song metadata so the entry can be rendered without dereferencing the song.",
"key": "tid",
"record": {
"properties": {
"addedAt": {
"description": "The date and time the song was added to the playlist.",
"format": "datetime",
"type": "string"
},
"album": {
"description": "The album the song belongs to.",
"maxLength": 256,
"minLength": 1,
"type": "string"
},
"albumArtUrl": {
"description": "The URL of the album art of the song.",
"format": "uri",
"type": "string"
},
"albumArtist": {
"description": "The album artist of the song.",
"maxLength": 256,
"minLength": 1,
"type": "string"
},
"artist": {
"description": "The artist of the song.",
"maxLength": 256,
"minLength": 1,
"type": "string"
},
"duration": {
"description": "The duration of the song in milliseconds.",
"minimum": 1,
"type": "integer"
},
"playlist": {
"description": "Strong reference (AT-URI + CID) to the parent app.rocksky.playlist record.",
"ref": "com.atproto.repo.strongRef",
"type": "ref"
},
"song": {
"description": "Strong reference (AT-URI + CID) to the app.rocksky.song record this entry points at.",
"ref": "com.atproto.repo.strongRef",
"type": "ref"
},
"title": {
"description": "The title of the song.",
"maxLength": 512,
"minLength": 1,
"type": "string"
}
},
"required": [
"playlist",
"song",
"title",
"artist",
"album",
"albumArtist",
"duration",
"addedAt"
],
"type": "object"
},
"type": "record"
}
},
"id": "app.rocksky.playlist.song",
"lexicon": 1
}