# dev.knotless.issue

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

- Kind: record
- Record key: tid
- Authority: knotless.dev
- Lexicon: 1
- Published by [lexicons.knotless.dev](https://lexicon.garden/identity/did:plc:yqsg7znbbhfmj3a2nrpnaerk), the NSID's authority

## Links

- [Documentation](https://lexicon.garden/lexicon/did:plc:yqsg7znbbhfmj3a2nrpnaerk/dev.knotless.issue)
- [Schema JSON](https://lexicon.garden/lexicon/did:plc:yqsg7znbbhfmj3a2nrpnaerk/dev.knotless.issue/schema.json)
- [Analytics](https://lexicon.garden/lexicon/did:plc:yqsg7znbbhfmj3a2nrpnaerk/dev.knotless.issue/analytics)

## Record (`dev.knotless.issue`)

Type: record · key tid

### Properties

- `attachments` (array): 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.
  - Constraints: maxLength: 32
  - `items` (union)
    - One of: `dev.knotless.defs#image`
- `body` (string): Markdown.
  - Constraints: maxLength: 20000
- `createdAt` (string · datetime, required)
- `facets` (array): The accounts its body mentions, by where: written as it is, from each `@handle` outside code and links.
  - Constraints: maxLength: 50
  - `items` (ref)
    - Reference: `dev.knotless.defs#facet`
- `repo` (ref, required): The target repository.
  - Reference: `dev.knotless.defs#repoRef`
- `title` (string, required)
  - Constraints: maxLength: 3000, maxGraphemes: 300
- `titleFacets` (array): The accounts its title mentions, by where.
  - Constraints: maxLength: 50
  - `items` (ref)
    - Reference: `dev.knotless.defs#facet`
- `updatedAt` (string · datetime): When its author last changed its title or body.

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