# dev.knotless.issue

> Published by [lexicons.knotless.dev](https://lexicon.garden/identity/did:plc:yqsg7znbbhfmj3a2nrpnaerk)

✓ This is the authoritative definition for this NSID.

## Description

An issue on a repository, kept in its author's account.

## Links

- [View on Lexicon Garden](https://lexicon.garden/lexicon/did:plc:yqsg7znbbhfmj3a2nrpnaerk/dev.knotless.issue)
- [Documentation](https://lexicon.garden/lexicon/did:plc:yqsg7znbbhfmj3a2nrpnaerk/dev.knotless.issue/docs)
- [Examples](https://lexicon.garden/lexicon/did:plc:yqsg7znbbhfmj3a2nrpnaerk/dev.knotless.issue/examples)

## Definitions

### `dev.knotless.issue`

**Type**: `record`

For a private repository, written in the author's repo inside the repository's space.

**Key**: `tid`

| Property | Type | Required | Description |
|----------|------|----------|-------------|
| `attachments` | `array` | No | What it carries beside its body: the pictures the body shows. Kinds unknown to a reader are passed over, and kept by a client changing it. |
| `body` | `string` | No | Markdown. |
| `createdAt` | `string` (datetime) | Yes |  |
| `facets` | `array` | No | The accounts its body mentions, by where: written as it is, from each `@handle` outside code and links. |
| `repo` | `ref` → `dev.knotless.defs#repoRef` | Yes | The target repository. |
| `title` | `string` | Yes |  |
| `titleFacets` | `array` | No | The accounts its title mentions, by where. |
| `updatedAt` | `string` (datetime) | No | When its author last changed its title or body. |

## Raw Schema

```json
{
  "$type": "com.atproto.lexicon.schema",
  "defs": {
    "main": {
      "description": "For a private repository, written in the author's repo inside the repository's space.",
      "key": "tid",
      "record": {
        "properties": {
          "attachments": {
            "description": "What it carries beside its body: the pictures the body shows. Kinds unknown to a reader are passed over, and kept by a client changing it.",
            "items": {
              "refs": [
                "dev.knotless.defs#image"
              ],
              "type": "union"
            },
            "maxLength": 32,
            "type": "array"
          },
          "body": {
            "description": "Markdown.",
            "maxLength": 20000,
            "type": "string"
          },
          "createdAt": {
            "format": "datetime",
            "type": "string"
          },
          "facets": {
            "description": "The accounts its body mentions, by where: written as it is, from each `@handle` outside code and links.",
            "items": {
              "ref": "dev.knotless.defs#facet",
              "type": "ref"
            },
            "maxLength": 50,
            "type": "array"
          },
          "repo": {
            "description": "The target repository.",
            "ref": "dev.knotless.defs#repoRef",
            "type": "ref"
          },
          "title": {
            "maxGraphemes": 300,
            "maxLength": 3000,
            "type": "string"
          },
          "titleFacets": {
            "description": "The accounts its title mentions, by where.",
            "items": {
              "ref": "dev.knotless.defs#facet",
              "type": "ref"
            },
            "maxLength": 50,
            "type": "array"
          },
          "updatedAt": {
            "description": "When its author last changed its title or body.",
            "format": "datetime",
            "type": "string"
          }
        },
        "required": [
          "repo",
          "title",
          "createdAt"
        ],
        "type": "object"
      },
      "type": "record"
    }
  },
  "description": "An issue on a repository, kept in its author's account.",
  "id": "dev.knotless.issue",
  "lexicon": 1
}
```
