# dev.gitosphere.repository.issueComment

> Published by [gitosphere-lex.bsky.social](https://lexicon.garden/identity/did:plc:iz47txlteeb2ojtp5ygiqet6)

✓ This is the authoritative definition for this NSID.

## Description

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

## Links

- [View on Lexicon Garden](https://lexicon.garden/lexicon/did:plc:iz47txlteeb2ojtp5ygiqet6/dev.gitosphere.repository.issueComment)
- [Documentation](https://lexicon.garden/lexicon/did:plc:iz47txlteeb2ojtp5ygiqet6/dev.gitosphere.repository.issueComment/docs)
- [Examples](https://lexicon.garden/lexicon/did:plc:iz47txlteeb2ojtp5ygiqet6/dev.gitosphere.repository.issueComment/examples)

## Definitions

### `dev.gitosphere.repository.issueComment`

**Type**: `record`

**Key**: `any`

| Property | Type | Required | Description |
|----------|------|----------|-------------|
| `acceptedBy` | `string` (did) | Yes |  |
| `author` | `string` (did) | Yes |  |
| `authorHandle` | `string` (handle) | No | 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` | Yes |  |
| `bodyDocumentFormat` | `string` | Yes | gsp-markdown-v1 makes body the canonical Markdown. |
| `createdAt` | `string` (datetime) | Yes |  |
| `issueId` | `string` | Yes |  |
| `keyId` | `string` | Yes |  |
| `number` | `integer` | Yes |  |
| `receipt` | `string` | Yes |  |
| `repositoryId` | `ref` → `dev.gitosphere.defs#repositoryId` | Yes |  |
| `updatedAt` | `string` (datetime) | No | Set when the author edits the body; the record keeps its key and createdAt. |

## Raw 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
}
```
