net.botwatch.bot
Schema Diff
+0 -26
Compatibility Analysis
Breaking Changes Detected
6 breaking changes, 2 non-breaking changes.
Breaking Changes (6)
- 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" }
- 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") }
Non-Breaking Changes (2)
- ConstraintRemoved ConstraintRemoved { vertex_id: "net.botwatch.bot#xIdentity.value", sort: "maxLength" }
- ConstraintRemoved ConstraintRemoved { vertex_id: "net.botwatch.bot#facebookIdentity.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" }
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") }
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
23
"#atprotoIdentity",
24
24
"#facebookIdentity",
25
25
"#xIdentity"
26
26
],
27
27
"type": "union",
28
28
"closed": false
29
29
},
30
30
"createdAt": {
31
31
"type": "string",
32
32
"format": "datetime"
33
33
}
34
34
}
35
35
},
36
36
"description": "A statement about whether the subject is a bot."
37
37
},
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
38
"atprotoIdentity": {
52
39
"type": "object",
53
40
"required": [
54
41
"did"
55
42
],
56
43
"properties": {
57
44
"did": {
58
45
"type": "string",
59
46
"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
47
}
74
48
}
75
49
}
76
50
},
77
51
"$type": "com.atproto.lexicon.schema",
78
52
"lexicon": 1
79
53
}