Example boolean

RDFa (source lint)

<!-- RDFa examples will be added in the future -->

microdata (source lint)

<!-- Product: Boolean Value -->
<div itemscope itemtype="http://schema.org/Product">
  <img itemprop="image" src="camera123.jpg" alt="" />
  <span itemprop="name">Digital Camera 123</span>
  <div itemprop="additionalProperty" itemscope itemtype="http://schema.org/PropertyValue">
      <span itemprop="name">USB interface</span>:
      <meta itemprop="value" content="True">Yes
  </div>
</div>

JSON-LD (source lint)

{
... JSON examples will be added in the future ...
}

Example exif

RDFa (source lint)

<div vocab="http://schema.org/" typeof="ImageObject">
  <h2 property="name">Beach in Mexico</h2>
  <img src="mexico-beach.jpg" alt="" property="contentUrl" />
  By <span property="author">Jane Doe</span>
  Photographed in
    <span property="contentLocation">Puerto Vallarta, Mexico</span>
  Date uploaded:
    <meta property="datePublished" content="2008-01-25">Jan 25, 2008
  <span property="description">I took this picture while on vacation last year.</span>
<!-- Note: We do not split value strings in unit and value information, since this the raw EXIF data does not provide this granularity. If you are able to separate the unit, you can use the unitText property -->
  <div property="exifData" typeOf="PropertyValue">
      <meta property="name" content="Exposure Time">
      <meta property="value" content="1/659 sec.">
  </div>
  <div property="exifData" typeOf="PropertyValue">
      <meta property="name" content="FNumber">
      <meta property="value" content="f/4.0">
  </div>
  <div property="exifData" typeOf="PropertyValue">
      <meta property="name" content="MaxApertureValue">
      <meta property="value" content="2.00">
  </div>
  <div property="exifData" typeOf="PropertyValue">
      <meta property="name" content="Metering Mode">
      <meta property="value" content="Pattern">
  </div>
  <div property="exifData" typeOf="PropertyValue">
      <meta property="name" content="Flash">
      <meta property="value" content="Flash did not fire.">
  </div>
</div>

microdata (source lint)

<div itemscope itemtype="http://schema.org/ImageObject">
  <h2 itemprop="name">Beach in Mexico</h2>
  <img src="mexico-beach.jpg" alt="" itemprop="contentUrl" />
  By <span itemprop="author">Jane Doe</span>
  Photographed in
    <span itemprop="contentLocation">Puerto Vallarta, Mexico</span>
  Date uploaded:
    <meta itemprop="datePublished" content="2008-01-25">Jan 25, 2008
  <span itemprop="description">I took this picture while on vacation last year.</span>
<!-- Note: We do not split value strings in unit and value information, since this the raw EXIF data does not provide this granularity. If you are able to separate the unit, you can use the unitText property -->
  <div itemprop="exifData" itemscope itemtype="http://schema.org/PropertyValue">
      <meta itemprop="name" content="Exposure Time">
      <meta itemprop="value" content="1/659 sec.">
  </div>
  <div itemprop="exifData" itemscope itemtype="http://schema.org/PropertyValue">
      <meta itemprop="name" content="FNumber">
      <meta itemprop="value" content="f/4.0">
  </div>
  <div itemprop="exifData" itemscope itemtype="http://schema.org/PropertyValue">
      <meta itemprop="name" content="MaxApertureValue">
      <meta itemprop="value" content="2.00">
  </div>
  <div itemprop="exifData" itemscope itemtype="http://schema.org/PropertyValue">
      <meta itemprop="name" content="Metering Mode">
      <meta itemprop="value" content="Pattern">
  </div>
  <div itemprop="exifData" itemscope itemtype="http://schema.org/PropertyValue">
      <meta itemprop="name" content="Flash">
      <meta itemprop="value" content="Flash did not fire.">
  </div>
</div>

JSON-LD (source lint)

<script type="application/ld+json">
{
  "@context": "http://schema.org",
  "@type": "ImageObject",
  "author": "Jane Doe",
  "contentLocation": "Puerto Vallarta, Mexico",
  "contentUrl": "mexico-beach.jpg",
  "datePublished": "2008-01-25",
  "description": "I took this picture while on vacation last year.",
  "name": "Beach in Mexico"
  "exifData": [
    {
      "@type": "PropertyValue",
      "name": "Exposure Time",
      "value": "1/659 sec."
    },
    {
     "@type": "PropertyValue",
      "name": "FNumber",
      "value": "f/4.0"
    },
    {
      "@type": "PropertyValue",
      "name": "MaxApertureValue",
      "value": "2.00"
    },
    {
      "@type": "PropertyValue",
      "name": "Metering Mode",
      "value": "Pattern"
    },
    {
      "@type": "PropertyValue",
      "name": "Flash",
      "value": "Flash did not fire."
    }
  ]
}
</script>

Example grouping

RDFa (source lint)

<!-- RDFa examples will be added in the future -->

microdata (source lint)

