Zmiana strukturalna i nazwy dla pliku menu.json

This commit is contained in:
Patryk Osiński 2024-04-19 21:42:34 +02:00
parent 82f1c9b0da
commit 76b34987bf
2 changed files with 35 additions and 17 deletions

35
attributes.json Normal file
View File

@ -0,0 +1,35 @@
{
"addr": null,
"confirm": [
"true",
"false"
],
"dough": [],
"ingredient": {
"onion": {},
"chess": {},
"tomato": {},
"ham": {}
},
"pizza": {
"capri": {},
"margarita": {},
"hawajska": {},
"barcelona": {
"ingredient": ["tomato", "onion", "ham"],
"price": 45
},
"tuna": {}
},
"size": {
"m": {
"price_multiplier": 1
},
"l": {
"price_multiplier": 1.2
},
"xl": {
"price_multiplier": 1.4
}
}
}

View File

@ -1,17 +0,0 @@
{
"typ_ciasta": ["grube"],
"rozmiar": {
},
"nazwa_pizzy": {
"margarita": []
},
"skladniki": {
"cebula" {
"id": 1
},
"ser": {
"id": 2
}
}
}