# app.rocksky.playlist

> Published by [rocksky.app](https://lexicon.garden/identity/did:plc:vegqomyce4ssoqs7zwqvgqty)

✓ This is the authoritative definition for this NSID.

## Links

- [View on Lexicon Garden](https://lexicon.garden/lexicon/did:plc:vegqomyce4ssoqs7zwqvgqty/app.rocksky.playlist)
- [Documentation](https://lexicon.garden/lexicon/did:plc:vegqomyce4ssoqs7zwqvgqty/app.rocksky.playlist/docs)
- [Examples](https://lexicon.garden/lexicon/did:plc:vegqomyce4ssoqs7zwqvgqty/app.rocksky.playlist/examples)

## Definitions

### `app.rocksky.playlist`

**Type**: `record`

A declaration of a playlist.

**Key**: `tid`

| Property | Type | Required | Description |
|----------|------|----------|-------------|
| `appleMusicLink` | `string` | No | The Apple Music link of the playlist. |
| `createdAt` | `string` (datetime) | Yes | The date the playlist was created. |
| `description` | `string` | No | The playlist description. |
| `name` | `string` | Yes | The name of the playlist. |
| `picture` | `blob` | No | The picture of the playlist. |
| `pictureUrl` | `string` (uri) | No | The URL of the picture of the artist. |
| `spotifyLink` | `string` | No | The Spotify link of the playlist. |
| `tidalLink` | `string` | No | The Tidal link of the playlist. |
| `youtubeLink` | `string` | No | The YouTube link of the playlist. |

## Raw Schema

```json
{
  "$type": "com.atproto.lexicon.schema",
  "defs": {
    "main": {
      "description": "A declaration of a playlist.",
      "key": "tid",
      "record": {
        "properties": {
          "appleMusicLink": {
            "description": "The Apple Music link of the playlist.",
            "type": "string"
          },
          "createdAt": {
            "description": "The date the playlist was created.",
            "format": "datetime",
            "type": "string"
          },
          "description": {
            "description": "The playlist description.",
            "maxLength": 256,
            "minLength": 1,
            "type": "string"
          },
          "name": {
            "description": "The name of the playlist.",
            "maxLength": 512,
            "minLength": 1,
            "type": "string"
          },
          "picture": {
            "accept": [
              "image/png",
              "image/jpeg"
            ],
            "description": "The picture of the playlist.",
            "maxSize": 2000000,
            "type": "blob"
          },
          "pictureUrl": {
            "description": "The URL of the picture of the artist.",
            "format": "uri",
            "type": "string"
          },
          "spotifyLink": {
            "description": "The Spotify link of the playlist.",
            "type": "string"
          },
          "tidalLink": {
            "description": "The Tidal link of the playlist.",
            "type": "string"
          },
          "youtubeLink": {
            "description": "The YouTube link of the playlist.",
            "type": "string"
          }
        },
        "required": [
          "name",
          "createdAt"
        ],
        "type": "object"
      },
      "type": "record"
    }
  },
  "id": "app.rocksky.playlist",
  "lexicon": 1
}
```
