Following a friend
A FollowAction for a user the listener follows on Last.fm. Last.fm gives no date for the follow, so the action has no timestamp; it is keyed by the followed user's account, by its handle, and each read of the friends list reports it again. The friend is an Agent keyed by handle, with their real name and avatar as emblem.
{
"@type": "FollowAction",
"@key": ["@type", "source", "object.handle"],
"source": "lastfm",
"agent": {
"@type": "Agent",
"@key": ["@type", "source", "handle"],
"source": "lastfm",
"handle": "sam_listens",
"url": "https://www.last.fm/user/sam_listens",
"sameAs": ["@me"]
},
"object": {
"@type": "Agent",
"@key": ["@type", "source", "handle"],
"source": "lastfm",
"handle": "alex_plays",
"url": "https://www.last.fm/user/alex_plays",
"name": "Alex Chen",
"emblem": {
"@type": "ImageObject",
"@key": ["url"],
"url": "https://images.example.com/avatars/alex_plays.png"
}
}
}{
"@context": {
"@vocab": "https://schema.chronicle.app/",
"doc": "https://schema.chronicle.app/docs/"
},
"@type": "FollowAction",
"doc:key": {
"@list": ["@type", "source", "object.handle"]
},
"source": "lastfm",
"agent": {
"@type": "Agent",
"doc:key": {
"@list": ["@type", "source", "handle"]
},
"source": "lastfm",
"handle": "sam_listens",
"url": "https://www.last.fm/user/sam_listens",
"sameAs": ["@me"]
},
"object": {
"@type": "Agent",
"doc:key": {
"@list": ["@type", "source", "handle"]
},
"source": "lastfm",
"handle": "alex_plays",
"url": "https://www.last.fm/user/alex_plays",
"name": "Alex Chen",
"emblem": {
"@type": "ImageObject",
"doc:key": {
"@list": ["url"]
},
"url": "https://images.example.com/avatars/alex_plays.png"
}
}
}@prefix : <https://schema.chronicle.app/> .
@prefix doc: <https://schema.chronicle.app/docs/> .
[
a :FollowAction;
doc:key ("@type" "source" "object.handle");
:source "lastfm";
:agent [
a :Agent;
doc:key ("@type" "source" "handle");
:source "lastfm";
:handle "sam_listens";
:url "https://www.last.fm/user/sam_listens";
:sameAs "@me"
];
:object [
a :Agent;
doc:key ("@type" "source" "handle");
:source "lastfm";
:handle "alex_plays";
:url "https://www.last.fm/user/alex_plays";
:name "Alex Chen";
:emblem [
a :ImageObject;
doc:key ("url");
:url "https://images.example.com/avatars/alex_plays.png"
]
]
] .