Example WatchAction-68

JSON-LD (source lint)

<!-- John watched Friends. -->
<script type="application/ld+json">
{
  "@context": "http://schema.org",
  "@type": "WatchAction",
  "agent": {
    "@type": "Person",
    "name": "John"
  },
  "object": {
    "@type": "TvEpisode",
    "name": "Friends!"
  }
}
</script>

Example WatchAction-69

JSON-LD (source lint)

<!-- John watched The Big Bang Theory -->
<script type="application/ld+json">
{
  "@context": "http://schema.org",
  "@type": "WatchAction",
  "agent": {
    "@type": "Person",
    "name": "John"
  },
  "object": {
    "@type": "TvSeries",
    "name": "The Big Bang Theory"
  }
}
</script>

Example WatchAction-70

JSON-LD (source lint)

<!-- John watched The Internship -->
<script type="application/ld+json">
{
  "@context": "http://schema.org",
  "@type": "WatchAction",
  "agent": {
    "@type": "Person",
    "name": "John"
  },
  "object": {
    "@type": "Movie",
    "name": "The Internship"
  }
}
</script>

Example WatchAction-71

JSON-LD (source lint)

<!-- John watched The Bolshoi Ballet group in Russia.-->
<script type="application/ld+json">
{
  "@context": "http://schema.org",
  "@type": "WatchAction",
  "agent": {
    "@type": "Person",
    "name": "John"
  },
  "object": {
    "@type": "PerformingGroup",
    "name": "Bolshoi"
  },
  "location": {
    "@type": "PerformingArtsTheater",
    "name": "Chuvash State Opera and Ballet Theater"
  }
}
</script>

Example WatchAction-Movie-188

RDFa (source lint)

<div vocab="http://schema.org/" typeof="Movie">
  <meta property="name" content="Footloose">
  <div property="potentialAction" typeof="WatchAction">
    <a property="target" href="http://example.com/player?id=123">Watch <cite>Footloose</cite></a>
  </div>
</div>

microdata (source lint)

<div itemscope itemtype="http://schema.org/Movie">
  <meta itemprop="name" content="Footloose">
  <div itemprop="potentialAction" itemscope itemtype="http://schema.org/WatchAction">
    <a itemprop="target" href="http://example.com/player?id=123">Watch <cite>Footloose</cite></a>
  </div>
</div>

JSON-LD (source lint)

<script type="application/ld+json">
{
  "@context": "http://schema.org",
  "@type": "Movie",
  "name": "Footloose",
  "potentialAction" : {
    "@type": "WatchAction",
    "target" : "http://example.com/player?id=123"
  }
}
</script>