{
"id": "app.rocksky.artist.defs",
"defs": {
"artistMbid": {
"type": "object",
"properties": {
"mbid": {
"type": "string",
"description": "The MusicBrainz Identifier (MBID) of the artist."
},
"name": {
"type": "string",
"maxLength": 256,
"minLength": 1,
"description": "The name of the artist."
}
}
},
"songViewBasic": {
"type": "object",
"properties": {
"uri": {
"type": "string",
"format": "at-uri",
"description": "The URI of the song."
},
"title": {
"type": "string",
"description": "The title of the song."
},
"playCount": {
"type": "integer",
"minimum": 0,
"description": "The number of times the song has been played."
}
}
},
"artistViewBasic": {
"type": "object",
"properties": {
"id": {
"type": "string",
"description": "The unique identifier of the artist."
},
"uri": {
"type": "string",
"format": "at-uri",
"description": "The URI of the artist."
},
"name": {
"type": "string",
"description": "The name of the artist."
},
"tags": {
"type": "array",
"items": {
"type": "string"
}
},
"sha256": {
"type": "string",
"description": "The SHA256 hash of the artist."
},
"picture": {
"type": "string",
"description": "The picture of the artist."
},
"playCount": {
"type": "integer",
"minimum": 0,
"description": "The number of times the artist has been played."
},
"uniqueListeners": {
"type": "integer",
"minimum": 0,
"description": "The number of unique listeners who have played the artist."
}
}
},
"listenerViewBasic": {
"type": "object",
"properties": {
"id": {
"type": "string",
"description": "The unique identifier of the actor."
},
"did": {
"type": "string",
"description": "The DID of the listener."
},
"rank": {
"type": "integer",
"minimum": 1,
"description": "The rank of the listener among all listeners of the artist."
},
"avatar": {
"type": "string",
"format": "uri",
"description": "The URL of the listener's avatar image."
},
"handle": {
"type": "string",
"description": "The handle of the listener."
},
"totalPlays": {
"type": "integer",
"minimum": 0,
"description": "The total number of plays by the listener."
},
"displayName": {
"type": "string",
"description": "The display name of the listener."
},
"mostListenedSong": {
"ref": "app.rocksky.artist.defs#songViewBasic",
"type": "ref"
}
}
},
"artistViewDetailed": {
"type": "object",
"properties": {
"id": {
"type": "string",
"description": "The unique identifier of the artist."
},
"uri": {
"type": "string",
"format": "at-uri",
"description": "The URI of the artist."
},
"name": {
"type": "string",
"description": "The name of the artist."
},
"tags": {
"type": "array",
"items": {
"type": "string"
}
},
"sha256": {
"type": "string",
"description": "The SHA256 hash of the artist."
},
"picture": {
"type": "string",
"description": "The picture of the artist."
},
"playCount": {
"type": "integer",
"minimum": 0,
"description": "The number of times the artist has been played."
},
"uniqueListeners": {
"type": "integer",
"minimum": 0,
"description": "The number of unique listeners who have played the artist."
}
}
}
},
"$type": "com.atproto.lexicon.schema",
"lexicon": 1
}