Note: You are viewing the development version of Schema.org. See how we work for more details.

NutritionInformation

A Schema.org Type
Nutritional information about the recipe.
PropertyExpected TypeDescription
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.
Properties from Thing
additionalType Text  or
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. Typically the value is a URI-identified RDF class, and in this case corresponds to the use of rdf:type in RDF. Text values can be used sparingly, for cases where useful information can be added without their being an appropriate schema to reference. In the case of text values, the class label should follow the schema.org style guide.
alternateName Text An alias for the item.
description Text  or
TextObject
A description of the item.
disambiguatingDescription Text A sub property of description. A short description of the item used to disambiguate from other, similar items. Information from other properties (in particular, name) may be necessary for the description to be useful for disambiguation.
identifier PropertyValue  or
Text  or
URL
The identifier property represents any kind of identifier for any kind of Thing, such as ISBNs, GTIN codes, UUIDs etc. Schema.org provides dedicated properties for representing many of these, either as textual strings or as URL (URI) links. See background notes for more details.
image ImageObject  or
URL
An image of the item. This can be a URL or a fully described ImageObject.
mainEntityOfPage CreativeWork  or
URL
Indicates a page (or other CreativeWork) for which this thing is the main entity being described. See background notes for details.
Inverse property: mainEntity
name Text The name of the item.
potentialAction Action Indicates a potential Action, which describes an idealized action in which this thing would play an 'object' role.
sameAs URL URL of a reference Web page that unambiguously indicates the item's identity. E.g. the URL of the item's Wikipedia page, Wikidata entry, or official website.
subjectOf CreativeWork  or
Event
A CreativeWork or Event about this Thing.
Inverse property: about
url URL URL of the item.

Instances of NutritionInformation may appear as a value for the following properties
PropertyOn TypesDescription
nutrition MenuItem  or
Recipe
Nutrition information about the recipe or menu item.

Examples

Example 1
Copied
Example notes or example HTML without markup.
  1. Mom's World Famous Banana Bread
  2. By John Smith, May 8, 2009
  3. <img src="bananabread.jpg" alt="Banana bread on a plate" />

  4. This classic banana bread recipe comes from my mom -- the walnuts add a nice
  5.  texture and flavor to the banana bread.

  6. Prep Time: 15 minutes
  7. Cook time: 1 hour
  8. Yield: 1 loaf
  9. Tags: Low fat

  10. Nutrition facts:
  11. 240 calories, 9 grams fat

  12. Ingredients:
  13. - 3 or 4 ripe bananas, smashed
  14. - 1 egg
  15. - 3/4 cup of sugar
  16. ...

  17. Instructions:
  18.  Preheat the oven to 350 degrees. Mix in the ingredients in a bowl. Add the
  19.  flour last. Pour the mixture into a loaf pan and bake for one hour.

  20. 140 comments:
  21. From Janel, May 5 -- thank you, great recipe!
  22. ...
Example encoded as Microdata embedded in HTML.
  1. <div itemscope itemtype="https://schema.org/Recipe">
  2.   <span itemprop="name">Mom's World Famous Banana Bread</span>
  3.   By <span itemprop="author">John Smith</span>,
  4.   <meta itemprop="datePublished" content="2009-05-08">May 8, 2009
  5.   <img itemprop="image" src="bananabread.jpg"
  6.        alt="Banana bread on a plate" />

  7.   <span itemprop="description">This classic banana bread recipe comes
  8.   from my mom -- the walnuts add a nice texture and flavor to the banana
  9.   bread.</span>

  10.   Prep Time: <meta itemprop="prepTime" content="PT15M">15 minutes
  11.   Cook time: <meta itemprop="cookTime" content="PT1H">1 hour
  12.   Yield: <span itemprop="recipeYield">1 loaf</span>
  13.   Tags: <link itemprop="suitableForDiet" href="https://schema.org/LowFatDiet" />Low fat

  14.   <div itemprop="nutrition"
  15.     itemscope itemtype="https://schema.org/NutritionInformation">
  16.     Nutrition facts:
  17.     <span itemprop="calories">240 calories</span>,
  18.     <span itemprop="fatContent">9 grams fat</span>
  19.   </div>

  20.   Ingredients:
  21.   - <span itemprop="recipeIngredient">3 or 4 ripe bananas, smashed</span>
  22.   - <span itemprop="recipeIngredient">1 egg</span>
  23.   - <span itemprop="recipeIngredient">3/4 cup of sugar</span>
  24.   ...

  25.   Instructions:
  26.   <span itemprop="recipeInstructions">
  27.   Preheat the oven to 350 degrees. Mix in the ingredients in a bowl. Add
  28.   the flour last. Pour the mixture into a loaf pan and bake for one hour.
  29.   </span>

  30.   140 comments:
  31.   <div itemprop="interactionStatistic" itemscope itemtype="https://schema.org/InteractionCounter">
  32.     <meta itemprop="interactionType" content="https://schema.org/CommentAction" />
  33.     <meta itemprop="userInteractionCount" content="140" />
  34.   </div>
  35.   From Janel, May 5 -- thank you, great recipe!
  36.   ...
  37. </div>
