# app.rocksky.spotify.defs

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

## Definitions

### `app.rocksky.spotify.defs#spotifyTrackView`

**Type**: `object`

| Property | Type | Required | Description |
|----------|------|----------|-------------|
| `id` | `string` | No | The unique identifier of the Spotify track. |
| `name` | `string` | No | The name of the track. |
| `album` | `string` | No | The name of the album. |
| `artist` | `string` | No | The name of the artist. |
| `duration` | `integer` | No | The duration of the track in milliseconds. |
| `previewUrl` | `string` | No | A URL to a preview of the track. |

## Raw Schema

```json
{
  "id": "app.rocksky.spotify.defs",
  "defs": {
    "spotifyTrackView": {
      "type": "object",
      "properties": {
        "id": {
          "type": "string",
          "description": "The unique identifier of the Spotify track."
        },
        "name": {
          "type": "string",
          "description": "The name of the track."
        },
        "album": {
          "type": "string",
          "description": "The name of the album."
        },
        "artist": {
          "type": "string",
          "description": "The name of the artist."
        },
        "duration": {
          "type": "integer",
          "description": "The duration of the track in milliseconds."
        },
        "previewUrl": {
          "type": "string",
          "description": "A URL to a preview of the track."
        }
      }
    }
  },
  "$type": "com.atproto.lexicon.schema",
  "lexicon": 1
}
```
