Skip to content

Instantly share code, notes, and snippets.

@patrickcoombe
Last active April 26, 2019 18:20
Show Gist options
  • Select an option

  • Save patrickcoombe/ee5c802d77fd446ea65c to your computer and use it in GitHub Desktop.

Select an option

Save patrickcoombe/ee5c802d77fd446ea65c to your computer and use it in GitHub Desktop.
structured data for review
<script type="application/ld+json">
{
"@context": "https://schema.org/",
"@type": "Product",
"image": "http://www.example.com/iphone-case.jpg",
"name": "The Catcher in the Rye",
"review": {
"@type": "Review",
"reviewRating": {
"@type": "Rating",
"ratingValue": "4"
},
"name": "iPhone 6 Case Plus",
"author": {
"@type": "Person",
"name": "Linus Torvalds"
},
"datePublished": "2016-04-04",
"reviewBody": "I loved this case, it is strurdy and lightweight. Only issue is that it smudges.",
"publisher": {
"@type": "Organization",
"name": "iPhone 6 Cases Inc."
}
}
}
</script>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment