# me.linkna.lastfm

> Published by [linkna.me](https://lexicon.garden/identity/did:plc:py7scbwsfz53fg2lniwggdgd)

✓ This is the authoritative definition for this NSID.

## Links

- [View on Lexicon Garden](https://lexicon.garden/lexicon/did:plc:py7scbwsfz53fg2lniwggdgd/me.linkna.lastfm)
- [Documentation](https://lexicon.garden/lexicon/did:plc:py7scbwsfz53fg2lniwggdgd/me.linkna.lastfm/docs)
- [Examples](https://lexicon.garden/lexicon/did:plc:py7scbwsfz53fg2lniwggdgd/me.linkna.lastfm/examples)

## Definitions

### `me.linkna.lastfm`

**Type**: `record`

A Last.fm scrobble play record written by Linkname.

**Key**: `tid`

| Property | Type | Required | Description |
|----------|------|----------|-------------|
| `createdAt` | `string` (datetime) | Yes | When this record was created. |
| `originUrl` | `string` (uri) | No | URL to the track on Last.fm. |
| `trackMbId` | `string` | No | MusicBrainz ID for the track. |
| `trackName` | `string` | Yes | Track/song name. |
| `artistMbId` | `string` | No | MusicBrainz ID for the artist. |
| `playedTime` | `string` (datetime) | No | When the track was played on Last.fm. |
| `artistNames` | `array` | Yes | Artist name(s). |
| `coverArtUrl` | `string` | No | URL to the album cover art. |
| `releaseMbId` | `string` | No | MusicBrainz ID for the release/album. |
| `releaseName` | `string` | No | Album/release name. |

## Raw Schema

```json
{
  "id": "me.linkna.lastfm",
  "defs": {
    "main": {
      "key": "tid",
      "type": "record",
      "record": {
        "type": "object",
        "required": [
          "trackName",
          "artistNames",
          "createdAt"
        ],
        "properties": {
          "createdAt": {
            "type": "string",
            "format": "datetime",
            "description": "When this record was created."
          },
          "originUrl": {
            "type": "string",
            "format": "uri",
            "description": "URL to the track on Last.fm."
          },
          "trackMbId": {
            "type": "string",
            "description": "MusicBrainz ID for the track."
          },
          "trackName": {
            "type": "string",
            "description": "Track/song name."
          },
          "artistMbId": {
            "type": "string",
            "description": "MusicBrainz ID for the artist."
          },
          "playedTime": {
            "type": "string",
            "format": "datetime",
            "description": "When the track was played on Last.fm."
          },
          "artistNames": {
            "type": "array",
            "items": {
              "type": "string"
            },
            "description": "Artist name(s)."
          },
          "coverArtUrl": {
            "type": "string",
            "description": "URL to the album cover art."
          },
          "releaseMbId": {
            "type": "string",
            "description": "MusicBrainz ID for the release/album."
          },
          "releaseName": {
            "type": "string",
            "description": "Album/release name."
          }
        }
      },
      "description": "A Last.fm scrobble play record written by Linkname."
    }
  },
  "$type": "com.atproto.lexicon.schema",
  "lexicon": 1
}
```
