This is my first time using the schema.org schemas and as luck would have it, the item I am trying to put into the a schema doesn’t exactly fit.
To give you an idea. I have a food product, which has nutritional and allergy details which seems to match up well with the recipy schema. However, my problem is exactly this: It’s a product, not a recipe.
Can I embed the recipe schema within a div that has the product schema details?
I.e.
<div itemtype="http://schema.org/Product">
<div itemtype="http://schema.org/Recipe">
<div itemtype="http://schema.org/Nutrition">
@* Nutrition goes here *@
</div>
<div itemtype="http://schema.org/Allergy">
@* Allergy goes here *@
</div>
</div
</div>
You’ll want to use
additionalTypeExample:
My guess would be you want to do this because you are selling recipes or something similar. As the quote above says, Schema.org tools may have a weaker understanding of why you’ve used
http://schema.org/Productandhttp://schema.org/Recipebut at least you have prepared for any possible understanding of this use.