Example datafeed-2
RDFa (source lint)
Example is JSON-LD only.
microdata (source lint)
Example is JSON-LD only.
JSON-LD (source lint)
<script type="application/ld+json">
{
"@context": "http://schema.org/",
"@type": "MobileApplication",
"applicationCategory": "https://en.wikipedia.org/wiki/E-reader",
"supportingData": {
"@type": "DataFeed",
"dataFeedElement": [
{
"@type": "Book",
"name": "Anna Karenina",
"sameAs": "https://en.wikipedia.org/wiki/Anna_Karenina"
},
{
"@type": "Book",
"name": "Pride and Prejudice",
"sameAs": "https://en.wikipedia.org/wiki/Pride_and_Prejudice"
},
{
"@type": "Book",
"name": "My Bondage and My Freedom",
"sameAs": "https://en.wikipedia.org/wiki/My_Bondage_and_My_Freedom"
}
]
}
}
</script>
RDFa (source lint)
Example is JSON-LD only.
microdata (source lint)
Example is JSON-LD only.
JSON-LD (source lint)
<script type="application/ld+json">
{
"@context": "http://schema.org/",
"@type": "MobileApplication",
"applicationCategory": "https://en.wikipedia.org/wiki/E-reader",
"supportingData": {
"@type": "DataFeed",
"dataFeedElement": [
{
"@type": "Book",
"name": "Anna Karenina",
"sameAs": "https://en.wikipedia.org/wiki/Anna_Karenina"
},
{
"@type": "Book",
"name": "Pride and Prejudice",
"sameAs": "https://en.wikipedia.org/wiki/Pride_and_Prejudice"
},
{
"@type": "Book",
"name": "My Bondage and My Freedom",
"sameAs": "https://en.wikipedia.org/wiki/My_Bondage_and_My_Freedom"
}
]
}
}
</script>