gram/conformance/cases/050-relative-quantity-in-alternative/compiled.json

480 lines
10 KiB
JSON

{
"meta": {},
"registry": {
"ingredients": {
"farine": {
"id": "farine",
"name": "farine",
"default_unit": "g"
},
"beurre": {
"id": "beurre",
"name": "beurre"
},
"huile": {
"id": "huile",
"name": "huile"
},
"lait": {
"id": "lait",
"name": "lait",
"default_unit": "g"
},
"eau": {
"id": "eau",
"name": "eau"
}
},
"cookware": {}
},
"shopping_list": [
{
"id": "farine",
"name": "farine",
"_usageIds": [
"1"
],
"qty": 200,
"unit": "g"
},
{
"id": "alternative",
"type": "alternative",
"options": [
{
"id": "beurre",
"_usageId": "2",
"qty": {
"type": "RelativeQuantity",
"percent": 10,
"target": "farine",
"referenceType": "ingredient",
"loc": {
"start": 46,
"end": 58
}
},
"dependencies": [
"farine"
],
"formula": {
"raw": "10% of farine",
"target": "farine",
"percent": 10,
"isGhost": false
}
},
{
"id": "huile",
"_usageId": "3",
"qty": {
"type": "RelativeQuantity",
"percent": 8,
"target": "farine",
"referenceType": "ingredient",
"loc": {
"start": 67,
"end": 78
}
},
"dependencies": [
"farine"
],
"formula": {
"raw": "8% of farine",
"target": "farine",
"percent": 8,
"isGhost": false
}
}
]
},
{
"id": "alternative",
"type": "alternative",
"options": [
{
"id": "lait",
"_usageId": "4",
"qty": 100,
"unit": "g"
},
{
"id": "eau",
"_usageId": "5",
"qty": {
"type": "RelativeQuantity",
"percent": 90,
"target": "lait",
"referenceType": "ingredient",
"loc": {
"start": 114,
"end": 124
}
},
"dependencies": [
"lait"
],
"formula": {
"raw": "90% of lait",
"target": "lait",
"percent": 90,
"isGhost": false
}
}
]
}
],
"cookware": [],
"sections": [
{
"title": "Pâte",
"ingredients": [
{
"id": "farine",
"_usageId": "1",
"qty": 200,
"unit": "g"
},
{
"id": "alternative",
"type": "alternative",
"options": [
{
"id": "beurre",
"_usageId": "2",
"qty": {
"type": "RelativeQuantity",
"percent": 10,
"target": "farine",
"referenceType": "ingredient",
"loc": {
"start": 46,
"end": 58
}
},
"dependencies": [
"farine"
],
"formula": {
"raw": "10% of farine",
"target": "farine",
"percent": 10,
"isGhost": false
}
},
{
"id": "huile",
"_usageId": "3",
"qty": {
"type": "RelativeQuantity",
"percent": 8,
"target": "farine",
"referenceType": "ingredient",
"loc": {
"start": 67,
"end": 78
}
},
"dependencies": [
"farine"
],
"formula": {
"raw": "8% of farine",
"target": "farine",
"percent": 8,
"isGhost": false
}
}
]
},
{
"id": "alternative",
"type": "alternative",
"options": [
{
"id": "lait",
"_usageId": "4",
"qty": 100,
"unit": "g"
},
{
"id": "eau",
"_usageId": "5",
"qty": {
"type": "RelativeQuantity",
"percent": 90,
"target": "lait",
"referenceType": "ingredient",
"loc": {
"start": 114,
"end": 124
}
},
"dependencies": [
"lait"
],
"formula": {
"raw": "90% of lait",
"target": "lait",
"percent": 90,
"isGhost": false
}
}
]
}
],
"cookware": [],
"steps": [
{
"type": "step",
"content": [
"Mélanger ",
{
"id": "farine",
"_usageId": "1",
"qty": 200,
"unit": "g"
},
"avec ",
{
"id": "alternative",
"type": "alternative",
"options": [
{
"id": "beurre",
"_usageId": "2",
"qty": {
"type": "RelativeQuantity",
"percent": 10,
"target": "farine",
"referenceType": "ingredient",
"loc": {
"start": 46,
"end": 58
}
},
"dependencies": [
"farine"
],
"formula": {
"raw": "10% of farine",
"target": "farine",
"percent": 10,
"isGhost": false
}
},
{
"id": "huile",
"_usageId": "3",
"qty": {
"type": "RelativeQuantity",
"percent": 8,
"target": "farine",
"referenceType": "ingredient",
"loc": {
"start": 67,
"end": 78
}
},
"dependencies": [
"farine"
],
"formula": {
"raw": "8% of farine",
"target": "farine",
"percent": 8,
"isGhost": false
}
}
]
},
"."
],
"timings": {
"start": 0,
"end": 2,
"activeDuration": 2
}
},
{
"type": "step",
"content": [
"Détendre avec ",
{
"id": "alternative",
"type": "alternative",
"options": [
{
"id": "lait",
"_usageId": "4",
"qty": 100,
"unit": "g"
},
{
"id": "eau",
"_usageId": "5",
"qty": {
"type": "RelativeQuantity",
"percent": 90,
"target": "lait",
"referenceType": "ingredient",
"loc": {
"start": 114,
"end": 124
}
},
"dependencies": [
"lait"
],
"formula": {
"raw": "90% of lait",
"target": "lait",
"percent": 90,
"isGhost": false
}
}
]
},
"."
],
"timings": {
"start": 2,
"end": 4,
"activeDuration": 2
}
}
]
}
],
"warnings": [],
"metrics": {
"totalTime": 9,
"totalBreakdown": [
{
"label": "section_active:Pâte",
"duration": 4
}
],
"idleTime": 0,
"activeTime": 4,
"activeBreakdown": [
{
"label": "section_active:Pâte",
"duration": 4
}
],
"preparationTime": 5,
"prepBreakdown": [
{
"label": "ingredients_overhead",
"duration": 5
}
]
},
"miseEnPlace": [
{
"section": 0,
"duration": 5,
"items": [
{
"kind": "gather",
"target": "ingredient",
"count": 5,
"duration": 5
}
]
}
],
"tasks": {
"tasks": [
{
"id": "s0.prep",
"kind": "prep",
"section": 0,
"duration": {
"nominal": 5
},
"items": [
{
"kind": "gather",
"target": "ingredient",
"count": 5,
"duration": 5
}
],
"after": []
},
{
"id": "s0.0",
"kind": "step",
"section": 0,
"step": 0,
"duration": {
"nominal": 2
},
"after": []
},
{
"id": "s0.1",
"kind": "step",
"section": 0,
"step": 1,
"duration": {
"nominal": 2
},
"after": [
"s0.0"
]
}
],
"sections": [
{
"day": 0
}
]
},
"schedule": {
"miseEnPlace": "perSection",
"rests": "shortest",
"totalTime": 9,
"activeTime": 4,
"preparationTime": 5,
"idleTime": 0,
"blocks": [
{
"kind": "prep",
"task": "s0.prep",
"section": 0,
"start": 0,
"end": 5
},
{
"kind": "step",
"task": "s0.0",
"section": 0,
"step": 0,
"start": 5,
"end": 7
},
{
"kind": "step",
"task": "s0.1",
"section": 0,
"step": 1,
"start": 7,
"end": 9
}
],
"days": [
{
"day": 0,
"start": 0,
"end": 9,
"sections": [
0
]
}
]
}
}