dev.knotless.comment
Schema Diff
+9 -0
Compatibility Analysis
Backward Compatible
Backward compatible. 6 non-breaking changes.
Non-Breaking Changes (6)
- AddedVertex AddedVertex { vertex_id: "dev.knotless.comment:body.facets" }
- AddedVertex AddedVertex { vertex_id: "dev.knotless.comment:body.facets:items" }
- AddedVertex AddedVertex { vertex_id: "dev.knotless.defs#facet" }
- AddedEdge AddedEdge { src: "dev.knotless.comment:body", tgt: "dev.knotless.comment:body.facets", kind: "prop", name: Some("facets") }
- AddedEdge AddedEdge { src: "dev.knotless.comment:body.facets", tgt: "dev.knotless.comment:body.facets:items", kind: "items", name: None }
- AddedEdge AddedEdge { src: "dev.knotless.comment:body.facets:items", tgt: "dev.knotless.defs#facet", kind: "ref", name: None }
Migration Guidance
Added Elements
AddedVertex { vertex_id: "dev.knotless.comment:body.facets" }AddedVertex { vertex_id: "dev.knotless.comment:body.facets:items" }AddedVertex { vertex_id: "dev.knotless.defs#facet" }
Additional Notes
- Non-breaking: AddedEdge { src: "dev.knotless.comment:body", tgt: "dev.knotless.comment:body.facets", kind: "prop", name: Some("facets") }
- Non-breaking: AddedEdge { src: "dev.knotless.comment:body.facets", tgt: "dev.knotless.comment:body.facets:items", kind: "items", name: None }
- Non-breaking: AddedEdge { src: "dev.knotless.comment:body.facets:items", tgt: "dev.knotless.defs#facet", kind: "ref", name: None }
1
1
{
2
2
"$type": "com.atproto.lexicon.schema",
3
3
"defs": {
4
4
"main": {
5
5
"description": "Kept in the commenter's account; for a private repository, in their repo inside the repository's space.",
6
6
"key": "tid",
7
7
"record": {
8
8
"properties": {
9
9
"attachments": {
10
10
"description": "What it carries beside its body: the pictures the body shows. Kinds unknown to a reader are passed over, and kept by a client changing it.",
11
11
"items": {
12
12
"refs": [
13
13
"dev.knotless.defs#image"
14
14
],
15
15
"type": "union"
16
16
},
17
17
"maxLength": 32,
18
18
"type": "array"
19
19
},
20
20
"body": {
21
21
"description": "Markdown.",
22
22
"maxLength": 20000,
23
23
"type": "string"
24
24
},
25
25
"commit": {
26
26
"description": "The hex object ID of the head commit a review looked at.",
27
27
"maxLength": 64,
28
28
"minLength": 40,
29
29
"type": "string"
30
30
},
31
31
"createdAt": {
32
32
"format": "datetime",
33
33
"type": "string"
34
34
},
35
+
"facets": {
36
+
"description": "The accounts its body mentions, by where: written as it is, from each `@handle` outside code and links.",
37
+
"items": {
38
+
"ref": "dev.knotless.defs#facet",
39
+
"type": "ref"
40
+
},
41
+
"maxLength": 50,
42
+
"type": "array"
43
+
},
35
44
"repo": {
36
45
"description": "The repository the pull or issue is on.",
37
46
"ref": "dev.knotless.defs#repoRef",
38
47
"type": "ref"
39
48
},
40
49
"subject": {
41
50
"description": "The dev.knotless.pull or dev.knotless.issue commented on.",
42
51
"format": "at-uri",
43
52
"type": "string"
44
53
},
45
54
"updatedAt": {
46
55
"description": "When its author last changed its body.",
47
56
"format": "datetime",
48
57
"type": "string"
49
58
},
50
59
"verdict": {
51
60
"description": "Present on a review: `approve`, or `changes` to ask for changes. Readers take each reviewer's latest as where they stand, and none from the pull's author.",
52
61
"knownValues": [
53
62
"approve",
54
63
"changes"
55
64
],
56
65
"maxLength": 64,
57
66
"type": "string"
58
67
}
59
68
},
60
69
"required": [
61
70
"repo",
62
71
"subject",
63
72
"body",
64
73
"createdAt"
65
74
],
66
75
"type": "object"
67
76
},
68
77
"type": "record"
69
78
}
70
79
},
71
80
"description": "A comment on a pull or issue. With a verdict it is a review.",
72
81
"id": "dev.knotless.comment",
73
82
"lexicon": 1
74
83
}