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 }
67 },
68 "scrobbleViewDetailed": {
69 "type": "object",
70 "properties": {
71 "id": {
72 "type": "string",
73 "description": "The unique identifier of the scrobble."
74 },
75 "user": {
76 "type": "string",
77 "description": "The handle of the user who created the scrobble."
78 },
79 "title": {
80 "type": "string",
81 "description": "The title of the scrobble."
82 },
83 "artist": {
84 "type": "string",
85 "description": "The artist of the song."
86 },
87 "artistUri": {
88 "type": "string",
89 "description": "The URI of the artist.",
90 "format": "at-uri"
91 },
92 "album": {
93 "type": "string",
94 "description": "The album of the song."
95 },
96 "albumUri": {
97 "type": "string",
98 "description": "The URI of the album.",
99 "format": "at-uri"
100 },
101 "cover": {
102 "type": "string",
103 "description": "The album art URL of the song.",
104 "format": "uri"
105 },
106 "date": {
107 "type": "string",
108 "description": "The timestamp when the scrobble was created.",
109 "format": "datetime"
110 },
111 "uri": {
112 "type": "string",
113 "description": "The URI of the scrobble.",
114 "format": "uri"
115 },
116 "sha256": {
117 "type": "string",
118 "description": "The SHA256 hash of the scrobble data."
119 },
120 "listeners": {
121 "type": "integer",
122 "description": "The number of listeners"
123 },
124 "scrobbles": {
125 "type": "integer",
126 "description": "The number of scrobbles for this song"
127 }
128 }
129 }
130 }
131}