| attribute | description | example val. |
|---|---|---|
| name | name of a restaurant | “restaurant 1” |
| active | toggle if the restaurant should be shown as active | “true” |
| address | object in which there are stored things like street, number, postal code, city, country | {“street” : “Broadway St.”, “number”: “24”, “postal”: “232-122”, “city”: “NY”, “country”: “USA”} |
| timeZone | specify the time zone in which the restaurant is placed | “Europe/Warsaw” |
| geoPosition | object in which geographic coordinates (latitude and longitude) are set | {“lat” : 52.2305795048635,“lng” : 21.0028748613706} |
| attribute | description | example val. |
|---|---|---|
| “active” | toggle if the given type should be available | “true” |
| “minDeliveryTime” | the minimum time which will take to deliver the order to the customer | “01:00:00” |
| “minOrderValue” | the minimum cost of the order to be able to order | “30” |
| “week” | object in which we specify the opening hours of restaurant for each day | {“MON”:[{“from” : “00:00”,“to” : “23:59”}],“TUE” :[{“from” : “00:00”,“to” : “23:59”}]… |
another object in which we can specify a special behaviour for an individual device in the restaurant and also other properties which consists the rules for displaying data
the given devices are:
other properties for filtering the orders:
each device is an object in which we can find properties like:
| attribute | description | example val. |
|---|---|---|
| currency | switch default currency for individual device | “PLN” |
| defaultLanguage | switch default currency for individual device | “PLN” |
| attribute | description | example val. |
|---|---|---|
| regulationsPL | endpoint for terms in polish language | ”/regulamin2.html” |
| regulationsEN | endpoint for terms in english | ”/terms2.html” |
| privacyPolicyPL | endpoint for privacy policy in polish language | “polityka-prywatnosci2.html” |
| privacyPolicyEN | endpoint for privacy policy in english | “privacy-policy2.html” |