4

I'd like to use Schema.org for a series of product specs pages.

The products are cosmetics (shampoos, creams, etc.) and ideally an INCI declaration will be included for every product.

I'd like to use Schema.org in the declaration, but I cannot find a suitable category in Schema.org. Ingredients is meant for cooking recipes, and ActiveIngredient for (medical) drugs and dietary supplements.

Did I overlook some part of the tree? Any ideas for a workaround? Or am I trying to do something out of scope?

1
  • Why do you want to use schema for this? Schema is useful when you know that somebody wants to scrape this data off your website. You agree to use the schema because you want to allow them to do so and you want to make it easy. Finding some schema to fit your data in the hopes that somebody will stumble across it and find it useful makes no sense. Commented Sep 14, 2017 at 11:52

3 Answers 3

1

You could use the product schema class for each product, and then specify the INCI's using an additional (custom) property for each one, for example if your shampoo had Shea Butter and Water as ingredients (clearly I'm no expert on cosmetics!):

<div itemscope itemtype="http://schema.org/Product">
  <img itemprop="image" src="shampoo123.jpg" alt="" />
  <span itemprop="name">Shampoo Product Name</span>
  <div itemprop="additionalProperty" itemscope itemtype="http://schema.org/PropertyValue">
      <span itemprop="name">Ingredient</span>:
      <span itemprop="value">Butyrospermum Parkii (Shea Butter)</span>
      <meta itemprop="identifier" content="Butyrospermum Parkii (Shea Butter)"/>
      <meta itemprop="description" content="Shea Butter"/>
      <meta itemprop="propertyID" content="INCI"/>
  </div>
  <div itemprop="additionalProperty" itemscope itemtype="http://schema.org/PropertyValue">
      <span itemprop="name">Ingredient</span>:
      <span itemprop="value">Aqua (Water)</span>
      <meta itemprop="identifier" content="Aqua (Water)"/>
      <meta itemprop="description" content="Water"/>
      <meta itemprop="propertyID" content="INCI"/>
  </div>
</div>

Beyond this if you wanted a specific schema for your cosmetic products you could:

(a) create your own schema extension for your requirements, or

(b) propose and contribute a new descendant of Product such as CosmeticProduct

0

By the way, an interesting observation. HTML markup is the best option. Schema.org is a recommendation for the search engine so that Google can better understand what kind of content you have on the page. But if your code is clean, and you use lists or a table, then Google will easily pull it into a snippet. I made a test site with recipes. no micromarking at all, just good and correct HTML code. As a result, my snippets were exactly the same as the snippets that have micro-markup.

-2

GoogleWebmasterTools has a tool about that, please see the image and ask another question if you need help: markup

4
  • Can you explain how this tool helps in more detail?
    – John Conde
    Commented Apr 12, 2014 at 13:03
  • It provides you with the code that you need to add to your page for the choosed markup. Commented Apr 12, 2014 at 13:06
  • As far as I have seen, this tool is not useful for the type of data in question.
    – guillem
    Commented Apr 13, 2014 at 8:46
  • If one cannot find the type of content, that wants to highlight, then this content should not be highlighted. Commented Apr 13, 2014 at 17:11

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