dev.gitosphere.repository.pullRequestComment
Schema Diff
+13 -1
Compatibility Analysis
Breaking Changes Detected
2 breaking changes, 2 non-breaking changes.
Breaking Changes (2)
- RequiredEdgeAdded RequiredEdgeAdded { vertex_id: "dev.gitosphere.repository.pullRequestComment:body", src: "dev.gitosphere.repository.pullRequestComment:body", tgt: "dev.gitosphere.repository.pullRequestComment:body.bodyDocumentFormat", kind: "prop", name: Some("bodyDocumentFormat") }
- RequiredEdgeAdded RequiredEdgeAdded { vertex_id: "dev.gitosphere.repository.pullRequestComment:body", src: "dev.gitosphere.repository.pullRequestComment:body", tgt: "dev.gitosphere.repository.pullRequestComment:body.bodyDocument", kind: "prop", name: Some("bodyDocument") }
Non-Breaking Changes (2)
- AddedVertex AddedVertex { vertex_id: "dev.gitosphere.repository.pullRequestComment:body.bodyDocument" }
- AddedVertex AddedVertex { vertex_id: "dev.gitosphere.repository.pullRequestComment:body.bodyDocumentFormat" }
Migration Guidance
Added Elements
AddedVertex { vertex_id: "dev.gitosphere.repository.pullRequestComment:body.bodyDocument" }AddedVertex { vertex_id: "dev.gitosphere.repository.pullRequestComment:body.bodyDocumentFormat" }
Additional Notes
- Breaking: RequiredEdgeAdded { vertex_id: "dev.gitosphere.repository.pullRequestComment:body", src: "dev.gitosphere.repository.pullRequestComment:body", tgt: "dev.gitosphere.repository.pullRequestComment:body.bodyDocumentFormat", kind: "prop", name: Some("bodyDocumentFormat") }
- Breaking: RequiredEdgeAdded { vertex_id: "dev.gitosphere.repository.pullRequestComment:body", src: "dev.gitosphere.repository.pullRequestComment:body", tgt: "dev.gitosphere.repository.pullRequestComment:body.bodyDocument", kind: "prop", name: Some("bodyDocument") }
1
1
{
2
2
"$type": "com.atproto.lexicon.schema",
3
3
"defs": {
4
4
"main": {
5
5
"key": "any",
6
6
"record": {
7
7
"properties": {
8
8
"acceptedBy": {
9
9
"format": "did",
10
10
"type": "string"
11
11
},
12
12
"author": {
13
13
"format": "did",
14
14
"type": "string"
15
15
},
16
16
"baseCommit": {
17
17
"maxLength": 64,
18
18
"minLength": 40,
19
19
"type": "string"
20
20
},
21
21
"blocking": {
22
22
"type": "boolean"
23
23
},
24
24
"body": {
25
25
"maxGraphemes": 10000,
26
26
"maxLength": 100000,
27
27
"minLength": 1,
28
28
"type": "string"
29
29
},
30
+
"bodyDocument": {
31
+
"maxLength": 262144,
32
+
"type": "bytes"
33
+
},
34
+
"bodyDocumentFormat": {
35
+
"knownValues": [
36
+
"gsp-xml-zip-v1"
37
+
],
38
+
"type": "string"
39
+
},
30
40
"category": {
31
41
"maxLength": 64,
32
42
"minLength": 1,
33
43
"type": "string"
34
44
},
35
45
"createdAt": {
36
46
"format": "datetime",
37
47
"type": "string"
38
48
},
39
49
"headCommit": {
40
50
"maxLength": 64,
41
51
"minLength": 40,
42
52
"type": "string"
43
53
},
44
54
"keyId": {
45
55
"maxLength": 128,
46
56
"minLength": 1,
47
57
"type": "string"
48
58
},
49
59
"line": {
50
60
"maximum": 2147483647,
51
61
"minimum": 1,
52
62
"type": "integer"
53
63
},
54
64
"number": {
55
65
"maximum": 9007199254740991,
56
66
"minimum": 1,
57
67
"type": "integer"
58
68
},
59
69
"path": {
60
70
"maxLength": 4096,
61
71
"minLength": 1,
62
72
"type": "string"
63
73
},
64
74
"pullRequestId": {
65
75
"maxLength": 36,
66
76
"minLength": 36,
67
77
"type": "string"
68
78
},
69
79
"receipt": {
70
80
"maxLength": 512,
71
81
"minLength": 1,
72
82
"type": "string"
73
83
},
74
84
"repositoryId": {
75
85
"ref": "dev.gitosphere.defs#repositoryId",
76
86
"type": "ref"
77
87
},
78
88
"round": {
79
89
"maximum": 9007199254740991,
80
90
"minimum": 0,
81
91
"type": "integer"
82
92
},
83
93
"severity": {
84
94
"enum": [
85
95
"info",
86
96
"low",
87
97
"medium",
88
98
"high",
89
99
"critical"
90
100
],
91
101
"type": "string"
92
102
},
93
103
"side": {
94
104
"enum": [
95
105
"base",
96
106
"head"
97
107
],
98
108
"type": "string"
99
109
},
100
110
"startLine": {
101
111
"maximum": 2147483647,
102
112
"minimum": 1,
103
113
"type": "integer"
104
114
}
105
115
},
106
116
"required": [
107
117
"repositoryId",
108
118
"pullRequestId",
109
119
"number",
110
120
"round",
111
121
"baseCommit",
112
122
"headCommit",
113
123
"author",
114
124
"body",
125
+
"bodyDocument",
126
+
"bodyDocumentFormat",
115
127
"createdAt",
116
128
"acceptedBy",
117
129
"keyId",
118
130
"receipt"
119
131
],
120
132
"type": "object"
121
133
},
122
134
"type": "record"
123
135
}
124
136
},
125
-
"description": "An immutable comment or typed finding bound to one Pull Request round.",
137
+
"description": "A comment or typed finding bound to one Pull Request round. The ZIP document is authoritative and body is its Markdown display projection.",
126
138
"id": "dev.gitosphere.repository.pullRequestComment",
127
139
"lexicon": 1
128
140
}