forked from
rocksky.app/rocksky
A decentralized music tracking and discovery platform built on AT Protocol 馃幍
1{
2 "lexicon": 1,
3 "id": "app.rocksky.scrobble.defs",
4 "defs": {
5 "scrobbleViewBasic": {
6 "type": "object",
7 "properties": {
8 "id": {
9 "type": "string",
10 "description": "The unique identifier of the scrobble."
11 },
12 "user": {
13 "type": "string",
14 "description": "The handle of the user who created the scrobble."
15 },
16 "userDisplayName": {
17 "type": "string",
18 "description": "The display name of the user who created the scrobble."
19 },
20 "userAvatar": {
21 "type": "string",
22 "description": "The avatar URL of the user who created the scrobble.",
23 "format": "uri"
24 },
25 "title": {
26 "type": "string",
27 "description": "The title of the scrobble."
28 },
29 "artist": {
30 "type": "string",
31 "description": "The artist of the song."
32 },
33 "artistUri": {
34 "type": "string",
35 "description": "The URI of the artist.",
36 "format": "at-uri"
37 },
38 "album": {
39 "type": "string",
40 "description": "The album of the song."
41 },
42 "albumUri": {
43 "type": "string",
44 "description": "The URI of the album.",
45 "format": "at-uri"
46 },
47 "cover": {
48 "type": "string",
49 "description": "The album art URL of the song.",
50 "format": "uri"
51 },
52 "date": {
53 "type": "string",
54 "description": "The timestamp when the scrobble was created.",
55 "format": "datetime"
56 },
57 "uri": {
58 "type": "string",
59 "description": "The URI of the scrobble.",
60 "format": "uri"
61 },
62 "sha256": {
63 "type": "string",
64 "description": "The SHA256 hash of the scrobble data."
65 },
66 "liked": {
67 "type": "boolean"
68 },
69 "likesCount": {
70 "type": "integer"
71 }
72 }
73 },
74 "scrobbleViewDetailed": {
75 "type": "object",
76 "properties": {
77 "id": {
78 "type": "string",
79 "description": "The unique identifier of the scrobble."
80 },
81 "user": {
82 "type": "string",
83 "description": "The handle of the user who created the scrobble."
84 },
85 "title": {
86 "type": "string",
87 "description": "The title of the scrobble."
88 },
89 "artist": {
90 "type": "string",
91 "description": "The artist of the song."
92 },
93 "artistUri": {
94 "type": "string",
95 "description": "The URI of the artist.",
96 "format": "at-uri"
97 },
98 "album": {
99 "type": "string",
100 "description": "The album of the song."
101 },
102 "albumUri": {
103 "type": "string",
104 "description": "The URI of the album.",
105 "format": "at-uri"
106 },
107 "cover": {
108 "type": "string",
109 "description": "The album art URL of the song.",
110 "format": "uri"
111 },
112 "date": {
113 "type": "string",
114 "description": "The timestamp when the scrobble was created.",
115 "format": "datetime"
116 },
117 "uri": {
118 "type": "string",
119 "description": "The URI of the scrobble.",
120 "format": "uri"
121 },
122 "sha256": {
123 "type": "string",
124 "description": "The SHA256 hash of the scrobble data."
125 },
126 "listeners": {
127 "type": "integer",
128 "description": "The number of listeners"
129 },
130 "scrobbles": {
131 "type": "integer",
132 "description": "The number of scrobbles for this song"
133 },
134 "artists": {
135 "type": "array",
136 "items": {
137 "type": "ref",
138 "ref": "app.rocksky.artist.defs#artistViewBasic"
139 }
140 }
141 }
142 }
143 }
144}