MusicRecording

A music recording (track), usually a single song.

Example eg-0009

Without Markup (source lint)

<h1>Foo Fighters</h1>

<h2>Video: Interview with the Foo Fighters</h2>
<object ...>
  <param ...>
  <embed type="application/x-shockwave-flash" ...>
</object>
Catch this exclusive interview with Dave Grohl and the Foo Fighters
 about their new album, Rope.

<h2>Songs</h2>

Rope
 Length: 4:05 - 14300 plays
<a href="foo-fighters-rope-play.html">Play</a>
<a href="foo-fighters-rope-buy.html">Buy</a>
From album: <a href="foo-fighters-wasting-light.html">Wasting Light</a>

Everlong
 Length: 6:33 - 11700 plays
<a href="foo-fighters-everlong-play.html">Play</a>
<a href="foo-fighters-everlong-buy.html">Buy</a>
From album: <a href="foo-fighters-color-and-shape.html">The Color And The Shape</a>

<h2>Upcoming shows</h2>

<a href="foo-fighters-may20-fedexforum">FedExForum</a>
Memphis, TN, US
May 20
<a href="ticketworlds.com/foofighters/may20-2011">Buy tickets</a>

<a href="foo-fighters-may23-midamericacenter">Mid America Center</a>
Council Bluffs, IA, US
May 23
<a href="ticketworlds.com/foofighters/may23-2011">Buy tickets</a>

<h2><a href="foo-fighters-photos">28 Photos</a></h2>
<a href="foofighters-1.jpg"><img
alt="Thumbnail and linked photo of Foo Fighters band"
src="foofighters-thumb1.jpg" /></a>
<a href="foofighters-2.jpg"><img
alt="Thumbnail and linked photo of Foo Fighters band"
src="foofighters-thumb2.jpg" /></a>
<a href="foofighters-3.jpg"><img
alt="Thumbnail and linked photo of Foo Fighters band"
src="foofighters-thumb3.jpg" /></a>

<h2>Comments:</h2>
Excited about seeing them in concert next week. -Lawrence , Jan 23
I dig their latest single. -Mary, Jan 19
Showing 1-2 of 18 comments. <a href="foofighters-comments">More</a>

RDFa (source lint)

