From 76b34987bf1e3f7832f5796677b77eba79601427 Mon Sep 17 00:00:00 2001 From: Patryk Date: Fri, 19 Apr 2024 21:42:34 +0200 Subject: [PATCH] Zmiana strukturalna i nazwy dla pliku menu.json --- attributes.json | 35 +++++++++++++++++++++++++++++++++++ menu.json | 17 ----------------- 2 files changed, 35 insertions(+), 17 deletions(-) create mode 100644 attributes.json delete mode 100644 menu.json diff --git a/attributes.json b/attributes.json new file mode 100644 index 0000000..9642b1d --- /dev/null +++ b/attributes.json @@ -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 + } + } +} \ No newline at end of file diff --git a/menu.json b/menu.json deleted file mode 100644 index 6bb4d5a..0000000 --- a/menu.json +++ /dev/null @@ -1,17 +0,0 @@ -{ - "typ_ciasta": ["grube"], - "rozmiar": { - - }, - "nazwa_pizzy": { - "margarita": [] - }, - "skladniki": { - "cebula" { - "id": 1 - }, - "ser": { - "id": 2 - } - } -} \ No newline at end of file