site.exosphere.moderation
Schema Diff
+2 -6
Compatibility Analysis
Breaking Changes Detected
3 breaking changes, 0 non-breaking changes.
Breaking Changes (3)
- RequiredEdgeRemoved RequiredEdgeRemoved { vertex_id: "site.exosphere.moderation:body", src: "site.exosphere.moderation:body", tgt: "site.exosphere.moderation:body.createdAt", kind: "prop", name: Some("createdAt") }
- RemovedVertex RemovedVertex { vertex_id: "site.exosphere.moderation:body.createdAt" }
- ConstraintAdded ConstraintAdded { vertex_id: "site.exosphere.moderation:body.action", sort: "maxLength", value: "128" }
Migration Guidance
Removed Elements
RemovedVertex { vertex_id: "site.exosphere.moderation:body.createdAt" }
Constraint Changes
- ConstraintAdded ConstraintAdded { vertex_id: "site.exosphere.moderation:body.action", sort: "maxLength", value: "128" }
Additional Notes
- Breaking: RequiredEdgeRemoved { vertex_id: "site.exosphere.moderation:body", src: "site.exosphere.moderation:body", tgt: "site.exosphere.moderation:body.createdAt", kind: "prop", name: Some("createdAt") }
1
1
{
2
2
"$type": "com.atproto.lexicon.schema",
3
3
"defs": {
4
4
"main": {
5
5
"description": "A moderation action taken by a Sphere admin/owner. Published on the moderator's PDS.",
6
6
"key": "tid",
7
7
"record": {
8
8
"properties": {
9
9
"action": {
10
10
"knownValues": [
11
11
"remove"
12
12
],
13
-
"type": "string"
14
-
},
15
-
"createdAt": {
16
-
"format": "datetime",
13
+
"maxLength": 128,
17
14
"type": "string"
18
15
},
19
16
"sphere": {
20
17
"description": "AT URI of the Sphere.",
21
18
"format": "at-uri",
22
19
"type": "string"
23
20
},
24
21
"subject": {
25
22
"description": "AT URI of the content being moderated.",
26
23
"format": "at-uri",
27
24
"type": "string"
28
25
}
29
26
},
30
27
"required": [
31
28
"sphere",
32
29
"subject",
33
-
"action",
34
-
"createdAt"
30
+
"action"
35
31
],
36
32
"type": "object"
37
33
},
38
34
"type": "record"
39
35
}
40
36
},
41
37
"id": "site.exosphere.moderation",
42
38
"lexicon": 1
43
39
}