Example encoded as RDFa embedded in HTML.
  1. <div vocab="https://schema.org/" typeof="Recipe">
  2.   <span property="name">Mom's World Famous Banana Bread</span>
  3.   By <span property="author">John Smith</span>,
  4.   <meta property="datePublished" content="2009-05-08">May 8, 2009
  5.   <img property="image" src="bananabread.jpg"
  6.     alt="Banana bread on a plate" />

  7.   <span property="description">This classic banana bread recipe comes
  8.   from my mom -- the walnuts add a nice texture and flavor to the banana
  9.   bread.</span>

  10.   Prep Time: <meta property="prepTime" content="PT15M">15 minutes
  11.   Cook time: <meta property="cookTime" content="PT1H">1 hour
  12.   Yield: <span property="recipeYield">1 loaf</span>
  13.   Tags: <link property="suitableForDiet" href="https://schema.org/LowFatDiet" />Low Fat

  14.   <div property="nutrition" typeof="NutritionInformation">
  15.     Nutrition facts:
  16.     <span property="calories">240 calories</span>,
  17.     <span property="fatContent">9 grams fat</span>
  18.   </div>

  19.   Ingredients:
  20.   - <span property="recipeIngredient">3 or 4 ripe bananas, smashed</span>
  21.   - <span property="recipeIngredient">1 egg</span>
  22.   - <span property="recipeIngredient">3/4 cup of sugar</span>
  23.   ...

  24.   Instructions:
  25.   <span property="recipeInstructions">
  26.   Preheat the oven to 350 degrees. Mix in the ingredients in a bowl. Add
  27.   the flour last. Pour the mixture into a loaf pan and bake for one hour.
  28.   </span>

  29.   140 comments:
  30.   <div property="interactionStatistic" typeof="InteractionCounter">
  31.     <meta property="interactionType" content="https://schema.org/CommentAction" />
  32.     <meta property="userInteractionCount" content="140" />
  33.   </div>
  34.   From Janel, May 5 -- thank you, great recipe!
  35.   ...
  36. </div>
Example encoded as JSON-LD in a HTML script tag.
  1. <script type="application/ld+json">
  2. {
  3.   "@context": "https://schema.org",
  4.   "@type": "Recipe",
  5.   "author": "John Smith",
  6.   "cookTime": "PT1H",
  7.   "datePublished": "2009-05-08",
  8.   "description": "This classic banana bread recipe comes from my mom -- the walnuts add a nice texture and flavor to the banana bread.",
  9.   "image": "bananabread.jpg",
  10.   "recipeIngredient": [
  11.     "3 or 4 ripe bananas, smashed",
  12.     "1 egg",
  13.     "3/4 cup of sugar"
  14.   ],
  15.   "interactionStatistic": {
  16.     "@type": "InteractionCounter",
  17.     "interactionType": "https://schema.org/Comment",
  18.     "userInteractionCount": "140"
  19.   },
  20.   "name": "Mom's World Famous Banana Bread",
  21.   "nutrition": {
  22.     "@type": "NutritionInformation",
  23.     "calories": "240 calories",
  24.     "fatContent": "9 grams fat"
  25.   },
  26.   "prepTime": "PT15M",
  27.   "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.",
  28.   "recipeYield": "1 loaf",
  29.   "suitableForDiet": "https://schema.org/LowFatDiet"
  30. }
  31. </script>
Structured representation of the JSON-LD example.
Example 2
Copied
Example notes or example HTML without markup.
  1. A simple menu example with a single menu section for tacos and a taco menu item.
  2. Note that additional menus are possible for specific languages using the
  3. inLanguage property.
