Skip to content

Instantly share code, notes, and snippets.

@patrickcoombe
Last active April 26, 2019 18:16
Show Gist options
  • Save patrickcoombe/3ffbf6515a90b30b27ce to your computer and use it in GitHub Desktop.
Save patrickcoombe/3ffbf6515a90b30b27ce to your computer and use it in GitHub Desktop.
<script type="application/ld+json">
{
"@context": "https://schema.org",
"@type": "Recipe",
"author": "Jake Smith",
"cookTime": "PT2H",
"datePublished": "2015-05-18",
"description": "Your recipe description goes here",
"image": "http://www.example.com/images.jpg",
"recipeIngredient": [
"ingredient 1",
"ingredient 2",
"ingredient 3",
"ingredient 4",
"ingredient 5"
],
"interactionStatistic": {
"@type": "InteractionCounter",
"interactionType": "http://schema.org/Comment",
"userInteractionCount": "5"
},
"name": "Rand's Cookies",
"nutrition": {
"@type": "NutritionInformation",
"calories": "1200 calories",
"carbohydrateContent": "12 carbs",
"proteinContent": "9 grams of protein",
"fatContent": "9 grams fat"
},
"prepTime": "PT15M",
"recipeInstructions": "This is the long part, etc.",
"recipeYield": "12 cookies"
}
</script>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment