# dev.knotless.reaction

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

✓ This is the authoritative definition for this NSID.

## Description

An account's reaction to a pull, an issue or a comment, as one of a few emoji.

## Links

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

## Definitions

### `dev.knotless.reaction`

**Type**: `record`

Kept in the reacting account, keyed by a TID: for what is said on a private repository, in the account's repo in its space, so that it names nothing to anyone else. Readers count one reaction per account, subject and content, however many records name them.

**Key**: `tid`

| Property | Type | Required | Description |
|----------|------|----------|-------------|
| `content` | `ref` → `dev.knotless.defs#reactionContent` | Yes |  |
| `createdAt` | `string` (datetime) | Yes |  |
| `subject` | `ref` → `com.atproto.repo.strongRef` | Yes | The dev.knotless.pull, dev.knotless.issue or dev.knotless.comment record reacted to, as it was then. |

## Raw Schema

```json
{
  "$type": "com.atproto.lexicon.schema",
  "defs": {
    "main": {
      "description": "Kept in the reacting account, keyed by a TID: for what is said on a private repository, in the account's repo in its space, so that it names nothing to anyone else. Readers count one reaction per account, subject and content, however many records name them.",
      "key": "tid",
      "record": {
        "properties": {
          "content": {
            "ref": "dev.knotless.defs#reactionContent",
            "type": "ref"
          },
          "createdAt": {
            "format": "datetime",
            "type": "string"
          },
          "subject": {
            "description": "The dev.knotless.pull, dev.knotless.issue or dev.knotless.comment record reacted to, as it was then.",
            "ref": "com.atproto.repo.strongRef",
            "type": "ref"
          }
        },
        "required": [
          "subject",
          "content",
          "createdAt"
        ],
        "type": "object"
      },
      "type": "record"
    }
  },
  "description": "An account's reaction to a pull, an issue or a comment, as one of a few emoji.",
  "id": "dev.knotless.reaction",
  "lexicon": 1
}
```
