I want to create a rich snippet for a replacement valve for a kitchen faucet.

How do I associate that part to the parent product using Microdata and the isAccessoryOrSparePartFor property?

This is what I have so far:

<div itemprop="isAccessoryOrSparePartFor" itemscope itemtype="http://schema.org/Product">
  <h1 itemprop="name">Replacement Valve 209438</h1>
  <link itemprop="url" href="https://www.example/replacement-valve-209438">
  <link itemprop="model" href="https://www.example.com/kitchen-faucet-220/">
  <!-- more product properties, etc. -->

How should it look in the Google Rich Snippet Tool--should there be one product or two? Is model the correct property to associate to the parent faucet?

1 Answer 1


(Google’s Products rich result doesn’t make use of the isAccessoryOrSparePartFor property, so the following is only based on how it can be represented with Schema.org.)

Your structured data conveys: There is a Product (not shown) which is an an accessory/spare part for the Product "Replacement Valve 209438". But you want it the other way around, as far as I understand it.

So it could look like this:

<article itemscope itemtype="http://schema.org/Product">

  <h2 itemprop="name">Replacement Valve 209438</h2>

  <div itemprop="isAccessoryOrSparePartFor" itemscope itemtype="http://schema.org/Product">
    <a itemprop="url" href="/kitchen-faucet-220">
      <span itemprop="name">Kitchen Faucet 220</span>


The model property can be used to reference the ProductModel of the Product for which (!) you specify the property.

  • Thanks, the Google Rich Snippet tool did acknowledge the itemprop and display it in the results. I understand they don't do anything with it, but that's good enough for what I need to do now. Thanks again
    – User970008
    Aug 7, 2017 at 17:36

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.