work.sequential.feed.comment
Schema Diff
+12 -2
Compatibility Analysis
Backward Compatible
Backward compatible. 4 non-breaking changes.
Non-Breaking Changes (4)
- AddedVertex AddedVertex { vertex_id: "work.sequential.feed.comment:body.page" }
- AddedVertex AddedVertex { vertex_id: "work.sequential.feed.comment:body.panel" }
- AddedEdge AddedEdge { src: "work.sequential.feed.comment:body", tgt: "work.sequential.feed.comment:body.page", kind: "prop", name: Some("page") }
- AddedEdge AddedEdge { src: "work.sequential.feed.comment:body", tgt: "work.sequential.feed.comment:body.panel", kind: "prop", name: Some("panel") }
Migration Guidance
Added Elements
AddedVertex { vertex_id: "work.sequential.feed.comment:body.page" }AddedVertex { vertex_id: "work.sequential.feed.comment:body.panel" }
Additional Notes
- Non-breaking: AddedEdge { src: "work.sequential.feed.comment:body", tgt: "work.sequential.feed.comment:body.page", kind: "prop", name: Some("page") }
- Non-breaking: AddedEdge { src: "work.sequential.feed.comment:body", tgt: "work.sequential.feed.comment:body.panel", kind: "prop", name: Some("panel") }
1
1
{
2
2
"$type": "com.atproto.lexicon.schema",
3
3
"defs": {
4
4
"main": {
5
-
"description": "A comment on a chapter or strip, or a reply to another comment.",
5
+
"description": "A comment on a chapter or strip, or on one of its pages, slices or panels, or a reply to another comment.",
6
6
"key": "tid",
7
7
"record": {
8
8
"properties": {
9
9
"createdAt": {
10
10
"description": "The date and time the comment was created.",
11
11
"format": "datetime",
12
12
"type": "string"
13
13
},
14
14
"facets": {
15
15
"description": "Annotations of text (mentions, URLs, hashtags, etc).",
16
16
"items": {
17
17
"ref": "app.bsky.richtext.facet",
18
18
"type": "ref"
19
19
},
20
20
"type": "array"
21
21
},
22
22
"lang": {
23
23
"description": "BCP-47 language tag for the text.",
24
24
"format": "language",
25
25
"type": "string"
26
26
},
27
+
"page": {
28
+
"description": "AT-URI of the work.sequential.page or work.sequential.slice being commented on. Must belong to the subject chapter. Omit to comment on the whole chapter, and always omit when the subject is a strip. Replies keep the page of the comment they reply to. Use the DID form (at://did:...), not a handle.",
29
+
"format": "at-uri",
30
+
"type": "string"
31
+
},
32
+
"panel": {
33
+
"description": "Zero-based index of the panel being commented on, in the panels of the page, or of the strip when the subject is a strip. Omit to comment on the whole page or strip. Slices have no panels. Indexes can shift when the creator re-cuts panels; AppViews ignore indexes past the last panel. Replies keep the panel of the comment they reply to.",
34
+
"minimum": 0,
35
+
"type": "integer"
36
+
},
27
37
"parent": {
28
38
"description": "AT-URI of the work.sequential.feed.comment being replied to. Omit for a top-level comment. Use the DID form (at://did:...), not a handle.",
29
39
"format": "at-uri",
30
40
"type": "string"
31
41
},
32
42
"subject": {
33
-
"description": "AT-URI of the work.sequential.chapter or work.sequential.strip being commented on. AppViews ignore comments on any other record. Replies keep the subject of the comment they reply to. Use the DID form (at://did:...), not a handle.",
43
+
"description": "AT-URI of the work.sequential.chapter or work.sequential.strip being commented on. AppViews ignore comments on any other record. Comments on a page, slice or panel still set subject to the chapter or strip, so AppViews can count a work's comments without walking pages. Replies keep the subject of the comment they reply to. Use the DID form (at://did:...), not a handle.",
34
44
"format": "at-uri",
35
45
"type": "string"
36
46
},
37
47
"text": {
38
48
"description": "The comment text.",
39
49
"maxGraphemes": 1000,
40
50
"maxLength": 10000,
41
51
"type": "string"
42
52
}
43
53
},
44
54
"required": [
45
55
"subject",
46
56
"text",
47
57
"createdAt"
48
58
],
49
59
"type": "object"
50
60
},
51
61
"type": "record"
52
62
}
53
63
},
54
64
"id": "work.sequential.feed.comment",
55
65
"lexicon": 1
56
66
}