Skip to content
Discussion options

You must be logged in to vote

I think there's a happy middle ground to be found between what schema.org allows us to express vs what Google would like to see. Given the use case you described I'd probably write something along these lines:

{
  "@context": "https://schema.org",
  "@type": "Recipe",
  "author": "Alice",
  "name": "Example Recipe",
  "recipeInstructions": [{
    "@type": "HowToStep",
    "position": 1,
    "name": "Make Shortcrust pastry",
    "text": "Follow the recipe for Shortcrust pastry.",
    "item": {
      "@type": "Recipe",
      "name": "Shortcrust pastry",
      "recipeIngredient": [
        "1 cup flour",
        "1 cup butter",
        "1 tbs water"
      ],
      "recipeInstructions": [{
  …

Replies: 1 comment 1 reply

Comment options

You must be logged in to vote
1 reply
@jmpage
Comment options

Answer selected by jmpage
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants