{"$type":"com.atproto.lexicon.schema","defs":{"albumRef":{"description":"An album, EP, single, or any long-form release.","properties":{"artist":{"ref":"#artistInfo","type":"ref"},"artworkUrl":{"description":"Fallback artwork URL. AppViews should prefer artwork resolved via platformIds against the music-catalogue when available.","format":"uri","type":"string"},"did":{"description":"Optional DID of a verified Tempo record for this album.","format":"did","type":"string"},"platformIds":{"description":"Commercial platform identifiers (Spotify album ID, Apple Music album ID, etc.).","items":{"ref":"#platformId","type":"ref"},"type":"array"},"releaseYear":{"description":"Year of release. For finer precision (full date, time), AppViews should resolve via platformIds against the music-catalogue rather than encoding it here.","maximum":2100,"minimum":1860,"type":"integer"},"standardIds":{"description":"Canonical identifiers (UPC, MusicBrainz release MBID, etc.).","items":{"ref":"#standardId","type":"ref"},"type":"array"},"title":{"maxLength":512,"type":"string"}},"required":["title","artist"],"type":"object"},"artistInfo":{"description":"Artist information embedded as an attribute of a song or album. Distinct from artistRef, which represents an artist as the standalone subject of a post. Notably omits artworkUrl, since artwork in this context belongs to the parent entity (the song or album).","properties":{"did":{"description":"Optional DID of the verified Tempo account for this artist.","format":"did","type":"string"},"name":{"maxLength":256,"type":"string"},"platformIds":{"items":{"ref":"#platformId","type":"ref"},"type":"array"},"standardIds":{"items":{"ref":"#standardId","type":"ref"},"type":"array"}},"required":["name"],"type":"object"},"artistRef":{"description":"A music artist as the standalone subject of a post (no specific release referenced). For artist as an attribute of a song or album, see #artistInfo.","properties":{"artworkUrl":{"description":"Fallback artist photo or avatar URL. AppViews should prefer artwork resolved via platformIds against the music-catalogue when available.","format":"uri","type":"string"},"did":{"description":"Optional DID of the verified Tempo account for this artist.","format":"did","type":"string"},"name":{"maxLength":256,"type":"string"},"platformIds":{"description":"Commercial platform identifiers (Spotify artist ID, Apple Music artist ID, etc.).","items":{"ref":"#platformId","type":"ref"},"type":"array"},"standardIds":{"description":"Canonical identifiers (MusicBrainz artist MBID, etc.).","items":{"ref":"#standardId","type":"ref"},"type":"array"}},"required":["name"],"type":"object"},"authorView":{"description":"AppView projection of an actor profile for use as a post or reply author.","properties":{"avatar":{"description":"Avatar catalog identifier from the author's most recent actor.profile record. Bounds mirror app.tempomusic.actor.profile#catalogAvatar.id.","maxLength":64,"type":"string"},"avatarBackgroundColor":{"description":"Avatar background color palette token from the author's most recent actor.profile record. Bounds mirror app.tempomusic.actor.profile#catalogAvatar.backgroundColor.","maxLength":32,"type":"string"},"did":{"format":"did","type":"string"},"displayName":{"description":"Display name from the author's most recent actor.profile record. Bounds mirror app.tempomusic.actor.profile#displayName.","maxGraphemes":18,"maxLength":180,"type":"string"},"handle":{"description":"The account's handle as verified by the relay, or by the Tempo PDS for an account hosted elsewhere (TEM-772). Absent until the AppView has projected one.","format":"handle","type":"string"}},"required":["did"],"type":"object"},"platformId":{"description":"An identifier issued by a commercial music platform. May change or disappear over time; multiple per entity are possible (regional variants, re-releases, remasters).","properties":{"id":{"maxLength":256,"type":"string"},"provider":{"description":"The platform issuing the identifier. knownValues is informational; AppViews should accept unknown providers and skip them.","knownValues":["spotify","appleMusic","deezer","tidal","amazonMusic","youtubeMusic"],"maxLength":100,"type":"string"},"uri":{"description":"Optional deep-link URI (e.g. spotify:track:xxx, https://music.apple.com/...).","format":"uri","type":"string"}},"required":["provider","id"],"type":"object"},"postView":{"description":"AppView projection of an app.tempomusic.feed.post record.","properties":{"author":{"ref":"#authorView","type":"ref"},"cid":{"format":"cid","type":"string"},"indexedAt":{"description":"Timestamp at which the AppView indexed this post.","format":"datetime","type":"string"},"likeCount":{"description":"Number of likes indexed against this post.","minimum":0,"type":"integer"},"record":{"description":"The underlying app.tempomusic.feed.post record. Carried verbatim with its $type discriminator; lexicon-typed as unknown to match the AT Protocol convention for embedded records.","type":"unknown"},"replyCount":{"description":"Number of replies indexed against this post.","minimum":0,"type":"integer"},"uri":{"format":"at-uri","type":"string"},"viewer":{"description":"Viewer-relative projection. Absent when the request omitted the viewer parameter.","ref":"#viewerState","type":"ref"}},"required":["uri","cid","author","record","indexedAt"],"type":"object"},"replyView":{"description":"AppView projection of an app.tempomusic.feed.reply record.","properties":{"author":{"ref":"#authorView","type":"ref"},"cid":{"format":"cid","type":"string"},"indexedAt":{"description":"Timestamp at which the AppView indexed this reply.","format":"datetime","type":"string"},"likeCount":{"description":"Number of likes indexed against this reply.","minimum":0,"type":"integer"},"record":{"description":"The underlying app.tempomusic.feed.reply record. Carried verbatim with its $type discriminator; lexicon-typed as unknown to match the AT Protocol convention for embedded records.","type":"unknown"},"uri":{"format":"at-uri","type":"string"},"viewer":{"description":"Viewer-relative projection. Absent when the request omitted the viewer parameter.","ref":"#viewerState","type":"ref"}},"required":["uri","cid","author","record","indexedAt"],"type":"object"},"songRef":{"description":"A specific song. Used as a post subject and as an inline music facet target.","properties":{"albumTitle":{"description":"Display hint for the album this song is from. Optional. For posts about the album itself as a subject, use albumRef instead.","maxLength":512,"type":"string"},"artist":{"description":"The performing artist. Carries display name plus optional DID and external identifiers.","ref":"#artistInfo","type":"ref"},"artworkUrl":{"description":"Fallback artwork URL. AppViews should prefer artwork resolved via platformIds against the music-catalogue when available.","format":"uri","type":"string"},"did":{"description":"Optional DID of a verified Tempo record for this song (e.g. owned by a verified artist account).","format":"did","type":"string"},"platformIds":{"description":"Commercial platform identifiers (Spotify track ID, Apple Music ID, etc.).","items":{"ref":"#platformId","type":"ref"},"type":"array"},"releaseYear":{"description":"Year of release. For finer precision (full date, time), AppViews should resolve via platformIds against the music-catalogue rather than encoding it here.","maximum":2100,"minimum":1860,"type":"integer"},"standardIds":{"description":"Canonical identifiers (ISRC, MusicBrainz recording MBID, etc.).","items":{"ref":"#standardId","type":"ref"},"type":"array"},"title":{"maxLength":512,"type":"string"}},"required":["title","artist"],"type":"object"},"standardId":{"description":"A canonical, normative identifier issued by a standards body or community-curated database. Stable across platforms; intended for cross-service resolution and deduplication.","properties":{"format":{"description":"The identifier format. knownValues is informational; AppViews should accept unknown formats and skip them.","knownValues":["isrc","iswc","upc","ean","musicBrainz"],"maxLength":100,"type":"string"},"value":{"maxLength":128,"type":"string"}},"required":["format","value"],"type":"object"},"viewerState":{"description":"Per-viewer projection on a post or reply view.","properties":{"like":{"description":"AT-URI of the viewer's like record on this subject, when one exists.","format":"at-uri","type":"string"}},"type":"object"}},"id":"app.tempomusic.feed.defs","lexicon":1}