# app.bluvy.tube.playlist.item

> Published by [tube.bluvy.app](https://lexicon.garden/identity/did:plc:dgqudubx2plnmynqu5wtsoan)

✓ This is the authoritative definition for this NSID.

## Links

- [View on Lexicon Garden](https://lexicon.garden/lexicon/did:plc:dgqudubx2plnmynqu5wtsoan/app.bluvy.tube.playlist.item)
- [Documentation](https://lexicon.garden/lexicon/did:plc:dgqudubx2plnmynqu5wtsoan/app.bluvy.tube.playlist.item/docs)
- [Examples](https://lexicon.garden/lexicon/did:plc:dgqudubx2plnmynqu5wtsoan/app.bluvy.tube.playlist.item/examples)

## Definitions

### `app.bluvy.tube.playlist.item`

**Type**: `record`

One video's membership in a app.bluvy.tube.playlist, written to the playlist owner's own repo as a separate record (not embedded in the playlist record itself) — same shape as app.bsky.graph.listitem referencing an app.bsky.graph.list. See App\Controller\Account\PlaylistController in the Bluvy Tube source for the writer.

**Key**: `tid`

| Property | Type | Required | Description |
|----------|------|----------|-------------|
| `createdAt` | `string` (datetime) | Yes | Client-declared timestamp when the video was added — also this item's own place in the playlist's display order (oldest first). |
| `playlist` | `ref` → `com.atproto.repo.strongRef` | Yes | The app.bluvy.tube.playlist record this item belongs to. |
| `subject` | `ref` → `com.atproto.repo.strongRef` | Yes | The video post (an app.bsky.feed.post carrying an app.bsky.embed.video) added to the playlist. |

## Raw Schema

```json
{
  "$type": "com.atproto.lexicon.schema",
  "defs": {
    "main": {
      "description": "One video's membership in a app.bluvy.tube.playlist, written to the playlist owner's own repo as a separate record (not embedded in the playlist record itself) — same shape as app.bsky.graph.listitem referencing an app.bsky.graph.list. See App\\Controller\\Account\\PlaylistController in the Bluvy Tube source for the writer.",
      "key": "tid",
      "record": {
        "properties": {
          "createdAt": {
            "description": "Client-declared timestamp when the video was added — also this item's own place in the playlist's display order (oldest first).",
            "format": "datetime",
            "type": "string"
          },
          "playlist": {
            "description": "The app.bluvy.tube.playlist record this item belongs to.",
            "ref": "com.atproto.repo.strongRef",
            "type": "ref"
          },
          "subject": {
            "description": "The video post (an app.bsky.feed.post carrying an app.bsky.embed.video) added to the playlist.",
            "ref": "com.atproto.repo.strongRef",
            "type": "ref"
          }
        },
        "required": [
          "playlist",
          "subject",
          "createdAt"
        ],
        "type": "object"
      },
      "type": "record"
    }
  },
  "id": "app.bluvy.tube.playlist.item",
  "lexicon": 1
}
```
