From
bafyreid4b2ag3g4mcej65ehzf3ccarh6salxp2riocrm2zo4qoxgmtwetu
indexed 2026-11-03 18:11 UTC
View this version
To
bafyreiebg2qijmkbmbpeh5vv2z2cbr6p5g3hejkpiodezoycqcodxstopy
indexed 2026-11-19 01:36 UTC
View this version
Compatibility
backward compatible No changes detected.
Changes
11
{22
"$type": "com.atproto.lexicon.schema",33
"defs": {44
"lineRef": {55
"description": "Lines of a file in a pull's diff, as GitHub's review comments name them.",66
"properties": {77
"line": {88
"description": "The last line commented on, counting from 1.",99
"minimum": 1,1010
"type": "integer"1111
},1212
"path": {1313
"description": "The file's path on the side commented on.",1414
"maxLength": 1024,1515
"type": "string"1616
},1717
"side": {1818
"description": "`new`, the side the pull brings in, or `old`, the side it leaves, for lines it removes. Absent, `new`.",1919
"knownValues": [2020
"old",2121
"new"2222
],2323
"maxLength": 16,2424
"type": "string"2525
},2626
"startLine": {2727
"description": "The first, for more than one line; no later than `line`.",2828
"minimum": 1,2929
"type": "integer"3030
}3131
},3232
"required": [3333
"path",3434
"line"3535
],3636
"type": "object"3737
},3838
"main": {3939
"description": "Kept in the commenter's account; for a private repository, in their repo inside the repository's space.",4040
"key": "tid",4141
"record": {4242
"properties": {4343
"attachments": {4444
"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.",4545
"items": {4646
"refs": [4747
"dev.knotless.defs#image"4848
],4949
"type": "union"5050
},5151
"maxLength": 32,5252
"type": "array"5353
},5454
"body": {5555
"description": "Markdown.",5656
"maxLength": 20000,5757
"type": "string"5858
},5959
"commit": {6060
"description": "The hex object ID of the head commit a review looked at, or that a comment's `line` is in.",6161
"maxLength": 64,6262
"minLength": 40,6363
"type": "string"6464
},6565
"createdAt": {6666
"format": "datetime",6767
"type": "string"6868
},6969
"dismisses": {7070
"description": "The review, a dev.knotless.comment with a verdict on the same pull, this dismisses, its body saying why. From the repository's owner or a collaborator, the review stops counting toward the pull's reviews, for or against it, until its reviewer reviews again; one from anyone else changes nothing.",7171
"format": "at-uri",7272
"type": "string"7373
},7474
"facets": {7575
"description": "The accounts its body mentions, by where: written as it is, from each `@handle` outside code and links.",7676
"items": {7777
"ref": "dev.knotless.defs#facet",7878
"type": "ref"7979
},8080
"maxLength": 50,8181
"type": "array"8282
},8383
"line": {8484
"description": "For a comment on a pull's diff, the lines it is on, in the file as it was at `commit` on that side.",8585
"ref": "#lineRef",8686
"type": "ref"8787
},8888
"reply": {8989
"description": "The dev.knotless.comment, with a `line`, whose thread this answers. An answer has no `line` of its own.",9090
"format": "at-uri",9191
"type": "string"9292
},9393
"repo": {94
"description": "The repository the pull or issue is on.",94
"description": "The repository the pull or issue is on, or the gist.",9595
"ref": "dev.knotless.defs#repoRef",9696
"type": "ref"9797
},9898
"review": {9999
"description": "The review, a dev.knotless.comment, this was sent with as one of its line comments, all in one write.",100100
"format": "at-uri",101101
"type": "string"102102
},103103
"subject": {104
"description": "The dev.knotless.pull or dev.knotless.issue commented on.",104
"description": "The dev.knotless.pull or dev.knotless.issue commented on, or, for a gist, its dev.knotless.repo record.",105105
"format": "at-uri",106106
"type": "string"107107
},108108
"updatedAt": {109109
"description": "When its author last changed its body.",110110
"format": "datetime",111111
"type": "string"112112
},113113
"verdict": {114
"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.",114
"description": "Present on a review of a pull: `approve`, or `changes` to ask for changes. Readers take each reviewer's latest as where they stand, and none from the pull's author.",115115
"knownValues": [116116
"approve",117117
"changes"118118
],119119
"maxLength": 64,120120
"type": "string"121121
}122122
},123123
"required": [124124
"repo",125125
"subject",126126
"body",127127
"createdAt"128128
],129129
"type": "object"130130
},131131
"type": "record"132132
}133133
},134
"description": "A comment on a pull or issue. With a verdict it is a review; with a line, a comment on lines of a pull's diff, starting a thread there; with a reply, an answer in such a thread.",134
"description": "A comment on a pull, an issue or a gist. With a verdict it is a review of a pull; with a line, a comment on lines of a pull's diff, starting a thread there; with a reply, an answer in such a thread. A comment on a gist has none of these.",135135
"id": "dev.knotless.comment",136136
"lexicon": 1137137
}