Example TradeAction-141

JSON-LD (source lint)

<script type="application/ld+json">
  // John traded a Book for US$ 50.
{
  "@context": "http://schema.org",
  "@type": "TradeAction",
  "agent": {
    "@type": "Person",
    "name": "John"
  },
  "object": {
    "@type": "Book",
    "name": "Outliers"
  },
  "price": "50",
  "priceCurrency": "USD"
}
</script>