net.botwatch.bot
Schema Diff
+1 -29
Compatibility Analysis
Breaking Changes Detected
10 breaking changes, 2 non-breaking changes.
Breaking Changes (10)
- RemovedVertex RemovedVertex { vertex_id: "net.botwatch.bot#facebookIdentity" }
- RemovedVertex RemovedVertex { vertex_id: "net.botwatch.bot#facebookIdentity.value" }
- RemovedVertex RemovedVertex { vertex_id: "net.botwatch.bot#xIdentity" }
- RemovedVertex RemovedVertex { vertex_id: "net.botwatch.bot#xIdentity.value" }
- RemovedVertex RemovedVertex { vertex_id: "net.botwatch.bot:body.subject:variant1" }
- RemovedVertex RemovedVertex { vertex_id: "net.botwatch.bot:body.subject:variant2" }
- RemovedEdge RemovedEdge { src: "net.botwatch.bot#facebookIdentity", tgt: "net.botwatch.bot#facebookIdentity.value", kind: "prop", name: Some("value") }
- RemovedEdge RemovedEdge { src: "net.botwatch.bot#xIdentity", tgt: "net.botwatch.bot#xIdentity.value", kind: "prop", name: Some("value") }
- RemovedEdge RemovedEdge { src: "net.botwatch.bot:body.subject", tgt: "net.botwatch.bot:body.subject:variant1", kind: "variant", name: Some("#facebookIdentity") }
- RemovedEdge RemovedEdge { src: "net.botwatch.bot:body.subject", tgt: "net.botwatch.bot:body.subject:variant2", kind: "variant", name: Some("#xIdentity") }
Non-Breaking Changes (2)
- ConstraintRemoved ConstraintRemoved { vertex_id: "net.botwatch.bot#facebookIdentity.value", sort: "maxLength" }
- ConstraintRemoved ConstraintRemoved { vertex_id: "net.botwatch.bot#xIdentity.value", sort: "maxLength" }
Migration Guidance
Removed Elements
RemovedVertex { vertex_id: "net.botwatch.bot#facebookIdentity" }RemovedVertex { vertex_id: "net.botwatch.bot#facebookIdentity.value" }RemovedVertex { vertex_id: "net.botwatch.bot#xIdentity" }RemovedVertex { vertex_id: "net.botwatch.bot#xIdentity.value" }RemovedVertex { vertex_id: "net.botwatch.bot:body.subject:variant1" }RemovedVertex { vertex_id: "net.botwatch.bot:body.subject:variant2" }
Constraint Changes
- ConstraintRemoved ConstraintRemoved { vertex_id: "net.botwatch.bot#facebookIdentity.value", sort: "maxLength" }
- ConstraintRemoved ConstraintRemoved { vertex_id: "net.botwatch.bot#xIdentity.value", sort: "maxLength" }
Additional Notes
- Breaking: RemovedEdge { src: "net.botwatch.bot#facebookIdentity", tgt: "net.botwatch.bot#facebookIdentity.value", kind: "prop", name: Some("value") }
- Breaking: RemovedEdge { src: "net.botwatch.bot#xIdentity", tgt: "net.botwatch.bot#xIdentity.value", kind: "prop", name: Some("value") }
- Breaking: RemovedEdge { src: "net.botwatch.bot:body.subject", tgt: "net.botwatch.bot:body.subject:variant1", kind: "variant", name: Some("#facebookIdentity") }
- Breaking: RemovedEdge { src: "net.botwatch.bot:body.subject", tgt: "net.botwatch.bot:body.subject:variant2", kind: "variant", name: Some("#xIdentity") }
1
1
{
2
2
"id": "net.botwatch.bot",
3
3
"defs": {
4
4
"main": {
5
5
"key": "tid",
6
6
"type": "record",
7
7
"record": {
8
8
"type": "object",
9
9
"required": [
10
10
"subject",
11
11
"score",
12
12
"createdAt"
13
13
],
14
14
"properties": {
15
15
"score": {
16
16
"type": "integer",
17
17
"maximum": 100000,
18
18
"minimum": -100000,
19
19
"description": "100000 indicates total confidence that {subject} is a bot. -100000 indicates the opposite."
20
20
},
21
21
"subject": {
22
22
"refs": [
23
-
"#atprotoIdentity",
24
-
"#facebookIdentity",
25
-
"#xIdentity"
23
+
"#atprotoIdentity"
26
24
],
27
25
"type": "union",
28
26
"closed": false
29
27
},
30
28
"createdAt": {
31
29
"type": "string",
32
30
"format": "datetime"
33
31
}
34
32
}
35
33
},
36
34
"description": "A statement about whether the subject is a bot."
37
35
},
38
-
"xIdentity": {
39
-
"type": "object",
40
-
"required": [
41
-
"value"
42
-
],
43
-
"properties": {
44
-
"value": {
45
-
"type": "string",
46
-
"maxLength": 20,
47
-
"description": "An X username."
48
-
}
49
-
}
50
-
},
51
36
"atprotoIdentity": {
52
37
"type": "object",
53
38
"required": [
54
39
"did"
55
40
],
56
41
"properties": {
57
42
"did": {
58
43
"type": "string",
59
44
"format": "did"
60
-
}
61
-
}
62
-
},
63
-
"facebookIdentity": {
64
-
"type": "object",
65
-
"required": [
66
-
"value"
67
-
],
68
-
"properties": {
69
-
"value": {
70
-
"type": "string",
71
-
"maxLength": 100,
72
-
"description": "A Facebook user id."
73
45
}
74
46
}
75
47
}
76
48
},
77
49
"$type": "com.atproto.lexicon.schema",
78
50
"lexicon": 1
79
51
}