# app.rocksky.album

> 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.album)
- [Documentation](https://lexicon.garden/lexicon/did:plc:vegqomyce4ssoqs7zwqvgqty/app.rocksky.album/docs)
- [Examples](https://lexicon.garden/lexicon/did:plc:vegqomyce4ssoqs7zwqvgqty/app.rocksky.album/examples)

## Definitions

### `app.rocksky.album`

**Type**: `record`

A declaration of an album.

**Key**: `tid`

| Property | Type | Required | Description |
|----------|------|----------|-------------|
| `tags` | `array` | No | The tags of the album. |
| `year` | `integer` | No | The year the album was released. |
| `genre` | `string` | No | The genre of the album. |
| `title` | `string` | Yes | The title of the album. |
| `artist` | `string` | Yes | The artist of the album. |
| `albumArt` | `blob` | No | The album art of the album. |
| `duration` | `integer` | No | The duration of the album in seconds. |
| `createdAt` | `string` (datetime) | Yes | The date and time when the album was created. |
| `tidalLink` | `string` (uri) | No | The tidal link of the album. |
| `albumArtUrl` | `string` (uri) | No | The URL of the album art of the album. |
| `releaseDate` | `string` (datetime) | No | The release date of the album. |
| `spotifyLink` | `string` (uri) | No | The Spotify link of the album. |
| `youtubeLink` | `string` (uri) | No | The YouTube link of the album. |
| `appleMusicLink` | `string` (uri) | No | The Apple Music link of the album. |

## Raw Schema

```json
{
  "id": "app.rocksky.album",
  "defs": {
    "main": {
      "key": "tid",
      "type": "record",
      "record": {
        "type": "object",
        "required": [
          "title",
          "artist",
          "createdAt"
        ],
        "properties": {
          "tags": {
            "type": "array",
            "items": {
              "type": "string",
              "maxLength": 256,
              "minLength": 1
            },
            "description": "The tags of the album."
          },
          "year": {
            "type": "integer",
            "description": "The year the album was released."
          },
          "genre": {
            "type": "string",
            "maxLength": 256,
            "description": "The genre of the album."
          },
          "title": {
            "type": "string",
            "maxLength": 512,
            "minLength": 1,
            "description": "The title of the album."
          },
          "artist": {
            "type": "string",
            "maxLength": 256,
            "minLength": 1,
            "description": "The artist of the album."
          },
          "albumArt": {
            "type": "blob",
            "accept": [
              "image/png",
              "image/jpeg"
            ],
            "maxSize": 2000000,
            "description": "The album art of the album."
          },
          "duration": {
            "type": "integer",
            "description": "The duration of the album in seconds."
          },
          "createdAt": {
            "type": "string",
            "format": "datetime",
            "description": "The date and time when the album was created."
          },
          "tidalLink": {
            "type": "string",
            "format": "uri",
            "description": "The tidal link of the album."
          },
          "albumArtUrl": {
            "type": "string",
            "format": "uri",
            "description": "The URL of the album art of the album."
          },
          "releaseDate": {
            "type": "string",
            "format": "datetime",
            "description": "The release date of the album."
          },
          "spotifyLink": {
            "type": "string",
            "format": "uri",
            "description": "The Spotify link of the album."
          },
          "youtubeLink": {
            "type": "string",
            "format": "uri",
            "description": "The YouTube link of the album."
          },
          "appleMusicLink": {
            "type": "string",
            "format": "uri",
            "description": "The Apple Music link of the album."
          }
        }
      },
      "description": "A declaration of an album."
    }
  },
  "$type": "com.atproto.lexicon.schema",
  "lexicon": 1
}
```