<div vocab="https://schema.org/" typeof="MusicGroup">
    <h1 property="name">
        Foo Fighters
    </h1>
    <div property="subjectOf" typeof="VideoObject">
        <h2>
            Video: <span property="name">Interview with the Foo Fighters</span>
        </h2>
        <meta property="duration" content="PT1M33S">
        <meta property="thumbnail" content="foo-fighters-interview-thumb.jpg"><object>
            <param>
             <embed type="application/x-shockwave-flash">
        </object> <span property="description">Catch this exclusive interview with Dave Grohl and the Foo Fighters about their new album, Rope.</span>
        <h3>
            Comments:
        </h3>Excited about seeing them in concert next week. -Lawrence , Jan 23 I dig their latest single. -Mary, Jan 19
        <div property="interactionStatistic" typeof="https://schema.org/InteractionCounter">
            <meta property="interactionType" content="https://schema.org/CommentAction">
            <meta property="userInteractionCount" content="18">
        </div>Showing 1-2 of 18 comments. <a href="foofighters-comments">More</a>
    </div>
    <h2>
        Songs
    </h2>
    <div property="track" typeof="MusicRecording">
        <span property="name">Rope</span>
        <link property="url" href="foo-fighters-rope.html">Length:
        <meta property="duration" content="PT4M5S">4:05 - 14300 plays
        <div property="interactionStatistic" typeof="https://schema.org/InteractionCounter">
            <meta property="interactionType" content="https://schema.org/ListenAction">
            <meta property="userInteractionCount" content="14300">
        </div><a href="foo-fighters-rope-play.html" property="audio">Play</a> <a href="foo-fighters-rope-buy.html" property="offers">Buy</a> From album: <a href="foo-fighters-wasting-light.html" property="inAlbum">Wasting Light</a>
    </div>
    <div property="track" typeof="MusicRecording">
        <span property="name">Everlong</span>
        <link property="url" href="foo-fighters-everlong.html">Length:
        <meta property="duration" content="PT6M33S">6:33 - 11700 plays
        <div property="interactionStatistic" typeof="https://schema.org/InteractionCounter">
            <meta property="interactionType" content="https://schema.org/ListenAction">
            <meta property="userInteractionCount" content="11700">
        </div><a href="foo-fighters-everlong-play.html" property="audio">Play</a> <a href="foo-fighters-everlong-buy.html" property="offers">Buy</a> From album: <a href="foo-fighters-color-and-shape.html" property="inAlbum">The Color And The Shape</a>
    </div>
    <h2>
        Upcoming shows
    </h2>
    <div property="event" typeof="Event">
        <a href="foo-fighters-may20-fedexforum" property="url"><span property="name">FedExForum</span></a> <span property="location">Memphis, TN, US</span>
        <meta property="startDate" content="2011-05-20">May 20 <a href="ticketmaster.com/foofighters/may20-2011" property="offers">Buy tickets</a>
    </div>
    <div property="event" typeof="Event">
        <a href="foo-fighters-may23-midamericacenter" property="url"><span property="name">Mid America Center</span></a> <span property="location">Council Bluffs, IA, US</span>
        <meta property="startDate" content="2011-05-23">May 23 <a href="ticketmaster.com/foofighters/may23-2011" property="offers">Buy tickets</a>
    </div>
    <h2>
        <a href="foo-fighters-photos">28 Photos</a>
    </h2><a href="foofighters-1.jpg" property="image"><img alt="Thumbnail and linked photo of Foo Fighters band" src="foofighters-thumb1.jpg"></a> <a href="foofighters-2.jpg" property="image"><img alt="Thumbnail and linked photo of Foo Fighters band" src="foofighters-thumb2.jpg"></a> <a href="foofighters-3.jpg" property="image"><img alt="Thumbnail and linked photo of Foo Fighters band" src="foofighters-thumb3.jpg"></a>
</div>

microdata (source lint)

