{ "title": "Warn Invalid Modifier Combination", "slug": "warn-invalid-modifier-combination", "meta": { "title": "Warn Invalid Modifier Combination" }, "registry": { "ingredients": { "flour": { "id": "flour", "name": "flour", "default_unit": "g" } }, "cookware": {} }, "shopping_list": [ { "id": "flour", "name": "flour", "_usageIds": [ "1" ], "modifiers": [ "optional", "bakers_percentage" ], "qty": 200, "unit": "g", "normalizedMass": 200, "isEstimate": false, "conversionMethod": "physical", "bakersPercentage": 100 } ], "cookware": [], "sections": [ { "title": "Section", "ingredients": [ { "id": "flour", "_usageId": "1", "qty": 200, "unit": "g", "modifiers": [ "optional", "bakers_percentage" ], "conversionMethod": "physical", "isEstimate": false, "normalizedMass": 200, "bakersPercentage": 100 } ], "cookware": [], "steps": [ { "type": "step", "content": [ "Add ", { "id": "flour", "_usageId": "1", "qty": 200, "unit": "g", "modifiers": [ "optional", "bakers_percentage" ], "normalizedMass": 200, "conversionMethod": "physical", "isEstimate": false, "bakersPercentage": 100 }, "." ], "timings": { "start": 0, "end": 2, "activeDuration": 2 } } ], "metrics": { "totalMass": 0, "massStatus": "incomplete", "missingMassIngredients": [] } } ], "warnings": [ { "code": "INVALID_MODIFIER_COMBINATION", "message": "Incompatible modifiers on \"flour\": Optional (?) and Important (*).", "item": "flour", "loc": { "start": 66, "end": 80 } } ], "metrics": { "totalTime": 3, "totalBreakdown": [ { "label": "section_active:Section", "duration": 2 } ], "idleTime": 0, "activeTime": 2, "activeBreakdown": [ { "label": "section_active:Section", "duration": 2 } ], "preparationTime": 1, "prepBreakdown": [ { "label": "ingredients_overhead", "duration": 1 } ], "totalMass": 0, "massStatus": "incomplete", "missingMassIngredients": [], "nutrition": { "total": { "calories": 0, "fat": 0, "carbs": 0, "protein": 0 }, "isEstimate": false, "coverage": 0 } }, "miseEnPlace": [ { "section": 0, "duration": 1, "items": [ { "kind": "gather", "target": "ingredient", "count": 1, "duration": 1 } ] } ], "tasks": { "tasks": [ { "id": "s0.prep", "kind": "prep", "section": 0, "duration": { "nominal": 1 }, "items": [ { "kind": "gather", "target": "ingredient", "count": 1, "duration": 1 } ], "after": [] }, { "id": "s0.0", "kind": "step", "section": 0, "step": 0, "duration": { "nominal": 2 }, "after": [] } ], "sections": [ { "day": 0 } ] }, "schedule": { "miseEnPlace": "perSection", "rests": "shortest", "totalTime": 3, "activeTime": 2, "preparationTime": 1, "idleTime": 0, "blocks": [ { "kind": "prep", "task": "s0.prep", "section": 0, "start": 0, "end": 1 }, { "kind": "step", "task": "s0.0", "section": 0, "step": 0, "start": 1, "end": 3 } ], "days": [ { "day": 0, "start": 0, "end": 3, "sections": [ 0 ] } ] } }