schemaorg-coda :: Example

eg-0428

From v29.4

JSON-LD

{
  "@context": "https://schema.org/",
  "@type": "Person",
  "name": "Rose Tyler",
  "sponsor":
    {
    "@type": "Person",
    "name": "Sarah Jane Smith"
    }
}

RDFa

<p vocab="https://schema.org/" typeof="Person">
  <span property="name">Rose Tyler</span> was sponsored by
  <span property="sponsor" typeof="https://schema.org/Person">
    <span property="name">Sarah Jane Smith</span>
  </span> in the membership process.
</p>

Microdata

<p itemscope itemprop="Person" itemtype="https://schema.org/Person">
  <span itemprop="name">Rose Tyler</span> was sponsored by
  <span itemscope itemprop="sponsor" itemtype="https://schema.org/Person">
    <span itemprop="name">Sarah Jane Smith</span>
  </span> in the membership process.
</p>

Pre-Markup

<p>Rose Tyler was sponsored by Sarah Jane Smith in the membership process.</p>