# app.studynext.reaction

> An emoji reaction on a timeline post or room chat comment. Stored on the reactor's PDS. A viewer may add multiple reactions to the same subject as long as each uses a different emoji (client-enforced, not server-validated) — tapping an emoji you've already reacted with toggles it off instead of adding a duplicate.

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

## Links

- [Documentation](https://lexicon.garden/lexicon/did:plc:nstib2qjcu3tyun7cxz4dxcm/app.studynext.reaction)
- [Schema JSON](https://lexicon.garden/lexicon/did:plc:nstib2qjcu3tyun7cxz4dxcm/app.studynext.reaction/schema.json)
- [Analytics](https://lexicon.garden/lexicon/did:plc:nstib2qjcu3tyun7cxz4dxcm/app.studynext.reaction/analytics)

## Record (`app.studynext.reaction`)

Type: record · key tid

### Properties

- `createdAt` (string · datetime, required)
- `emoji` (string, required): A single emoji grapheme cluster (any Unicode emoji, including multi-codepoint sequences like flags/skin-tones/ZWJ combos) — not free-form text.
  - Constraints: maxLength: 32, maxGraphemes: 1
- `subject` (unknown, required): Compatibility value. Earlier records may use the reacted record's AT-URI string; current writers use an inline strong reference {uri, cid} with the same semantics as com.atproto.repo.strongRef. Readers must accept both; new writes should use the object form. A legacy string has no CID and therefore does not pin a record version. Do not rewrite existing records solely to change this shape.

## Schema

```json
{
  "$type": "com.atproto.lexicon.schema",
  "defs": {
    "main": {
      "description": "An emoji reaction on a timeline post or room chat comment. Stored on the reactor's PDS. A viewer may add multiple reactions to the same subject as long as each uses a different emoji (client-enforced, not server-validated) — tapping an emoji you've already reacted with toggles it off instead of adding a duplicate.",
      "key": "tid",
      "record": {
        "properties": {
          "createdAt": {
            "format": "datetime",
            "type": "string"
          },
          "emoji": {
            "description": "A single emoji grapheme cluster (any Unicode emoji, including multi-codepoint sequences like flags/skin-tones/ZWJ combos) — not free-form text.",
            "maxGraphemes": 1,
            "maxLength": 32,
            "type": "string"
          },
          "subject": {
            "description": "Compatibility value. Earlier records may use the reacted record's AT-URI string; current writers use an inline strong reference {uri, cid} with the same semantics as com.atproto.repo.strongRef. Readers must accept both; new writes should use the object form. A legacy string has no CID and therefore does not pin a record version. Do not rewrite existing records solely to change this shape.",
            "type": "unknown"
          }
        },
        "required": [
          "subject",
          "emoji",
          "createdAt"
        ],
        "type": "object"
      },
      "type": "record"
    }
  },
  "id": "app.studynext.reaction",
  "lexicon": 1
}
```
