mov.danabra.ProfileTab
Schema Diff
+13 -2
Compatibility Analysis
Breaking Changes Detected
3 breaking changes, 2 non-breaking changes.
Breaking Changes (3)
- ConstraintAdded ConstraintAdded { vertex_id: "mov.danabra.ProfileTab:input.tab", sort: "maxLength", value: "256" }
- ConstraintAdded ConstraintAdded { vertex_id: "mov.danabra.ProfileTab:input.tab", sort: "default", value: "posts_and_author_threads" }
- ConstraintAdded ConstraintAdded { vertex_id: "mov.danabra.ProfileTab:input.limit", sort: "default", value: "10" }
Non-Breaking Changes (2)
- AddedVertex AddedVertex { vertex_id: "mov.danabra.ProfileTab:input.limit" }
- AddedEdge AddedEdge { src: "mov.danabra.ProfileTab:input", tgt: "mov.danabra.ProfileTab:input.limit", kind: "prop", name: Some("limit") }
Migration Guidance
Added Elements
AddedVertex { vertex_id: "mov.danabra.ProfileTab:input.limit" }
Constraint Changes
- ConstraintAdded ConstraintAdded { vertex_id: "mov.danabra.ProfileTab:input.limit", sort: "default", value: "10" }
- ConstraintAdded ConstraintAdded { vertex_id: "mov.danabra.ProfileTab:input.tab", sort: "maxLength", value: "256" }
- ConstraintAdded ConstraintAdded { vertex_id: "mov.danabra.ProfileTab:input.tab", sort: "default", value: "posts_and_author_threads" }
Additional Notes
- Non-breaking: AddedEdge { src: "mov.danabra.ProfileTab:input", tgt: "mov.danabra.ProfileTab:input.limit", kind: "prop", name: Some("limit") }
1
1
{
2
2
"id": "mov.danabra.ProfileTab",
3
3
"defs": {
4
4
"main": {
5
5
"type": "procedure",
6
6
"input": {
7
7
"schema": {
8
8
"type": "object",
9
9
"required": [
10
10
"uri"
11
11
],
12
12
"properties": {
13
13
"tab": {
14
-
"type": "string"
14
+
"type": "string",
15
+
"default": "posts_and_author_threads",
16
+
"maxLength": 256,
17
+
"knownValues": [
18
+
"posts_and_author_threads",
19
+
"posts_and_replies"
20
+
]
15
21
},
16
22
"uri": {
17
23
"type": "string",
18
24
"format": "at-uri"
25
+
},
26
+
"limit": {
27
+
"type": "integer",
28
+
"default": 10
19
29
}
20
30
}
21
31
},
22
32
"encoding": "application/json"
23
33
},
24
34
"output": {
25
35
"schema": {
26
36
"ref": "at.inlay.defs#response",
27
37
"type": "ref"
28
38
},
29
39
"encoding": "application/json"
30
-
}
40
+
},
41
+
"description": "Render a profile tab"
31
42
}
32
43
},
33
44
"$type": "com.atproto.lexicon.schema",
34
45
"lexicon": 1
35
46
}