# world.treeline.activity.like

> Published by [treeline.world](https://lexicon.garden/identity/did:plc:sjejpugpajgvxweilujzjcmq)

✓ This is the authoritative definition for this NSID.

## Links

- [View on Lexicon Garden](https://lexicon.garden/lexicon/did:plc:sjejpugpajgvxweilujzjcmq/world.treeline.activity.like)
- [Documentation](https://lexicon.garden/lexicon/did:plc:sjejpugpajgvxweilujzjcmq/world.treeline.activity.like/docs)
- [Examples](https://lexicon.garden/lexicon/did:plc:sjejpugpajgvxweilujzjcmq/world.treeline.activity.like/examples)

## Definitions

### `world.treeline.activity.like`

**Type**: `record`

An athlete reaction or kudos endorsement on a Treeline activity.

**Key**: `tid`

| Property | Type | Required | Description |
|----------|------|----------|-------------|
| `createdAt` | `string` (datetime) | Yes | Timestamp when the reaction was submitted. |
| `reaction` | `string` | Yes | Reaction type. |
| `subject` | `ref` → `com.atproto.repo.strongRef` | Yes | Target activity strong reference (AT-URI and CID). |

## Raw Schema

```json
{
  "$type": "com.atproto.lexicon.schema",
  "defs": {
    "main": {
      "description": "An athlete reaction or kudos endorsement on a Treeline activity.",
      "key": "tid",
      "record": {
        "properties": {
          "createdAt": {
            "description": "Timestamp when the reaction was submitted.",
            "format": "datetime",
            "type": "string"
          },
          "reaction": {
            "default": "nice",
            "description": "Reaction type.",
            "knownValues": [
              "summit",
              "send_it",
              "props",
              "nice"
            ],
            "type": "string"
          },
          "subject": {
            "description": "Target activity strong reference (AT-URI and CID).",
            "ref": "com.atproto.repo.strongRef",
            "type": "ref"
          }
        },
        "required": [
          "subject",
          "reaction",
          "createdAt"
        ],
        "type": "object"
      },
      "type": "record"
    }
  },
  "id": "world.treeline.activity.like",
  "lexicon": 1
}
```
