schemaorg-coda :: Example

eg-0030

From v29.4

JSON-LD

{
  "@context": "https://schema.org",
  "@id": "#product",
  "@type": "SomeProducts",
  "additionalType": "http://www.productontology.org/id/Printer_(computing)",
  "description": "A fast, great-looking, compact laser printer for your desk.",
  "gtin13": "0012502627104",
  "name": "Brother HL-2230 Compact Laser Printer"
}

RDFa

The SomeProducts type is used when the product is an item drawn from a
collection of interchangeably similar items.

<div  typeof="SomeProducts" resource="#product">
 We have the Brother HL-2230 on sale!
 <span property="name">Brother HL-2230 Compact Laser Printer</span>
 <link property="additionalType"
       href="http://www.productontology.org/id/Printer_(computing)" />
 <span property="description">A fast, great-looking, compact laser
  printer for your desk.</span>
 GTIN13: <span property="gtin13">0012502627104</span>
</div>

Microdata

The SomeProducts type is used when the product is an item drawn from a
collection of interchangeably similar items.

<div itemscope itemtype="https://schema.org/SomeProducts" itemid="#product">
 We have the Brother HL-2230 on sale!
 <span itemprop="name">Brother HL-2230 Compact Laser Printer</span>
 <link itemprop="additionalType"
       href="http://www.productontology.org/id/Printer_(computing)" />
 <span itemprop="description">A fast, great-looking, compact laser
  printer for your desk.</span>
 GTIN13: <span itemprop="gtin13">0012502627104</span>
</div>

Pre-Markup

<div>
We have the Brother HL-2230 on sale! Brother HL-2230 Compact Laser
Printer. A fast, great-looking, compact laser printer for your
desk. GTIN13: 0012502627104
</div>