{ "$schema": "https://json-schema.org/draft/2020-12/schema", "title": "Recipe", "description": "Recipe schema from Edamam Recipe Search API", "$id": "https://raw.githubusercontent.com/api-evangelist/edamam/refs/heads/main/json-schema/recipe-search-api-recipe-schema.json", "type": "object", "properties": { "uri": { "type": "string", "example": "http://www.edamam.com/ontologies/edamam.owl#recipe_abc123" }, "label": { "type": "string", "example": "Chicken Vesuvio" }, "image": { "type": "string", "format": "uri", "example": "https://edamam-product-images.s3.amazonaws.com/web-img/chicken-vesuvio.jpg" }, "source": { "type": "string", "example": "Serious Eats" }, "url": { "type": "string", "format": "uri", "example": "https://www.seriouseats.com/recipes/chicken-vesuvio.html" }, "yield": { "type": "number", "example": 4 }, "dietLabels": { "type": "array", "items": { "type": "string" }, "example": [ "Low-Carb" ] }, "healthLabels": { "type": "array", "items": { "type": "string" }, "example": [ "Sugar-Conscious", "Dairy-Free" ] }, "cautions": { "type": "array", "items": { "type": "string" }, "example": [ "Sulfites" ] }, "ingredientLines": { "type": "array", "items": { "type": "string" }, "example": [ "1 whole chicken cut into pieces", "4 russet potatoes", "1 cup white wine" ] }, "ingredients": { "type": "array", "items": { "type": "object", "additionalProperties": true } }, "calories": { "type": "number", "example": 4228.79 }, "totalWeight": { "type": "number", "example": 2249.6 }, "totalTime": { "type": "number", "example": 60 }, "cuisineType": { "type": "array", "items": { "type": "string" }, "example": [ "italian" ] }, "mealType": { "type": "array", "items": { "type": "string" }, "example": [ "lunch/dinner" ] }, "dishType": { "type": "array", "items": { "type": "string" }, "example": [ "main course" ] }, "totalNutrients": { "type": "object", "additionalProperties": { "type": "object", "properties": { "label": { "type": "string", "example": "Energy" }, "quantity": { "type": "number", "example": 4228.79 }, "unit": { "type": "string", "example": "kcal" } } } }, "totalDaily": { "type": "object", "additionalProperties": { "type": "object", "properties": { "label": { "type": "string", "example": "Energy" }, "quantity": { "type": "number", "example": 4228.79 }, "unit": { "type": "string", "example": "kcal" } } } } } }