: How to specify ingredients in Schema.org (other than recipes or drugs)? I'd like to use Schema.org for a series of product specs pages. The products are cosmetics (shampoos, creams, etc.) and
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?
More posts by @Radia820
2 Comments
Sorted by latest first Latest Oldest Best
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
Terms of Use Create Support ticket Your support tickets Stock Market News! © vmapp.org2024 All Rights reserved.