A music player that connects to your cloud/distributed storage.
1{
2 "lexicon": 1,
3 "id": "sh.diffuse.output.collaboration",
4 "defs": {
5 "main": {
6 "type": "record",
7 "record": {
8 "type": "object",
9 "required": ["id", "collaborators", "subject"],
10 "properties": {
11 "id": { "type": "string" },
12 "collaborators": {
13 "type": "array",
14 "items": { "type": "ref", "ref": "#collaborator" }
15 },
16 "createdAt": { "type": "string", "format": "datetime" },
17 "subject": {
18 "type": "union",
19 "refs": ["#playlist"]
20 },
21 "updatedAt": { "type": "string", "format": "datetime" }
22 }
23 }
24 },
25 "collaborator": {
26 "type": "object",
27 "required": ["id", "hint"],
28 "properties": {
29 "id": { "type": "string" },
30 "hint": {
31 "type": "string",
32 "description": "Hint at where this collaborator resides and/or what the id represents."
33 }
34 }
35 },
36 "playlist": {
37 "type": "object",
38 "required": ["kind", "playlist"],
39 "properties": {
40 "kind": { "type": "string", "const": "playlist" },
41 "playlist": {
42 "type": "string",
43 "description": "The name of the playlist, matches the `playlist` property of a playlist item"
44 }
45 }
46 }
47 }
48}