Example ShareAction-100

JSON-LD (source lint)

<!-- John shared a post with Steve. -->
<script type="application/ld+json">
{
  "@context": "http://schema.org",
  "@type": "ShareAction",
  "agent": {
    "@type": "Person",
    "name": "John"
  },
  "recipient": {
    "@type": "Person",
    "name": "Steve"
  },
  "object": {
    "@type": "Blog",
    "name": "We proved that 2 + 2 = 4!"
  }
}
</script>

Example ShareAction-101

JSON-LD (source lint)

<!-- John shared an image with Steve. -->
<script type="application/ld+json">
{
  "@context": "http://schema.org",
  "@type": "ShareAction",
  "agent": {
    "@type": "Person",
    "name": "John"
  },
  "recipient": {
    "@type": "Person",
    "name": "Steve"
  },
  "object": {
    "@type": "ImageObject",
    "name": "My kids",
    "url": "http://john.com/kids.jpg"
  }
}
</script>