net.atchan.thread
Schema Diff
+0 -1
Compatibility Analysis
Breaking Changes Detected
1 breaking change, 0 non-breaking changes.
Breaking Changes (1)
- RequiredEdgeRemoved RequiredEdgeRemoved { vertex_id: "net.atchan.thread:body", src: "net.atchan.thread:body", tgt: "net.atchan.thread:body.subject", kind: "prop", name: Some("subject") }
Migration Guidance
Additional Notes
- Breaking: RequiredEdgeRemoved { vertex_id: "net.atchan.thread:body", src: "net.atchan.thread:body", tgt: "net.atchan.thread:body.subject", kind: "prop", name: Some("subject") }
1
1
{
2
2
"id": "net.atchan.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
-
"subject",
11
10
"board",
12
11
"embeds",
13
12
"createdAt"
14
13
],
15
14
"properties": {
16
15
"body": {
17
16
"type": "string",
18
17
"maxLength": 20000,
19
18
"description": "Comment line for this thread",
20
19
"maxGraphemes": 2000
21
20
},
22
21
"name": {
23
22
"type": "string",
24
23
"maxLength": 640,
25
24
"description": "Cosmetic name associated with the poster",
26
25
"maxGraphemes": 64
27
26
},
28
27
"board": {
29
28
"type": "string",
30
29
"format": "at-uri",
31
30
"description": "Reference to the net.atchan.board record this thread is posted on"
32
31
},
33
32
"embeds": {
34
33
"type": "array",
35
34
"items": {
36
35
"refs": [
37
36
"net.atchan.embed.image"
38
37
],
39
38
"type": "union"
40
39
},
41
40
"maxLength": 1,
42
41
"minLength": 1,
43
42
"description": "A list of embedded data for this post. Only one embed is permitted. This limit may be raised in the future."
44
43
},
45
44
"facets": {
46
45
"type": "array",
47
46
"items": {
48
47
"ref": "net.atchan.richtext.facet",
49
48
"type": "ref"
50
49
},
51
50
"description": "Rich-text formatting annotations over byte ranges of `body`"
52
51
},
53
52
"spoiler": {
54
53
"type": "boolean",
55
54
"description": "If the post's embed should require an additional UI interaction to be shown. Intended to hide spoilers from users. Sometimes used to hide NSFW content."
56
55
},
57
56
"subject": {
58
57
"type": "string",
59
58
"maxLength": 1280,
60
59
"description": "Subject line for this thread",
61
60
"maxGraphemes": 128
62
61
},
63
62
"createdAt": {
64
63
"type": "string",
65
64
"format": "datetime",
66
65
"description": "Client-declared timestamp when this post was originally created"
67
66
}
68
67
}
69
68
},
70
69
"description": "A record containing an imageboard thread. Commonly referred to as the OP."
71
70
}
72
71
},
73
72
"$type": "com.atproto.lexicon.schema",
74
73
"lexicon": 1
75
74
}