app.didpic.feed.comment
Schema Diff
+7 -0
Compatibility Analysis
Backward Compatible
Backward compatible. 4 non-breaking changes.
Non-Breaking Changes (4)
- AddedVertex AddedVertex { vertex_id: "app.didpic.feed.comment:body.facets" }
- AddedVertex AddedVertex { vertex_id: "app.didpic.feed.comment:body.facets:items" }
- AddedEdge AddedEdge { src: "app.didpic.feed.comment:body", tgt: "app.didpic.feed.comment:body.facets", kind: "prop", name: Some("facets") }
- AddedEdge AddedEdge { src: "app.didpic.feed.comment:body.facets", tgt: "app.didpic.feed.comment:body.facets:items", kind: "items", name: None }
Migration Guidance
Added Elements
AddedVertex { vertex_id: "app.didpic.feed.comment:body.facets" }AddedVertex { vertex_id: "app.didpic.feed.comment:body.facets:items" }
Additional Notes
- Non-breaking: AddedEdge { src: "app.didpic.feed.comment:body", tgt: "app.didpic.feed.comment:body.facets", kind: "prop", name: Some("facets") }
- Non-breaking: AddedEdge { src: "app.didpic.feed.comment:body.facets", tgt: "app.didpic.feed.comment:body.facets:items", kind: "items", name: None }
1
1
{
2
2
"id": "app.didpic.feed.comment",
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
"subject",
11
11
"text",
12
12
"createdAt"
13
13
],
14
14
"properties": {
15
15
"text": {
16
16
"type": "string",
17
17
"maxLength": 10000,
18
18
"maxGraphemes": 1000
19
19
},
20
+
"facets": {
21
+
"type": "array",
22
+
"items": {
23
+
"ref": "app.didpic.richtext.facet",
24
+
"type": "ref"
25
+
}
26
+
},
20
27
"parent": {
21
28
"ref": "com.atproto.repo.strongRef",
22
29
"type": "ref",
23
30
"description": "The comment being replied to."
24
31
},
25
32
"subject": {
26
33
"ref": "com.atproto.repo.strongRef",
27
34
"type": "ref",
28
35
"description": "The post being commented on."
29
36
},
30
37
"createdAt": {
31
38
"type": "string",
32
39
"format": "datetime"
33
40
}
34
41
}
35
42
},
36
43
"description": "A comment on a post."
37
44
}
38
45
},
39
46
"$type": "com.atproto.lexicon.schema",
40
47
"lexicon": 1
41
48
}