dev.knotless.comment
Schema Diff
+11 -0
Compatibility Analysis
Backward Compatible
Backward compatible. 8 non-breaking changes.
Non-Breaking Changes (8)
- AddedVertex AddedVertex { vertex_id: "dev.knotless.comment:body.attachments" }
- AddedVertex AddedVertex { vertex_id: "dev.knotless.comment:body.attachments:items" }
- AddedVertex AddedVertex { vertex_id: "dev.knotless.comment:body.attachments:items:variant0" }
- AddedVertex AddedVertex { vertex_id: "dev.knotless.defs#image" }
- AddedEdge AddedEdge { src: "dev.knotless.comment:body", tgt: "dev.knotless.comment:body.attachments", kind: "prop", name: Some("attachments") }
- AddedEdge AddedEdge { src: "dev.knotless.comment:body.attachments", tgt: "dev.knotless.comment:body.attachments:items", kind: "items", name: None }
- AddedEdge AddedEdge { src: "dev.knotless.comment:body.attachments:items", tgt: "dev.knotless.comment:body.attachments:items:variant0", kind: "variant", name: Some("dev.knotless.defs#image") }
- AddedEdge AddedEdge { src: "dev.knotless.comment:body.attachments:items:variant0", tgt: "dev.knotless.defs#image", kind: "ref", name: None }
Migration Guidance
Added Elements
AddedVertex { vertex_id: "dev.knotless.comment:body.attachments" }AddedVertex { vertex_id: "dev.knotless.comment:body.attachments:items" }AddedVertex { vertex_id: "dev.knotless.comment:body.attachments:items:variant0" }AddedVertex { vertex_id: "dev.knotless.defs#image" }
Additional Notes
- Non-breaking: AddedEdge { src: "dev.knotless.comment:body", tgt: "dev.knotless.comment:body.attachments", kind: "prop", name: Some("attachments") }
- Non-breaking: AddedEdge { src: "dev.knotless.comment:body.attachments", tgt: "dev.knotless.comment:body.attachments:items", kind: "items", name: None }
- Non-breaking: AddedEdge { src: "dev.knotless.comment:body.attachments:items", tgt: "dev.knotless.comment:body.attachments:items:variant0", kind: "variant", name: Some("dev.knotless.defs#image") }
- Non-breaking: AddedEdge { src: "dev.knotless.comment:body.attachments:items:variant0", tgt: "dev.knotless.defs#image", 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
+
"attachments": {
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
+
"items": {
12
+
"refs": [
13
+
"dev.knotless.defs#image"
14
+
],
15
+
"type": "union"
16
+
},
17
+
"maxLength": 32,
18
+
"type": "array"
19
+
},
9
20
"body": {
10
21
"description": "Markdown.",
11
22
"maxLength": 20000,
12
23
"type": "string"
13
24
},
14
25
"commit": {
15
26
"description": "The hex object ID of the head commit a review looked at.",
16
27
"maxLength": 64,
17
28
"minLength": 40,
18
29
"type": "string"
19
30
},
20
31
"createdAt": {
21
32
"format": "datetime",
22
33
"type": "string"
23
34
},
24
35
"repo": {
25
36
"description": "The repository the pull or issue is on.",
26
37
"ref": "dev.knotless.defs#repoRef",
27
38
"type": "ref"
28
39
},
29
40
"subject": {
30
41
"description": "The dev.knotless.pull or dev.knotless.issue commented on.",
31
42
"format": "at-uri",
32
43
"type": "string"
33
44
},
34
45
"updatedAt": {
35
46
"description": "When its author last changed its body.",
36
47
"format": "datetime",
37
48
"type": "string"
38
49
},
39
50
"verdict": {
40
51
"description": "Present on a review: `approve`, or `changes` to ask for changes.",
41
52
"knownValues": [
42
53
"approve",
43
54
"changes"
44
55
],
45
56
"maxLength": 64,
46
57
"type": "string"
47
58
}
48
59
},
49
60
"required": [
50
61
"repo",
51
62
"subject",
52
63
"body",
53
64
"createdAt"
54
65
],
55
66
"type": "object"
56
67
},
57
68
"type": "record"
58
69
}
59
70
},
60
71
"description": "A comment on a pull or issue. With a verdict it is a review.",
61
72
"id": "dev.knotless.comment",
62
73
"lexicon": 1
63
74
}