dev.tsunagite.listCharts
Schema Diff
+30 -4
Compatibility Analysis
Breaking Changes Detected
2 breaking changes, 7 non-breaking changes.
Breaking Changes (2)
- RequiredEdgeAdded RequiredEdgeAdded { vertex_id: "dev.tsunagite.listCharts:output", src: "dev.tsunagite.listCharts:output", tgt: "dev.tsunagite.listCharts:output.charts", kind: "prop", name: Some("charts") }
- KindChanged KindChanged { vertex_id: "dev.tsunagite.listCharts:output", old_kind: "array", new_kind: "object" }
Non-Breaking Changes (7)
- AddedVertex AddedVertex { vertex_id: "dev.tsunagite.chart" }
- AddedVertex AddedVertex { vertex_id: "dev.tsunagite.listCharts:output.charts" }
- AddedVertex AddedVertex { vertex_id: "dev.tsunagite.listCharts:output.charts:items" }
- AddedVertex AddedVertex { vertex_id: "dev.tsunagite.listCharts:output.cursor" }
- AddedEdge AddedEdge { src: "dev.tsunagite.listCharts:output", tgt: "dev.tsunagite.listCharts:output.cursor", kind: "prop", name: Some("cursor") }
- AddedEdge AddedEdge { src: "dev.tsunagite.listCharts:output.charts", tgt: "dev.tsunagite.listCharts:output.charts:items", kind: "items", name: None }
- AddedEdge AddedEdge { src: "dev.tsunagite.listCharts:output.charts:items", tgt: "dev.tsunagite.chart", kind: "ref", name: None }
Migration Guidance
Added Elements
AddedVertex { vertex_id: "dev.tsunagite.chart" }AddedVertex { vertex_id: "dev.tsunagite.listCharts:output.charts" }AddedVertex { vertex_id: "dev.tsunagite.listCharts:output.charts:items" }AddedVertex { vertex_id: "dev.tsunagite.listCharts:output.cursor" }
Additional Notes
- Breaking: RequiredEdgeAdded { vertex_id: "dev.tsunagite.listCharts:output", src: "dev.tsunagite.listCharts:output", tgt: "dev.tsunagite.listCharts:output.charts", kind: "prop", name: Some("charts") }
- Breaking: KindChanged { vertex_id: "dev.tsunagite.listCharts:output", old_kind: "array", new_kind: "object" }
- Non-breaking: AddedEdge { src: "dev.tsunagite.listCharts:output", tgt: "dev.tsunagite.listCharts:output.cursor", kind: "prop", name: Some("cursor") }
- Non-breaking: AddedEdge { src: "dev.tsunagite.listCharts:output.charts", tgt: "dev.tsunagite.listCharts:output.charts:items", kind: "items", name: None }
- Non-breaking: AddedEdge { src: "dev.tsunagite.listCharts:output.charts:items", tgt: "dev.tsunagite.chart", kind: "ref", name: None }
1
1
{
2
2
"$type": "com.atproto.lexicon.schema",
3
3
"defs": {
4
4
"main": {
5
5
"description": "Batch chart fetch",
6
6
"output": {
7
7
"encoding": "application/json",
8
8
"schema": {
9
-
"items": {
10
-
"ref": "dev.tsunagite.chart",
11
-
"type": "ref"
9
+
"properties": {
10
+
"charts": {
11
+
"items": {
12
+
"ref": "dev.tsunagite.chart",
13
+
"type": "ref"
14
+
},
15
+
"type": "array"
16
+
},
17
+
"cursor": {
18
+
"description": "Opaque string - pass back in a future request as the `cursor` value",
19
+
"type": "string"
20
+
}
12
21
},
13
-
"type": "array"
22
+
"required": [
23
+
"charts"
24
+
],
25
+
"type": "object"
14
26
}
15
27
},
16
28
"parameters": {
17
29
"properties": {
30
+
"cursor": {
31
+
"description": "Opaque string - receive from a previous request as the `cursor` value",
32
+
"type": "string"
33
+
},
18
34
"game": {
19
35
"description": "The game to find chart records for.",
20
36
"format": "at-uri",
21
37
"type": "string"
22
38
},
39
+
"limit": {
40
+
"default": 20,
41
+
"description": "How many records to return.",
42
+
"maximum": 100,
43
+
"type": "integer"
44
+
},
23
45
"owner": {
24
46
"description": "The handle or DID of the account to filter results to.",
25
47
"format": "at-identifier",
26
48
"type": "string"
27
49
},
28
50
"song": {
29
51
"description": "The song to find chart records for.",
30
52
"format": "at-uri",
31
53
"type": "string"
32
54
}
33
55
},
56
+
"required": [
57
+
"game",
58
+
"song"
59
+
],
34
60
"type": "params"
35
61
},
36
62
"type": "query"
37
63
}
38
64
},
39
65
"id": "dev.tsunagite.listCharts",
40
66
"lexicon": 1
41
67
}