app.rocksky.scrobble
Schema Diff
+6 -1
Compatibility Analysis
Backward Compatible
Backward compatible. 2 non-breaking changes.
Non-Breaking Changes (2)
- AddedVertex AddedVertex { vertex_id: "app.rocksky.scrobble:body.isrc" }
- AddedEdge AddedEdge { src: "app.rocksky.scrobble:body", tgt: "app.rocksky.scrobble:body.isrc", kind: "prop", name: Some("isrc") }
Migration Guidance
Added Elements
AddedVertex { vertex_id: "app.rocksky.scrobble:body.isrc" }
Additional Notes
- Non-breaking: AddedEdge { src: "app.rocksky.scrobble:body", tgt: "app.rocksky.scrobble:body.isrc", kind: "prop", name: Some("isrc") }
1
1
{
2
2
"$type": "com.atproto.lexicon.schema",
3
3
"defs": {
4
4
"main": {
5
5
"description": "A declaration of a scrobble.",
6
6
"key": "tid",
7
7
"record": {
8
8
"properties": {
9
9
"album": {
10
10
"description": "The album of the song.",
11
11
"maxLength": 256,
12
12
"minLength": 1,
13
13
"type": "string"
14
14
},
15
15
"albumArt": {
16
16
"accept": [
17
17
"image/png",
18
18
"image/jpeg"
19
19
],
20
20
"description": "The album art of the song.",
21
21
"maxSize": 2000000,
22
22
"type": "blob"
23
23
},
24
24
"albumArtUrl": {
25
25
"description": "The URL of the album art of the song.",
26
26
"format": "uri",
27
27
"type": "string"
28
28
},
29
29
"albumArtist": {
30
30
"description": "The album artist of the song.",
31
31
"maxLength": 256,
32
32
"minLength": 1,
33
33
"type": "string"
34
34
},
35
35
"appleMusicLink": {
36
36
"description": "The Apple Music link of the song.",
37
37
"format": "uri",
38
38
"type": "string"
39
39
},
40
40
"artist": {
41
41
"description": "The artist of the song.",
42
42
"maxLength": 256,
43
43
"minLength": 1,
44
44
"type": "string"
45
45
},
46
46
"artists": {
47
47
"description": "The artists of the song with MusicBrainz IDs.",
48
48
"items": {
49
49
"ref": "app.rocksky.artist.defs#artistMbid",
50
50
"type": "ref"
51
51
},
52
52
"type": "array"
53
53
},
54
54
"composer": {
55
55
"description": "The composer of the song.",
56
56
"maxLength": 256,
57
57
"type": "string"
58
58
},
59
59
"copyrightMessage": {
60
60
"description": "The copyright message of the song.",
61
61
"maxLength": 256,
62
62
"type": "string"
63
63
},
64
64
"createdAt": {
65
65
"description": "The date when the song was created.",
66
66
"format": "datetime",
67
67
"type": "string"
68
68
},
69
69
"discNumber": {
70
70
"description": "The disc number of the song in the album.",
71
71
"minimum": 1,
72
72
"type": "integer"
73
73
},
74
74
"duration": {
75
-
"description": "The duration of the song in seconds.",
75
+
"description": "The duration of the song in milliseconds.",
76
76
"minimum": 1,
77
77
"type": "integer"
78
78
},
79
79
"genre": {
80
80
"description": "The genre of the song.",
81
81
"maxLength": 256,
82
82
"type": "string"
83
83
},
84
+
"isrc": {
85
+
"description": "The International Standard Recording Code (ISRC) of the song.",
86
+
"maxLength": 32,
87
+
"type": "string"
88
+
},
84
89
"label": {
85
90
"description": "The label of the song.",
86
91
"maxLength": 256,
87
92
"type": "string"
88
93
},
89
94
"lyrics": {
90
95
"description": "The lyrics of the song.",
91
96
"maxLength": 10000,
92
97
"type": "string"
93
98
},
94
99
"mbid": {
95
100
"description": "The MusicBrainz ID of the song.",
96
101
"type": "string"
97
102
},
98
103
"releaseDate": {
99
104
"description": "The release date of the song.",
100
105
"format": "datetime",
101
106
"type": "string"
102
107
},
103
108
"spotifyLink": {
104
109
"description": "The Spotify link of the song.",
105
110
"format": "uri",
106
111
"type": "string"
107
112
},
108
113
"tags": {
109
114
"description": "The tags of the song.",
110
115
"items": {
111
116
"maxLength": 256,
112
117
"minLength": 1,
113
118
"type": "string"
114
119
},
115
120
"type": "array"
116
121
},
117
122
"tidalLink": {
118
123
"description": "The Tidal link of the song.",
119
124
"format": "uri",
120
125
"type": "string"
121
126
},
122
127
"title": {
123
128
"description": "The title of the song.",
124
129
"maxLength": 512,
125
130
"minLength": 1,
126
131
"type": "string"
127
132
},
128
133
"trackNumber": {
129
134
"description": "The track number of the song in the album.",
130
135
"minimum": 1,
131
136
"type": "integer"
132
137
},
133
138
"wiki": {
134
139
"description": "Informations about the song",
135
140
"maxLength": 10000,
136
141
"type": "string"
137
142
},
138
143
"year": {
139
144
"description": "The year the song was released.",
140
145
"type": "integer"
141
146
},
142
147
"youtubeLink": {
143
148
"description": "The YouTube link of the song.",
144
149
"format": "uri",
145
150
"type": "string"
146
151
}
147
152
},
148
153
"required": [
149
154
"title",
150
155
"artist",
151
156
"album",
152
157
"albumArtist",
153
158
"duration",
154
159
"createdAt"
155
160
],
156
161
"type": "object"
157
162
},
158
163
"type": "record"
159
164
}
160
165
},
161
166
"id": "app.rocksky.scrobble",
162
167
"lexicon": 1
163
168
}