Example PayAction-145

JSON-LD (source lint)

<script type="application/ld+json">
  // John paid US$ 1,500 for a flight.
{
  "@context": "http://schema.org",
  "@type": "PayAction",
  "agent": {
    "@type": "Person",
    "name": "John"
  },
  "price": "1500",
  "priceCurrency": "USD",
  "purpose": {
    "@type": "Flight",
    "name": "AA123"
  }
}
</script>