<div itemscope itemtype="https://schema.org/MusicGroup">
    <h1 itemprop="name">
        Foo Fighters
    </h1>
    <div itemprop="subjectOf" itemscope itemtype="https://schema.org/VideoObject">
        <h2>
            Video: <span itemprop="name">Interview with the Foo Fighters</span>
        </h2>
        <meta itemprop="duration" content="PT1M33S">
        <meta itemprop="thumbnail" content="foo-fighters-interview-thumb.jpg"><object>
            <param>
             <embed type="application/x-shockwave-flash">
        </object> <span itemprop="description">Catch this exclusive interview with Dave Grohl and the Foo Fighters about their new album, Rope.</span>
        <h3>
            Comments:
        </h3>Excited about seeing them in concert next week. -Lawrence , Jan 23 I dig their latest single. -Mary, Jan 19
        <div itemprop="interactionStatistic" itemscope itemtype="https://schema.org/InteractionCounter">
            <meta itemprop="interactionType" content="https://schema.org/CommentAction">
            <meta itemprop="userInteractionCount" content="18">
        </div>Showing 1-2 of 18 comments. <a href="foofighters-comments">More</a>
        </div>
    <h2>
        Songs
    </h2>
    <div itemprop="track" itemscope itemtype="https://schema.org/MusicRecording">
        <span itemprop="name">Rope</span>
        <link itemprop="url" href="foo-fighters-rope.html">Length:
        <meta itemprop="duration" content="PT4M5S">4:05 - 14300 plays
        <div itemprop="interactionStatistic" itemscope itemtype="https://schema.org/InteractionCounter">
            <meta itemprop="interactionType" content="https://schema.org/ListenAction">
            <meta itemprop="userInteractionCount" content="14300">
        </div><a href="foo-fighters-rope-play.html" itemprop="audio">Play</a> <a href="foo-fighters-rope-buy.html" itemprop="offers">Buy</a> From album: <a href="foo-fighters-wasting-light.html" itemprop="inAlbum">Wasting Light</a>
    </div>
    <div itemprop="track" itemscope itemtype="https://schema.org/MusicRecording">
        <span itemprop="name">Everlong</span>
        <link itemprop="url" href="foo-fighters-everlong.html">Length:
        <meta itemprop="duration" content="PT6M33S">6:33 - 11700 plays
        <div itemprop="interactionStatistic" itemscope itemtype="https://schema.org/InteractionCounter">
            <meta itemprop="interactionType" content="https://schema.org/ListenAction">
            <meta itemprop="userInteractionCount" content="11700">
        </div><a href="foo-fighters-everlong-play.html" itemprop="audio">Play</a> <a href="foo-fighters-everlong-buy.html" itemprop="offers">Buy</a> From album: <a href="foo-fighters-color-and-shape.html" itemprop="inAlbum">The Color And The Shape</a>
    </div>
    <h2>
        Upcoming shows
    </h2>
    <div itemprop="event" itemscope itemtype="https://schema.org/Event">
        <a href="foo-fighters-may20-fedexforum" itemprop="url"><span itemprop="name">FedExForum</span></a> <span itemprop="location">Memphis, TN, US</span>
        <meta itemprop="startDate" content="2011-05-20">May 20 <a href="ticketmaster.com/foofighters/may20-2011" itemprop="offers">Buy tickets</a>
    </div>
    <div itemprop="event" itemscope itemtype="https://schema.org/Event">
        <a href="foo-fighters-may23-midamericacenter" itemprop="url"><span itemprop="name">Mid America Center</span></a> <span itemprop="location">Council Bluffs, IA, US</span>
        <meta itemprop="startDate" content="2011-05-23">May 23 <a href="ticketmaster.com/foofighters/may23-2011" itemprop="offers">Buy tickets</a>
    </div>
    <h2>
        <a href="foo-fighters-photos">28 Photos</a>
    </h2><a href="foofighters-1.jpg" itemprop="image"><img alt="Thumbnail and linked photo of Foo Fighters band" src="foofighters-thumb1.jpg"></a> <a href="foofighters-2.jpg" itemprop="image"><img alt="Thumbnail and linked photo of Foo Fighters band" src="foofighters-thumb2.jpg"></a> <a href="foofighters-3.jpg" itemprop="image"><img alt="Thumbnail and linked photo of Foo Fighters band" src="foofighters-thumb3.jpg"></a>
</div>

JSON-LD (source lint)

<script type="application/ld+json">
{
    "@context": "https://schema.org",
    "@type": "MusicGroup",
    "event": [
        {
            "@type": "Event",
            "location": "Memphis, TN, US",
            "offers": "ticketmaster.com/foofighters/may20-2011",
            "startDate": "2011-05-20",
            "url": "foo-fighters-may20-fedexforum"
        },
        {
            "@type": "Event",
            "location": "Council Bluffs, IA, US",
            "offers": "ticketmaster.com/foofighters/may23-2011",
            "startDate": "2011-05-23",
            "url": "foo-fighters-may23-midamericacenter"
        }
    ],
    "image": [
        "foofighters-1.jpg",
        "foofighters-2.jpg",
        "foofighters-3.jpg"
    ],
    "name": "Foo Fighters",
    "track": [
        {
            "@type": "MusicRecording",
            "audio": "foo-fighters-rope-play.html",
            "duration": "PT4M5S",
            "inAlbum": "foo-fighters-wasting-light.html",
            "interactionStatistic": {
                "@type": "InteractionCounter",
                "interactionType": "https://schema.org/ListenAction",
                "userInteractionCount": "14300"
            },
            "name": "Rope",
            "offers": "foo-fighters-rope-buy.html",
            "url": "foo-fighters-rope.html"
        },
        {
            "@type": "MusicRecording",
            "audio": "foo-fighters-everlong-play.html",
            "duration": "PT6M33S",
            "inAlbum": "foo-fighters-color-and-shape.html",
            "name": "Everlong",
            "interactionStatistic": {
                "@type": "InteractionCounter",
                "interactionType": "https://schema.org/ListenAction",
                "userInteractionCount": "11700"
            },
            "offers": "foo-fighters-everlong-buy.html",
            "url": "foo-fighters-everlong.html"
        }
    ],
    "subjectOf": {
        "@type": "VideoObject",
        "description": "Catch this exclusive interview with Dave Grohl and the Foo Fighters about their new album, Rope.",
        "duration": "PT1M33S",
        "name": "Interview with the Foo Fighters",
        "thumbnail": "foo-fighters-interview-thumb.jpg",
        "interactionStatistic": {
            "@type": "InteractionCounter",
            "interactionType": "https://schema.org/CommentAction",
            "userInteractionCount": "18"
        }
    }
}
</script>

