ChronicleSchema

A ListenAction for one play in a Last.fm listening history, keyed by its timestamp. The MusicRecording, its MusicAlbum (through inAlbum), and the MusicGroup that is their artist are keyed by their MusicBrainz IDs as sourceId. artist accepts multiple values, so it is an array even with one artist. Cover art and the artist's picture are each an emblem, an ImageObject keyed by its url. The listener is an Agent keyed by their Last.fm username as handle.

{
  "@type": "ListenAction",
  "@key": ["@type", "source", "timestamp"],
  "source": "lastfm",
  "timestamp": "2026-05-09T18:22:07.000Z",
  "agent": {
    "@type": "Agent",
    "@key": ["@type", "source", "handle"],
    "source": "lastfm",
    "handle": "sam_listens",
    "url": "https://www.last.fm/user/sam_listens",
    "name": "Sam Rivers",
    "sameAs": ["@me"]
  },
  "object": {
    "@type": "MusicRecording",
    "@key": ["@type", "source", "sourceId"],
    "source": "lastfm",
    "sourceId": "3f2b7c1e-8a4d-4e6f-9b0a-1c2d3e4f5a6b",
    "url": "https://www.last.fm/music/The+Example+Band/_/Morning+Light",
    "name": "Morning Light",
    "emblem": {
      "@type": "ImageObject",
      "@key": ["url"],
      "url": "https://images.example.com/covers/morning-light.png"
    },
    "artist": [
      {
        "@type": "MusicGroup",
        "@key": ["@type", "source", "sourceId"],
        "source": "lastfm",
        "sourceId": "9a8b7c6d-5e4f-4a3b-8c2d-1e0f9a8b7c6d",
        "name": "The Example Band",
        "url": "https://www.last.fm/music/The+Example+Band",
        "emblem": {
          "@type": "ImageObject",
          "@key": ["url"],
          "url": "https://images.example.com/artists/the-example-band.png"
        }
      }
    ],
    "inAlbum": {
      "@type": "MusicAlbum",
      "@key": ["@type", "source", "sourceId"],
      "source": "lastfm",
      "sourceId": "0d1e2f3a-4b5c-4d6e-8f7a-9b0c1d2e3f4a",
      "name": "Early Hours",
      "artist": [
        {
          "@type": "MusicGroup",
          "@key": ["@type", "source", "sourceId"],
          "source": "lastfm",
          "sourceId": "9a8b7c6d-5e4f-4a3b-8c2d-1e0f9a8b7c6d",
          "name": "The Example Band",
          "url": "https://www.last.fm/music/The+Example+Band"
        }
      ]
    }
  }
}

Terms in this example

ListenActionMusicAlbumMusicGroupMusicRecordingartistembleminAlbum

Esc

↑↓ to move↵ to open/ or ⌘K to search