Last.fm · JSON-LD Context

Lastfm Context

JSON-LD context defining the semantic vocabulary for Lastfm from Last.fm.

27 Classes 8 Properties 3 Namespaces
View Context View on GitHub

Namespaces

schema: https://schema.org/
lastfm: https://www.last.fm/ns/
mb: https://musicbrainz.org/ns/

Classes

name url image description Artist Album Track User Tag duration listeners playcount userplaycount userloved mbid tags similar bio wiki scrobble timestamp country subscriber registered weeklyChart period audioscrobblerVersion

Properties

Property Type Container
artist reference
album reference
track reference
friend reference
topAlbums list
topArtists list
topTracks list
topTags list

JSON-LD Document

Raw ↑
{
  "@context": {
    "schema": "https://schema.org/",
    "lastfm": "https://www.last.fm/ns/",
    "mb": "https://musicbrainz.org/ns/",
    "name": "schema:name",
    "url": "schema:url",
    "image": "schema:image",
    "description": "schema:description",
    "Artist": "schema:MusicGroup",
    "Album": "schema:MusicAlbum",
    "Track": "schema:MusicRecording",
    "User": "schema:Person",
    "Tag": "lastfm:Tag",
    "artist": { "@id": "schema:byArtist", "@type": "@id" },
    "album": { "@id": "schema:inAlbum", "@type": "@id" },
    "track": { "@id": "schema:hasPart", "@type": "@id" },
    "duration": "schema:duration",
    "listeners": "lastfm:listeners",
    "playcount": "lastfm:playcount",
    "userplaycount": "lastfm:userplaycount",
    "userloved": "lastfm:userloved",
    "mbid": "mb:identifier",
    "tags": "schema:keywords",
    "similar": "lastfm:similar",
    "bio": "schema:description",
    "wiki": "schema:description",
    "scrobble": "lastfm:scrobble",
    "timestamp": "schema:dateCreated",
    "country": "schema:addressCountry",
    "subscriber": "lastfm:subscriber",
    "registered": "schema:dateRegistered",
    "friend": { "@id": "schema:knows", "@type": "@id" },
    "topAlbums": { "@id": "lastfm:topAlbums", "@container": "@list" },
    "topArtists": { "@id": "lastfm:topArtists", "@container": "@list" },
    "topTracks": { "@id": "lastfm:topTracks", "@container": "@list" },
    "topTags": { "@id": "lastfm:topTags", "@container": "@list" },
    "weeklyChart": "lastfm:weeklyChart",
    "period": "lastfm:period",
    "audioscrobblerVersion": "lastfm:apiVersion"
  }
}