Last.fm · JSON Structure

Lastfm Album Structure

JSON Structure representation of a Last.fm album record, including tracks, tags, and wiki block.

Type: object Properties: 11 Required: 2
MusicAudioScrobblingRecommendationsChartsPublic APIsAudioScrobbler

LastfmAlbumStructure is a JSON Structure definition published by Last.fm, describing 11 properties, of which 2 are required. It conforms to the https://json-structure.org/draft/2025/schema meta-schema.

Properties

name artist mbid url listeners playcount userplaycount image tracks tags wiki

Meta-schema: https://json-structure.org/draft/2025/schema

JSON Structure

Raw ↑
{
  "$schema": "https://json-structure.org/draft/2025/schema",
  "$id": "https://raw.githubusercontent.com/api-evangelist/lastfm/main/json-structure/lastfm-album-structure.json",
  "name": "LastfmAlbumStructure",
  "description": "JSON Structure representation of a Last.fm album record, including tracks, tags, and wiki block.",
  "type": "object",
  "properties": {
    "name": { "type": "string" },
    "artist": { "type": "string" },
    "mbid": { "type": "string" },
    "url": { "type": "string" },
    "listeners": { "type": "string" },
    "playcount": { "type": "string" },
    "userplaycount": { "type": "string" },
    "image": {
      "type": "array",
      "items": {
        "type": "object",
        "properties": {
          "size": { "type": "string" },
          "url": { "type": "string" }
        }
      }
    },
    "tracks": {
      "type": "array",
      "items": { "$ref": "lastfm-track-structure.json" }
    },
    "tags": {
      "type": "array",
      "items": { "type": "string" }
    },
    "wiki": {
      "type": "object",
      "properties": {
        "published": { "type": "string" },
        "summary": { "type": "string" },
        "content": { "type": "string" }
      }
    }
  },
  "required": ["name", "artist"]
}