
Si en los datos estructurados para restaurante hace falta alguno de los datos que se describen a continuación, puedes añadirlo desde el Marcador de datos. Puedes consultar en los recursos de Google Webmaster.
Ejemplo (usando JSON-LD)
<script type="application/ld+json">
{
"@context":"http://schema.org",
"@type":"Book",
"name" : "The Catcher in the Rye",
"author": {
"@type":"Person",
"name":"J.D. Salinger"
},
"url" : "http://www.barnesandnoble.com/store/info/offer/JDSalinger",
"workExample" : [{
"@type": "Book",
"isbn": "031676948",
"bookEdition": "2nd Edition",
"bookFormat": "http://schema.org/Hardcover",
"potentialAction":{
"@type":"ReadAction",
"target":
{
"@type":"EntryPoint",
"urlTemplate":"http://www.barnesandnoble.com/store/info/offer/0316769487?purchase=true",
"actionPlatform":[
"http://schema.org/DesktopWebPlatform",
"http://schema.org/IOSPlatform",
"http://schema.org/AndroidPlatform"
]
},
"expectsAcceptanceOf":{
"@type":"Offer",
"Price":6.99,
"priceCurrency":"USD",
"eligibleRegion" : {
"@type":"Country",
"name":"US"
},
"availability": "http://schema.org/InStock"
}
}
},{
"@type": "Book",
"isbn": "031676947",
"bookEdition": "1st Edition",
"bookFormat": "http://schema.org/EBook",
"potentialAction":{
"@type":"ReadAction",
"target":
{
"@type":"EntryPoint",
"urlTemplate":"http://www.barnesandnoble.com/store/info/offer/031676947?purchase=true",
"actionPlatform":[
"http://schema.org/DesktopWebPlatform",
"http://schema.org/IOSPlatform",
"http://schema.org/AndroidPlatform"
]
},
"expectsAcceptanceOf":{
"@type":"Offer",
"Price":1.99,
"priceCurrency":"USD",
"eligibleRegion" : {
"@type":"Country",
"name":"UK"
},
"availability": "http://schema.org/InStock"
}
}
}]
}
</script>
Ejemplo (usando Microdatos)
<p>
Este ejemplo muestra la adición de metadatos de accesibilidad. Aunque estas propiedades no son
una enumeración formal, existe un consenso en evolución entre los expertos en accesibilidad para
Valores apropiados para estas propiedades. Este ejemplo muestra valores de texto simples,
según lo sugerido por www.a11ymetadata.org.
</p>
<div itemscope="" itemtype="http://schema.org/Book">
<meta itemprop="bookFormat" content="EBook/DAISY3"/>
<meta itemprop="accessibilityFeature" content="largePrint/CSSEnabled"/>
<meta itemprop="accessibilityFeature" content="highContrast/CSSEnabled"/>
<meta itemprop="accessibilityFeature" content="resizeText/CSSEnabled"/>
<meta itemprop="accessibilityFeature" content="displayTransformability"/>
<meta itemprop="accessibilityFeature" content="longDescription"/>
<meta itemprop="accessibilityFeature" content="alternativeText"/>
<meta itemprop="accessibilityControl" content="fullKeyboardControl"/>
<meta itemprop="accessibilityControl" content="fullMouseControl"/>
<meta itemprop="accessibilityHazard" content="noFlashingHazard"/>
<meta itemprop="accessibilityHazard" content="noMotionSimulationHazard"/>
<meta itemprop="accessibilityHazard" content="noSoundHazard"/>
<meta itemprop="accessibilityAPI" content="ARIA"/>
<dl>
<dt>Name:</dt>
<dd itemprop="name">Holt Physical Science</dd>
<dt>Brief Synopsis:</dt>
<dd itemprop="description">NIMAC-sourced textbook</dd>
<dt>Long Synopsis:</dt>
<dd>N/A</dd>
<dt>Book Quality:</dt>
<dd>Publisher Quality</dd>
<dt>Book Size:</dt>
<dd><span itemprop="numberOfPages">598</span> Pages</dd>
<dt>ISBN-13:</dt>
<dd itemprop="isbn">9780030426599</dd>
<dt>Publisher:</dt>
<dd itemprop="publisher" itemtype="http://schema.org/Organization" itemscope=""><span itemprop="name">Holt, Rinehart and Winston</span></dd>
<dt>Date of Addition:</dt>
<dd>06/08/10</dd>
<dt>Copyright Date:</dt>
<dd itemprop="copyrightYear">2007</dd>
<dt>Copyrighted By:</dt>
<dd itemprop="copyrightHolder" itemtype="http://schema.org/Organization" itemscope=""><span itemprop="name">Holt, Rinehart and Winston</span></dd>
<dt>Adult content:</dt>
<dd><meta itemprop="isFamilyFriendly" content="true"/>No</dd>
<dt>Language:</dt>
<dd><meta itemprop="inLanguage" content="en-US"/>English US</dd>
<dt>Essential Images:</dt>
<dd>861</dd>
<dt>Described Images:</dt>
<dd>910</dd>
<dt>Categories:</dt>
<dd><span itemprop="genre">Educational Materials</span></dd>
<dt>Grade Levels:</dt>
<dd>Sixth grade, Seventh grade, Eighth grade</dd>
<dt>Submitted By:</dt>
<dd>Bookshare Staff</dd>
<dt>NIMAC:</dt>
<dd>This book is currently only available to public K-12 schools and organizations in the
United States for use with students with an IEP, because it was created from files
supplied by the NIMAC under these restrictions. Learn more in the NIMAC Support Center.</dd>
</dl>
<div class="bookReviews" itemprop="aggregateRating" itemscope itemtype="http://schema.org/AggregateRating">
<div class="bookReviewScore">
<span itemprop="ratingValue">8</span>/<span itemprop="bestRating">10</span> stars from
<span itemprop="ratingCount">200</span> users.
Reviews: <span itemprop="reviewCount">50</span>.
</div></div>
</div>
Comentarios