dev.gitosphere.repository.pullRequestComment
A comment or typed finding bound to one Pull Request round. body is its canonical Markdown.
Details · record, key any
| Kind | record |
|---|---|
| Record key | any |
| Authority | repository.gitosphere.dev |
| Indexed |
Checks
Validmissing-primary-descriptiondefs.mainThe record has no description.large-stringdefs.main.record.properties.bodymaxLength is over 20 KB. Use a blob for content that large.unlimited-stringdefs.main.record.properties.bodyDocumentFormatNo maxLength, maxGraphemes or format limits this string.unlimited-stringdefs.main.record.properties.severityNo maxLength, maxGraphemes or format limits this string.unlimited-stringdefs.main.record.properties.sideNo maxLength, maxGraphemes or format limits this string.
{
"$type": "com.atproto.lexicon.schema",
"defs": {
"main": {
"key": "any",
"record": {
"properties": {
"acceptedBy": {
"format": "did",
"type": "string"
},
"author": {
"format": "did",
"type": "string"
},
"authorHandle": {
"description": "The author's handle, verified by the server when it signed this version of the comment. It may be stale; author is authoritative.",
"format": "handle",
"type": "string"
},
"baseCommit": {
"maxLength": 64,
"minLength": 40,
"type": "string"
},
"blocking": {
"type": "boolean"
},
"body": {
"maxGraphemes": 10000,
"maxLength": 100000,
"minLength": 1,
"type": "string"
},
"bodyDocumentFormat": {
"description": "gsp-markdown-v1 makes body the canonical Markdown.",
"knownValues": [
"gsp-markdown-v1"
],
"type": "string"
},
"category": {
"maxLength": 64,
"minLength": 1,
"type": "string"
},
"createdAt": {
"format": "datetime",
"type": "string"
},
"headCommit": {
"maxLength": 64,
"minLength": 40,
"type": "string"
},
"keyId": {
"maxLength": 128,
"minLength": 1,
"type": "string"
},
"line": {
"maximum": 2147483647,
"minimum": 1,
"type": "integer"
},
"number": {
"maximum": 9007199254740991,
"minimum": 1,
"type": "integer"
},
"path": {
"maxLength": 4096,
"minLength": 1,
"type": "string"
},
"pullRequestId": {
"maxLength": 36,
"minLength": 36,
"type": "string"
},
"receipt": {
"maxLength": 512,
"minLength": 1,
"type": "string"
},
"replyTo": {
"description": "The comment this one replies to, in the same Pull Request. A reply has no location, severity, category or blocking, and copies round, baseCommit and headCommit from that comment. Replies are one level deep.",
"format": "at-uri",
"type": "string"
},
"repositoryId": {
"ref": "dev.gitosphere.defs#repositoryId",
"type": "ref"
},
"round": {
"maximum": 9007199254740991,
"minimum": 0,
"type": "integer"
},
"severity": {
"enum": [
"info",
"low",
"medium",
"high",
"critical"
],
"type": "string"
},
"side": {
"enum": [
"base",
"head"
],
"type": "string"
},
"startLine": {
"maximum": 2147483647,
"minimum": 1,
"type": "integer"
},
"updatedAt": {
"description": "Set when the author edits the body; the record keeps its key and createdAt.",
"format": "datetime",
"type": "string"
}
},
"required": [
"repositoryId",
"pullRequestId",
"number",
"round",
"baseCommit",
"headCommit",
"author",
"body",
"bodyDocumentFormat",
"createdAt",
"acceptedBy",
"keyId",
"receipt"
],
"type": "object"
},
"type": "record"
}
},
"description": "A comment or typed finding bound to one Pull Request round. body is its canonical Markdown.",
"id": "dev.gitosphere.repository.pullRequestComment",
"lexicon": 1
}