net.atchan.reply
Schema Diff
+2 -1
Compatibility Analysis
Backward Compatible
Backward compatible. 4 non-breaking changes.
Non-Breaking Changes (4)
- AddedVertex AddedVertex { vertex_id: "net.atchan.embed.video" }
- AddedVertex AddedVertex { vertex_id: "net.atchan.reply:body.embeds:items:variant2" }
- AddedEdge AddedEdge { src: "net.atchan.reply:body.embeds:items", tgt: "net.atchan.reply:body.embeds:items:variant2", kind: "variant", name: Some("net.atchan.embed.video") }
- AddedEdge AddedEdge { src: "net.atchan.reply:body.embeds:items:variant2", tgt: "net.atchan.embed.video", kind: "ref", name: None }
Migration Guidance
Added Elements
AddedVertex { vertex_id: "net.atchan.embed.video" }AddedVertex { vertex_id: "net.atchan.reply:body.embeds:items:variant2" }
Additional Notes
- Non-breaking: AddedEdge { src: "net.atchan.reply:body.embeds:items", tgt: "net.atchan.reply:body.embeds:items:variant2", kind: "variant", name: Some("net.atchan.embed.video") }
- Non-breaking: AddedEdge { src: "net.atchan.reply:body.embeds:items:variant2", tgt: "net.atchan.embed.video", kind: "ref", name: None }
1
1
{
2
2
"id": "net.atchan.reply",
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
"thread",
11
11
"body",
12
12
"createdAt"
13
13
],
14
14
"properties": {
15
15
"body": {
16
16
"type": "string",
17
17
"maxLength": 20000,
18
18
"description": "The main text of the post. May be an empty string if there are embeds.",
19
19
"maxGraphemes": 2000
20
20
},
21
21
"name": {
22
22
"type": "string",
23
23
"maxLength": 640,
24
24
"description": "Cosmetic name associated with the poster",
25
25
"maxGraphemes": 64
26
26
},
27
27
"sage": {
28
28
"type": "boolean",
29
29
"description": "Indication that user does not want to bump the OP when making a reply"
30
30
},
31
31
"embeds": {
32
32
"type": "array",
33
33
"items": {
34
34
"refs": [
35
35
"net.atchan.embed.image",
36
-
"net.atchan.embed.audio"
36
+
"net.atchan.embed.audio",
37
+
"net.atchan.embed.video"
37
38
],
38
39
"type": "union"
39
40
},
40
41
"maxLength": 1,
41
42
"minLength": 1,
42
43
"description": "A list of embedded data for this post. Only one embed is permitted. This limit may be raised in the future."
43
44
},
44
45
"facets": {
45
46
"type": "array",
46
47
"items": {
47
48
"ref": "net.atchan.richtext.facet",
48
49
"type": "ref"
49
50
},
50
51
"description": "Rich-text formatting annotations over byte ranges of `body`"
51
52
},
52
53
"thread": {
53
54
"ref": "com.atproto.repo.strongRef",
54
55
"type": "ref",
55
56
"description": "The post being replied to. The referenced post must be an OP. Replies to other replies are made with >> in the text body"
56
57
},
57
58
"spoiler": {
58
59
"type": "boolean",
59
60
"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."
60
61
},
61
62
"createdAt": {
62
63
"type": "string",
63
64
"format": "datetime",
64
65
"description": "Client-declared timestamp when this post was originally created"
65
66
}
66
67
}
67
68
},
68
69
"description": "A record containing a reply to an imageboard thread"
69
70
}
70
71
},
71
72
"$type": "com.atproto.lexicon.schema",
72
73
"lexicon": 1
73
74
}