dev.openplaylist.defs
Shared object definitions for Open Playlist records. Track metadata field names follow fm.teal.feed.defs so teal.fm and Rocksky tooling can read them without a mapping layer.
Details · defs
| Kind | defs |
|---|---|
| Authority | openplaylist.dev |
| Indexed |
#artist
objectProperties
artistMbId
string · uriMusicBrainz artist id, formatted as mbid:<uuid>.
The name of the artist.
minLength: 1maxLength: 2560maxGraphemes: 256
#artwork
objectOne cover art candidate. Either url or image must be present.
Properties
height
integerminimum: 1
image
blobA cached copy of the artwork stored in the hosting repo, so the record survives every external service going away.
maxSize: 1000000accept: image/*
Who serves this image. 'self' means the image blob is stored in this repo.
maxLength: 64knownValues: spotify | appleMusic | coverArtArchive | youtube | self
url
string · uriPublic image URL.
width
integerminimum: 1
#contributor
objectWho added something. Anonymous contributors have only a display name; signed-in contributors also carry their DID.
Properties
did
string · didThe contributor's ATProto identity, when they were signed in.
Name typed or chosen by the contributor.
minLength: 1maxLength: 640maxGraphemes: 64
#mirror
objectA native playlist on a music service that mirrors this record. The record is the source of truth; mirrors are downstream and append-only.
Properties
externalId
stringThe service's playlist id.
maxLength: 256
hostDid
string · didDID of the account whose service login owns the mirror. Absent means the Open Playlist app account hosts it.
Service identifier.
maxLength: 64knownValues: spotify | appleMusic | youtube
syncedAt
string · datetimeWhen the mirror was last brought up to date with this record.
Public, followable URL of the mirrored playlist.
#source
objectA location for a track on a specific music service.
Properties
externalId
stringThe service's own track identifier, e.g. a Spotify track id or an Apple Music catalog id.
maxLength: 256
region
stringISO 3166-1 alpha-2 storefront code when the externalId is region-specific, as Apple Music catalog ids are.
minLength: 2maxLength: 2
Service identifier. Unknown values must be preserved by readers.
maxLength: 64knownValues: spotify | appleMusic | youtube | youtubeMusic | tidal | deezer | bandcamp | soundcloud | musicbrainz
Public URL of the track on that service.
#track
objectA catalog track. Identity is carried by isrc and MusicBrainz ids; per-service locations live in sources. Nothing here depends on a single music service.
Properties
artwork
arrayCover art candidates in preference order. Readers fall through on load failure.
maxLength: 10
duration
integerThe length of the track in seconds.
minimum: 0
isrc
stringInternational Standard Recording Code. The primary cross-service identifier; both Spotify and Apple Music return it.
maxLength: 15
recordingMbId
string · uriMusicBrainz recording id, formatted as mbid:<uuid>.
releaseDiscriminant
stringDistinguishing information for release variants, e.g. 'Deluxe Edition', '2023 Remaster'.
maxLength: 1280maxGraphemes: 128
releaseGroupMbId
string · uriMusicBrainz release-group id, formatted as mbid:<uuid>. Used to fetch art from the Cover Art Archive.
releaseMbId
string · uriMusicBrainz release id, formatted as mbid:<uuid>.
releaseName
stringThe name of the release or album.
maxLength: 2560maxGraphemes: 256
sources
arrayWhere this track can be played, one entry per service. Readers pick the entry matching the listener's service, or resolve a missing one from isrc.
maxLength: 20
trackDiscriminant
stringDistinguishing information for track variants, e.g. 'Live at Wembley', 'Radio Edit'.
maxLength: 1280maxGraphemes: 128
The name of the track.
minLength: 1maxLength: 2560maxGraphemes: 256
Similar lexicons
semantic matchLexicons whose schemas describe something close to this one. Check them before publishing a new one that overlaps.
-
dev.openplaylist.playlist
recordA collaborative playlist. Holds metadata only; tracks are dev.openplaylist.playlistItem records that point back at this record with a strong reference, the same shape used by fm.teal.feed.social.playlist and app.rocksky.playlist.
-
This lexicon is in a not officially released state. It is subject to change. | Misc. items related to feeds.
-
fm.plyr.track
recordA music track published to the AT Protocol network.
-
One track in a dev.openplaylist.playlist. Lives in the same repo as the playlist when added through the hosting app; a signed-in contributor may later write one into their own repo pointing at someone else's playlist.
-
Basic view of a playlist, including its metadata