app.rocksky.playlist.song

rocksky.app

{
  "$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
}

Validate Record

Validate a record against app.rocksky.playlist.song

Validation Options
Treat any remaining unresolved references as valid

Metadata

DID
did:plc:vegqomyce4ssoqs7zwqvgqty
CID
bafyreifbt7erpd66nl4ylhck7hpg5i6qp7geojbjwsoqwwz4etz5hemu54
Indexed At
2026-08-31 18:09 UTC
AT-URI
at://did:plc:vegqomyce4ssoqs7zwqvgqty/com.atproto.lexicon.schema/app.rocksky.playlist.song

Similar Lexicons

Lexicons whose schemas describe something close to this one. Check them before publishing a new one that overlaps.

Lexicon Garden

@