# dev.gitosphere.repository.issueComment

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

- Kind: record
- Record key: any
- Authority: repository.gitosphere.dev
- Lexicon: 1
- Published by [gitosphere-lex.bsky.social](https://lexicon.garden/identity/did:plc:iz47txlteeb2ojtp5ygiqet6), the NSID's authority

## Links

- [Documentation](https://lexicon.garden/lexicon/did:plc:iz47txlteeb2ojtp5ygiqet6/dev.gitosphere.repository.issueComment)
- [Schema JSON](https://lexicon.garden/lexicon/did:plc:iz47txlteeb2ojtp5ygiqet6/dev.gitosphere.repository.issueComment/schema.json)
- [Analytics](https://lexicon.garden/lexicon/did:plc:iz47txlteeb2ojtp5ygiqet6/dev.gitosphere.repository.issueComment/analytics)

## Record (`dev.gitosphere.repository.issueComment`)

Type: record · key any

### Properties

- `acceptedBy` (string · did, required)
- `author` (string · did, required)
- `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.
- `body` (string, required)
  - Constraints: minLength: 1, maxLength: 100000, maxGraphemes: 10000
- `bodyDocumentFormat` (string, required): gsp-markdown-v1 makes body the canonical Markdown.
  - Constraints: knownValues: gsp-markdown-v1
- `createdAt` (string · datetime, required)
- `issueId` (string, required)
  - Constraints: minLength: 36, maxLength: 36
- `keyId` (string, required)
  - Constraints: minLength: 1, maxLength: 128
- `number` (integer, required)
  - Constraints: minimum: 1, maximum: 9007199254740991
- `receipt` (string, required)
  - Constraints: minLength: 1, maxLength: 512
- `repositoryId` (ref, required)
  - Reference: `dev.gitosphere.defs#repositoryId`
- `updatedAt` (string · datetime): Set when the author edits the body; the record keeps its key and createdAt.

## Schema

```json
{
  "$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"
          },
          "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"
          },
          "createdAt": {
            "format": "datetime",
            "type": "string"
          },
          "issueId": {
            "maxLength": 36,
            "minLength": 36,
            "type": "string"
          },
          "keyId": {
            "maxLength": 128,
            "minLength": 1,
            "type": "string"
          },
          "number": {
            "maximum": 9007199254740991,
            "minimum": 1,
            "type": "integer"
          },
          "receipt": {
            "maxLength": 512,
            "minLength": 1,
            "type": "string"
          },
          "repositoryId": {
            "ref": "dev.gitosphere.defs#repositoryId",
            "type": "ref"
          },
          "updatedAt": {
            "description": "Set when the author edits the body; the record keeps its key and createdAt.",
            "format": "datetime",
            "type": "string"
          }
        },
        "required": [
          "repositoryId",
          "issueId",
          "number",
          "author",
          "body",
          "bodyDocumentFormat",
          "createdAt",
          "acceptedBy",
          "keyId",
          "receipt"
        ],
        "type": "object"
      },
      "type": "record"
    }
  },
  "description": "A comment on one Issue. body is its canonical Markdown.",
  "id": "dev.gitosphere.repository.issueComment",
  "lexicon": 1
}
```
