Last active
April 26, 2019 18:18
-
-
Save patrickcoombe/35ff2d186241b8ce10e8 to your computer and use it in GitHub Desktop.
JSON-LD validated code for a music playlist
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| <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