dev.gitosphere.repository.pullRequestReview

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

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

Checks

Valid
  • missing-primary-description defs.mainThe record has no description.
  • large-string defs.main.record.properties.bodymaxLength is over 20 KB. Use a blob for content that large.
  • unlimited-string defs.main.record.properties.decisionNo maxLength, maxGraphemes or format limits this string.
JSONDownload
{
  "$type": "com.atproto.lexicon.schema",
  "defs": {
    "main": {
      "key": "any",
      "record": {
        "properties": {
          "acceptedBy": {
            "format": "did",
            "type": "string"
          },
          "baseCommit": {
            "maxLength": 64,
            "minLength": 40,
            "type": "string"
          },
          "body": {
            "maxGraphemes": 10000,
            "maxLength": 100000,
            "type": "string"
          },
          "createdAt": {
            "format": "datetime",
            "type": "string"
          },
          "decision": {
            "enum": [
              "comment",
              "approve",
              "request_changes"
            ],
            "type": "string"
          },
          "headCommit": {
            "maxLength": 64,
            "minLength": 40,
            "type": "string"
          },
          "keyId": {
            "maxLength": 128,
            "minLength": 1,
            "type": "string"
          },
          "number": {
            "maximum": 9007199254740991,
            "minimum": 1,
            "type": "integer"
          },
          "pullRequestId": {
            "maxLength": 36,
            "minLength": 36,
            "type": "string"
          },
          "receipt": {
            "maxLength": 512,
            "minLength": 1,
            "type": "string"
          },
          "repositoryId": {
            "ref": "dev.gitosphere.defs#repositoryId",
            "type": "ref"
          },
          "reviewer": {
            "format": "did",
            "type": "string"
          },
          "reviewerHandle": {
            "description": "The reviewer's handle, verified by the server when it signed the review. It may be stale; reviewer is authoritative.",
            "format": "handle",
            "type": "string"
          },
          "round": {
            "maximum": 9007199254740991,
            "minimum": 0,
            "type": "integer"
          },
          "unverified": {
            "items": {
              "maxLength": 128,
              "minLength": 1,
              "type": "string"
            },
            "maxLength": 100,
            "type": "array"
          },
          "verification": {
            "items": {
              "ref": "dev.gitosphere.defs#verificationEvidence",
              "type": "ref"
            },
            "maxLength": 100,
            "type": "array"
          }
        },
        "required": [
          "repositoryId",
          "pullRequestId",
          "number",
          "round",
          "baseCommit",
          "headCommit",
          "reviewer",
          "decision",
          "verification",
          "unverified",
          "createdAt",
          "acceptedBy",
          "keyId",
          "receipt"
        ],
        "type": "object"
      },
      "type": "record"
    }
  },
  "description": "An immutable review decision and verification evidence bound to one Pull Request round.",
  "id": "dev.gitosphere.repository.pullRequestReview",
  "lexicon": 1
}