app.atmobb.discussion.thread
Schema Diff
+2 -1
Compatibility Analysis
Backward Compatible
No changes detected.
1
1
{
2
2
"id": "app.atmobb.discussion.thread",
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
"board",
11
11
"title"
12
12
],
13
13
"properties": {
14
14
"body": {
15
15
"type": "array",
16
16
"items": {
17
17
"refs": [
18
18
"app.atmobb.richtext.block#text",
19
19
"app.atmobb.richtext.block#quote",
20
20
"app.atmobb.richtext.block#code",
21
21
"app.atmobb.richtext.block#image"
22
22
],
23
23
"type": "union"
24
24
},
25
25
"maxLength": 200
26
26
},
27
27
"poll": {
28
28
"ref": "#poll",
29
29
"type": "ref"
30
30
},
31
31
"tags": {
32
32
"type": "array",
33
33
"items": {
34
34
"type": "string",
35
35
"maxLength": 640,
36
36
"maxGraphemes": 64
37
37
},
38
-
"maxLength": 8
38
+
"maxLength": 8,
39
+
"description": "Normalized lowercase topic labels. Clients should trim, collapse whitespace and deduplicate before writing."
39
40
},
40
41
"board": {
41
42
"type": "string",
42
43
"format": "at-uri",
43
44
"description": "The app.atmobb.forum.board this thread belongs to. The board URI's authority is the forum's DID."
44
45
},
45
46
"title": {
46
47
"type": "string",
47
48
"maxLength": 3000,
48
49
"maxGraphemes": 300
49
50
},
50
51
"editedAt": {
51
52
"type": "string",
52
53
"format": "datetime",
53
54
"description": "When the author last edited the body (or title). Absent means never edited."
54
55
},
55
56
"createdAt": {
56
57
"type": "string",
57
58
"format": "datetime"
58
59
}
59
60
}
60
61
},
61
62
"description": "A discussion thread (topic). Lives in the author's repo, pointing at a board in a forum's repo."
62
63
},
63
64
"poll": {
64
65
"type": "object",
65
66
"required": [
66
67
"options"
67
68
],
68
69
"properties": {
69
70
"options": {
70
71
"type": "array",
71
72
"items": {
72
73
"type": "string",
73
74
"maxLength": 1000,
74
75
"maxGraphemes": 100
75
76
},
76
77
"maxLength": 10,
77
78
"minLength": 2
78
79
},
79
80
"closesAt": {
80
81
"type": "string",
81
82
"format": "datetime"
82
83
},
83
84
"question": {
84
85
"type": "string",
85
86
"maxLength": 3000,
86
87
"maxGraphemes": 300
87
88
},
88
89
"multipleChoice": {
89
90
"type": "boolean"
90
91
}
91
92
},
92
93
"description": "An embedded poll. Votes are app.atmobb.poll.vote records referencing this thread."
93
94
}
94
95
},
95
96
"$type": "com.atproto.lexicon.schema",
96
97
"lexicon": 1
97
98
}