适用于食谱、烹饪教程页。Google 列出的必需属性只有 name 和 image,其余为推荐。
| 属性 | 类型 | 必需/推荐 | 说明 |
|---|---|---|---|
| name | Text | 必需 | 菜名 |
| image | URL 数组 | 必需 | 成品图,建议 16:9、4:3、1:1 多比例 |
| author | Person | 推荐 | 作者 |
| datePublished | Date | 推荐 | 发布日期 |
| description | Text | 推荐 | 简介 |
| prepTime / cookTime / totalTime | Duration | 推荐 | ISO 8601 时长 |
| recipeYield | Text | 推荐 | 份量 |
| recipeCategory / recipeCuisine | Text | 推荐 | 类别与菜系 |
| nutrition | NutritionInformation | 推荐 | 如 calories |
| recipeIngredient | Text 数组 | 推荐 | 原料列表 |
| recipeInstructions | HowToStep 数组 | 推荐 | 每步含 text,不写「Step 1」这类编号 |
| aggregateRating | AggregateRating | 推荐 | 汇总评分 |
| video | VideoObject | 推荐 | 配套视频 |
完整 JSON-LD 示例:
{
"@context": "https://schema.org",
"@type": "Recipe",
"name": "Classic Chocolate Chip Cookies",
"image": [
"https://example.com/photos/cookies-1x1.jpg",
"https://example.com/photos/cookies-4x3.jpg",
"https://example.com/photos/cookies-16x9.jpg"
],
"author": {
"@type": "Person",
"name": "Emily Chen"
},
"datePublished": "2024-05-01",
"description": "The best homemade chocolate chip cookies with crispy edges and chewy centers.",
"prepTime": "PT15M",
"cookTime": "PT12M",
"totalTime": "PT27M",
"recipeYield": "24 cookies",
"recipeCategory": "Dessert",
"recipeCuisine": "American",
"nutrition": {
"@type": "NutritionInformation",
"calories": "210 calories"
},
"recipeIngredient": [
"2 1/4 cups all-purpose flour",
"1 tsp baking soda",
"1 tsp salt",
"1 cup (2 sticks) butter, softened",
"3/4 cup granulated sugar",
"3/4 cup packed brown sugar",
"2 large eggs",
"2 tsp vanilla extract",
"2 cups chocolate chips"
],
"recipeInstructions": [
{
"@type": "HowToStep",
"text": "Preheat oven to 375°F (190°C)."
},
{
"@type": "HowToStep",
"text": "Combine flour, baking soda and salt in a small bowl."
},
{
"@type": "HowToStep",
"text": "Beat butter, granulated sugar, brown sugar and vanilla extract in large mixer bowl until creamy. Add eggs, beating well."
},
{
"@type": "HowToStep",
"text": "Gradually beat in flour mixture. Stir in chocolate chips."
},
{
"@type": "HowToStep",
"text": "Drop rounded tablespoon of dough onto ungreased baking sheets. Bake for 9 to 11 minutes or until golden brown."
}
],
"aggregateRating": {
"@type": "AggregateRating",
"ratingValue": 4.8,
"ratingCount": 312
},
"video": {
"@type": "VideoObject",
"name": "How to Make Chocolate Chip Cookies",
"description": "Watch how to make perfect chocolate chip cookies.",
"thumbnailUrl": "https://example.com/photos/cookies-video-thumb.jpg",
"uploadDate": "2024-05-01T08:00:00+08:00",
"duration": "PT3M25S",
"contentUrl": "https://example.com/videos/chocolate-chip-cookies.mp4"
}
}
来源
- Recipe (Recipe, HowTo, ItemList) structured data,https://developers.google.com/search/docs/appearance/structured-data/recipe(2026-10-05 核对)