<!-- Product: Grouping and Hierarchical Order of Properties -->
<div itemscope itemtype="http://schema.org/Product">
  <img itemprop="image" src="camera123.jpg" alt="" />
  <span itemprop="name">Digital Camera 123</span>
  <div itemprop="additionalProperty" itemscope itemtype="http://schema.org/PropertyValue">
      <strong itemprop="name">Focus/Autofocus</strong>
      <div itemprop="value" itemscope itemtype="http://schema.org/PropertyValue">
        <span itemprop="name">Picture Control</span>
        <span itemprop="value">Landscape</span>
        <span itemprop="value">Monochrome</span>
        <span itemprop="value">Portrait</span>
      </div>
      <div itemprop="value" itemscope itemtype="http://schema.org/PropertyValue">
        <span itemprop="name">Single-point AF Mode</span>:
        <meta itemprop="value" content="True">Yes
      </div>
  </div>
</div>

JSON-LD (source lint)

{
... JSON examples will be added in the future ...
}

Example intervals

RDFa (source lint)

<!-- RDFa examples will be added in the future -->

microdata (source lint)

<!-- Product: Multiple Intervals -->
<div itemscope itemtype="http://schema.org/Product">
  <img itemprop="image" src="camera123.jpg" alt="" />
  <span itemprop="name">Digital Camera 123</span>
  <div itemprop="additionalProperty" itemscope itemtype="http://schema.org/PropertyValue">
      <span itemprop="name">Operating voltage</span>:
      <span itemprop="value">9-12</span> or
      <span itemprop="value">100-250</span>
      <meta itemprop="unitCode" content="VLT">volts
  </div>
</div>

JSON-LD (source lint)

{
... JSON examples will be added in the future ...
}

Example openinterval

RDFa (source lint)

<!-- RDFa examples will be added in the future -->

microdata (source lint)

<!-- Product: Open Interval, with unit as UN/CEFACT Common Code -->
<div itemscope itemtype="http://schema.org/Product">
  <img itemprop="image" src="camera123.jpg" alt="" />
  <span itemprop="name">Digital Camera 123</span>
  <div itemprop="additionalProperty" itemscope itemtype="http://schema.org/PropertyValue">
      <span itemprop="name">Wifi range</span>: up to
      <span itemprop="maxValue">30</span>
<!-- Note: The UN/CEFACT Common Code for foot is FOT -->
      <meta itemprop="unitCode" content="FOT">ft.
  </div>
</div>

JSON-LD (source lint)

{
... JSON examples will be added in the future ...
}

Example pointvalue-1

RDFa (source lint)

<!-- RDFa examples will be added in the future -->

microdata (source lint)

<!-- Product: Point Value, with unit as symbol -->
<div itemscope itemtype="http://schema.org/Product">
  <img itemprop="image" src="camera123.jpg" alt="" />
  <span itemprop="name">Digital Camera 123</span>
  <div itemprop="additionalProperty" itemscope itemtype="http://schema.org/PropertyValue">
      <span itemprop="name">Approx. Weight</span>
      <span itemprop="value">450</span>
      <span itemprop="unitText">g</span>
  </div>
</div>

JSON-LD (source lint)

{
... JSON examples will be added in the future ...
}

Example pointvalue-3

RDFa (source lint)

<!-- RDFa examples will be added in the future -->

microdata (source lint)

<!-- Product: Point Value, with unit as UN/CEFACT Common Code -->
<div itemscope itemtype="http://schema.org/Product">
  <img itemprop="image" src="camera123.jpg" alt="" />
  <span itemprop="name">Digital Camera 123</span>
  <div itemprop="additionalProperty" itemscope itemtype="http://schema.org/PropertyValue">
      <span itemprop="name">Approx. Weight</span>
      <span itemprop="value">450</span>
      <meta itemprop="unitCode" content="GRM">g
  </div>
</div>

JSON-LD (source lint)

{
... JSON examples will be added in the future ...
}

Example property-id-1

RDFa (source lint)

<!-- RDFa examples will be added in the future -->

microdata (source lint)

<!-- Product: Property ID for clarifying the meaning of a property: URI from external vocabulary -->
<div itemscope itemtype="http://schema.org/Car">
  <img itemprop="image" src="station_waggon123.jpg" alt="" />
  <span itemprop="name">Station Waggon 123</span>
  <div itemprop="additionalProperty" itemscope itemtype="http://schema.org/PropertyValue">
      <span itemprop="name">Luggage Capacity (seats folded)</span>:
      <span itemprop="value">500</span>
      <meta itemprop="unitCode" content="LTR">liter
      <link itemprop="propertyID" href="http://purl.org/vvo/ns#luggageCapacitySeatsFolded" />
  </div>
</div>

JSON-LD (source lint)

{
... JSON examples will be added in the future ...
}

Example property-id-2

RDFa (source lint)

<!-- RDFa examples will be added in the future -->

microdata (source lint)

