{
    "$schema": "https://schemas.wp.org/trunk/block.json",
    "apiVersion": 3,
    "name": "telex/block-one-more-bite",
    "version": "1.0.0",
    "title": "One More Bite",
    "category": "media",
    "icon": "food",
    "description": "Beautiful recipe cards that actually work. Add ingredients, instructions, prep times, and nutrition info with just a few clicks. Finally, a recipe plugin that doesn't leave a bad taste.",
    "example": {
        "attributes": {
            "recipeName": "Chocolate Chip Cookies",
            "description": "Classic homemade chocolate chip cookies that are crispy on the edges and chewy in the center.",
            "prepTime": "15",
            "cookTime": "12",
            "servings": "24",
            "difficulty": "easy",
            "ingredients": [
                {
                    "name": "All-purpose flour",
                    "amount": "2.25",
                    "unit": "cups",
                    "notes": "Sifted"
                },
                {
                    "name": "Butter",
                    "amount": "1",
                    "unit": "cup",
                    "notes": "Softened"
                },
                {
                    "name": "Chocolate chips",
                    "amount": "2",
                    "unit": "cups",
                    "notes": "Semi-sweet"
                }
            ],
            "instructions": [
                {
                    "step": "Preheat oven to 375°F (190°C).",
                    "image": ""
                },
                {
                    "step": "In a large bowl, cream together butter and sugars until light and fluffy.",
                    "image": ""
                },
                {
                    "step": "Beat in eggs and vanilla extract.",
                    "image": ""
                }
            ],
            "dietaryRestrictions": [
                "vegetarian"
            ],
            "unitSystem": "imperial"
        }
    },
    "attributes": {
        "recipeName": {
            "type": "string",
            "default": ""
        },
        "description": {
            "type": "string",
            "default": ""
        },
        "recipeImage": {
            "type": "object",
            "default": []
        },
        "recipeVideo": {
            "type": "object",
            "default": []
        },
        "prepTime": {
            "type": "string",
            "default": ""
        },
        "cookTime": {
            "type": "string",
            "default": ""
        },
        "totalTime": {
            "type": "string",
            "default": ""
        },
        "servings": {
            "type": "string",
            "default": "4"
        },
        "difficulty": {
            "type": "string",
            "default": "medium"
        },
        "costPerServing": {
            "type": "string",
            "default": ""
        },
        "recipeCategory": {
            "type": "string",
            "default": "Main Course"
        },
        "recipeCuisine": {
            "type": "string",
            "default": ""
        },
        "ingredients": {
            "type": "array",
            "default": []
        },
        "instructions": {
            "type": "array",
            "default": []
        },
        "nutritionalInfo": {
            "type": "object",
            "default": []
        },
        "dietaryRestrictions": {
            "type": "array",
            "default": []
        },
        "tags": {
            "type": "array",
            "default": []
        },
        "unitSystem": {
            "type": "string",
            "default": "metric"
        },
        "showNutrition": {
            "type": "boolean",
            "default": true
        },
        "showPrint": {
            "type": "boolean",
            "default": true
        },
        "showSharing": {
            "type": "boolean",
            "default": true
        },
        "allergens": {
            "type": "array",
            "default": []
        }
    },
    "supports": {
        "html": false,
        "anchor": true,
        "align": [
            "wide",
            "full"
        ]
    },
    "textdomain": "one-more-bite",
    "editorScript": "file:./index.js",
    "editorStyle": "file:./index.css",
    "style": "file:./style-index.css",
    "viewScript": "file:./view.js",
    "render": "file:./render.php"
}
