fyi.opensocial.siteDraft
Schema Diff
+12 -0
Compatibility Analysis
Breaking Changes Detected
1 breaking change, 2 non-breaking changes.
Breaking Changes (1)
- ConstraintAdded ConstraintAdded { vertex_id: "fyi.opensocial.siteDraft:body.menu:items", sort: "maxLength", value: "200" }
Non-Breaking Changes (2)
- AddedVertex AddedVertex { vertex_id: "fyi.opensocial.siteDraft:body.updates" }
- AddedEdge AddedEdge { src: "fyi.opensocial.siteDraft:body", tgt: "fyi.opensocial.siteDraft:body.updates", kind: "prop", name: Some("updates") }
Migration Guidance
Added Elements
AddedVertex { vertex_id: "fyi.opensocial.siteDraft:body.updates" }
Constraint Changes
- ConstraintAdded ConstraintAdded { vertex_id: "fyi.opensocial.siteDraft:body.menu:items", sort: "maxLength", value: "200" }
Additional Notes
- Non-breaking: AddedEdge { src: "fyi.opensocial.siteDraft:body", tgt: "fyi.opensocial.siteDraft:body.updates", kind: "prop", name: Some("updates") }
1
1
{
2
2
"$type": "com.atproto.lexicon.schema",
3
3
"defs": {
4
4
"main": {
5
5
"description": "A member's draft of the group's site, keyed by the member's DID: what an AI app connected as them changed, kept apart from the live site (fyi.opensocial.site) until they publish it. Shaped as the site is.",
6
6
"key": "any",
7
7
"record": {
8
8
"properties": {
9
9
"channels": {
10
10
"items": {
11
11
"type": "unknown"
12
12
},
13
13
"type": "array"
14
14
},
15
15
"files": {
16
16
"items": {
17
17
"type": "unknown"
18
18
},
19
19
"type": "array"
20
20
},
21
21
"menu": {
22
22
"items": {
23
+
"maxLength": 200,
23
24
"type": "string"
24
25
},
26
+
"maxLength": 50,
25
27
"type": "array"
26
28
},
27
29
"theme": {
28
30
"type": "unknown"
29
31
},
30
32
"updatedAt": {
31
33
"format": "datetime",
32
34
"type": "string"
35
+
},
36
+
"updates": {
37
+
"knownValues": [
38
+
"now",
39
+
"day",
40
+
"week",
41
+
"ask"
42
+
],
43
+
"maxLength": 16,
44
+
"type": "string"
33
45
}
34
46
},
35
47
"required": [
36
48
"channels",
37
49
"files",
38
50
"updatedAt"
39
51
],
40
52
"type": "object"
41
53
},
42
54
"type": "record"
43
55
}
44
56
},
45
57
"id": "fyi.opensocial.siteDraft",
46
58
"lexicon": 1
47
59
}