schemaorg-coda :: Example

eg-0429

From v29.4

JSON-LD

{
  "@context": "https://schema.org/",
  "@type": "Organization",
  "name": "National Public Radio",
  "url": "http://npr.org",
  "sponsor":
  {
    "@type": "Organization",
    "name": "GloboCorp",
    "url": "http://www.example.com/"
  }
}

RDFa

<p vocab="https://schema.org/" typeof="Organization">
  <a href="http://npr.org" property="url">
  <span property="name">National Public Radio</span></a> has a sponsor,
  <span property="sponsor" typeof="https://schema.org/Organization">
    <a property="url" href="http://www.example.com/GloboCorp">
    <span property="name">GloboCorp</span></a>
  </span>.
</p>

Microdata

<p itemscope itemprop="organization" itemtype="https://schema.org/Organization">
  <a href="http://npr.org" itemprop="url">
    <span itemprop="name">National Public Radio</span></a> has a sponsor:
	<span itemprop="sponsor" itemscope itemtype="https://schema.org/Organization">
	  <a itemprop="url" href="http://www.example.com/GloboCorp">
	  <span itemprop="name">GloboCorp</span></a>
	</span>.
</p>

Pre-Markup

<p>
  <a href="http://npr.org">National Public Radio</a> has a sponsor:
  <a href="http://www.example.com/GloboCorp">GloboCorp</a>.
</p>