Skip to content

Instantly share code, notes, and snippets.

@patrickcoombe
Last active April 26, 2019 18:18
Show Gist options
  • Select an option

  • Save patrickcoombe/35ff2d186241b8ce10e8 to your computer and use it in GitHub Desktop.

Select an option

Save patrickcoombe/35ff2d186241b8ce10e8 to your computer and use it in GitHub Desktop.
JSON-LD validated code for a music playlist
<script type="application/ld+json">
{
"@context": "https://schema.org",
"@type" : "MusicPlaylist",
"name" : "Funky Funk",
"numTracks" : "400",
"track" : [
{
"@type" : "MusicRecording",
"name" : "I love jsonld",
"byArtist" : "Jason",
"url" : "http://www.jsonld.com",
"duration" : "PT6M40S]",
"inAlbum" : "JSON for me and for you"
},
{
"@type" : "MusicRecording",
"name" : "Madonnna Song",
"byArtist" : "Madonna",
"url" : "http://www.jsonld.com",
"duration" : "PT4M3S",
"inAlbum" : "album"
}
]
}
</script>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment