fyi.opensocial.putPeopleChannel
Schema Diff
+10 -9
Compatibility Analysis
Breaking Changes Detected
6 breaking changes, 6 non-breaking changes.
Breaking Changes (6)
- RemovedVertex RemovedVertex { vertex_id: "fyi.opensocial.channel.about#page" }
- RemovedVertex RemovedVertex { vertex_id: "fyi.opensocial.putPeopleChannel:input.pages" }
- RemovedVertex RemovedVertex { vertex_id: "fyi.opensocial.putPeopleChannel:input.pages:items" }
- RemovedEdge RemovedEdge { src: "fyi.opensocial.putPeopleChannel:input", tgt: "fyi.opensocial.putPeopleChannel:input.pages", kind: "prop", name: Some("pages") }
- RemovedEdge RemovedEdge { src: "fyi.opensocial.putPeopleChannel:input.pages", tgt: "fyi.opensocial.putPeopleChannel:input.pages:items", kind: "items", name: None }
- RemovedEdge RemovedEdge { src: "fyi.opensocial.putPeopleChannel:input.pages:items", tgt: "fyi.opensocial.channel.about#page", kind: "ref", name: None }
Non-Breaking Changes (6)
- AddedVertex AddedVertex { vertex_id: "fyi.opensocial.defs#file" }
- AddedVertex AddedVertex { vertex_id: "fyi.opensocial.putPeopleChannel:input.files" }
- AddedVertex AddedVertex { vertex_id: "fyi.opensocial.putPeopleChannel:input.files:items" }
- AddedEdge AddedEdge { src: "fyi.opensocial.putPeopleChannel:input", tgt: "fyi.opensocial.putPeopleChannel:input.files", kind: "prop", name: Some("files") }
- AddedEdge AddedEdge { src: "fyi.opensocial.putPeopleChannel:input.files", tgt: "fyi.opensocial.putPeopleChannel:input.files:items", kind: "items", name: None }
- AddedEdge AddedEdge { src: "fyi.opensocial.putPeopleChannel:input.files:items", tgt: "fyi.opensocial.defs#file", kind: "ref", name: None }
Migration Guidance
Removed Elements
RemovedVertex { vertex_id: "fyi.opensocial.channel.about#page" }RemovedVertex { vertex_id: "fyi.opensocial.putPeopleChannel:input.pages" }RemovedVertex { vertex_id: "fyi.opensocial.putPeopleChannel:input.pages:items" }
Added Elements
AddedVertex { vertex_id: "fyi.opensocial.defs#file" }AddedVertex { vertex_id: "fyi.opensocial.putPeopleChannel:input.files" }AddedVertex { vertex_id: "fyi.opensocial.putPeopleChannel:input.files:items" }
Additional Notes
- Breaking: RemovedEdge { src: "fyi.opensocial.putPeopleChannel:input", tgt: "fyi.opensocial.putPeopleChannel:input.pages", kind: "prop", name: Some("pages") }
- Breaking: RemovedEdge { src: "fyi.opensocial.putPeopleChannel:input.pages", tgt: "fyi.opensocial.putPeopleChannel:input.pages:items", kind: "items", name: None }
- Breaking: RemovedEdge { src: "fyi.opensocial.putPeopleChannel:input.pages:items", tgt: "fyi.opensocial.channel.about#page", kind: "ref", name: None }
- Non-breaking: AddedEdge { src: "fyi.opensocial.putPeopleChannel:input", tgt: "fyi.opensocial.putPeopleChannel:input.files", kind: "prop", name: Some("files") }
- Non-breaking: AddedEdge { src: "fyi.opensocial.putPeopleChannel:input.files", tgt: "fyi.opensocial.putPeopleChannel:input.files:items", kind: "items", name: None }
- Non-breaking: AddedEdge { src: "fyi.opensocial.putPeopleChannel:input.files:items", tgt: "fyi.opensocial.defs#file", kind: "ref", name: None }
1
1
{
2
2
"$type": "com.atproto.lexicon.schema",
3
3
"defs": {
4
4
"main": {
5
-
"description": "Make a channel for chosen people, or change one you're in: its name, who it's for, its tabs and its pages. Anyone in it may; the people must be the group's members, and leaving yourself out is leaving it. Each tab keeps what it makes in a space of its own, for the same people.",
5
+
"description": "Make a channel for chosen people, or change one you're in: its name, who it's for, its tabs and their files. Anyone in it may; the people must be the group's members, and leaving yourself out is leaving it. Each tab keeps what it makes in a space of its own, for the same people.",
6
6
"errors": [
7
7
{
8
8
"name": "InvalidChannel"
9
9
},
10
10
{
11
11
"name": "NotFound"
12
12
}
13
13
],
14
14
"input": {
15
15
"encoding": "application/json",
16
16
"schema": {
17
17
"properties": {
18
18
"channel": {
19
19
"description": "The channel to change, by its space; none to make one.",
20
20
"format": "at-uri",
21
21
"type": "string"
22
22
},
23
+
"files": {
24
+
"description": "Its tabs' files: each one it has already, or one you uploaded with uploadSiteFile.",
25
+
"items": {
26
+
"ref": "fyi.opensocial.defs#file",
27
+
"type": "ref"
28
+
},
29
+
"maxLength": 100,
30
+
"type": "array"
31
+
},
23
32
"group": {
24
33
"format": "did",
25
34
"type": "string"
26
35
},
27
36
"name": {
28
37
"maxGraphemes": 64,
29
38
"maxLength": 640,
30
39
"type": "string"
31
-
},
32
-
"pages": {
33
-
"items": {
34
-
"ref": "fyi.opensocial.channel.about#page",
35
-
"type": "ref"
36
-
},
37
-
"maxLength": 50,
38
-
"type": "array"
39
40
},
40
41
"people": {
41
42
"items": {
42
43
"format": "did",
43
44
"type": "string"
44
45
},
45
46
"maxLength": 100,
46
47
"type": "array"
47
48
},
48
49
"tabs": {
49
50
"items": {
50
51
"ref": "fyi.opensocial.site#tab",
51
52
"type": "ref"
52
53
},
53
54
"maxLength": 30,
54
55
"type": "array"
55
56
}
56
57
},
57
58
"required": [
58
59
"group",
59
60
"name",
60
61
"people",
61
62
"tabs"
62
63
],
63
64
"type": "object"
64
65
}
65
66
},
66
67
"output": {
67
68
"encoding": "application/json",
68
69
"schema": {
69
70
"properties": {
70
71
"channel": {
71
72
"format": "at-uri",
72
73
"type": "string"
73
74
},
74
75
"slug": {
75
76
"type": "string"
76
77
}
77
78
},
78
79
"required": [
79
80
"channel",
80
81
"slug"
81
82
],
82
83
"type": "object"
83
84
}
84
85
},
85
86
"type": "procedure"
86
87
}
87
88
},
88
89
"id": "fyi.opensocial.putPeopleChannel",
89
90
"lexicon": 1
90
91
}