app.standard-reader.getAuthor
Schema Diff
+23 -18
Compatibility Analysis
Breaking Changes Detected
12 breaking changes, 12 non-breaking changes.
Breaking Changes (12)
- RemovedVertex RemovedVertex { vertex_id: "app.standard-reader.getAuthor:output.stats.documentCount" }
- RemovedVertex RemovedVertex { vertex_id: "app.standard-reader.getAuthor:output.stats.followingCount" }
- RemovedVertex RemovedVertex { vertex_id: "app.standard-reader.getAuthor:output.stats.likeCount" }
- RemovedVertex RemovedVertex { vertex_id: "app.standard-reader.getAuthor:output.stats.publicationCount" }
- RemovedVertex RemovedVertex { vertex_id: "app.standard-reader.getAuthor:output.stats.subscriberCount" }
- RemovedEdge RemovedEdge { src: "app.standard-reader.getAuthor:output.stats", tgt: "app.standard-reader.getAuthor:output.stats.documentCount", kind: "prop", name: Some("documentCount") }
- RemovedEdge RemovedEdge { src: "app.standard-reader.getAuthor:output.stats", tgt: "app.standard-reader.getAuthor:output.stats.followingCount", kind: "prop", name: Some("followingCount") }
- RemovedEdge RemovedEdge { src: "app.standard-reader.getAuthor:output.stats", tgt: "app.standard-reader.getAuthor:output.stats.likeCount", kind: "prop", name: Some("likeCount") }
- RemovedEdge RemovedEdge { src: "app.standard-reader.getAuthor:output.stats", tgt: "app.standard-reader.getAuthor:output.stats.publicationCount", kind: "prop", name: Some("publicationCount") }
- RemovedEdge RemovedEdge { src: "app.standard-reader.getAuthor:output.stats", tgt: "app.standard-reader.getAuthor:output.stats.subscriberCount", kind: "prop", name: Some("subscriberCount") }
- KindChanged KindChanged { vertex_id: "app.standard-reader.getAuthor:output.stats", old_kind: "object", new_kind: "ref" }
- ConstraintAdded ConstraintAdded { vertex_id: "app.standard-reader.getAuthor:output.stats", sort: "ref", value: "app.standard-reader.getAuthor#stats" }
Non-Breaking Changes (12)
- AddedVertex AddedVertex { vertex_id: "app.standard-reader.getAuthor#stats" }
- AddedVertex AddedVertex { vertex_id: "app.standard-reader.getAuthor#stats.documentCount" }
- AddedVertex AddedVertex { vertex_id: "app.standard-reader.getAuthor#stats.followingCount" }
- AddedVertex AddedVertex { vertex_id: "app.standard-reader.getAuthor#stats.likeCount" }
- AddedVertex AddedVertex { vertex_id: "app.standard-reader.getAuthor#stats.publicationCount" }
- AddedVertex AddedVertex { vertex_id: "app.standard-reader.getAuthor#stats.subscriberCount" }
- AddedEdge AddedEdge { src: "app.standard-reader.getAuthor#stats", tgt: "app.standard-reader.getAuthor#stats.documentCount", kind: "prop", name: Some("documentCount") }
- AddedEdge AddedEdge { src: "app.standard-reader.getAuthor#stats", tgt: "app.standard-reader.getAuthor#stats.followingCount", kind: "prop", name: Some("followingCount") }
- AddedEdge AddedEdge { src: "app.standard-reader.getAuthor#stats", tgt: "app.standard-reader.getAuthor#stats.likeCount", kind: "prop", name: Some("likeCount") }
- AddedEdge AddedEdge { src: "app.standard-reader.getAuthor#stats", tgt: "app.standard-reader.getAuthor#stats.publicationCount", kind: "prop", name: Some("publicationCount") }
- AddedEdge AddedEdge { src: "app.standard-reader.getAuthor#stats", tgt: "app.standard-reader.getAuthor#stats.subscriberCount", kind: "prop", name: Some("subscriberCount") }
- AddedEdge AddedEdge { src: "app.standard-reader.getAuthor:output.stats", tgt: "app.standard-reader.getAuthor#stats", kind: "ref", name: None }
Migration Guidance
Removed Elements
RemovedVertex { vertex_id: "app.standard-reader.getAuthor:output.stats.documentCount" }RemovedVertex { vertex_id: "app.standard-reader.getAuthor:output.stats.followingCount" }RemovedVertex { vertex_id: "app.standard-reader.getAuthor:output.stats.likeCount" }RemovedVertex { vertex_id: "app.standard-reader.getAuthor:output.stats.publicationCount" }RemovedVertex { vertex_id: "app.standard-reader.getAuthor:output.stats.subscriberCount" }
Added Elements
AddedVertex { vertex_id: "app.standard-reader.getAuthor#stats" }AddedVertex { vertex_id: "app.standard-reader.getAuthor#stats.documentCount" }AddedVertex { vertex_id: "app.standard-reader.getAuthor#stats.followingCount" }AddedVertex { vertex_id: "app.standard-reader.getAuthor#stats.likeCount" }AddedVertex { vertex_id: "app.standard-reader.getAuthor#stats.publicationCount" }AddedVertex { vertex_id: "app.standard-reader.getAuthor#stats.subscriberCount" }
Constraint Changes
- ConstraintAdded ConstraintAdded { vertex_id: "app.standard-reader.getAuthor:output.stats", sort: "ref", value: "app.standard-reader.getAuthor#stats" }
Additional Notes
- Breaking: RemovedEdge { src: "app.standard-reader.getAuthor:output.stats", tgt: "app.standard-reader.getAuthor:output.stats.documentCount", kind: "prop", name: Some("documentCount") }
- Breaking: RemovedEdge { src: "app.standard-reader.getAuthor:output.stats", tgt: "app.standard-reader.getAuthor:output.stats.followingCount", kind: "prop", name: Some("followingCount") }
- Breaking: RemovedEdge { src: "app.standard-reader.getAuthor:output.stats", tgt: "app.standard-reader.getAuthor:output.stats.likeCount", kind: "prop", name: Some("likeCount") }
- Breaking: RemovedEdge { src: "app.standard-reader.getAuthor:output.stats", tgt: "app.standard-reader.getAuthor:output.stats.publicationCount", kind: "prop", name: Some("publicationCount") }
- Breaking: RemovedEdge { src: "app.standard-reader.getAuthor:output.stats", tgt: "app.standard-reader.getAuthor:output.stats.subscriberCount", kind: "prop", name: Some("subscriberCount") }
- Breaking: KindChanged { vertex_id: "app.standard-reader.getAuthor:output.stats", old_kind: "object", new_kind: "ref" }
- Non-breaking: AddedEdge { src: "app.standard-reader.getAuthor#stats", tgt: "app.standard-reader.getAuthor#stats.documentCount", kind: "prop", name: Some("documentCount") }
- Non-breaking: AddedEdge { src: "app.standard-reader.getAuthor#stats", tgt: "app.standard-reader.getAuthor#stats.followingCount", kind: "prop", name: Some("followingCount") }
- Non-breaking: AddedEdge { src: "app.standard-reader.getAuthor#stats", tgt: "app.standard-reader.getAuthor#stats.likeCount", kind: "prop", name: Some("likeCount") }
- Non-breaking: AddedEdge { src: "app.standard-reader.getAuthor#stats", tgt: "app.standard-reader.getAuthor#stats.publicationCount", kind: "prop", name: Some("publicationCount") }
- Non-breaking: AddedEdge { src: "app.standard-reader.getAuthor#stats", tgt: "app.standard-reader.getAuthor#stats.subscriberCount", kind: "prop", name: Some("subscriberCount") }
- Non-breaking: AddedEdge { src: "app.standard-reader.getAuthor:output.stats", tgt: "app.standard-reader.getAuthor#stats", kind: "ref", name: None }
1
1
{
2
2
"$type": "com.atproto.lexicon.schema",
3
3
"defs": {
4
4
"main": {
5
5
"description": "Author profile for a DID with aggregate stats.",
6
6
"output": {
7
7
"encoding": "application/json",
8
8
"schema": {
9
9
"properties": {
10
10
"profile": {
11
11
"ref": "app.standard-reader.defs#profileView",
12
12
"type": "ref"
13
13
},
14
14
"stats": {
15
-
"properties": {
16
-
"documentCount": {
17
-
"type": "integer"
18
-
},
19
-
"followingCount": {
20
-
"type": "integer"
21
-
},
22
-
"likeCount": {
23
-
"type": "integer"
24
-
},
25
-
"publicationCount": {
26
-
"type": "integer"
27
-
},
28
-
"subscriberCount": {
29
-
"type": "integer"
30
-
}
31
-
},
32
-
"type": "object"
15
+
"ref": "app.standard-reader.getAuthor#stats",
16
+
"type": "ref"
33
17
}
34
18
},
35
19
"required": [
36
20
"profile",
37
21
"stats"
38
22
],
39
23
"type": "object"
40
24
}
41
25
},
42
26
"parameters": {
43
27
"properties": {
44
28
"did": {
45
29
"format": "did",
46
30
"type": "string"
47
31
}
48
32
},
49
33
"required": [
50
34
"did"
51
35
],
52
36
"type": "params"
53
37
},
54
38
"type": "query"
39
+
},
40
+
"stats": {
41
+
"description": "Aggregate author counts shown on the profile header.",
42
+
"properties": {
43
+
"documentCount": {
44
+
"type": "integer"
45
+
},
46
+
"followingCount": {
47
+
"type": "integer"
48
+
},
49
+
"likeCount": {
50
+
"type": "integer"
51
+
},
52
+
"publicationCount": {
53
+
"type": "integer"
54
+
},
55
+
"subscriberCount": {
56
+
"type": "integer"
57
+
}
58
+
},
59
+
"type": "object"
55
60
}
56
61
},
57
62
"id": "app.standard-reader.getAuthor",
58
63
"lexicon": 1
59
64
}