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