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