club.userstyles.alpha.userstyle
Schema Diff
+8 -1
Compatibility Analysis
Breaking Changes Detected
1 breaking change, 2 non-breaking changes.
Breaking Changes (1)
- KindChanged KindChanged { vertex_id: "club.userstyles.alpha.userstyle:body.sourceCode", old_kind: "string", new_kind: "blob" }
Non-Breaking Changes (2)
- AddedVertex AddedVertex { vertex_id: "club.userstyles.alpha.userstyle:body.ignoreUpdateUrl" }
- AddedEdge AddedEdge { src: "club.userstyles.alpha.userstyle:body", tgt: "club.userstyles.alpha.userstyle:body.ignoreUpdateUrl", kind: "prop", name: Some("ignoreUpdateUrl") }
Migration Guidance
Added Elements
AddedVertex { vertex_id: "club.userstyles.alpha.userstyle:body.ignoreUpdateUrl" }
Additional Notes
- Breaking: KindChanged { vertex_id: "club.userstyles.alpha.userstyle:body.sourceCode", old_kind: "string", new_kind: "blob" }
- Non-breaking: AddedEdge { src: "club.userstyles.alpha.userstyle:body", tgt: "club.userstyles.alpha.userstyle:body.ignoreUpdateUrl", kind: "prop", name: Some("ignoreUpdateUrl") }
1
1
{
2
2
"$type": "com.atproto.lexicon.schema",
3
3
"defs": {
4
4
"main": {
5
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
17
"homepageUrl": {
18
18
"format": "uri",
19
19
"type": "string"
20
20
},
21
+
"ignoreUpdateUrl": {
22
+
"type": "boolean"
23
+
},
21
24
"license": {
22
25
"maxLength": 100,
23
26
"type": "string"
24
27
},
25
28
"previewImage": {
26
29
"accept": [
27
30
"image/*"
28
31
],
29
32
"maxSize": 1000000,
30
33
"type": "blob"
31
34
},
32
35
"sourceCode": {
33
-
"type": "string"
36
+
"accept": [
37
+
"text/plain"
38
+
],
39
+
"maxSize": 5000000,
40
+
"type": "blob"
34
41
},
35
42
"title": {
36
43
"maxGraphemes": 140,
37
44
"minGraphemes": 1,
38
45
"type": "string"
39
46
},
40
47
"updatedAt": {
41
48
"format": "datetime",
42
49
"type": "string"
43
50
},
44
51
"upstreamUrl": {
45
52
"format": "uri",
46
53
"type": "string"
47
54
}
48
55
},
49
56
"required": [
50
57
"title",
51
58
"sourceCode",
52
59
"createdAt"
53
60
],
54
61
"type": "object"
55
62
},
56
63
"type": "record"
57
64
}
58
65
},
59
66
"id": "club.userstyles.alpha.userstyle",
60
67
"lexicon": 1
61
68
}