eg-0393
From
v29.4
JSON-LD
{
"@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"
}
}RDFa
<!-- 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
<!-- 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>Pre-Markup
<!-- 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>