social.colibri.channel
Schema Diff
+2 -6
Compatibility Analysis
Breaking Changes Detected
1 breaking change, 1 non-breaking change.
Breaking Changes (1)
- ConstraintAdded ConstraintAdded { vertex_id: "social.colibri.channel:body.type", sort: "format", value: "nsid" }
Non-Breaking Changes (1)
- ConstraintRemoved ConstraintRemoved { vertex_id: "social.colibri.channel:body.type", sort: "enum" }
Migration Guidance
Constraint Changes
- ConstraintAdded ConstraintAdded { vertex_id: "social.colibri.channel:body.type", sort: "format", value: "nsid" }
- ConstraintRemoved ConstraintRemoved { vertex_id: "social.colibri.channel:body.type", sort: "enum" }
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
37
"ownerOnly": {
38
38
"default": false,
39
39
"description": "Whether the owner of the community is the only one allowed to post in the channel or not.",
40
40
"type": "boolean"
41
41
},
42
42
"type": {
43
-
"description": "The type of the channel.",
44
-
"enum": [
45
-
"text",
46
-
"voice",
47
-
"forum"
48
-
],
43
+
"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.",
44
+
"format": "nsid",
49
45
"type": "string"
50
46
}
51
47
},
52
48
"required": [
53
49
"name",
54
50
"type",
55
51
"category",
56
52
"community"
57
53
],
58
54
"type": "object"
59
55
},
60
56
"type": "record"
61
57
}
62
58
},
63
59
"id": "social.colibri.channel",
64
60
"lexicon": 1,
65
61
"revision": 2
66
62
}