Example Car-227

RDFa (source lint)

<!-- Seller Details -->
<div vocab="http://schema.org/" typeof="Person">
<strong>Contact Name: </strong> <span property="name givenName">Brent</span>
  <div property="makesOffer" typeof="Offer">
    <span property="priceSpecification" typeof="UnitPriceSpecification">
      <meta property="priceCurrency" content="USD">$
      <meta property="price" content="18000">18,000
    </span>
<!-- Car Details -->
    <div id="product" property="itemOffered" typeof="Car">
      <strong property="name">2009 Volkswagen Golf V GTI MY09 Direct-Shift Gearbox</strong>
      <p property="description">2009 Volkswagen Golf V GTI MY09 Direct-Shift Gearbox in perfect
        mechanical condition and low kilometres. It's impressive 2.0 litre turbo engine makes
        every drive a fun experience. Well looked after by one owner with full service history.
        It drives like new and has only done 50,000kms. (...)
      </p>
      <img property="image" href="2009_Volkswagen_Golf_V_GTI_MY09.png" />
      <p><strong>Color: </strong><span property="color">Black</span></p>
      <p><strong>Number of gears: </strong><span property="numberOfForwardGears">6</span></p>
      <div property="vehicleEngine" typeOf="EngineSpecification">
        <p><strong>Engine: </strong>
          <span property="name">4 cylinder Petrol Turbo Intercooled 2.0 L (1984 cc)</span>
        </p>
      </div>
      <p><strong>Number of airbags: </strong><span property="airbags">6</span></p>
    </div>
  </div>
</div>

microdata (source lint)

<!-- Seller Details -->
<div itemscope itemtype="http://schema.org/Person">
  <strong>Contact Name: </strong> <span itemprop="name givenName">Brent</span>
  <div itemprop="makesOffer" itemscope itemtype="http://schema.org/Offer" itemref="product">
    <span itemprop="priceSpecification" itemscope
        itemtype="http://schema.org/UnitPriceSpecification">
      <meta itemprop="priceCurrency" content="USD">$
      <meta itemprop="price" content="18000">18,000
     </span>
   </div>
</div>
<!-- Car Details -->
<div id="product" itemprop="itemOffered" itemscope itemtype="http://schema.org/Car">
  <strong itemprop="name">2009 Volkswagen Golf V GTI MY09 Direct-Shift Gearbox</strong>
  <p itemprop="description">2009 Volkswagen Golf V GTI MY09 Direct-Shift Gearbox in perfect
  mechanical condition and low kilometres. It's impressive 2.0 litre turbo engine makes
  every drive a fun experience. Well looked after by one owner with full service history.
  It drives like new and has only done 50,000kms. (...)</p>
  <img itemprop="image" href="2009_Volkswagen_Golf_V_GTI_MY09.png" />
  <p><strong>Color: </strong><span itemprop="color">Black</span></p>
  <p><strong>Number of gears: </strong><span itemprop="numberOfForwardGears">6</span></p>
  <div itemprop="vehicleEngine" itemscope itemtype="http://schema.org/EngineSpecification">
    <p><strong>Engine: </strong>
      <span itemprop="name">4 cylinder Petrol Turbo Intercooled 2.0 L (1984 cc)</span>
    </p>
  </div>
  <p><strong>Number of airbags: </strong><span itemprop="airbags">6</span></p>
</div>

JSON-LD (source lint)

<script type="application/ld+json">
{
  "@context": "http://schema.org",
  "@type": "Person",
  "name" : "Brent",
  "makesOffer" : {
        "@type" :"Offer",
        "priceSpecification" : {
            "@type" : "UnitPriceSpecification",
            "priceCurrency" : "USD",
            "price" : "18000" },
        "itemOffered" : {
            "@type" : "Car",
            "name" : "2009 Volkswagen Golf V GTI MY09 Direct-Shift Gearbox",
            "description" : "2009 Volkswagen Golf V GTI MY09 Direct-Shift Gearbox in perfect mechanical condition and low kilometres. It's impressive 2.0 litre turbo engine makes every drive a fun experience. Well looked after by one owner with full service history. It drives like new and has only done 50,000kms. (...)",
        "image" : "2009_Volkswagen_Golf_V_GTI_MY09.png",
        "color" : "Black",
        "numberOfForwardGears" : "6",
        "vehicleEngine" : {
            "@type": "EngineSpecification",
            "name" : "4 cylinder Petrol Turbo Intercooled 2.0 L (1984 cc)"
            },
        "numberOfAirbags" : "6"
        }
    }
}
</script>

Example compoundPrice-2

RDFa (source lint)

This example is currently available in Microdata and JSON-LD syntaxes only.

microdata (source lint)

<div itemscope itemtype="http://schema.org/Offer">
  <h1 itemprop="description">Our standard rental car is 50 USD per day and and $ 0.10 per mile.</h1>
  <b itemprop="name">Rental Car Package</b>
  <span itemprop="itemOffered" itemscope itemtype="http://schema.org/Car">
    <span itemprop="name">Volkswagen Golf Class Car</span>
  </span> 
  <span itemprop="priceSpecification" itemscope itemtype="http://schema.org/CompoundPriceSpecification">
    <span itemprop="priceComponent" itemscope itemtype="http://schema.org/UnitPriceSpecification">
      <span itemprop="price">50</span> 
      <meta itemprop="priceCurrency" content="USD"> US$
      <meta itemprop="unitCode" content="DAY"> per day
    </span>
    <span itemprop="priceComponent" itemscope itemtype="http://schema.org/UnitPriceSpecification">
      <span itemprop="price">0.10</span> 
      <meta itemprop="priceCurrency" content="USD"> US$
      <meta itemprop="unitCode" content="SMI"> per mile
    </span>
  </span>
</div>

JSON-LD (source lint)

<script type="application/ld+json">
{
    "@context": "http://schema.org",
    "@type": "Offer",
    "description": "Our standard rental car is 50 USD per day and and $ 0.10 per mile.",
    "name" : "Rental Car Package",
    "itemOffered" : { 
        "@type" : "Car",
        "name" : "Volkswagen Golf Class Car"
        },
    "priceSpecification" : {
        "@type" : "CompoundPriceSpecification",
        "priceComponent" : [
        {
            "@type" : "UnitPriceSpecification",
            "price" : 50,
            "priceCurrency" : "USD",
            "unitCode" : "DAY"
        },
        {
            "@type" : "UnitPriceSpecification",
            "price" : 0.10,
            "priceCurrency" : "USD",
            "unitCode" : "SMI"
        }
        ]
    }
}
</script>