addedInput schema / properties / servings
Added value: +{
+ "description": "Rescale ingredient quantities to this many servings. The dish's own count is returned as original_servings. Steps are NOT rescaled: they keep the amounts of the original recipe.",
+ "maximum": 100,
+ "minimum": 1,
+ "type": "integer"
+}
addedOutput schema / properties / adaptations
Added value: +{
+ "description": "Diets this dish does not already fit but can be FULLY converted to - the adapt control shown on the recipe page. A diet is listed only when every disqualifying ingredient has a swap; partial conversions are never offered. Empty when the dish already fits every listed diet, or when no full conversion exists.",
+ "items": {
+ "additionalProperties": false,
+ "properties": {
+ "diet": {
+ "enum": [
+ "vegan",
+ "vegetarian",
+ "halal",
+ "dairy-free",
+ "pescatarian"
+ ],
+ "type": "string"
+ },
+ "result": {
+ "description": "same_dish when every swap is a like-for-like substitute; different_dish when at least one swap is an adaptation.",
+ "enum": [
+ "same_dish",
+ "different_dish"
+ ],
+ "type": "string"
+ },
+ "swaps": {
+ "items": {
+ "additionalProperties": false,
+ "properties": {
+ "ingredient": {
+ "type": "string"
+ },
+ "kind": {
+ "enum": [
+ "substitute",
+ "adaptation"
+ ],
+ "type": "string"
+ },
+ "replacement": {
+ "type": "string"
+ }
+ },
+ "required": [
+ "ingredient",
+ "replacement",
+ "kind"
+ ],
+ "type": "object"
+ },
+ "type": "array"
+ }
+ },
+ "required": [
+ "diet",
+ "result",
+ "swaps"
+ ],
+ "type": "object"
+ },
+ "type": "array"
+}
addedOutput schema / properties / original_servings
Added value: +{
+ "description": "Servings the recipe was written for; the steps always describe this count.",
+ "maximum": 9007199254740991,
+ "minimum": -9007199254740991,
+ "type": "integer"
+}
addedOutput schema / properties / servings / description
Added value: +"Servings the ingredient quantities are for (the requested count when servings was passed)."
changedOutput schema / required
Previous value: -[
- "slug",
- "title",
- "country",
- "country_name",
- "category",
- "form",
- "prep_time_minutes",
- "url",
- "description",
- "calories",
- "servings",
- "steps",
- "faq",
- "ingredients",
- "image",
- "match_count",
- "resolved_by",
- "notes",
- "attribution"
-]New value: +[
+ "slug",
+ "title",
+ "country",
+ "country_name",
+ "category",
+ "form",
+ "prep_time_minutes",
+ "url",
+ "description",
+ "calories",
+ "servings",
+ "original_servings",
+ "steps",
+ "faq",
+ "ingredients",
+ "image",
+ "adaptations",
+ "match_count",
+ "resolved_by",
+ "notes",
+ "attribution"
+]