social.colibri.channel
Schema Diff
+6 -1
Compatibility Analysis
Backward Compatible
Backward compatible. 2 non-breaking changes.
Non-Breaking Changes (2)
- AddedVertex AddedVertex { vertex_id: "social.colibri.channel:body.ownerOnly" }
- AddedEdge AddedEdge { src: "social.colibri.channel:body", tgt: "social.colibri.channel:body.ownerOnly", kind: "prop", name: Some("ownerOnly") }
Migration Guidance
Added Elements
AddedVertex { vertex_id: "social.colibri.channel:body.ownerOnly" }
Additional Notes
- Non-breaking: AddedEdge { src: "social.colibri.channel:body", tgt: "social.colibri.channel:body.ownerOnly", kind: "prop", name: Some("ownerOnly") }
1
1
{
2
2
"$type": "com.atproto.lexicon.schema",
3
3
"defs": {
4
4
"main": {
5
5
"description": "A channel that belongs to a category on Colibri.",
6
6
"key": "tid",
7
7
"record": {
8
8
"properties": {
9
9
"$type": {
10
10
"description": "The type of the record.",
11
11
"format": "nsid",
12
12
"type": "string"
13
13
},
14
14
"category": {
15
15
"description": "The category this channel belongs to.",
16
16
"format": "record-key",
17
17
"type": "string"
18
18
},
19
19
"community": {
20
20
"description": "The record key of the community this channel belongs to.",
21
21
"format": "record-key",
22
22
"type": "string"
23
23
},
24
24
"description": {
25
25
"default": "",
26
26
"description": "A description of the channel.",
27
27
"maxLength": 256,
28
28
"type": "string"
29
29
},
30
30
"name": {
31
31
"default": "New channel",
32
32
"description": "The name of the channel.",
33
33
"maxLength": 32,
34
34
"minLength": 1,
35
35
"type": "string"
36
36
},
37
+
"ownerOnly": {
38
+
"default": false,
39
+
"description": "Whether the owner of the community is the only one allowed to post in the channel or not.",
40
+
"type": "boolean"
41
+
},
37
42
"type": {
38
43
"description": "The type of the channel.",
39
44
"enum": [
40
45
"text",
41
46
"voice",
42
47
"forum"
43
48
],
44
49
"type": "string"
45
50
}
46
51
},
47
52
"required": [
48
53
"name",
49
54
"type",
50
55
"category",
51
56
"community"
52
57
],
53
58
"type": "object"
54
59
},
55
60
"type": "record"
56
61
}
57
62
},
58
63
"id": "social.colibri.channel",
59
64
"lexicon": 1,
60
-
"revision": 1
65
+
"revision": 2
61
66
}