# org.swappulse.reaction

> Published by [bridge.swappulse.org](https://lexicon.garden/identity/did:plc:jwoatauidzr4lollmro2gh35)

## Description

A collector's reaction to a post (insane_pull, jealous, congrats, trade_interest, etc.), mirrored to AT Protocol as a real org.swappulse.reaction record. References the post via strongRef so reactions are portable and verifiable across instances.

## Links

- [View on Lexicon Garden](https://lexicon.garden/lexicon/did:plc:jwoatauidzr4lollmro2gh35/org.swappulse.reaction)
- [Documentation](https://lexicon.garden/lexicon/did:plc:jwoatauidzr4lollmro2gh35/org.swappulse.reaction/docs)
- [Examples](https://lexicon.garden/lexicon/did:plc:jwoatauidzr4lollmro2gh35/org.swappulse.reaction/examples)

## Definitions

### `org.swappulse.reaction`

**Type**: `record`

A reaction to a post.

**Key**: `tid`

| Property | Type | Required | Description |
|----------|------|----------|-------------|
| `postId` | `string` | No |  |
| `subject` | `string` (at-uri) | Yes |  |
| `createdAt` | `string` (datetime) | Yes |  |
| `reactorDid` | `string` (did) | No |  |
| `reactorName` | `string` | No |  |
| `reactionType` | `string` | Yes |  |
| `reactorAvatar` | `string` (uri) | No |  |
| `reactorHandle` | `string` | No |  |
| `targetCardUri` | `string` | No |  |

## Raw Schema

```json
{
  "id": "org.swappulse.reaction",
  "defs": {
    "main": {
      "key": "tid",
      "type": "record",
      "record": {
        "type": "object",
        "required": [
          "subject",
          "reactionType",
          "createdAt"
        ],
        "properties": {
          "postId": {
            "type": "string"
          },
          "subject": {
            "type": "string",
            "format": "at-uri"
          },
          "createdAt": {
            "type": "string",
            "format": "datetime"
          },
          "reactorDid": {
            "type": "string",
            "format": "did"
          },
          "reactorName": {
            "type": "string"
          },
          "reactionType": {
            "type": "string",
            "knownValues": [
              "insane_pull",
              "jealous",
              "congrats",
              "trade_interest",
              "gratz_set",
              "better_luck",
              "wow"
            ]
          },
          "reactorAvatar": {
            "type": "string",
            "format": "uri"
          },
          "reactorHandle": {
            "type": "string"
          },
          "targetCardUri": {
            "type": "string"
          }
        }
      },
      "description": "A reaction to a post."
    }
  },
  "$type": "com.atproto.lexicon.schema",
  "lexicon": 1,
  "revision": 1,
  "description": "A collector's reaction to a post (insane_pull, jealous, congrats, trade_interest, etc.), mirrored to AT Protocol as a real org.swappulse.reaction record. References the post via strongRef so reactions are portable and verifiable across instances."
}
```
