Thing > Intangible > StructuredValue > NutritionInformation
Nutritional information about the recipe.| Property | Expected Type | Description |
|---|---|---|
| Properties from Thing | ||
additionalType |
URL | An additional type for the item, typically used for adding more specific types from external vocabularies in microdata syntax. This is a relationship between something and a class that the thing is in. In RDFa syntax, it is better to use the native RDFa syntax - the 'typeof' attribute - for multiple types. Schema.org tools may have only weaker understanding of extra types, in particular those defined externally. |
description |
Text | A short description of the item. |
image |
URL | URL of an image of the item. |
name |
Text | The name of the item. |
url |
URL | URL of the item. |
| Properties from NutritionInformation | ||
calories |
Energy | The number of calories |
carbohydrateContent |
Mass | The number of grams of carbohydrates. |
cholesterolContent |
Mass | The number of milligrams of cholesterol. |
fatContent |
Mass | The number of grams of fat. |
fiberContent |
Mass | The number of grams of fiber. |
proteinContent |
Mass | The number of grams of protein. |
saturatedFatContent |
Mass | The number of grams of saturated fat. |
servingSize |
Text | The serving size, in terms of the number of volume or mass |
sodiumContent |
Mass | The number of milligrams of sodium. |
sugarContent |
Mass | The number of grams of sugar. |
transFatContent |
Mass | The number of grams of trans fat. |
unsaturatedFatContent |
Mass | The number of grams of unsaturated fat. |
Schema Draft Version 1.0a
Example 1
Original HTML:
Mom's World Famous Banana Bread By John Smith, May 8, 2009 <img src="bananabread.jpg" /> This classic banana bread recipe comes from my mom -- the walnuts add a nice texture and flavor to the banana bread. Prep Time: 15 minutes Cook time: 1 hour Yield: 1 loaf Nutrition facts: 240 calories, 9 grams fat Ingredients: - 3 or 4 ripe bananas, smashed - 1 egg - 3/4 cup of sugar ... Instructions: Preheat the oven to 350 degrees. Mix in the ingredients in a bowl. Add the flour last. Pour the mixture into a loaf pan and bake for one hour. 140 comments: From Janel, May 5 -- thank you, great recipe! ...
With Microdata:
<div itemscope itemtype="http://schema.org/Recipe">
<span itemprop="name">Mom's World Famous Banana Bread</span>
By <span itemprop="author">John Smith</span>,
<meta itemprop="datePublished" content="2009-05-08">May 8, 2009
<img itemprop="image" src="bananabread.jpg" />
<span itemprop="description">This classic banana bread recipe comes
from my mom -- the walnuts add a nice texture and flavor to the banana
bread.</span>
Prep Time: <meta itemprop="prepTime" content="PT15M">15 minutes
Cook time: <meta itemprop="cookTime" content="PT1H">1 hour
Yield: <span itemprop="recipeYield">1 loaf</span>
<div itemprop="nutrition"
itemscope itemtype="http://schema.org/NutritionInformation">
Nutrition facts:
<span itemprop="calories">240 calories</span>,
<span itemprop="fatContent">9 grams fat</span>
</div>
Ingredients:
- <span itemprop="ingredients">3 or 4 ripe bananas, smashed</span>
- <span itemprop="ingredients">1 egg</span>
- <span itemprop="ingredients">3/4 cup of sugar</span>
...
Instructions:
<span itemprop="recipeInstructions">
Preheat the oven to 350 degrees. Mix in the ingredients in a bowl. Add
the flour last. Pour the mixture into a loaf pan and bake for one hour.
</span>
140 comments:
<meta itemprop="interactionCount" content="UserComments:140" />
From Janel, May 5 -- thank you, great recipe!
...
</div>