Recipe Schema

Properties #

info #

name

name

The name of the dish.

description

description

A short summary describing the dish.

keywords

keywords

Other terms for your recipe such as the season (“summer”), the holiday (“Halloween”), or other descriptors (“quick”, “easy”, “authentic”). Don’t use a tag that should fit better on category or cuisine.

cuisine

recipeCuisine

The region associated with your recipe. For example, “French”, Mediterranean”, or “American”.

categories

recipeCategory

The type of meal or course your recipe is about. For example: “dinner”, “main course”, or “dessert, snack”.

suitable for diet

suitableForDiet

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

preparation

prepTime

The length of time it takes to prepare ingredients and workspace for the dish. Always use in combination with cook time.

cook time

cookTime

The time it takes to actually cook the dish. Always use in combination with preparation time.

total time

totalTime

The total time it takes to prepare the cook the dish. Use total time or a combination of both cook time and preparation time.

recipe #

ingredients

recipeIngredient

Ingredients used in the recipe.
– Include only the ingredient text that is necessary for making the recipe.
– Don’t include unnecessary information, such as a definition of the ingredient.

instructions

recipeInstructions

The steps to make the dish.

@type

@type

HowToStep

title

name

Title of the step.

text

text

Textual content of the step.

image

image

Image of the step.

video

video

A video or a chapter of a video about the step.

yield

recipeYield

The quantity produced by the recipe.
Specify the number of servings produced from this recipe with just a number. If you wish to use a different unit (for example, number of items), you may include additional yields. This is required if you specify any nutritional information per serving (such as nutrition-calories).
Example: [ "6", "24 cookies" ]

nutrition

nutrition

Nutrition information about the recipe.

serving size

servingSize

The serving size, in terms of the number of volume or mass.

calories

calories

The number of calories in each serving produced with this recipe. If nutrition.calories is defined, recipe yield must be defined with the number of servings.

carbo hydrate

cholesterol

fat

fiber

protein

saturated fat

sodium

sugar

trans fat

unsaturated fat

media #

images

image

Images of the completed dish.

video

video

A video depicting the steps to make the dish.

extra #

published

datePublished

The date the recipe was published.

modified

dateModified

The date recipe was most recently modified.

authors

author

The persons or organizations that wrote the recipe.

publishers

publisher

The persons or organizations that published the recipe.

languages

inLanguage

The language of the recipe.

reviews #

reviews

review

Detailed reviews and ratings of the item.

name

author

Name of the review author.

published

datePublished

Date of review publication.

description

description

The review description.

rating

reviewRating

Rating of the item and values of the rating system.

rating

aggregateRating

The overall rating of the item, based on a collection of reviews or ratings.
Best and Worst values indicate the range of the rating system.

average

ratingValue

The overall rating value.

count

ratingCount

The total number of ratings for the item on your site.

best

bestRating

The highest value allowed in this rating system. If bestRating is omitted, 5 is assumed.

worst

worstRating

The lowest value allowed in this rating system. If worstRating is omitted, 1 is assumed

Recipe Schema Example #

