Recipes

To take part in the Yandex partner program for culinary sites, mark up your site with the Recipe schema.

Required fields

  • name — (Text) The recipe or dish name.

  • ingredients — (Text) Ingredients in the recipe and their volumes or amounts (may be several).

Recommended fields

  • recipeInstructions — (Text) cooking instructions.

  • recipeCategory — (Text) Type of dish: for example, hot main dish, dessert.

  • recipeYield — (Text) Number of servings.

  • totalTime — (Duration) Cooking time (if missing, cookTime is used). Specified in the ISO 8601 format. For example, PT30M (30 minutes).

  • image — (URL) URL of the cooking images (can be several). We recommend you to fill in this field for creating a better snippet.

  • author — (Text, Person/name, Organization/name) Author of the recipe.

  • recipeCuisine — (Text) National cuisine the recipe belongs to. One recipe can contain only one cuisine—type element.

  • nutrition — (NutritionInformation) Energy and nutrition value of the dish, meaning the number of calories and the amount of fat, protein, carbohydrates, vitamins, and so on.

    • calories — (Energy) Number of calories.

    • fatContent — (Mass) Fat.

    • saturatedFatContent — (Mass) Saturated fat.

    • unsaturatedFatContent — (Mass) Unsaturated fat.

    • carbohydrateContent — (Mass) Carbohydrates.

    • sugarContent — (Mass) Sugar.

    • fiberContent — (Mass) Fiber.

    • proteinContent — (Mass) Protein.

    • cholesterolContent — (Mass) Cholesterol.

    • servingSize — (Text) A serving, volume or weight for which the energy and nutrition value is indicated.

Fields not included in the schema.org standard but recommended by Yandex

  • totalWeight — (Text) Ready dish weight. A recipe can contain only one element of the weight class.

  • recipeSubCategory — (Текст) The dish subtype. For example, poultry dish. A recipe can contain only one element of the sub—category class.

  • resultPhoto — (URL) URL of the ready dish image. We recommend you to fill in this field for creating a better snippet.

Description of the data types

  • Energy — Properties of the Energy type are specified in the format <Number> <energy measurement unit>. For example, 240 Kcal.

  • Mass — Mass is specified in the format <Number> <Weight measurement unit>. For example, ' 7 kg '.

Example of markup

<div itemscope itemtype="http://schema.org/Recipe">
  <h1 itemprop="name" >Beer chicken and rice</h1>
  This recipe was found in a Tibetan monastery in 1871 during an expedition by Count Nicanor Whiskey.
  It was written on a clay tablet in the 6th century BC.
  <img itemprop="resultPhoto" src=​"profit.jpg" />
  <ul>
    <li>Recipe author: <span itemprop="author">Count Whiskey</span></li>
    <li>After cooking, you will have <span itemprop="recipeYield" >4 portions</span></li>
    <li>Cooking time: <meta itemprop="totalTime" content="PT45M"/>45 minutes</li>
  </ul>
  <h2>Ingredients</h2>
  <ul>
    <li itemprop="ingredients">
      1 whole chicken
    </li>
    <li itemprop="ingredients" >
      5 l beer
    </li>
    <li itemprop="ingredients" >
      salt
    </li>
    <li itemprop="ingredients" >
      pepper
    </li>
    <li itemprop="ingredients" >
      spices to taste
    </li>
  </ul>
  <h2>Cooking method</h2>
  <ul itemprop="recipeInstructions">
    <li><img itemprop="image" src=​"creks.jpg" alt="cutting up the chicken"/>
      Cut the chicken into pieces, place it in a baking dish, and add salt, pepper and spices to your liking.
    </li>
    <li><img itemprop="image" src=​"feks.jpg" alt="beer poured over chicken"/>
      Pour the beer over the chicken and put it in the oven.
    </li>
    <li><img itemprop="image" src=​"peks.jpg" alt="chicken in the oven"/>
      Bake at 180 C for 40-45 minutes.
    </li>
  </ul>
  <span itemprop="recipeCategory">Chicken recipes</span>
  <div itemprop="nutrition" itemscope itemtype="http://schema.org/NutritionInformation">
    Nutrition information: 
    <ul>
      <li>Calories: <span itemprop="calories">120 kcal</span>,</li>
      <li>Fat: <span itemprop="fatContent">7 g</span></li>
      <li>Carbohydrates: <span itemprop="carbohydrateContent">1 g</span></li>
    </ul>
  </div>
  Enjoy!
</div>