Example Role-PerformanceRole-209

RDFa (source lint)

<div vocab="http://schema.org/" typeof="Movie">
  <span property="name">Ghostbusters</span>
  <link property="sameAs" href="http://en.wikipedia.org/wiki/Ghostbusters"/>
  <div property="actor" typeof="PerformanceRole">
    <div property="actor" typeof="Person">
      <span property="name">Bill Murray</span>
    </div>
    <span property="characterName">Dr. Peter Venkman</span>
  </div>
</div>

microdata (source lint)

<div itemscope itemtype="http://schema.org/Movie">
  <span itemprop="name">Ghostbusters</span>
  <link itemprop="sameAs" href="http://en.wikipedia.org/wiki/Ghostbusters"/>
  <div itemprop="actor" itemscope
        itemtype="http://schema.org/PerformanceRole">
    <div itemprop="actor" itemscope
            itemtype="http://schema.org/Person">
      <span itemprop="name">Bill Murray</span>
    </div>
    <span itemprop="characterName">Dr. Peter Venkman</span>
  </div>
</div>

JSON-LD (source lint)

<script type="application/ld+json">
{
  "@context": "http://schema.org",
  "@type": "Movie",
  "name": "Ghostbusters",
  "sameAs": "http://en.wikipedia.org/wiki/Ghostbusters",
  "actor": {
    "@type": "PerformanceRole",
    "actor": {
      "@type": "Person",
      "name": "Bill Murray"
    },
    "characterName": "Dr. Peter Venkman"
  }
}
</script>