{
    "@id": "https://deepschema.org/#recipe-01",
    "@type": "Recipe",
    "name": "Chocolate Cake",
    "description": "If you’ve been wondering how to make chocolate cake from scratch, this easy recipe is for you.",
    "recipeCategory": "Dessert",
    "prepTime": "PT30M",
    "cookTime": "PT35M",
    "totalTime": "PT65M",
    "recipeIngredient": [
        "2 cup Sugar",
        "2 cup Flour",
        "3/4 cup Unsweetened cocoa powder",
        "1.5 tsp Baking powder",
        "1.5 tsp Baking soda",
        "1 tsp Salt",
        "2  eggs",
        "1 cup Milk",
        "1/2 cup Vegetable oil",
        "2 tsp Vanilla extract"
    ],
    "recipeInstructions": [
        {
            "@type": "HowToStep",
            "text": "Start by preheating your oven to 350 degrees. Grease and flour two 9-inch round cake pans.",
            "image": "https://deepschema.org/uploads/step-01.jpg",
            "video": {
                "@id": "https://deepschema.org/#Clip-01"
            }
        },
        {
            "@type": "HowToStep",
            "text": "Place two cups of sugar into a large bowl and add two cups of flour.",
            "image": "https://deepschema.org/uploads/step-02.jpg",
            "video": {
                "@id": "https://deepschema.org/#Clip-02"
            }
        },
        {
            "@type": "HowToStep",
            "text": "Next add two eggs, 1 cup of milk and 2 teaspoons of vanilla extract.",
            "image": "https://deepschema.org/uploads/step-03.jpg",
            "video": {
                "@id": "https://deepschema.org/#Clip-03"
            }
        }
    ],
    "recipeYield": [
        "9 servings"
    ],
    "nutrition": {
        "@type": "NutritionInformation",
        "servingSize": "100gr",
        "calories": "155000",
        "carbohydrateContent": "35",
        "cholesterolContent": "0",
        "fatContent": "0.5",
        "fiberContent": "1",
        "proteinContent": "2",
        "saturatedFatContent": "0.3",
        "sodiumContent": "342",
        "sugarContent": "17"
    },
    "image": [
        {
            "@type": "ImageObject",
            "url": "https://deepschema.org/photo-01.jpg",
            "contentUrl": "https://deepschema.org/photo-01.jpg",
            "thumbnail": "https://deepschema.org/photo-01-200x200.jpg",
            "width": 1280,
            "height": 957
        },
        {
            "@type": "ImageObject",
            "url": "https://deepschema.org/photo-02.jpg",
            "contentUrl": "https://deepschema.org/photo-02.jpg",
            "thumbnail": "https://deepschema.org/photo-02-200x200.jpg",
        },
        {
            "@type": "ImageObject",
            "url": "https://deepschema.org/photo-03.jpg",
            "contentUrl": "https://deepschema.org/photo-03.jpg",
            "thumbnail": "https://deepschema.org/photo-03-200x200.jpg",
        },
    ],
    "video": [
        {
            "@type": "VideoObject",
            "contentUrl": "https://www.youtube.com/watch?v=ZqMqTB7RSjo",
            "name": "How to Make Easy Chocolate Cake | Cake Recipes | Allrecipes.com",
            "thumbnailUrl": "https://i.ytimg.com/vi/ZqMqTB7RSjo/hqdefault.jpg",
            "description": "Get the top-rated recipe for One Bowl Chocolate Cake",
            "author": [
                "Allrecipes"
            ],
            "uploadDate": "2013-06-10T12:00:00+00:00",
            "hasPart": [
                {
                    "@type": "Clip",
                    "@id": "#Clip-01",
                    "name": "start by preheating your oven to 350 degrees",
                    "startOffset": 24,
                    "endOffset": 44,
                    "url": "https://www.youtube.com/watch?v=ZqMqTB7RSjo&t=24"
                },
                {
                    "@type": "Clip",
                    "@id": "#Clip-02",
                    "name": "place two cups of sugar into a large bowl",
                    "startOffset": 44,
                    "endOffset": 69,
                    "url": "https://www.youtube.com/watch?v=ZqMqTB7RSjo&t=44"
                },
                {
                    "@type": "Clip",
                    "@id": "#Clip-03",
                    "name": "add two eggs",
                    "startOffset": 69,
                    "endOffset": 83,
                    "url": "https://www.youtube.com/watch?v=ZqMqTB7RSjo&t=69"
                }
            ],
            "interactionStatistic": {
                "@type": "InteractionCounter",
                "interactionType": {
                    "@type": "WatchAction"
                },
                "userInteractionCount": 5194288
            }
        }
    ],
    "datePublished": "2023-11-08 18:45:44",
    "dateModified": "2023-11-09 01:05:59",
    "author": [
        {
            "@id": "#pers-wp-1",
            "@context": "http://schema.org",
            "@type": "Person",
            "name": "admin",
            "email": [
                "sic@actus.works"
            ],
            "url": "https://actus.works",
            "worksFor": [
                {
                    "@id": "#busi-1"
                }
            ],
            "image": "https://secure.gravatar.com/avatar/abc"
        }
    ],
    "inLanguage": [
        {
            "@type": "Language",
            "name": "en"
        }
    ],
    "url": "https://deepschema.org/my-recipe/"
}
JSON