<!-- Product: Property ID for clarifying the meaning of a property: Code from eCl@ss Standard -->
<!-- The Property code 02-AAM226 is for "USB interface present" in eCl@ss 8.1 -->
<div itemscope itemtype="http://schema.org/Product">
  <img itemprop="image" src="camera123.jpg" alt="" />
  <span itemprop="name">Digital Camera 123</span>
  <div itemprop="additionalProperty" itemscope itemtype="http://schema.org/PropertyValue">
      <span itemprop="name">USB Interface</span>:
      <meta itemprop="value" content="True">Yes
      <meta itemprop="propertyID" content="eclass81:02-AAM226">
  </div>
</div>

JSON-LD (source lint)

{
... JSON examples will be added in the future ...
}

Example qualitative-1

RDFa (source lint)

<!-- RDFa examples will be added in the future -->

microdata (source lint)

<!-- Product: Qualitative Value -->
<div itemscope itemtype="http://schema.org/Product">
  <img itemprop="image" src="camera123.jpg" alt="" />
  <span itemprop="name">Digital Camera 123</span>
  <div itemprop="additionalProperty" itemscope itemtype="http://schema.org/PropertyValue">
      <span itemprop="name">Interface</span>:
      <span itemprop="value">USB</span>
  </div>
</div>

JSON-LD (source lint)

{
... JSON examples will be added in the future ...
}

Example qualitative-2

RDFa (source lint)

<!-- RDFa examples will be added in the future -->

microdata (source lint)

<!-- Product: Qualitative Value (multiple) -->
<div itemscope itemtype="http://schema.org/Product">
  <img itemprop="image" src="camera123.jpg" alt="" />
  <span itemprop="name">Digital Camera 123</span>
  <div itemprop="additionalProperty" itemscope itemtype="http://schema.org/PropertyValue">
      <span itemprop="name">Interfaces</span>:
      <span itemprop="value">USB</span>,
      <span itemprop="value">Ethernet</span>
  </div>
</div>

JSON-LD (source lint)

{
... JSON examples will be added in the future ...
}

Example range-1

RDFa (source lint)

<!-- RDFa examples will be added in the future -->

microdata (source lint)

<!-- Product: Range, with unit as UN/CEFACT Common Code -->
<div itemscope itemtype="http://schema.org/Product">
  <img itemprop="image" src="camera123.jpg" alt="" />
  <span itemprop="name">Digital Camera 123</span>
  <div itemprop="additionalProperty" itemscope itemtype="http://schema.org/PropertyValue">
      <span itemprop="name">Operating Voltage</span>
      <span itemprop="minValue">100</span>-
      <span itemprop="maxValue">250</span>
      <meta itemprop="unitCode" content="VLT">volts
  </div>
</div>

JSON-LD (source lint)

{
... JSON examples will be added in the future ...
}

Example range-and-enumeration

RDFa (source lint)

<!-- RDFa examples will be added in the future -->

microdata (source lint)

<!-- Product: Range and Enumerated Values -->
<div itemscope itemtype="http://schema.org/Product">
  <img itemprop="image" src="camera123.jpg" alt="" />
  <span itemprop="name">Digital Camera 123</span>
  <div itemprop="additionalProperty" itemscope itemtype="http://schema.org/PropertyValue">
      <span itemprop="name">ISO Sensitivity</span>:
      <span itemprop="value">100-6400</span>/
      <span itemprop="value">12,800</span> (Hi-1)
      <span itemprop="unitText">ISO</span>
  </div>
</div>

JSON-LD (source lint)

{
... JSON examples will be added in the future ...
}

Example ratios

RDFa (source lint)

<!-- RDFa examples will be added in the future -->

microdata (source lint)

<!-- Product: Ratios -->
<div itemscope itemtype="http://schema.org/Car">
  <img itemprop="image" src="station_waggon123.jpg" alt="" />
  <span itemprop="name">Station Waggon 123</span>
  <div itemprop="additionalProperty" itemscope itemtype="http://schema.org/PropertyValue">
      <span itemprop="name">Fuel consumption</span>:
      <span itemprop="value">5</span>
      <meta itemprop="unitCode" content="LTR">liter /
      <div itemprop="valueReference" itemscope itemtype="http://schema.org/PropertyValue">
        <span itemprop="value">100</span>
        <span itemprop="unitText">km</span>
      </div>
  </div>
</div>

JSON-LD (source lint)

{
... JSON examples will be added in the future ...
}

Example valueref

RDFa (source lint)

<!-- RDFa examples will be added in the future -->

microdata (source lint)

<!-- Product: Value References -->
<div itemscope itemtype="http://schema.org/Product">
  <img itemprop="image" src="camera123.jpg" alt="" />
  <span itemprop="name">Digital Camera 123</span>
  <div itemprop="additionalProperty" itemscope itemtype="http://schema.org/PropertyValue">
      <span itemprop="name">Operating Voltage</span>
      <span itemprop="minValue">100</span>-
      <span itemprop="maxValue">250</span>
      <meta itemprop="unitCode" content="VLT">volts
      at
      <div itemprop="valueReference" itemscope itemtype="http://schema.org/PropertyValue">
         <span itemprop="value">50</span>
         <span itemprop="unitText">Hz</span>
      </div>
  </div>
</div>

JSON-LD (source lint)

{
... JSON examples will be added in the future ...
}