schemaorg-coda :: Example

eg-0258

From v29.4

JSON-LD

{
  "@context": "https://schema.org",
  "@type": ["CreativeWork","ArchiveComponent"],
  "materialExtent": [
          {
            "@type": "QuantitativeValue",
            "unitText": "folder",
            "value": "1"
          },
          {
            "@type": "QuantitativeValue",
            "unitText": "design drawings",
            "value": "5"
          }
       ]
}

RDFa

<div vocab="https://schema.org/" type="CreativeWork ArchiveComponent">
  Name: <span property="name">Assorted collection of items</span><br/>
  Extent: <div>
             <div property="materialExtent" type="QuantitativeValue">
              <span property="value">1</span> <span property="unitText">folder</span>
			 </div>
			 containing
             <div property="materialExtent" type="QuantitativeValue">
              <span property="value">5</span> <span property="unitText">design drawings</span>
			 </div>
          </div><br/>
</div>

Microdata

<div itemscope itemtype="https://schema.org/CreativeWork">
  <link itemprop="additionalType" href="https://schema.org/ArchiveComponent"/>
  Name: <span itemprop="name">Assorted collection of items</span><br/>
  Extent: <div>
            <div itemprop="materialExtent" itemscope itemtype="https://schema.org/QuantitativeValue">
              <span itemprop="value">1</span> <span itemprop="unitText">folder</span>
			</div>
			containing
            <div itemprop="materialExtent" itemscope itemtype="https://schema.org/QuantitativeValue">
              <span itemprop="value">5</span> <span itemprop="unitText">design drawings</span>
			</div>
          </div><br/>
</div>

Pre-Markup

<div>
  Name: Assorted collection of items<br/>
  Extent: 1 folder containing 5 design drawings<br/>
</div>