club.userstyles.alpha.userstyle
Schema Diff
+13 -1
Compatibility Analysis
Backward Compatible
Backward compatible. 6 non-breaking changes.
Non-Breaking Changes (6)
- AddedVertex AddedVertex { vertex_id: "club.userstyles.alpha.userstyle:body.homepageUrl" }
- AddedVertex AddedVertex { vertex_id: "club.userstyles.alpha.userstyle:body.license" }
- AddedVertex AddedVertex { vertex_id: "club.userstyles.alpha.userstyle:body.upstreamUrl" }
- AddedEdge AddedEdge { src: "club.userstyles.alpha.userstyle:body", tgt: "club.userstyles.alpha.userstyle:body.homepageUrl", kind: "prop", name: Some("homepageUrl") }
- AddedEdge AddedEdge { src: "club.userstyles.alpha.userstyle:body", tgt: "club.userstyles.alpha.userstyle:body.license", kind: "prop", name: Some("license") }
- AddedEdge AddedEdge { src: "club.userstyles.alpha.userstyle:body", tgt: "club.userstyles.alpha.userstyle:body.upstreamUrl", kind: "prop", name: Some("upstreamUrl") }
Migration Guidance
Added Elements
AddedVertex { vertex_id: "club.userstyles.alpha.userstyle:body.homepageUrl" }AddedVertex { vertex_id: "club.userstyles.alpha.userstyle:body.license" }AddedVertex { vertex_id: "club.userstyles.alpha.userstyle:body.upstreamUrl" }
Additional Notes
- Non-breaking: AddedEdge { src: "club.userstyles.alpha.userstyle:body", tgt: "club.userstyles.alpha.userstyle:body.homepageUrl", kind: "prop", name: Some("homepageUrl") }
- Non-breaking: AddedEdge { src: "club.userstyles.alpha.userstyle:body", tgt: "club.userstyles.alpha.userstyle:body.license", kind: "prop", name: Some("license") }
- Non-breaking: AddedEdge { src: "club.userstyles.alpha.userstyle:body", tgt: "club.userstyles.alpha.userstyle:body.upstreamUrl", kind: "prop", name: Some("upstreamUrl") }
1
1
{
2
2
"$type": "com.atproto.lexicon.schema",
3
3
"defs": {
4
4
"main": {
5
-
"description": "Record declaring a userstyle's contents and metadata.",
5
+
"description": "A UserCSS userstyle.",
6
6
"key": "tid",
7
7
"record": {
8
8
"properties": {
9
9
"createdAt": {
10
10
"format": "datetime",
11
11
"type": "string"
12
12
},
13
13
"description": {
14
14
"maxGraphemes": 300,
15
15
"type": "string"
16
16
},
17
+
"homepageUrl": {
18
+
"format": "uri",
19
+
"type": "string"
20
+
},
21
+
"license": {
22
+
"maxLength": 100,
23
+
"type": "string"
24
+
},
17
25
"previewImage": {
18
26
"accept": [
19
27
"image/*"
20
28
],
21
29
"maxSize": 1000000,
22
30
"type": "blob"
23
31
},
24
32
"sourceCode": {
25
33
"type": "string"
26
34
},
27
35
"title": {
28
36
"maxGraphemes": 140,
29
37
"minGraphemes": 1,
30
38
"type": "string"
31
39
},
32
40
"updatedAt": {
33
41
"format": "datetime",
34
42
"type": "string"
43
+
},
44
+
"upstreamUrl": {
45
+
"format": "uri",
46
+
"type": "string"
35
47
}
36
48
},
37
49
"required": [
38
50
"title",
39
51
"sourceCode",
40
52
"createdAt"
41
53
],
42
54
"type": "object"
43
55
},
44
56
"type": "record"
45
57
}
46
58
},
47
59
"id": "club.userstyles.alpha.userstyle",
48
60
"lexicon": 1
49
61
}