Example BuyAction-142

JSON-LD (source lint)

<script type="application/ld+json">
  // John bought a Book on amazon.com.
{
  "@context": "http://schema.org",
  "@type": "BuyAction",
  "agent": {
    "@type": "Person",
    "name": "John"
  },
  "object": {
    "@type": "Book",
    "name": "Outliers"
  },
  "seller": {
    "@type": "Organization",
    "name": "Amazon"
  }
}
</script>