Example encoded as JSON-LD in a HTML script tag.
  1. <script type="application/ld+json">
  2. {
  3.    "@context":"https://schema.org",
  4.    "@type":"Restaurant",
  5.    "url":"http://www.somerestaurant.com",
  6.    "name":"Some Restaurant",
  7.    "description":"This is the Some Restaurant located on 345 Spear St. San Francisco, 94105 CA. It serves Indian-Mexican fusion cuisine",
  8.    "servesCuisine":[
  9.       "Indian-Mexican Fusion"
  10.    ],
  11.    "hasMenu":{
  12.       "@type":"Menu",
  13.       "hasMenuSection":{
  14.          "@type":"MenuSection",
  15.          "name":"Tacos",
  16.          "description":"Tacos inspired by India cuisine.",
  17.          "image":[
  18.             "https://somerestaurant.com/some_tacos.jpg",
  19.             "https://somerestaurant.com/more_tacos.jpg"
  20.          ],
  21.          "offers":{
  22.             "@type":"Offer",
  23.             "availabilityEnds":"2017-03-02T08:22:00",
  24.             "availabilityStarts":"2017-03-02T08:22:00"
  25.          },
  26.          "hasMenuItem":{
  27.             "@type":"MenuItem",
  28.             "name":"Aloo Gobi Taco",
  29.             "description":"Mexico City-style street corn tortilla taco filled with a flavorful mixture of mildly south Indian spiced cauliflower, potato, tomato, onions and bell peppers.",
  30.             "offers":{
  31.                "@type":"Offer",
  32.                "price":"3.50",
  33.                "priceCurrency":"USD"
  34.             },
  35.             "nutrition":{
  36.                "@type":"NutritionInformation",
  37.                "calories":"170 calories",
  38.                "fatContent":"3 grams",
  39.                "fiberContent":"2 grams",
  40.                "proteinContent":"4 grams"
  41.             },
  42.             "suitableForDiet":"https://schema.org/GlutenFreeDiet"
  43.          }
  44.       },
  45.       "inLanguage":"English"
  46.    }
  47. }
  48. </script>
Structured representation of the JSON-LD example.
Example 3
Copied
Example notes or example HTML without markup.
  1. An example of a menu with nested MenuSections.
Example encoded as JSON-LD in a HTML script tag.
  1. <script type="application/ld+json">
  2. {
  3.    "@context":"https://schema.org",
  4.    "@type":"Restaurant",
  5.    "url":"http://www.thisisarestaurant.com",
  6.    "name":"The Restaurant",
  7.    "image":"http://www.example.com/image-of-some-restaurant.jpg",
  8.    "description":"This is an example restaurant that serves American cuisine.",
  9.    "servesCuisine":[
  10.       "American cuisine"
  11.    ],
  12.    "hasMenu":{
  13.       "@type":"Menu",
  14.       "name":"Dine-In Menu",
  15.       "description":"Menu for in-restaurant dining only.",
  16.       "hasMenuSection":[
  17.          {
  18.             "@type":"MenuSection",
  19.             "name":"Dinner",
  20.             "description":"Dinner dishes",
  21.             "image":"https://thisisarestaurant.com/dinner_dishes.jpg",
  22.             "offers":{
  23.                "@type":"Offer",
  24.                "availabilityEnds":"2017-03-02T08:22:00",
  25.                "availabilityStarts":"2017-03-02T08:22:00"
  26.             },
  27.             "hasMenuSection":[
  28.                {
  29.                   "@type":"MenuSection",
  30.                   "name":"Starters",
  31.                   "description":"Appetizers and such",
  32.                   "image":"https://thisisarestaurant.com/starter_dishes.jpg",
  33.                   "offers":{
  34.                      "@type":"Offer",
  35.                      "availabilityEnds":"2017-03-02T08:22:00",
  36.                      "availabilityStarts":"2017-03-02T08:22:00"
  37.                   },
  38.                   "hasMenuItem":{
  39.                      "@type":"MenuItem",
  40.                      "name":"Potato Skins",
  41.                      "description":"Small serving of stuffed potato skins.",
  42.                      "offers":{
  43.                         "@type":"Offer",
  44.                         "price":"7.49",
  45.                         "priceCurrency":"USD"
  46.                      },
  47.                      "suitableForDiet":"https://schema.org/GlutenFreeDiet"
  48.                   }
  49.                },
  50.                {
  51.                   "@type":"MenuSection",
  52.                   "name":"Soups & Salads",
  53.                   "description":"Salads and a few choices of soup",
  54.                   "image":"https://thisisarestaurant.com/soup_and_salad_dishes.jpg",
  55.                   "offers":{
  56.                      "@type":"Offer",
  57.                      "availabilityEnds":"2017-03-02T08:22:00",
  58.                      "availabilityStarts":"2017-03-02T08:22:00"
  59.                   },
  60.                   "hasMenuItem":{
  61.                      "@type":"MenuItem",
  62.                      "name":"Pea Soup",
  63.                      "description":"Creamy pea soup topped with melted cheese and sourdough croutons.",
  64.                      "offers":{
  65.                         "@type":"Offer",
  66.                         "price":"3.49",
  67.                         "priceCurrency":"USD"
  68.                      }
  69.                   }
  70.                }
  71.             ]
  72.          }
  73.       ]
  74.    }
  75. }
  76. </script>
Structured representation of the JSON-LD example.