# at.smiled.reaction

> Published by [smiled.at](https://lexicon.garden/identity/did:plc:fiogs6gvvfopcsda2aeuwrxj)

✓ This is the authoritative definition for this NSID.

## Description

Reactions in the atmosphere.

## Links

- [View on Lexicon Garden](https://lexicon.garden/lexicon/did:plc:fiogs6gvvfopcsda2aeuwrxj/at.smiled.reaction)
- [Documentation](https://lexicon.garden/lexicon/did:plc:fiogs6gvvfopcsda2aeuwrxj/at.smiled.reaction/docs)
- [Examples](https://lexicon.garden/lexicon/did:plc:fiogs6gvvfopcsda2aeuwrxj/at.smiled.reaction/examples)

## Definitions

### `at.smiled.reaction`

**Type**: `record`

Record noting an emoji reaction to something in the atmosphere.

**Key**: `tid`

| Property | Type | Required | Description |
|----------|------|----------|-------------|
| `lang` | `string` (language) | No | An optional language identifier for the comment. |
| `emoji` | `string` | No | An optional emoji to express instead of the default smile (😊). |
| `offset` | `integer` | No | A time offset (in seconds) for the reaction to use with recorded media |
| `comment` | `string` (uri) | No | An optional comment to include with the reaction. |
| `subject` | `string` (at-uri) | Yes | A URI indicating the subject of the record owner's reaction. |
| `createdAt` | `string` (datetime) | Yes | The time when the reaction occurred or was recorded. |

## Raw Schema

```json
{
  "id": "at.smiled.reaction",
  "defs": {
    "main": {
      "key": "tid",
      "type": "record",
      "record": {
        "type": "object",
        "required": [
          "subject",
          "createdAt"
        ],
        "properties": {
          "lang": {
            "type": "string",
            "format": "language",
            "description": "An optional language identifier for the comment."
          },
          "emoji": {
            "type": "string",
            "maxLength": 32,
            "minLength": 1,
            "description": "An optional emoji to express instead of the default smile (😊).",
            "maxGraphemes": 1
          },
          "offset": {
            "type": "integer",
            "description": "A time offset (in seconds) for the reaction to use with recorded media"
          },
          "comment": {
            "type": "string",
            "format": "uri",
            "description": "An optional comment to include with the reaction."
          },
          "subject": {
            "type": "string",
            "format": "at-uri",
            "description": "A URI indicating the subject of the record owner's reaction."
          },
          "createdAt": {
            "type": "string",
            "format": "datetime",
            "description": "The time when the reaction occurred or was recorded."
          }
        }
      },
      "description": "Record noting an emoji reaction to something in the atmosphere."
    }
  },
  "$type": "com.atproto.lexicon.schema",
  "lexicon": 1,
  "description": "Reactions in the atmosphere."
}
```
