# com.pipobscure.bundle.like

> Published by [pipobscure.com](https://lexicon.garden/identity/did:plc:rwypz6edxmzyhob2k3rsl2fw)

✓ This is the authoritative definition for this NSID.

## Links

- [View on Lexicon Garden](https://lexicon.garden/lexicon/did:plc:rwypz6edxmzyhob2k3rsl2fw/com.pipobscure.bundle.like)
- [Documentation](https://lexicon.garden/lexicon/did:plc:rwypz6edxmzyhob2k3rsl2fw/com.pipobscure.bundle.like/docs)
- [Examples](https://lexicon.garden/lexicon/did:plc:rwypz6edxmzyhob2k3rsl2fw/com.pipobscure.bundle.like/examples)

## Definitions

### `com.pipobscure.bundle.like`

**Type**: `record`

The repository's owner likes an app: a star for it, across its releases. It is of the app's listing (com.pipobscure.bundle.listing), and each like comes with a post from the same account saying so. The record key is the sha256 of the listing's at:// address in lowercase hex, so an account has one like of an app; liking it again counts on that record and lists the new post. A like vouches for nothing; nothing installs or refuses by it.

**Key**: `any`

| Property | Type | Required | Description |
|----------|------|----------|-------------|
| `count` | `integer` | No | How many times the account has liked the app. It counts on past the posts listed. Absent, as written by 0.2.0–0.2.1, it is 1. |
| `createdAt` | `string` (datetime) | Yes | When the app was first liked, by the liker's own clock. |
| `post` | `ref` → `com.atproto.repo.strongRef` | No | The post that says so, as written by 0.2.0–0.2.1, before likes counted; read as posts: [post]. No longer written. |
| `posts` | `array` | No | The posts that say so, from the same account, oldest first: one for each like, the newest 100 of them. |
| `subject` | `string` (at-uri) | Yes | The at:// address of the listing of the app liked. |
| `updatedAt` | `string` (datetime) | No | When it was last liked, by the liker's own clock. |

## Raw Schema

```json
{
  "$type": "com.atproto.lexicon.schema",
  "defs": {
    "main": {
      "description": "The repository's owner likes an app: a star for it, across its releases. It is of the app's listing (com.pipobscure.bundle.listing), and each like comes with a post from the same account saying so. The record key is the sha256 of the listing's at:// address in lowercase hex, so an account has one like of an app; liking it again counts on that record and lists the new post. A like vouches for nothing; nothing installs or refuses by it.",
      "key": "any",
      "record": {
        "properties": {
          "count": {
            "description": "How many times the account has liked the app. It counts on past the posts listed. Absent, as written by 0.2.0–0.2.1, it is 1.",
            "minimum": 1,
            "type": "integer"
          },
          "createdAt": {
            "description": "When the app was first liked, by the liker's own clock.",
            "format": "datetime",
            "type": "string"
          },
          "post": {
            "description": "The post that says so, as written by 0.2.0–0.2.1, before likes counted; read as posts: [post]. No longer written.",
            "ref": "com.atproto.repo.strongRef",
            "type": "ref"
          },
          "posts": {
            "description": "The posts that say so, from the same account, oldest first: one for each like, the newest 100 of them.",
            "items": {
              "ref": "com.atproto.repo.strongRef",
              "type": "ref"
            },
            "maxLength": 100,
            "type": "array"
          },
          "subject": {
            "description": "The at:// address of the listing of the app liked.",
            "format": "at-uri",
            "type": "string"
          },
          "updatedAt": {
            "description": "When it was last liked, by the liker's own clock.",
            "format": "datetime",
            "type": "string"
          }
        },
        "required": [
          "subject",
          "createdAt"
        ],
        "type": "object"
      },
      "type": "record"
    }
  },
  "id": "com.pipobscure.bundle.like",
  "lexicon": 1
}
```
