# com.babesky.actor.featured

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

✓ This is the authoritative definition for this NSID.

## Links

- [View on Lexicon Garden](https://lexicon.garden/lexicon/did:plc:qtapiembzpxlzsiagnc7eyy3/com.babesky.actor.featured)
- [Documentation](https://lexicon.garden/lexicon/did:plc:qtapiembzpxlzsiagnc7eyy3/com.babesky.actor.featured/docs)
- [Examples](https://lexicon.garden/lexicon/did:plc:qtapiembzpxlzsiagnc7eyy3/com.babesky.actor.featured/examples)

## Definitions

### `com.babesky.actor.featured`

**Type**: `record`

Featured posts record for the Babesky creator portfolio. An ordered selection of the creator's own posts (max 8) displayed as a curated preview reel in Atmosphere apps. Consumed alongside com.babesky.actor.profile, com.babesky.actor.links, and com.babesky.actor.support.

**Key**: `literal:self`

| Property | Type | Required | Description |
|----------|------|----------|-------------|
| `posts` | `array` | Yes |  |
| `createdAt` | `string` (datetime) | Yes |  |

### `com.babesky.actor.featured#featuredPost`

**Type**: `object`

| Property | Type | Required | Description |
|----------|------|----------|-------------|
| `cid` | `string` (cid) | No | CID of the post record at time of featuring. Used to detect if the post has been deleted or edited. |
| `uri` | `string` (at-uri) | Yes | AT URI of an app.bsky.feed.post in the same actor's repository. |

## Raw Schema

```json
{
  "id": "com.babesky.actor.featured",
  "defs": {
    "main": {
      "key": "literal:self",
      "type": "record",
      "record": {
        "type": "object",
        "required": [
          "posts",
          "createdAt"
        ],
        "properties": {
          "posts": {
            "type": "array",
            "items": {
              "ref": "#featuredPost",
              "type": "ref"
            },
            "maxLength": 8
          },
          "createdAt": {
            "type": "string",
            "format": "datetime"
          }
        }
      },
      "description": "Featured posts record for the Babesky creator portfolio. An ordered selection of the creator's own posts (max 8) displayed as a curated preview reel in Atmosphere apps. Consumed alongside com.babesky.actor.profile, com.babesky.actor.links, and com.babesky.actor.support."
    },
    "featuredPost": {
      "type": "object",
      "required": [
        "uri"
      ],
      "properties": {
        "cid": {
          "type": "string",
          "format": "cid",
          "description": "CID of the post record at time of featuring. Used to detect if the post has been deleted or edited."
        },
        "uri": {
          "type": "string",
          "format": "at-uri",
          "description": "AT URI of an app.bsky.feed.post in the same actor's repository."
        }
      }
    }
  },
  "$type": "com.atproto.lexicon.schema",
  "lexicon": 1
}
```
