forked from
rocksky.app/rocksky
A decentralized music tracking and discovery platform built on AT Protocol 馃幍
1{
2 "lexicon": 1,
3 "id": "app.rocksky.song.defs",
4 "defs": {
5 "songViewBasic": {
6 "type": "object",
7 "properties": {
8 "id": {
9 "type": "string",
10 "description": "The unique identifier of the song."
11 },
12 "title": {
13 "type": "string",
14 "description": "The title of the song."
15 },
16 "artist": {
17 "type": "string",
18 "description": "The artist of the song."
19 },
20 "albumArtist": {
21 "type": "string",
22 "description": "The artist of the album the song belongs to."
23 },
24 "albumArt": {
25 "type": "string",
26 "description": "The URL of the album art image.",
27 "format": "uri"
28 },
29 "uri": {
30 "type": "string",
31 "description": "The URI of the song.",
32 "format": "at-uri"
33 },
34 "album": {
35 "type": "string",
36 "description": "The album of the song."
37 },
38 "duration": {
39 "type": "integer",
40 "description": "The duration of the song in milliseconds."
41 },
42 "trackNumber": {
43 "type": "integer",
44 "description": "The track number of the song in the album."
45 },
46 "discNumber": {
47 "type": "integer",
48 "description": "The disc number of the song in the album."
49 },
50 "playCount": {
51 "type": "integer",
52 "description": "The number of times the song has been played.",
53 "minimum": 0
54 },
55 "uniqueListeners": {
56 "type": "integer",
57 "description": "The number of unique listeners who have played the song.",
58 "minimum": 0
59 },
60 "albumUri": {
61 "type": "string",
62 "description": "The URI of the album the song belongs to.",
63 "format": "at-uri"
64 },
65 "artistUri": {
66 "type": "string",
67 "description": "The URI of the artist of the song.",
68 "format": "at-uri"
69 },
70 "sha256": {
71 "type": "string",
72 "description": "The SHA256 hash of the song."
73 },
74 "createdAt": {
75 "type": "string",
76 "description": "The timestamp when the song was created.",
77 "format": "datetime"
78 }
79 }
80 },
81 "songViewDetailed": {
82 "type": "object",
83 "properties": {
84 "id": {
85 "type": "string",
86 "description": "The unique identifier of the song."
87 },
88 "title": {
89 "type": "string",
90 "description": "The title of the song."
91 },
92 "artist": {
93 "type": "string",
94 "description": "The artist of the song."
95 },
96 "albumArtist": {
97 "type": "string",
98 "description": "The artist of the album the song belongs to."
99 },
100 "albumArt": {
101 "type": "string",
102 "description": "The URL of the album art image.",
103 "format": "uri"
104 },
105 "uri": {
106 "type": "string",
107 "description": "The URI of the song.",
108 "format": "at-uri"
109 },
110 "album": {
111 "type": "string",
112 "description": "The album of the song."
113 },
114 "duration": {
115 "type": "integer",
116 "description": "The duration of the song in milliseconds."
117 },
118 "trackNumber": {
119 "type": "integer",
120 "description": "The track number of the song in the album."
121 },
122 "discNumber": {
123 "type": "integer",
124 "description": "The disc number of the song in the album."
125 },
126 "playCount": {
127 "type": "integer",
128 "description": "The number of times the song has been played.",
129 "minimum": 0
130 },
131 "uniqueListeners": {
132 "type": "integer",
133 "description": "The number of unique listeners who have played the song.",
134 "minimum": 0
135 },
136 "albumUri": {
137 "type": "string",
138 "description": "The URI of the album the song belongs to.",
139 "format": "at-uri"
140 },
141 "artistUri": {
142 "type": "string",
143 "description": "The URI of the artist of the song.",
144 "format": "at-uri"
145 },
146 "sha256": {
147 "type": "string",
148 "description": "The SHA256 hash of the song."
149 },
150 "createdAt": {
151 "type": "string",
152 "description": "The timestamp when the song was created.",
153 "format": "datetime"
154 }
155 }
156 }
157 }
158}