# site.mochott.like

> Published by [tokimeki.blue](https://lexicon.garden/identity/did:plc:4tr5dqti7nmu6g2czpthntak)

✓ This is the authoritative definition for this NSID.

## Description

A like record. Represents a user's endorsement of an article.

## Links

- [View on Lexicon Garden](https://lexicon.garden/lexicon/did:plc:4tr5dqti7nmu6g2czpthntak/site.mochott.like)
- [Documentation](https://lexicon.garden/lexicon/did:plc:4tr5dqti7nmu6g2czpthntak/site.mochott.like/docs)
- [Examples](https://lexicon.garden/lexicon/did:plc:4tr5dqti7nmu6g2czpthntak/site.mochott.like/examples)

## Definitions

### `site.mochott.like`

**Type**: `record`

Record indicating that the account author liked a specific article. Deleting this record removes the like.

**Key**: `tid`

| Property | Type | Required | Description |
|----------|------|----------|-------------|
| `subject` | `string` (at-uri) | Yes | AT URI of the article record being liked. |
| `createdAt` | `string` (datetime) | Yes | Timestamp when the like was created. |

## Raw Schema

```json
{
  "id": "site.mochott.like",
  "defs": {
    "main": {
      "key": "tid",
      "type": "record",
      "record": {
        "type": "object",
        "required": [
          "subject",
          "createdAt"
        ],
        "properties": {
          "subject": {
            "type": "string",
            "format": "at-uri",
            "description": "AT URI of the article record being liked."
          },
          "createdAt": {
            "type": "string",
            "format": "datetime",
            "description": "Timestamp when the like was created."
          }
        }
      },
      "description": "Record indicating that the account author liked a specific article. Deleting this record removes the like."
    }
  },
  "$type": "com.atproto.lexicon.schema",
  "lexicon": 1,
  "revision": 1,
  "description": "A like record. Represents a user's endorsement of an article."
}
```
