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

suitableForDiet

A Schema.org Property
Indicates a dietary restriction or guideline for which this recipe or menu item is suitable, e.g. diabetic, halal etc.

Values expected to be one of these types

Used on these types

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.