structured

rdf:type schema:MusicGroup
schema:event
  • rdf:type schema:Event
    schema:location Council Bluffs, IA, US
    schema:offers ticketmaster.com/foofighters/may23-2011
    schema:startDate 2011-05-23
  • rdf:type schema:Event
    schema:location Memphis, TN, US
    schema:offers ticketmaster.com/foofighters/may20-2011
    schema:startDate 2011-05-20
schema:name Foo Fighters
schema:subjectOf
rdf:type schema:VideoObject
schema:description Catch this exclusive interview with Dave Grohl and the Foo Fighters about their new album, Rope.
schema:duration 1 minute and 33 seconds
schema:interactionStatistic
rdf:type schema:InteractionCounter
schema:interactionType https://schema.org/CommentAction
schema:userInteractionCount 18
schema:name Interview with the Foo Fighters
schema:thumbnail foo-fighters-interview-thumb.jpg
schema:track
  • rdf:type schema:MusicRecording
    schema:audio foo-fighters-rope-play.html
    schema:duration 4 minutes and 5 seconds
    schema:inAlbum foo-fighters-wasting-light.html
    schema:interactionStatistic
    rdf:type schema:InteractionCounter
    schema:interactionType https://schema.org/ListenAction
    schema:userInteractionCount 14300
    schema:name Rope
    schema:offers foo-fighters-rope-buy.html
  • rdf:type schema:MusicRecording
    schema:audio foo-fighters-everlong-play.html
    schema:duration 6 minutes and 33 seconds
    schema:inAlbum foo-fighters-color-and-shape.html
    schema:interactionStatistic
    rdf:type schema:InteractionCounter
    schema:interactionType https://schema.org/ListenAction
    schema:userInteractionCount 11700
    schema:name Everlong
    schema:offers foo-fighters-everlong-buy.html

Example eg-0390

Without Markup (source lint)

An example of some of the tracks on the Beatles White Album.

RDFa (source lint)

Not available yet.

microdata (source lint)

Not available yet.

JSON-LD (source lint)

<script type="application/ld+json">
{
    "@context": "https://schema.org",
    "@type": "MusicRecording",
    "@id": "http://musicbrainz.org/recording/3566e453-8f10-4a45-ac85-2c72eb183ca1",
    "name": "Back in the U.S.S.R.",
    "producer": {
        "@type": "Person",
        "name": "George Martin"
    },
    "duration": "PT2M43S",
    "recordingOf": {
        "@type": "MusicComposition",
        "name": "Back in the U.S.S.R",
        "iswcCode": "T-010.140.236-1"
    }
}
</script>

structured

@id http://musicbrainz.org/recording/3566e453-8f10-4a45-ac85-2c72eb183ca1(0)
rdf:type schema:MusicRecording
schema:duration 2 minutes and 43 seconds
schema:name Back in the U.S.S.R.
schema:producer
rdf:type schema:Person
schema:name George Martin
schema:recordingOf
rdf:type schema:MusicComposition
schema:iswcCode T-010.140.236-1
schema:name Back in the U.S.S.R

Example eg-0391

Without Markup (source lint)

