forked from
rocksky.app/rocksky
A decentralized music tracking and discovery platform built on AT Protocol 馃幍
1{
2 "lexicon": 1,
3 "id": "app.rocksky.playlist",
4 "defs": {
5 "main": {
6 "type": "record",
7 "description": "A declaration of a playlist.",
8 "key": "tid",
9 "record": {
10 "type": "object",
11 "required": [
12 "name",
13 "createdAt"
14 ],
15 "properties": {
16 "name": {
17 "type": "string",
18 "description": "The name of the playlist.",
19 "minLength": 1,
20 "maxLength": 512
21 },
22 "description": {
23 "type": "string",
24 "description": "The playlist description.",
25 "minLength": 1,
26 "maxLength": 256
27 },
28 "picture": {
29 "type": "blob",
30 "description": "The picture of the playlist.",
31 "accept": [
32 "image/png",
33 "image/jpeg"
34 ],
35 "maxSize": 2000000
36 },
37 "tracks": {
38 "type": "array",
39 "description": "The tracks in the playlist.",
40 "items": {
41 "type": "ref",
42 "ref": "app.rocksky.song#record"
43 }
44 },
45 "createdAt": {
46 "type": "string",
47 "description": "The date the playlist was created.",
48 "format": "datetime"
49 },
50 "spotifyLink": {
51 "type": "string",
52 "description": "The Spotify link of the playlist."
53 },
54 "tidalLink": {
55 "type": "string",
56 "description": "The Tidal link of the playlist."
57 },
58 "youtubeLink": {
59 "type": "string",
60 "description": "The YouTube link of the playlist."
61 },
62 "appleMusicLink": {
63 "type": "string",
64 "description": "The Apple Music link of the playlist."
65 }
66 }
67 }
68 }
69 }
70}