# fm.teal.stats.defs

> Published by [teal.fm](https://lexicon.garden/identity/did:plc:iwhuynr6mm6xxuh25o4do2tx)

✓ This is the authoritative definition for this NSID.

## Links

- [View on Lexicon Garden](https://lexicon.garden/lexicon/did:plc:iwhuynr6mm6xxuh25o4do2tx/fm.teal.stats.defs)
- [Documentation](https://lexicon.garden/lexicon/did:plc:iwhuynr6mm6xxuh25o4do2tx/fm.teal.stats.defs/docs)
- [Examples](https://lexicon.garden/lexicon/did:plc:iwhuynr6mm6xxuh25o4do2tx/fm.teal.stats.defs/examples)

## Definitions

### `fm.teal.stats.defs#artistView`

**Type**: `object`

| Property | Type | Required | Description |
|----------|------|----------|-------------|
| `mbid` | `string` (uri) | No | MusicBrainz artist ID URI, formatted as mbid:<uuid> |
| `name` | `string` | No | Artist name |
| `playCount` | `integer` | No | Total number of plays for this artist |

### `fm.teal.stats.defs#releaseView`

**Type**: `object`

| Property | Type | Required | Description |
|----------|------|----------|-------------|
| `mbid` | `string` (uri) | No | MusicBrainz release ID URI, formatted as mbid:<uuid> |
| `name` | `string` | No | Release/album name |
| `playCount` | `integer` | No | Total number of plays for this release |

### `fm.teal.stats.defs#recordingView`

**Type**: `object`

| Property | Type | Required | Description |
|----------|------|----------|-------------|
| `mbid` | `string` (uri) | No | MusicBrainz recording ID URI, formatted as mbid:<uuid> |
| `name` | `string` | No | Recording/track name |
| `playCount` | `integer` | No | Total number of plays for this recording |

## Raw Schema

```json
{
  "id": "fm.teal.stats.defs",
  "defs": {
    "artistView": {
      "type": "object",
      "properties": {
        "mbid": {
          "type": "string",
          "format": "uri",
          "description": "MusicBrainz artist ID URI, formatted as mbid:<uuid>"
        },
        "name": {
          "type": "string",
          "description": "Artist name"
        },
        "playCount": {
          "type": "integer",
          "description": "Total number of plays for this artist"
        }
      }
    },
    "releaseView": {
      "type": "object",
      "properties": {
        "mbid": {
          "type": "string",
          "format": "uri",
          "description": "MusicBrainz release ID URI, formatted as mbid:<uuid>"
        },
        "name": {
          "type": "string",
          "description": "Release/album name"
        },
        "playCount": {
          "type": "integer",
          "description": "Total number of plays for this release"
        }
      }
    },
    "recordingView": {
      "type": "object",
      "properties": {
        "mbid": {
          "type": "string",
          "format": "uri",
          "description": "MusicBrainz recording ID URI, formatted as mbid:<uuid>"
        },
        "name": {
          "type": "string",
          "description": "Recording/track name"
        },
        "playCount": {
          "type": "integer",
          "description": "Total number of plays for this recording"
        }
      }
    }
  },
  "$type": "com.atproto.lexicon.schema",
  "lexicon": 1
}
```
