List of products in Schema.org

Maral picture Maral · Feb 5, 2017 · Viewed 8.2k times · Source

I read this Google doc. It says we do not use the Product in list.

So for list of products (category of a similar products with multipage like 'shoes'), what kind of schema is recommended?

I use this:

<script type="application/ld+json">
{
    "@context": "http://schema.org",
    "@type": "WebPage","name": "page name",
    "url": "http://www.example.com/shoes"
    "mainEntity":{
        "@type": "ItemList",
         "itemListElement":[{
             "@type": "BlogPosting"...
          }]
     }
     .
     .
     .

But BlogPosting for products seems is wrong.

Answer

unor picture unor · Feb 5, 2017

The linked documentation is for Google’s Products rich result. It says that this specific rich result doesn’t support lists with different products. But this shouldn’t stop you from marking up such lists.

It is against Google’s guidelines to mark up only selected products in a list:

A category page listing several different products (or recipes, videos, or any other type). Each entity should be marked up using the relevant schema.org type, such as schema.org/Product for product category pages. Marking up just one category entity from all listed on the page is against our guidelines.

Your JSON-LD example is a suitable way to mark up a list of products (replacing BlogPosting with Product, of course). But instead of WebPage you might want to use CollectionPage.