{
  "recipe": {
    /***** MEDIA *****/
    // Pass an image ID, or image_url:
    //"image_id": 123,
    "image_url": "https://demo.wprecipemaker.com/wp-content/uploads/2018/10/baked-beer-cheese-724216.jpg",

    // Pass a Pinterest image ID, URL or Repin ID:
    //"pin_image_id": 123,
    //"pin_image_url": "https://demo.wprecipemaker.com/wp-content/uploads/2018/10/baked-beer-cheese-724216.jpg",
    "pin_image_repin_id": 733594226811888710,

    // Pass along a video ID or the embed code:
    //"video_id": 123,
    "video_embed": "https://www.youtube.com/watch?v=evwKsHRK0is",

    /***** GENERAL *****/
    "recipe_type": "food", // food, howto or other
    "name": "Recipe Name",
    "summary": "Summary for the recipe",
    "author_display": "custom", // default, disabled, post_author or custom
    "author_name": "Author Name",
    "author_link": "https://www.author.com",
    "servings": 4,
    "servings_unit": "people",
    "servings_advanced_enabled": true,
    "servings_advanced": {
        "shape": "round", // round or rectangle
        "unit": "inch", // inch or cm
        "diameter": 4,
        //"width": 5,
        //"length": 7,
        "height": 2
    },
    "cost": "$10",

    /***** TIMES ****/
    "prep_time": 5,
    "cook_time": 25,
    "custom_time": 10,
    "custom_time_label": "Resting Time",
    "total_time": 40,

    /***** CATEGORIES ****/
    "tags": {
        // Use keys as found on the WP Recipe Maker > Manage > Your Custom Fields > Recipe Taxonomies page, without wprm_ in front.
        // Pass along an array of term IDs or term names.
        "course": ["Lunch", "Dinner"],
        "cuisine": [11,17]
    },

    /***** EQUIPMENT ****/
    "equipment": [
        {
            "amount": 1,
            "name": "Rolling Pin",
            "notes": "(optional)"
        }
    ],

    /***** INGREDIENTS ****/
    // Either use ingredients or ingredients_flat (see instructions for example)
    "ingredients": [
        {
            "name": "First Group",
            "ingredients": [
                // Use either "raw" (automatically parsed) or split in separate fields.
                {
                    "raw": "1 cup onion, diced"
                },
                {
                    "amount": 1,
                    "unit": "cup",
                    "name": "onion",
                    "notes": "diced"
                }
            ]
        },
        {
            "name": "Second Group",
            "ingredients": [
                // Optionally add second unit system and link.
                {
                    "amount": 1,
                    "unit": "cup",
                    "name": "onion",
                    "notes": "diced",
                    // Use "2" for the second unit system.
                    "converted": {
                        "2": {
                            "amount": 100,
                            "unit": "g"
                        }
                    },
                    // Only used when ingredient link type is set to "custom".
                    "link": {
                        "url": "https://www.onion.com",
                        "nofollow": "default" // default, nofollow, follow or sponsored
                        //"eafl": 123,
                    }
                }
            ]
        }
    ],
    "unit_system": "default", // default, 1 or 2
    "ingredient_links_type": "global", // global or custom

    /***** INSTRUCTIONS ****/
    // Either use instructions_flat or instructions (see ingredients for example)
    "instructions_flat": [
        {
            "type": "group",
            "name": "First Group"
        },
        {
            "type": "instruction",
            "name": "Metadata Step Summary",
            "text": "This is the instruction step text",
            // Optional associated ingredients,
            "ingredients": [1, 2],
            // "image": 123,
            "video" : {
                "type": "embed", // embed or upload
                "embed": "https://www.youtube.com/watch?v=evwKsHRK0is"
                //"id": 123, // Used if upload
                // Or optionally define as part of the main video
                //"start": 10,
                //"end": 20,
                //"name": "Name of video part"
            }
        },
        {
            "type": "group",
            "name": "Second Group"
        },
        {
            "type": "instruction",
            "text": "Cook it all!"
        }
    ],

    /***** NUTRITION ****/
    "nutrition": {
        // Use keys as found on the WP Recipe Maker > Manage > Your Custom Fields > Custom Nutrients page.
        "serving_size": 123,
        "serving_unit": "g",
        "calories": 231,
        "carbohydrates": 23
    },

    /***** CUSTOM FIELDS ****/
    "custom_fields": {
        // Use keys as found on the WP Recipe Maker > Manage > Your Custom Fields > Custom Fields page.
        "custom_text_field": "This is some text",
        "custom_image": {
            "id": 123
        }
    },

    /***** NOTES ****/
    "notes": "These are the recipe notes"
  }
}