schemaorg-coda :: Example

eg-0261

From v29.4

JSON-LD

{
  "@context": "https://schema.org/",
  "@type": "Occupation",
  "name": "Research Scientist",
  "qualifications": {
    "@type": "EducationalOccupationalCredential",
    "educationalLevel": "PhD or equivalent"
  }
}

RDFa

<div vocab="https://schema.org/" typeof="https://schema.org/Occupation">
 <h1>Occupation: <span property="name"> Research Scientist</span></h1>
 <h2>qualifications</h2>
 <p property="educationRequirements"
    typeof="https://schema.org/EducationalOccupationalCredential">
  <span property="educationalLevel">PhD or equivalent</span>
 </p>
</div>

Microdata

<div itemscope itemtype="https://schema.org/Occupation">
 <h1>Occupation: <span itemprop="name"> Research Scientist</span></h1>
 <h2>qualifications</h2>
 <p itemprop="educationRequirements" itemscope
    itemtype="https://schema.org/EducationalOccupationalCredential">
  <span itemprop="educationalLevel">PhD or equivalent</span>
 </p>
</div>

Pre-Markup

<h1>Occupation: Research Scientist</h1>
<h2>educationRequirements"</h2>
<p>PhD or equivalent<p>