# app.voresky.pinnedposts

> Published by [voresky.app](https://lexicon.garden/identity/did:plc:4mvnkzobjzwuaxlnvcky3oh6)

✓ This is the authoritative definition for this NSID.

## Links

- [View on Lexicon Garden](https://lexicon.garden/lexicon/did:plc:4mvnkzobjzwuaxlnvcky3oh6/app.voresky.pinnedposts)
- [Documentation](https://lexicon.garden/lexicon/did:plc:4mvnkzobjzwuaxlnvcky3oh6/app.voresky.pinnedposts/docs)
- [Examples](https://lexicon.garden/lexicon/did:plc:4mvnkzobjzwuaxlnvcky3oh6/app.voresky.pinnedposts/examples)

## Definitions

### `app.voresky.pinnedposts`

**Type**: `record`

An ordered gallery of posts an account has chosen to highlight. Bluesky's own profile record holds a single pinned post; this record holds an ordered list of them. The first item is the account's main pin and is expected to mirror `app.bsky.actor.profile#pinnedPost`, so that clients which do not know about this record still show the same primary pin.

**Key**: `literal:self`

| Property | Type | Required | Description |
|----------|------|----------|-------------|
| `items` | `array` | Yes | Pinned posts in display order. The first item is the main pin. |
| `updatedAt` | `string` (datetime) | Yes |  |

### `app.voresky.pinnedposts#pinnedPost`

**Type**: `object`

| Property | Type | Required | Description |
|----------|------|----------|-------------|
| `post` | `ref` → `com.atproto.repo.strongRef` | Yes | Strong reference to the pinned post record. |

## Raw Schema

```json
{
  "id": "app.voresky.pinnedposts",
  "defs": {
    "main": {
      "key": "literal:self",
      "type": "record",
      "record": {
        "type": "object",
        "required": [
          "items",
          "updatedAt"
        ],
        "properties": {
          "items": {
            "type": "array",
            "items": {
              "ref": "#pinnedPost",
              "type": "ref"
            },
            "maxLength": 20,
            "description": "Pinned posts in display order. The first item is the main pin."
          },
          "updatedAt": {
            "type": "string",
            "format": "datetime"
          }
        }
      },
      "description": "An ordered gallery of posts an account has chosen to highlight. Bluesky's own profile record holds a single pinned post; this record holds an ordered list of them. The first item is the account's main pin and is expected to mirror `app.bsky.actor.profile#pinnedPost`, so that clients which do not know about this record still show the same primary pin."
    },
    "pinnedPost": {
      "type": "object",
      "required": [
        "post"
      ],
      "properties": {
        "post": {
          "ref": "com.atproto.repo.strongRef",
          "type": "ref",
          "description": "Strong reference to the pinned post record."
        }
      }
    }
  },
  "$type": "com.atproto.lexicon.schema",
  "lexicon": 1
}
```
