-
Notifications
You must be signed in to change notification settings - Fork 0
/
recipeV1.jsonc
35 lines (33 loc) · 948 Bytes
/
recipeV1.jsonc
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
[
// maybe use lookup tables for compression purposes??
{
"id": 2, //autogenerated?,
"name": "Chicken with Chicken",
"primary_ingredients":
{
"cb": 4, // {IngredientID: Quantity}
"ct": 2
},
"secondary_ingredients":
{
"s": 5
},
"allergens": ["none"],
"restrictions": ["vegan", "vegetarian"],
"cookware": 100101, //bitset(id),
"complexity": "hard",
"time (minutes)": 45,
"servings": 2,
"calories": 500,
"link": "https://real_url.com",
"leftover_score": null,
"buddy_recipes":
{
"id1": 21, // {recipeID: buddyScore}
"id2": 70,
"id3": 13,
"id4": 29,
"id5": 40
}
}
]