dev.gitosphere.repository.pullRequestComment

A comment or typed finding bound to one Pull Request round. body is its canonical Markdown.

Details · record, key any
Kindrecord
Record keyany
Authorityrepository.gitosphere.dev
Indexed

Record

record · key any

Properties

acceptedBy

requiredstring · did

author

requiredstring · did

authorHandle

string · handle

The author's handle, verified by the server when it signed this version of the comment. It may be stale; author is authoritative.

baseCommit

requiredstring
  • minLength: 40
  • maxLength: 64

blocking

boolean

body

requiredstring
  • minLength: 1
  • maxLength: 100000
  • maxGraphemes: 10000

bodyDocumentFormat

requiredstring

gsp-markdown-v1 makes body the canonical Markdown.

  • knownValues: gsp-markdown-v1

category

string
  • minLength: 1
  • maxLength: 64

createdAt

requiredstring · datetime

headCommit

requiredstring
  • minLength: 40
  • maxLength: 64

keyId

requiredstring
  • minLength: 1
  • maxLength: 128

line

integer
  • minimum: 1
  • maximum: 2147483647

number

requiredinteger
  • minimum: 1
  • maximum: 9007199254740991

path

string
  • minLength: 1
  • maxLength: 4096

pullRequestId

requiredstring
  • minLength: 36
  • maxLength: 36

receipt

requiredstring
  • minLength: 1
  • maxLength: 512

replyTo

string · at-uri

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.

round

requiredinteger
  • minimum: 0
  • maximum: 9007199254740991

severity

string
  • enum: info | low | medium | high | critical

side

string
  • enum: base | head

startLine

integer
  • minimum: 1
  • maximum: 2147483647

updatedAt

string · datetime

Set when the author edits the body; the record keeps its key and createdAt.

Similar lexicons

semantic match

Lexicons whose schemas describe something close to this one. Check them before publishing a new one that overlaps.

  • A comment on one Issue. body is its canonical Markdown.

  • 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.

  • A verdict on a blocking Pull Request thread, bound to the round it was given in. Comment records are immutable, so verdicts accumulate as separate records. Whether a verdict decides the thread or only proposes is derived from its author's role when it is read: the thread's author and repository admins decide; the Pull Request author can only propose addressed or noLongerApplies.

  • An immutable review decision and verification evidence bound to one Pull Request round.

  • A comment on an issue, optionally replying to another comment.