<!-- Uses both the "Book" and "Product" item types to support Offer relationships -->

 <div>
   <h3>Le concerto</h3>
   <div>
       Bibliographic Details
       <table>
         <tr>
           <th>Main Author: </th>
           <td>Ferchault, Guy</td>
         </tr>
       </table>
   </div>
 </div>

 <div>
     Holdings details from Anytown City Library
     <table>
       <!-- Example of a copy available for loan -->
       <tr>
         <th>Copy </th>
         <td>Available
           <div>Barcode: <span>CONC91000937</span></div>
           <div>Call number: <span>780 R2</span></div>
           <div>Library: <span>Anytown City Library</span></div>
         </td>
       </tr>
     <table>
 </div>

RDFa (source lint)

<!-- Uses both the "Book" and "Product" item types to support Offer relationships -->
<div vocab="https://schema.org/" resource="#record" typeof="Book Product">
    <h3 property="name">
        Le concerto
    </h3>
    <div>
        Bibliographic Details
        <table>
            <tr>
                <th>
                    Main Author:
                </th>
                <td property="author">
                    Ferchault, Guy
                </td>
            </tr>
        </table>
    </div>
</div>
<div>
    Holdings details from Anytown City Library
    <table vocab="https://schema.org/">
        <!-- Example of a copy available for loan -->
        <tr typeof="Offer">
            <th>
                Copy
            </th>
            <td>
                Available
                <div>
                    Barcode: <span property="serialNumber">CONC91000937</span>
                </div>
                <div>
                    Call number: <span property="sku">780 R2</span>
                </div>
                <div>
                    Library: <span property="offeredBy" typeof="Library" resource="http://library.anytown.gov.uk">Anytown City Library</span>
                </div>
            </td>
        </tr>
    </table>
</div>

microdata (source lint)

<!-- Uses both the "Book" and "Product" item types to support Offer relationships -->

 <div itemscope itemtype="https://schema.org/Book" itemid="#record">
   <link itemprop="additionalType" href="https://schema.org/Product"/>
   <h3 itemprop="name">Le concerto</h3>
   <div>
       Bibliographic Details
       <table>
         <tr>
           <th>Main Author: </th>
           <td itemprop="author">Ferchault, Guy</td>
         </tr>
       </table>
   </div>
 </div>

 <div>
     Holdings details from Anytown City Library
     <table>
       <!-- Example of a copy available for loan -->
       <tr itemscope itemtype="https://schema.org/Offer">
         <th>Copy </th>
         <td>Available
           <link itemprop="availability" href="https://schema.org/InStock">
           <div>Barcode: <span itemprop="serialNumber">CONC91000937</span></div>
           <div>Call number: <span itemprop="sku">780 R2</span></div>
           <div>Library: <span itemprop="offeredBy" itemscope itemtype="https://schema.org/Library" itemid="http://library.anytown.gov.uk" >Anytown City Library</span></div>
           <link itemprop="businessFunction" href="http://purl.org/goodrelations/v1#LeaseOut">
           <link itemprop="itemOffered" href="#record">
         </td>
       </tr>
     </table>
 </div>

JSON-LD (source lint)

<script type="application/ld+json">
{
  "@context":  "https://schema.org/",
  "@id": "#record",
  "@type": "Book",
  "additionalType": "Product",
  "name": "Le concerto",
  "author": "Ferchault, Guy",
  "offers":{
      "@type": "Offer",
      "availability": "https://schema.org/InStock",
      "serialNumber": "CONC91000937",
      "sku": "780 R2",
      "offeredBy": {
          "@type": "Library",
          "@id": "http://library.anytown.gov.uk",
          "name": "Anytown City Library"
      },
      "businessFunction": "http://purl.org/goodrelations/v1#LeaseOut",
      "itemOffered": "#record"
    }
}
</script>

structured

@id http://library.anytown.gov.uk(1)
rdf:type schema:Library
schema:name Anytown City Library
rdf:type schema:Offer
schema:availability https://schema.org/InStock
schema:businessFunction http://purl.org/goodrelations/v1#LeaseOut
schema:itemOffered #record
schema:offeredBy http://library.anytown.gov.uk
schema:serialNumber CONC91000937
schema:sku 780 R2