schemaorg-coda :: Example

eg-0420

From v29.4

JSON-LD

{
  "@context": "https://schema.org/",
  "@type": "Movie",
  "name": "Ghostbusters",
  "productionCompany": {
    "@type": "Organization",
    "name": "Black Rhino"
  },
  "countryOfOrigin": {
    "@type": "Country",
    "name": "USA"
  }
}

RDFa

<div vocab="https://schema.org/" typeof="Movie">
  <h1 property="name">Ghostbusters</h1>
  <div property="productionCompany" typeof="Organization">
    Produced by: <span property="name">Black Rhino</span><p>
  </div>
  <div property="countryOfOrigin" typeof="Country">
    Country: <span property="name" content="USA">United States</span><p>
  </div>
</div>

Microdata

<div itemscope itemtype="https://schema.org/Movie">
  <h1 itemprop="name">Ghostbusters</h1>
  <div itemprop="productionCompany" itemscope itemtype="https://schema.org/Organization">
    Produced by: <span itemprop="name">Black Rhino</span><p>
  </div>
  <div itemprop="countryOfOrigin" itemscope itemtype="https://schema.org/Country">
    Country: <span itemprop="name" content="USA">United States</span><p>
  </div>
</div>

Pre-Markup

Ghostbusters was produced by Black Rhino in the United States.