मेन्यू
मेन्यू इकाई से उस मेन्यू के बारे में पता चलता है जो रेस्टोरेंट अपने ग्राहकों को उपलब्ध कराता है. रेस्टोरेंट की menuId
प्रॉपर्टी की मदद से, रेस्टोरेंट इकाई में मेन्यू इकाई को तय किया जाना चाहिए.
मेन्यू की जानकारी देने वाले अन्य ऑब्जेक्ट (जैसे, ब्यौरा, इमेज, ऐड-ऑन, और पोषण की जानकारी) में MenuItem
और MenuItemOffer
के साथ-साथ, वैकल्पिक ऑब्जेक्ट MenuSection
, Availability
, और MenuItemOption
शामिल हैं.
मेन्यू के सेक्शन
एक से ज़्यादा MenuItem
ऑब्जेक्ट को लॉजिकल कैटगरी में व्यवस्थित करने के लिए, MenuSection
ऑब्जेक्ट का इस्तेमाल किया जा सकता है. यह तरीका उन रेस्टोरेंट के लिए फ़ायदेमंद है जिनके पास कई तरह के मेन्यू (जैसे, नाश्ता, दोपहर का खाना, और रात का खाना) होते हैं. हर मेन्यू को अलग-अलग MenuSection
के तौर पर जोड़ें.
इस्तेमाल का उदाहरण | सबसे सही तरीका |
---|---|
इस्तेमाल का पहला उदाहरण: बुनियादी मेन्यू | MenuItem , MenuItemOffer , और
MenuSection का इस्तेमाल करें (ज़रूरी नहीं) |
यहां दिया गया उदाहरण, "सामान्य मेन्यू" के इस्तेमाल के उदाहरण से मेल खाता है. इसमें दो मेन्यू सेक्शन ("पूरे दिन खाने की चीज़ें" और "ड्रिंक") हैं. हर सेक्शन में दो मेन्यू आइटम हैं:
{ "@type": "Menu", "name": "Coffee Shop A", "@id": "1535" } { "@type": "MenuSection", "@id": "4371", "menuId": { "@id": "1535", "displayOrder": 1 }, "name": "All day food", "menuItemId": ["1", "2"] } { "@type": "MenuItem", "@id": "1", "name": "Mediterranean Bagel", "description": "rocket, scrambled egg, tomato relish, bacon ***Gluten free bagel available***", "image": "https://www.gstatic.com/mobilesdk/170329_assistant/assistant_color_28dp.png", "parentMenuSectionId": { "@id": "4371", "displayOrder": 1 } } { "@type": "MenuItemOffer", "@id": "6680262", "sku": "offer-mediterranean-bagel", "menuItemId": "1", "price": 17.60, "priceCurrency": "AUD" } { "@type": "MenuItem", "@id": "2", "name": "Club Empire Bagel", "description": "grilled chicken, bacon, rocket, tomato relish ***Gluten Free Bagels Available***", "image": "https://www.gstatic.com/mobilesdk/170329_assistant/assistant_color_28dp.png", "parentMenuSectionId": { "@id": "4371", "displayOrder": 2 } } { "@type": "MenuItemOffer", "@id": "428", "sku": "offer-club-empire-bagel", "menuItemId": "2", "price": 18.90, "priceCurrency": "AUD" } { "@type": "MenuSection", "@id": "27", "menuId": { "@id": "1535", "displayOrder": 2 }, "name": "Drinks", "menuItemId": ["3", "4"] } { "@type": "MenuItem", "@id": "3", "name": "Cold Brew Coffee", "description": "67% less acid & refreshingly good", "image": "https://www.gstatic.com/mobilesdk/170329_assistant/assistant_color_28dp.png", "parentMenuSectionId": { "@id": "27", "displayOrder": 1 } } { "@type": "MenuItemOffer", "@id": "456", "sku": "offer-cold-brew-coffee", "menuItemId": "3", "price": 8.50, "priceCurrency": "AUD" } { "@type": "MenuItem", "@id": "4", "name": "English Breakfast Tea", "description": "Not Coffee. Try our tea", "image": "https://www.gstatic.com/mobilesdk/170329_assistant/assistant_color_28dp.png", "parentMenuSectionId": { "@id": "27", "displayOrder": 2 } } { "@type": "MenuItemOffer", "@id": "4432", "sku": "offer-english-breakfast-tea", "menuItemId": "4", "price": 5.50, "priceCurrency": "AUD" }
सीमित समय के लिए उपलब्ध मेन्यू
MenuItemOffer
ऑब्जेक्ट को Availability
के साथ जोड़कर, कुछ समय के लिए उपलब्ध मेन्यू आइटम और मेन्यू आइटम के विकल्प बनाए जा सकते हैं. इसके बजाय, समयसीमा वाले मेन्यू सेक्शन बनाने के लिए Availability
ऑब्जेक्ट का इस्तेमाल करें.
इस्तेमाल का उदाहरण | सबसे सही तरीका |
---|---|
इस्तेमाल का पहला उदाहरण: समयसीमा वाला मेन्यू सेक्शन | सेक्शन के availabilityStarts और availabilityEnds समय की जानकारी देने के लिए, Availability का इस्तेमाल करें. |
इस्तेमाल का दूसरा उदाहरण: सीमित समय के लिए उपलब्ध मेन्यू आइटम | MenuItemOffer के menuItemId का इस्तेमाल करके, यह बताएं कि ऑफ़र किस MenuItem से जुड़ा है. ऑफ़र के
availabilityStarts , availabilityEnds , और
availabilityDay code> के समय की जानकारी देने के लिए,
Availability का इस्तेमाल करें. |
इस्तेमाल का तीसरा उदाहरण: एक से ज़्यादा ऑफ़र वाला मेन्यू आइटम | MenuItemOffer s menuItemId प्रॉपर्टी का इस्तेमाल करें और availabilityId प्रॉपर्टी को सेट करें. इससे, यह तय किया जा सकता है कि कीमत कब तक मान्य रहेगी. |
"पूरे दिन खाने की चीज़ें", "लंच", और "ड्रिंक्स" सेक्शन वाला बुनियादी मेन्यू.
मेन्यू में तीन सेक्शन होते हैं. Availability
ऑब्जेक्ट में बताए गए मुताबिक, "लंच (सुबह 11:30 बजे से दोपहर 2:30 बजे तक उपलब्ध)" सेक्शन सिर्फ़ सुबह 11:30 बजे से दोपहर 2:30 बजे तक उपलब्ध है.
{ "@type": "Menu", "name": "Coffee Shop A", "@id": "1535" } { "@type": "MenuSection", "@id": "4371", "menuId": { "@id": "1535", "displayOrder": 1 }, "name": "All day food", "menuItemId": ["1", "2"] } { "@type": "MenuItem", "@id": "1", "name": "Mediterranean Bagel", "description": "rocket, scrambled egg, tomato relish, bacon ***Gluten free bagel available***", "image": "https://www.gstatic.com/mobilesdk/170329_assistant/assistant_color_28dp.png", "parentMenuSectionId": { "@id": "4371", "displayOrder": 1 } } { "@type": "MenuItemOffer", "@id": "6680262", "sku": "offer-mediterranean-bagel", "menuItemId": "1", "price": 17.60, "priceCurrency": "AUD" } { "@type": "MenuItem", "@id": "2", "name": "Club Empire Bagel", "description": "grilled chicken, bacon, rocket, tomato relish ***Gluten Free Bagels Available***", "image": "https://www.gstatic.com/mobilesdk/170329_assistant/assistant_color_28dp.png", "parentMenuSectionId": { "@id": "4371", "displayOrder": 2 } } { "@type": "MenuItemOffer", "@id": "428", "sku": "offer-club-empire-bagel", "menuItemId": "2", "price": 18.90, "priceCurrency": "AUD" } { "@type": "MenuSection", "@id": "27", "menuId": { "@id": "1535", "displayOrder": 3 }, "name": "Drinks", "menuItemId": ["3", "4"] } { "@type": "MenuItem", "@id": "3", "name": "Cold Brew Coffee", "description": "67% less acid & refreshingly good", "image": "https://www.gstatic.com/mobilesdk/170329_assistant/assistant_color_28dp.png", "parentMenuSectionId": { "@id": "27", "displayOrder": 1 } } { "@type": "MenuItemOffer", "@id": "3", "sku": "offer-cold-brew-coffee", "menuItemId": "3", "price": 8.50, "priceCurrency": "AUD" } { "@type": "MenuItem", "@id": "4", "name": "English Breakfast Tea", "description": "Not Coffee. Try our tea", "image": "https://www.gstatic.com/mobilesdk/170329_assistant/assistant_color_28dp.png", "parentMenuSectionId": { "@id": "27", "displayOrder": 2 } } { "@type": "MenuItemOffer", "@id": "4", "sku": "offer-english-breakfast-tea", "menuItemId": "4", "price": 5.50, "priceCurrency": "AUD" } { "@type": "Availability", "@id": "85343705", "availabilityStarts": "11:30", "availabilityEnds": "14:30" } { "@type": "MenuSection", "@id": "53", "menuId": { "@id": "1535", "displayOrder": 2 }, "name": "Lunch (Available 11:30am - 2:30pm)", "menuItemId": ["5", "6"], "availabilityId": ["85343705"] } { "@type": "MenuItem", "@id": "5", "name": "Bibimbap", "description": "pulled pork, julienned carrot, cucumber, spring onions, brown rice, pureed kimchi, fried free-range egg.", "image": "https://www.gstatic.com/mobilesdk/170329_assistant/assistant_color_28dp.png", "parentMenuSectionId": { "@id": "53", "displayOrder": 1 } } { "@type": "MenuItemOffer", "@id": "753", "sku": "offer-bibimbap", "menuItemId": "5", "price": 24.80, "priceCurrency": "AUD" } { "@type": "MenuItem", "@id": "6", "name": "The Big Chicken", "description": "WA free range handmade chicken burger, lettuce, avocado, bacon, tomato relish on charcoal brioche bun, sweet potato wedges and house made aioli (vegetarian option – spiced lentil burger, just ask us in the notes)", "image": "https://www.gstatic.com/mobilesdk/170329_assistant/assistant_color_28dp.png", "parentMenuSectionId": { "@id": "53", "displayOrder": 2 } } { "@type": "MenuItemOffer", "@id": "856", "sku": "offer-big-chicken", "menuItemId": "6", "price": 25.60, "priceCurrency": "AUD" }
"पूरे दिन खाने की चीज़ें", "लंच", और "ड्रिंक्स" सेक्शन वाला बुनियादी मेन्यू.
मेन्यू में तीन सेक्शन होते हैं. Availability
ऑब्जेक्ट में बताए गए मुताबिक, "लंच (सुबह 11:30 बजे से दोपहर 2:30 बजे तक उपलब्ध)" सेक्शन सिर्फ़ सुबह 11:30 बजे से दोपहर 2:30 बजे तक उपलब्ध है. मेन्यू आइटम "बिबिम्बाप" सिर्फ़ 12:00 बजे से लेकर 1:00 बजे तक उपलब्ध है. इसकी जानकारी, MenuItemOffer
ऑब्जेक्ट में दिए गए Availability
से मिलती है.
{ "@type": "Menu", "name": "Coffee Shop A", "@id": "1535" } { "@type": "MenuSection", "@id": "4371", "menuId": { "@id": "1535", "displayOrder": 1 }, "name": "All day food", "menuItemId": ["1", "2"] } { "@type": "MenuItem", "@id": "1", "name": "Mediterranean Bagel", "description": "rocket, scrambled egg, tomato relish, bacon ***Gluten free bagel available***", "image": "https://www.gstatic.com/mobilesdk/170329_assistant/assistant_color_28dp.png", "parentMenuSectionId": { "@id": "4371", "displayOrder": 1 } } { "@type": "MenuItemOffer", "@id": "6680262", "sku": "offer-mediterranean-bagel", "menuItemId": "1", "price": 17.60, "priceCurrency": "AUD" } { "@type": "MenuItem", "@id": "2", "name": "Club Empire Bagel", "description": "grilled chicken, bacon, rocket, tomato relish ***Gluten Free Bagels Available***", "image": "https://www.gstatic.com/mobilesdk/170329_assistant/assistant_color_28dp.png", "parentMenuSectionId": { "@id": "4371", "displayOrder": 2 } } { "@type": "MenuItemOffer", "@id": "428", "sku": "offer-club-empire-bagel", "menuItemId": "2", "price": 18.90, "priceCurrency": "AUD" } { "@type": "MenuSection", "@id": "27", "menuId": { "@id": "1535", "displayOrder": 3 }, "name": "Drinks", "menuItemId": ["3", "4"] } { "@type": "MenuItem", "@id": "3", "name": "Cold Brew Coffee", "description": "67% less acid & refreshingly good", "image": "https://www.gstatic.com/mobilesdk/170329_assistant/assistant_color_28dp.png", "parentMenuSectionId": { "@id": "27", "displayOrder": 1 } } { "@type": "MenuItemOffer", "@id": "3", "sku": "offer-cold-brew-coffee", "menuItemId": "3", "price": 8.50, "priceCurrency": "AUD" } { "@type": "MenuItem", "@id": "4", "name": "English Breakfast Tea", "description": "Not Coffee. Try our tea", "image": "https://www.gstatic.com/mobilesdk/170329_assistant/assistant_color_28dp.png", "parentMenuSectionId": { "@id": "27", "displayOrder": 2 } } { "@type": "MenuItemOffer", "@id": "4", "sku": "offer-english-breakfast-tea", "menuItemId": "4", "price": 5.50, "priceCurrency": "AUD" } { "@type": "Availability", "@id": "85343705", "availabilityStarts": "11:30", "availabilityEnds": "14:30" } { "@type": "MenuSection", "@id": "53", "menuId": { "@id": "1535", "displayOrder": 2 }, "name": "Lunch (Available 11:30am - 2:30pm)", "menuItemId": ["5", "6"], "availabilityId": ["85343705"] } { "@type": "MenuItem", "@id": "5", "name": "Bibimbap", "description": "pulled pork, julienned carrot, cucumber, spring onions, brown rice, pureed kimchi, fried free-range egg.", "image": "https://www.gstatic.com/mobilesdk/170329_assistant/assistant_color_28dp.png", "parentMenuSectionId": { "@id": "53", "displayOrder": 1 } } { "@type": "Availability", "@id": "54767", "availabilityStarts": "12:00", "availabilityEnds": "13:00" } { "@type": "MenuItemOffer", "@id": "753", "sku": "offer-bibimbap", "menuItemId": "5", "price": 24.80, "priceCurrency": "AUD", "availabilityId": ["54767"] } { "@type": "MenuItem", "@id": "6", "name": "The Big Chicken", "description": "WA free range handmade chicken burger, lettuce, avocado, bacon, tomato relish on charcoal brioche bun, sweet potato wedges and house made aioli (vegetarian option – spiced lentil burger, just ask us in the notes)", "image": "https://www.gstatic.com/mobilesdk/170329_assistant/assistant_color_28dp.png", "parentMenuSectionId": { "@id": "53", "displayOrder": 2 } } { "@type": "MenuItemOffer", "@id": "856", "sku": "offer-big-chicken", "menuItemId": "6", "price": 25.60, "priceCurrency": "AUD" }
मेन्यू आइटम के साथ ऑफ़र, जो कीमत और समय के हिसाब से अलग-अलग होते हैं.
मेन्यू में दो सेक्शन होते हैं. मेन्यू आइटम "पास्ता" के लिए, दो MenuItemOffer
ऑब्जेक्ट हैं (एक लंच की कीमत के लिए, एक डिनर की कीमत के लिए). दोपहर के खाने में पास्ता की कीमत 7.49 डॉलर है और रात के खाने में पास्ता की कीमत
10.49 डॉलर है.
{ "@type": "Menu", "name": "Dine-In Menu", "@id": "1535" } { "@type": "MenuSection", "@id": "4371", "menuId": { "@id": "1535", "displayOrder": 1 }, "name": "Main", "description": "Main course", "image": "http://www.provider.com/somerestaurant/main_dishes.jpg", "menuItemId": ["1", "2"] } { "@type": "MenuItem", "@id": "1", "name": "Pizza", "description": "Pizza", "image": "http://www.provider.com/somerestaurant/menuitem/1", "parentMenuSectionId": { "@id": "4371", "displayOrder": 1 } } { "@type": "Availability", "@id": "morning_availability", "availabilityStarts": "08:00", "availabilityEnds": "18:00" } { "@type": "Availability", "@id": "evening_availability", "availabilityStarts": "18:00", "availabilityEnds": "21:00" } { "@type": "MenuItemOffer", "@id": "6680262", "sku": "offer-pizza", "menuItemId": "1", "price": 7.49, "priceCurrency": "USD", "availabilityId": ["morning_availability"] } //Starts at 8:00AM, ends at 6:00PM, last order at 5:59:59PM { "@type": "MenuItem", "@id": "2", "name": "Pasta", "description": "Pasta", "image": "http://www.provider.com/somerestaurant/menuitem/2", "parentMenuSectionId": { "@id": "4371", "displayOrder": 2 } } { "@type": "MenuItemOffer", "@id": "5472", "sku": "offer-pasta-lunch", "menuItemId": "2", "price": 7.49, "priceCurrency": "USD", "availabilityId": ["morning_availability"] } //Starts at 8:00AM, ends at 6:00PM, last order at 5:59:59PM { "@type": "MenuItemOffer", "@id": "174", "sku": "offer-pasta-dinner", "menuItemId": "2", "price": 10.49, "priceCurrency": "USD", "availabilityId": ["evening_availability"] } //Starts at 6:00PM, ends at 9:00PM, last order at 8:59:59PM { "@type": "MenuSection", "@id": "753", "menuId": { "@id": "1535", "displayOrder": 2 }, "name": "Soups & Salads", "description": "Salads and a few choices of soup", "image": "https://www.provider.com/somerestaurant/soup_and_salad_dishes.jpg", "menuItemId": ["3"] } { "@type": "MenuItem", "@id": "3", "name": "Pea Soup", "description": "Creamy pea soup topped with melted cheese and sourdough croutons.", "parentMenuSectionId": { "@id": "1535", "displayOrder": 1 } } { "@type": "MenuItemOffer", "@id": "9763", "sku": "offer-pea-soup", "menuItemId": "3", "price": 3.49, "priceCurrency": "USD" } //Starts at 8:00AM, ends at 6:00PM, last order at 5:59:59PM
ऐड-ऑन का इस्तेमाल करके कस्टमाइज़ करना
मेन्यू आइटम में, ऐड-ऑन के ज़्यादा विकल्प हो सकते हैं. menuAddOnId
की मदद से MenuSection
ऑब्जेक्ट का रेफ़रंस देकर, किसी MenuItem
के लिए ऐड-ऑन तय करें. उन MenuSection
ऑब्जेक्ट में, आपके ऐड-ऑन के लिए इस्तेमाल किए गए मेन्यू आइटम होने चाहिए.
ऐड-ऑन MenuSection
ऑब्जेक्ट की defaultOptionId
प्रॉपर्टी का इस्तेमाल करके, डिफ़ॉल्ट ऐड-ऑन MenuItem
ऑब्जेक्ट दिए जा सकते हैं.
इस्तेमाल का उदाहरण | सबसे सही तरीका |
---|---|
इस्तेमाल का पहला उदाहरण: बुनियादी ऐड-ऑन | ऐड-ऑन सेक्शन में चुने जा सकने वाले ऐड-ऑन आइटम की कम से कम और ज़्यादा से ज़्यादा संख्या तय करने के लिए, ऐड-ऑन MenuSection ऑब्जेक्ट की
eligibleQuantityMin और eligibleQuantityMax
प्रॉपर्टी का इस्तेमाल करें. |
इस्तेमाल का दूसरा उदाहरण: डिफ़ॉल्ट ऐड-ऑन | ऐड-ऑन के डिफ़ॉल्ट विकल्प देने के लिए, ऐड-ऑन MenuSection ऑब्जेक्ट के
defaultOptionId का इस्तेमाल करें. |
इस्तेमाल का तीसरा उदाहरण: कॉम्बो/पैकेज में मिलने वाले खाने की चीज़ें | MenuSection ऑब्जेक्ट का इस्तेमाल करके, उन विकल्पों के बारे में बताएं जिन्हें कोई उपयोगकर्ता, डिश/कॉम्बो चुनते समय चुन सकता है. |
इस उदाहरण में, "कैपुचीनो" मेन्यू आइटम को स्ट्रॉ के विकल्प के साथ पसंद के मुताबिक बनाया जा सकता है.
"पूरे दिन खाना" मेन्यू सेक्शन में, "मेडिटेरेनियन बैगल" आइटम के लिए एक और ऐड-ऑन विकल्प उपलब्ध है. साथ ही, अंडे के दो ऐड-ऑन विकल्प भी उपलब्ध हैं.
उसी मेन्यू सेक्शन में मौजूद "क्लब बैगल" आइटम के लिए भी, वही अतिरिक्त ऐड-ऑन उपलब्ध हैं. साथ ही, स्कैम्बल किए गए अंडे के लिए "अंडे के विकल्प" ऐड-ऑन का विकल्प भी उपलब्ध है.
ड्रिंक सेक्शन में, एक आइटम उपलब्ध है. इसमें "दूध" और "स्ट्रॉ" के लिए, ऐड-ऑन के तौर पर विकल्प दिए गए हैं.
{ "@type": "Menu", "name": "Coffee Shop A", "@id": "1535" } { "@type": "MenuSection", "@id": "4371", "menuId": { "@id": "1535", "displayOrder": 1 }, "name": "All day food", "menuItemId": ["1", "12"] } { "@type": "MenuItem", "@id": "1", "name": "Mediterranean Bagel", "description": "rocket, scrambled egg, tomato relish, bacon ***Gluten free bagel available***", "image": "https://www.gstatic.com/mobilesdk/170329_assistant/assistant_color_28dp.png" } { "@type": "MenuItemOffer", "@id": "6680262", "sku": "offer-mediterranean-bagel", "menuItemId": "1", "price": 17.60, "priceCurrency": "AUD" } { "@type": "MenuSection", "@id": "362", "name": "Extras", "menuItemId": ["2"], "parentMenuItemId": [{ "@id": "1", "displayOrder": 1 }] } { "@type": "MenuItem", "@id": "2", "name": "Chorizo" } { "@type": "MenuItemOffer", "@id": "74", "sku": "offer-addon-chorizo", "menuItemId": "2", "price": 6.00, "priceCurrency": "AUD", "eligibleQuantityMax": 1 } { "@type": "MenuSection", "@id": "5374", "name": "Egg Options", "menuItemId": ["8", "9"], "parentMenuItemId": [{ "@id": "1", "displayOrder": 1 }], "eligibleQuantityMin": 1, "eligibleQuantityMax": 2 } { "@type": "MenuItem", "@id": "8", "name": "No Extra Egg" } { "@type": "MenuItemOffer", "@id": "4527", "sku": "offer-addon-no-egg", "menuItemId": "8", "price": 0.00, "priceCurrency": "AUD", "eligibleQuantityMax": 1 } { "@type": "MenuItem", "@id": "9", "name": "Extra Egg - Fried" } { "@type": "MenuItemOffer", "@id": "99", "sku": "offer-addon-fried-egg", "menuItemId": "9", "price": 3.00, "priceCurrency": "AUD", "eligibleQuantityMax": 1 } { "@type": "MenuItem", "@id": "12", "name": "Club Bagel", "description": "grilled chicken, bacon, rocket, tomato relish ***Gluten Free Bagels Available***", "image": "https://www.gstatic.com/mobilesdk/170329_assistant/assistant_color_28dp.png" } { "@type": "MenuItemOffer", "@id": "428", "sku": "offer-club-empire-bagel", "menuItemId": "12", "price": 18.90, "priceCurrency": "AUD" } { "@type": "MenuSection", "@id": "3865", "name": "Extras", "menuItemId": ["2", "13"], "parentMenuItemId": [{ "@id": "12", "displayOrder": 1 }], "eligibleQuantityMin": 0, "eligibleQuantityMax": 2 } { "@type": "MenuItem", "@id": "13", "name": "Free Range Bacon" } { "@type": "MenuItemOffer", "@id": "832", "sku": "offer-addon-bacon", "menuItemId": "13", "price": 6.00, "priceCurrency": "AUD", "eligibleQuantityMax": 1 } { "@type": "MenuSection", "@id": "5428", "name": "Egg Options", "menuItemId": ["8", "9", "14"], "parentMenuItemId": [{ "@id": "12", "displayOrder": 1 }], "eligibleQuantityMin": 1, "eligibleQuantityMax": 2 } { "@type": "MenuItem", "@id": "14", "name": "Scrambled Egg" } { "@type": "MenuItemOffer", "@id": "546", "sku": "offer-scrambled-egg", "menuItemId": "14", "price": 3.00, "priceCurrency": "AUD", "eligibleQuantityMax": 1 } { "@type": "MenuSection", "@id": "531", "menuId": { "@id": "1535", "displayOrder": 2 }, "name": "Lunch (Available 11:30am - 2:30pm)", "menuItemId": ["15"] } { "@type": "MenuItem", "@id": "15", "name": "Bibimbap", "description": "pulled pork, julienned carrot, cucumber, spring onions, brown rice, pureed kimchi, fried free-range egg.", "image": "https://www.gstatic.com/mobilesdk/170329_assistant/assistant_color_28dp.png" } { "@type": "MenuItemOffer", "@id": "753", "sku": "offer-bibimbap", "menuItemId": "15", "price": 24.80, "priceCurrency": "AUD" } { "@type": "MenuSection", "@id": "27", "menuId": { "@id": "1535", "displayOrder": 3 }, "name": "Drinks", "menuItemId": ["17"] } { "@type": "MenuItem", "@id": "17", "name": "Cappuccino", "description": "Milk Foam over a cup of espresso, topped with chocolate powder art", "image": "https://www.gstatic.com/mobilesdk/170329_assistant/assistant_color_28dp.png" } { "@type": "MenuItemOffer", "@id": "1743", "sku": "offer-cappucino", "menuItemId": "17", "price": 6.50, "priceCurrency": "AUD" } { "@type": "MenuSection", "@id": "4527", "name": "Milk", "menuItemId": ["18"], "parentMenuItemId": [{ "@id": "17", "displayOrder": 1 }], "eligibleQuantityMin": 1, "eligibleQuantityMax": 1 } { "@type": "MenuItem", "@id": "18", "name": "Skim" } { "@type": "MenuItemOffer", "@id": "4588", "sku": "offer-addon-skim-milk", "menuItemId": "18", "price": 0.00, "priceCurrency": "AUD", "eligibleQuantityMax": 1 } { "@type": "MenuSection", "@id": "5427", "name": "Straw Option", "menuItemId": ["22"], "parentMenuItemId": [{ "@id": "17", "displayOrder": 1 }], "eligibleQuantityMin": 1, "eligibleQuantityMax": 1 } { "@type": "MenuItem", "@id": "22", "name": "Plastic Straw" } { "@type": "MenuItemOffer", "@id": "4587", "sku": "offer-addon-plastic-straw", "menuItemId": "22", "price": 0.05, "priceCurrency": "AUD", "eligibleQuantityMax": 1 }
इस उदाहरण में, "क्लब बैगल" मेन्यू आइटम को पहले से चुना गया है. इसमें चॉरिज़ो और scrambled egg के विकल्प भी चुने गए हैं. चॉरिज़ो और चिली सॉस, डिफ़ॉल्ट "अतिरिक्त" ऐड-ऑन हैं और स्क्रैम्बल किया गया अंडा, डिफ़ॉल्ट "अंडे का विकल्प" ऐड-ऑन है.
{ "@type": "Menu", "name": "Coffee Shop A", "@id": "1535" } { "@type": "MenuSection", "@id": "4371", "menuId": { "@id": "1535", "displayOrder": 1 }, "name": "All day food", "menuItemId": ["1", "12"] } { "@type": "MenuItem", "@id": "1", "name": "Mediterranean Bagel", "description": "rocket, scrambled egg, tomato relish, bacon ***Gluten free bagel available***", "image": "https://www.gstatic.com/mobilesdk/170329_assistant/assistant_color_28dp.png" } { "@type": "MenuItemOffer", "@id": "6680262", "sku": "offer-mediterranean-bagel", "menuItemId": "1", "price": 17.60, "priceCurrency": "AUD" } { "@type": "MenuSection", "@id": "362", "name": "Extras", "menuItemId": ["2"], "parentMenuItemId": [{ "@id": "1", "displayOrder": 1 }] } { "@type": "MenuItem", "@id": "2", "name": "Chorizo" } { "@type": "MenuItemOffer", "@id": "74", "sku": "offer-addon-chorizo", "menuItemId": "2", "price": 6.00, "priceCurrency": "AUD", "eligibleQuantityMax": 1 } { "@type": "MenuSection", "@id": "5374", "name": "Egg Options", "menuItemId": ["8", "9"], "parentMenuItemId": [{ "@id": "1", "displayOrder": 1 }], "eligibleQuantityMin": 1, "eligibleQuantityMax": 2 } { "@type": "MenuItem", "@id": "8", "name": "No Extra Egg" } { "@type": "MenuItemOffer", "@id": "4527", "sku": "offer-addon-no-egg", "menuItemId": "8", "price": 0.00, "priceCurrency": "AUD", "eligibleQuantityMax": 1 } { "@type": "MenuItem", "@id": "9", "name": "Extra Egg - Fried" } { "@type": "MenuItemOffer", "@id": "99", "sku": "offer-addon-fried-egg", "menuItemId": "9", "price": 3.00, "priceCurrency": "AUD", "eligibleQuantityMax": 1 } { "@type": "MenuItem", "@id": "12", "name": "Club Bagel", "description": "grilled chicken, bacon, rocket, tomato relish ***Gluten Free Bagels Available***", "image": "https://www.gstatic.com/mobilesdk/170329_assistant/assistant_color_28dp.png" } { "@type": "MenuItemOffer", "@id": "428", "sku": "offer-club-empire-bagel", "menuItemId": "12", "price": 18.90, "priceCurrency": "AUD" } { "@type": "MenuSection", "@id": "3865", "name": "Extras", "menuItemId": ["2", "13", "25"], "parentMenuItemId": [{ "@id": "12", "displayOrder": 1 }], "eligibleQuantityMin": 0, "eligibleQuantityMax": 2, "defaultItemId": ["2", "25"] } { "@type": "MenuItem", "@id": "13", "name": "Free Range Bacon" } { "@type": "MenuItemOffer", "@id": "832", "sku": "offer-addon-bacon", "menuItemId": "13", "price": 6.00, "priceCurrency": "AUD", "eligibleQuantityMax": 1 } { "@type": "MenuItem", "@id": "25", "name": "Chili Sauce" } { "@type": "MenuItemOffer", "@id": "7337", "sku": "offer-addon-chili-sauce", "menuItemId": "25", "price": 0.00, "priceCurrency": "AUD", "eligibleQuantityMax": 1 } { "@type": "MenuSection", "@id": "5428", "name": "Egg Options", "menuItemId": ["8", "9", "14"], "parentMenuItemId": [{ "@id": "12", "displayOrder": 1 }], "eligibleQuantityMin": 1, "eligibleQuantityMax": 2, "defaultItemId": ["14"] } { "@type": "MenuItem", "@id": "14", "name": "Scrambled Egg" } { "@type": "MenuItemOffer", "@id": "546", "sku": "offer-scrambled-egg", "menuItemId": "14", "price": 3.00, "priceCurrency": "AUD", "eligibleQuantityMax": 1 } { "@type": "MenuSection", "@id": "27", "menuId": { "@id": "1535", "displayOrder": 3 }, "name": "Drinks", "menuItemId": ["17"] } { "@type": "MenuItem", "@id": "17", "name": "Cappuccino", "description": "Milk Foam over a cup of espresso, topped with chocolate powder art", "image": "https://www.gstatic.com/mobilesdk/170329_assistant/assistant_color_28dp.png" } { "@type": "MenuItemOffer", "@id": "1743", "sku": "offer-cappucino", "menuItemId": "17", "price": 6.50, "priceCurrency": "AUD" } { "@type": "MenuSection", "@id": "4527", "name": "Milk", "menuItemId": ["18"], "parentMenuItemId": [{ "@id": "17", "displayOrder": 1 }, { "@id": "24", "displayOrder": 2 }], "eligibleQuantityMin": 1, "eligibleQuantityMax": 1 } { "@type": "MenuItem", "@id": "18", "name": "Skim" } { "@type": "MenuItemOffer", "@id": "4588", "sku": "offer-addon-skim-milk", "menuItemId": "18", "price": 0.00, "priceCurrency": "AUD", "eligibleQuantityMax": 1 } { "@type": "MenuSection", "@id": "5427", "name": "Straw Option", "menuItemId": ["22"], "parentMenuItemId": [{ "@id": "17", "displayOrder": 1 }, { "@id": "24", "displayOrder": 2 }], "eligibleQuantityMin": 1, "eligibleQuantityMax": 1 } { "@type": "MenuItem", "@id": "22", "name": "Plastic Straw" } { "@type": "MenuItemOffer", "@id": "4587", "sku": "offer-addon-plastic-straw", "menuItemId": "22", "price": 0.05, "priceCurrency": "AUD", "eligibleQuantityMax": 1 }
इस उदाहरण में एक कॉम्बो मील है, जिसमें बर्गर, फ़्राइज़, और एक ड्रिंक शामिल है. हर खाने के आइटम को अलग-अलग टॉपिंग और ऐड-ऑन के साथ पसंद के मुताबिक बनाया जा सकता है.
कॉम्बो मील आइटम में एक बर्गर, एक फ़्राइज़, और एक ड्रिंक होना ज़रूरी है, ताकि उपयोगकर्ता उसे चुन सके. बर्गर के दो विकल्प हैं और हर विकल्प में दो ऐड-ऑन सेक्शन हैं: "रेसिपी" (दो मेन्यू आइटम, उपयोगकर्ता को 0 से 1 विकल्प चुनना होगा) और "अतिरिक्त" (तीन मेन्यू आइटम, उपयोगकर्ता को 0 से 3 विकल्प चुनना होगा).
{ "@type": "Menu", "name": "FastFood B", "@id": "1535" } { "@type": "MenuSection", "@id": "4371", "menuId": { "@id": "1535", "displayOrder": 1 }, "name": "Combo Meals", "menuItemId": ["1"] } { "@type": "MenuItem", "@id": "1", "name": "Burger Combo ABox", "description": "1 Burger, 1 Fries, 1 Drink", "image": "https://www.gstatic.com/mobilesdk/170329_assistant/assistant_color_28dp.png" } { "@type": "MenuItemOffer", "@id": "6680262", "sku": "offer-burger-combo-a", "menuItemId": "1", "price": 16.95, "priceCurrency": "AUD" } { "@type": "MenuSection", "@id": "362", "name": "Burger", "menuItemId": ["2", "3"], "parentMenuItemId": [{ "@id": "1", "displayOrder": 1 }], "eligibleQuantityMin": 1, "eligibleQuantityMax": 1 } { "@type": "MenuItem", "@id": "2", "name": "Fillet Burger" } { "@type": "MenuItemOffer", "@id": "74", "sku": "offer-burger-fillet", "menuItemId": "2", "price": 0.00, "priceCurrency": "AUD" } { "@type": "MenuItem", "@id": "3", "name": "Zinger filler Burger" } { "@type": "MenuItemOffer", "@id": "42", "sku": "offer-burger-zinger-filler", "menuItemId": "3", "price": 0.00, "priceCurrency": "AUD", "eligibleQuantityMax": 1 } { "@type": "MenuSection", "@id": "5374", "name": "Recipe", "menuItemId": ["13", "25"], "parentMenuItemId": [{ "@id": "2", "displayOrder": 1 }, { "@id": "3", "displayOrder": 1 }], "eligibleQuantityMin": 0, "eligibleQuantityMax": 1 } { "@type": "MenuItem", "@id": "13", "name": "Lettuce" } { "@type": "MenuItemOffer", "@id": "832", "sku": "offer-lettuce", "menuItemId": "13", "price": 0.00, "priceCurrency": "AUD" } { "@type": "MenuItem", "@id": "25", "name": "Mayo" } { "@type": "MenuItemOffer", "@id": "7337", "sku": "offer-mayo", "menuItemId": "25", "price": 0.00, "priceCurrency": "AUD" } { "@type": "MenuSection", "@id": "3865", "name": "Extras", "menuItemId": ["22", "23", "24"], "parentMenuItemId": [{ "@id": "2", "displayOrder": 1 }, { "@id": "3", "displayOrder": 1 }], "eligibleQuantityMin": 0, "eligibleQuantityMax": 3 } { "@type": "MenuItem", "@id": "22", "name": "Bacon Slice" } { "@type": "MenuItemOffer", "@id": "4588", "sku": "offer-extra-bacon-slice", "menuItemId": "22", "price": 0.50, "priceCurrency": "AUD", "eligibleQuantityMax": 10 } { "@type": "MenuItem", "@id": "23", "name": "Cheese Slice" } { "@type": "MenuItemOffer", "@id": "53865", "sku": "offer-extra-cheese-slice", "menuItemId": "23", "price": 0.50, "priceCurrency": "AUD", "eligibleQuantityMax": 10 } { "@type": "MenuItem", "@id": "24", "name": "Coleslaw" } { "@type": "MenuItemOffer", "@id": "3", "sku": "offer-extra-coleslaw", "menuItemId": "24", "price": 0.30, "priceCurrency": "AUD", "eligibleQuantityMax": 10 } { "@type": "MenuSection", "@id": "5428", "name": "Fries", "menuItemId": ["14"], "parentMenuItemId": [{ "@id": "1", "displayOrder": 2 }], "eligibleQuantityMin": 1, "eligibleQuantityMax": 1 } { "@type": "MenuItem", "@id": "14", "name": "Regular Fries" } { "@type": "MenuItemOffer", "@id": "546", "sku": "offer-fries", "menuItemId": "14", "price": 0.00, "priceCurrency": "AUD" } { "@type": "MenuSection", "@id": "27", "name": "Drinks", "menuItemId": ["17", "18"], "parentMenuItemId": [{ "@id": "1", "displayOrder": 3 }], "eligibleQuantityMin": 1, "eligibleQuantityMax": 1 } { "@type": "MenuItem", "@id": "17", "name": "Regular Pepsi Max" } { "@type": "MenuItemOffer", "@id": "1743", "sku": "offer-pepsi-max", "menuItemId": "17", "price": 0.00, "priceCurrency": "AUD", "eligibleQuantityMax": 2 } { "@type": "MenuItem", "@id": "18", "name": "Regular Pepsi" } { "@type": "MenuItemOffer", "@id": "4587", "sku": "offer-pepsi", "menuItemId": "18", "price": 0.00, "priceCurrency": "AUD", "eligibleQuantityMax": 2 }
मेन्यू आइटम के विकल्पों का इस्तेमाल करके, मेन्यू को पसंद के मुताबिक बनाना
MenuItemOption
की menuItemId
प्रॉपर्टी में रेफ़रंस देकर, MenuItem
के लिए अलग-अलग विकल्प दिए जा सकते हैं.
उदाहरण के लिए, अगर पिज़्ज़ा अलग-अलग साइज़ में उपलब्ध है, तो हर साइज़ के लिए एक MenuItemOption
बनाया जा सकता है. साथ ही, हर MenuItemOption
के लिए menuItemId
प्रॉपर्टी में पिज़्ज़ा मेन्यू आइटम का रेफ़रंस दिया जा सकता है.
इस्तेमाल का उदाहरण | सबसे सही तरीका |
---|---|
इस्तेमाल का पहला उदाहरण: अलग-अलग साइज़ के पिज़्जे | MenuItemOption और MenuItemOffer का इस्तेमाल करना |
उपयोग का दूसरा उदाहरण: अलग-अलग टॉपिंग और साइज़ के साथ, पसंद के मुताबिक पिज़्ज़ा | पिज्ज़े के साइज़ के आधार पर, टॉपिंग की कीमतें बदलने के लिए,
MenuItemOption और MenuItemOffer का इस्तेमाल करें. |
तीसरा उदाहरण: अपनी पसंद के मुताबिक बनाया गया पिज़्ज़ा, जिसमें बाईं और दाईं ओर अलग-अलग चीज़ें हों | पिज़्ज़ा के साइड की जानकारी देने के लिए, MenuItemOption की value प्रॉपर्टी का इस्तेमाल करें. पिज़्ज़ा के हर साइड की कीमत बताने के लिए, MenuItemOffer की price और
priceCurrency प्रॉपर्टी का इस्तेमाल करें. |
पिज़्ज़ा के तीन अलग-अलग साइज़ हैं और उपयोगकर्ता को इनमें से कोई एक साइज़ चुनना होगा. हर साइज़ की कीमत अलग-अलग होती है.
हवाईयन पिज़्ज़ा के छोटे साइज़ की कीमत 1,000 रुपये, मीडियम साइज़ की कीमत 1,500 रुपये, और बड़े साइज़ की कीमत 2,000 रुपये है.
{"@type":"Menu","name":"A's Pizza","@id":"menu-1"} {"@type":"MenuSection","@id":"pizza-section","menuId":{"@id":"menu-1","displayOrder":1},"name":"Pizzas","menuItemId":["piz-hwn"]} {"@type":"MenuItem","@id":"piz-hwn","name":"Hawaiian Pizza"} {"@type":"MenuItemOption","@id":"piz-hwn-opt-sml","menuItemId":{"@id":"piz-hwn","displayOrder":1}, "optionType": "SIZE", "value": "Small"} {"@type":"MenuItemOption","@id":"piz-hwn-opt-med","menuItemId":{"@id":"piz-hwn","displayOrder":2}, "optionType": "SIZE", "value": "Medium"} {"@type":"MenuItemOption","@id":"piz-hwn-opt-lge","menuItemId":{"@id":"piz-hwn","displayOrder":3}, "optionType": "SIZE", "value": "Large"} {"@type":"MenuItemOffer","@id":"piz-hwn-off-sml","sku":"123456","menuItemOptionId":"piz-hwn-opt-sml","price":10.00,"priceCurrency":"USD"} {"@type":"MenuItemOffer","@id":"piz-hwn-off-med","sku":"123457","menuItemOptionId":"piz-hwn-opt-med","price":15.00,"priceCurrency":"USD"} {"@type":"MenuItemOffer","@id":"piz-hwn-off-lge","sku":"123458","menuItemOptionId":"piz-hwn-opt-lge","price":20.00,"priceCurrency":"USD"}
पिज़्ज़ा के साइज़ के हिसाब से, पिज़्ज़ा की टॉपिंग की कीमतें अलग-अलग होती हैं.
पैपरोनी पिज़्ज़ा के छोटे साइज़ की कीमत 1,000 रुपये, मीडियम साइज़ की कीमत 1,500 रुपये, और बड़े साइज़ की कीमत 2,000 रुपये है. बीफ़ सलामी टॉपिंग के लिए, छोटे पिज्ज़े पर 100, मीडियम पिज्ज़े पर 150, और बड़े पिज्ज़े पर 200 रुपये चुकाने होंगे.
{"@type":"Menu","name":"A's Pizza","@id":"menu-1"} {"@type":"MenuSection","@id":"pizza-section","menuId":{"@id":"menu-1","displayOrder":1},"name":"Pizzas","menuItemId":["piz-pep"]} {"@type":"MenuItem","@id":"piz-pep","name":"Hawaiian Pizza"} {"@type":"MenuItemOption","@id":"piz-pep-opt-sml","menuItemId":{"@id":"piz-pep","displayOrder":1}, "optionType": "SIZE", "value": "Small"} {"@type":"MenuItemOption","@id":"piz-pep-opt-med","menuItemId":{"@id":"piz-pep","displayOrder":2}, "optionType": "SIZE", "value": "Medium"} {"@type":"MenuItemOption","@id":"piz-pep-opt-lge","menuItemId":{"@id":"piz-pep","displayOrder":3}, "optionType": "SIZE", "value": "Large"} {"@type":"MenuItemOffer","@id":"piz-pep-off-sml","sku":"123456","menuItemOptionId":"piz-pep-opt-sml","price":10.00,"priceCurrency":"USD"} {"@type":"MenuItemOffer","@id":"piz-pep-off-med","sku":"123457","menuItemOptionId":"piz-pep-opt-med","price":15.00,"priceCurrency":"USD"} {"@type":"MenuItemOffer","@id":"piz-pep-off-lge","sku":"123458","menuItemOptionId":"piz-pep-opt-lge","price":20.00,"priceCurrency":"USD"} {"@type": "MenuSection","@id": "topping-section","menuId": {"@id": "menu-1","displayOrder": 2},"name": "Choice of toppings","menuItemId": ["top-bef-sal"],"parentMenuItemId": [{"@id": "piz-pep","displayOrder": 1}]} {"@type": "MenuItem","@id": "top-bef-sal","name": "Beef Salami","parentMenuSectionId": {"@id": "topping-section","displayOrder": 1}} {"@type": "MenuItemOption","@id": "opt-bef-sal-sml","menuItemId": {"@id": "top-bef-sal", "displayOrder": "1"},"applicableParentOptionValue": "Small"} {"@type": "MenuItemOption","@id": "opt-bef-sal-med","menuItemId": {"@id": "top-bef-sal", "displayOrder": "2"},"applicableParentOptionValue": "Medium"} {"@type": "MenuItemOption","@id": "opt-bef-sal-lge","menuItemId": {"@id": "top-bef-sal", "displayOrder": "3"},"applicableParentOptionValue": "Large"} {"@type": "MenuItemOffer","@id": "bef-sal-off-sml","sku": "123561","menuItemOptionId": "opt-bef-sal-sml","price": 1.00,"priceCurrency": "USD"} {"@type": "MenuItemOffer","@id": "bef-sal-off-med","sku": "123562","menuItemOptionId": "opt-bef-sal-med","price": 1.50,"priceCurrency": "USD"} {"@type": "MenuItemOffer","@id": "bef-sal-off-lge","sku": "123563","menuItemOptionId": "opt-bef-sal-lge","price": 2.00,"priceCurrency": "USD"}
पिज़्ज़ा के टॉपिंग को पिज़्ज़ा के आधे हिस्से, पूरे हिस्से या सिर्फ़ दाईं या बाईं ओर जोड़ा जा सकता है. पिज़्ज़ा के साइज़ के हिसाब से कीमतें अलग-अलग होती हैं. साथ ही, टॉपिंग के हिसाब से भी कीमतें अलग-अलग होती हैं.
छोटे साइज़ के पैपरोनी पिज़्ज़ा की कीमत 1,000 रुपये, मीडियम साइज़ के लिए 1,500 रुपये, और बड़े साइज़ के लिए 2,000 रुपये है. पिज़्ज़ा में दो टॉपिंग (बीफ़ सलामी और मोज़ेरेला) हैं.छोटे पिज़्ज़ा की बाईं और दाईं ओर, हर टॉपिंग की कीमत 100 रुपये है.हालांकि, पूरे छोटे पिज़्ज़ा के लिए 50 रुपये चुकाने होंगे. मीडियम पिज़्ज़ा के बाईं और दाईं ओर टॉपिंग की कीमत 1.50 डॉलर है. हालांकि, पूरे मीडियम पिज़्ज़ा के लिए टॉपिंग की कीमत 1.00 डॉलर है. बड़े पिज़्ज़ा के बाईं और दाईं ओर टॉपिंग की कीमत 200 रुपये प्रति साइड है. हालांकि, पूरे बड़े पिज़्ज़ा के लिए 150 रुपये चुकाने होंगे.
{"@type":"Menu","name":"A's Pizza","@id":"menu-1"} {"@type":"MenuSection","@id":"pizza-section","menuId":{"@id":"menu-1","displayOrder":1},"name":"Pizzas","menuItemId":["piz-pep"]} {"@type":"MenuItem","@id":"piz-pep","name":"Pepperoni Pizza"} {"@type":"MenuItemOption","@id":"piz-pep-opt-sml","menuItemId":{"@id":"piz-pep","displayOrder":1}, "optionType": "SIZE", "value": "Small"} {"@type":"MenuItemOption","@id":"piz-pep-opt-med","menuItemId":{"@id":"piz-pep","displayOrder":2}, "optionType": "SIZE", "value": "Medium"} {"@type":"MenuItemOption","@id":"piz-pep-opt-lge","menuItemId":{"@id":"piz-pep","displayOrder":3}, "optionType": "SIZE", "value": "Large"} {"@type":"MenuItemOffer","@id":"piz-pep-off-sml","sku":"123456","menuItemOptionId":"piz-pep-opt-sml","price":10.00,"priceCurrency":"USD"} {"@type":"MenuItemOffer","@id":"piz-pep-off-med","sku":"123457","menuItemOptionId":"piz-pep-opt-med","price":15.00,"priceCurrency":"USD"} {"@type":"MenuItemOffer","@id":"piz-pep-off-lge","sku":"123458","menuItemOptionId":"piz-pep-opt-lge","price":20.00,"priceCurrency":"USD"} {"@type": "MenuSection","@id": "topping-section","name": "Choice of toppings","menuItemId": ["top-bef-sal", "top-moz"],"parentMenuItemId": [{"@id": "piz-pep", "displayOrder": 1}]} {"@type": "MenuItem","@id": "top-bef-sal","name": "Beef Salami","parentMenuSectionId": {"@id": "topping-section", "displayOrder": 1}} {"@type": "MenuItemOption","@id": "top-bef-sal-opt-left-sm","menuItemId": {"@id": "top-bef-sal","displayOrder": 1},"applicableParentOptionValue": "Small","optionType": "PIZZA_SIDE","value": "PIZZA_SIDE_LEFT"} {"@type": "MenuItemOffer","@id": "bef-sal-off-left-sm","sku": "546","menuItemOptionId": "top-bef-sal-opt-left-sm","price": 1.00,"priceCurrency": "USD"} {"@type": "MenuItemOption","@id": "top-bef-sal-opt-right-sm","menuItemId": {"@id": "top-bef-sal","displayOrder": 2},"applicableParentOptionValue": "Small","optionType": "PIZZA_SIDE","value": "PIZZA_SIDE_RIGHT"} {"@type": "MenuItemOffer","@id": "bef-sal-off-right-sm","sku": "37","menuItemOptionId": "top-bef-sal-opt-right-sm","price": 1.00,"priceCurrency": "USD"} {"@type": "MenuItemOption","@id": "top-bef-sal-opt-whole-sm","menuItemId": {"@id": "top-bef-sal","displayOrder": 3},"applicableParentOptionValue": "Small","optionType": "PIZZA_SIDE","value": "PIZZA_SIDE_WHOLE"} {"@type": "MenuItemOffer","@id": "bef-sal-off-whole-sm","sku": "356","menuItemOptionId": "top-bef-sal-opt-whole-sm","price": 0.50,"priceCurrency": "USD"} {"@type": "MenuItemOption","@id": "top-bef-sal-opt-left-med","menuItemId": {"@id": "top-bef-sal","displayOrder": 1},"applicableParentOptionValue": "Medium","optionType": "PIZZA_SIDE","value": "PIZZA_SIDE_LEFT"} {"@type": "MenuItemOffer","@id": "bef-sal-off-left-medium","sku": "764","menuItemOptionId": "top-bef-sal-opt-left-med","price": 1.50,"priceCurrency": "USD"} {"@type": "MenuItemOption","@id": "top-bef-sal-opt-right-med","menuItemId": {"@id": "top-bef-sal","displayOrder": 2},"applicableParentOptionValue": "Medium","optionType": "PIZZA_SIDE","value": "PIZZA_SIDE_RIGHT"} {"@type": "MenuItemOffer","@id": "bef-sal-off-right-medium","sku": "476","menuItemOptionId": "top-bef-sal-opt-right-med","price": 1.50,"priceCurrency": "USD"} {"@type": "MenuItemOption","@id": "top-bef-sal-opt-whole-med","menuItemId": {"@id": "top-bef-sal","displayOrder": 3},"applicableParentOptionValue": "Medium","optionType": "PIZZA_SIDE","value": "PIZZA_SIDE_WHOLE"} {"@type": "MenuItemOffer","@id": "offer-beef-salami-whole-medium","sku": "2354","menuItemOptionId": "top-bef-sal-opt-whole-med","price": 1.00,"priceCurrency": "USD"} {"@type": "MenuItemOption","@id": "top-bef-sal-opt-left-lg","menuItemId": {"@id": "top-bef-sal","displayOrder": 1},"applicableParentOptionValue": "Large","optionType": "PIZZA_SIDE","value": "PIZZA_SIDE_LEFT"} {"@type": "MenuItemOffer","@id": "offer-beef-salami-left-large","sku": "56","menuItemOptionId": "top-bef-sal-opt-left-lg","price": 2.00,"priceCurrency": "USD"} {"@type": "MenuItemOption","@id": "top-bef-sal-opt-right-lg","menuItemId": {"@id": "top-bef-sal","displayOrder": 2},"applicableParentOptionValue": "Large","optionType": "PIZZA_SIDE","value": "PIZZA_SIDE_RIGHT"} {"@type": "MenuItemOffer","@id": "offer-beef-salami-right-large","sku": "35","menuItemOptionId": "top-bef-sal-opt-right-lg","price": 2.00,"priceCurrency": "USD"} {"@type": "MenuItemOption","@id": "top-bef-sal-opt-whole-lg","menuItemId": {"@id": "top-bef-sal","displayOrder": 3},"applicableParentOptionValue": "Large","optionType": "PIZZA_SIDE","value": "PIZZA_SIDE_WHOLE"} {"@type": "MenuItemOffer","@id": "offer-beef-salami-whole-large","sku": "243","menuItemOptionId": "top-bef-sal-opt-whole-lg","price": 1.50,"priceCurrency": "USD"} {"@type": "MenuItem","@id": "top-moz","name": "Mozzarella","parentMenuSectionId": {"@id": "topping-section", "displayOrder": 2}} {"@type": "MenuItemOption","@id": "top-moz-opt-left-sm","menuItemId": {"@id": "top-moz","displayOrder": 1},"applicableParentOptionValue": "Small","optionType": "PIZZA_SIDE","value": "PIZZA_SIDE_LEFT"} {"@type": "MenuItemOffer","@id": "off-mozz-left-sm","sku": "5643","menuItemOptionId": "top-moz-opt-left-sm","price": 1.00,"priceCurrency": "USD"} {"@type": "MenuItemOption","@id": "top-moz-opt-right-sm","menuItemId": {"@id": "top-moz","displayOrder": 2},"applicableParentOptionValue": "Small","optionType": "PIZZA_SIDE","value": "PIZZA_SIDE_RIGHT"} {"@type": "MenuItemOffer","@id": "off-mozz-right-sm","sku": "426","menuItemOptionId": "top-moz-opt-right-sm","price": 1.00,"priceCurrency": "USD"} {"@type": "MenuItemOption","@id": "top-moz-opt-whole-sm","menuItemId": {"@id": "top-moz","displayOrder": 3},"applicableParentOptionValue": "Small","optionType": "PIZZA_SIDE","value": "PIZZA_SIDE_WHOLE"} {"@type": "MenuItemOffer","@id": "off-mozz-whole-sm","sku": "7546","menuItemOptionId": "top-moz-opt-whole-sm","price": 0.50,"priceCurrency": "USD"} {"@type": "MenuItemOption","@id": "top-moz-opt-left-med","menuItemId": {"@id": "top-moz","displayOrder": 1},"applicableParentOptionValue": "Medium","optionType": "PIZZA_SIDE","value": "PIZZA_SIDE_LEFT"} {"@type": "MenuItemOffer","@id": "off-mozz-left-med","sku": "5465","menuItemOptionId": "top-moz-opt-left-med","price": 1.50,"priceCurrency": "USD"} {"@type": "MenuItemOption","@id": "top-moz-opt-right-med","menuItemId": {"@id": "top-moz","displayOrder": 2},"applicableParentOptionValue": "Medium","optionType": "PIZZA_SIDE","value": "PIZZA_SIDE_RIGHT"} {"@type": "MenuItemOffer","@id": "off-mozz-right-med","sku": "76","menuItemOptionId": "top-moz-opt-right-med","price": 1.50,"priceCurrency": "USD"} {"@type": "MenuItemOption","@id": "top-moz-opt-whole-med","menuItemId": {"@id": "top-moz","displayOrder": 3},"applicableParentOptionValue": "Medium","optionType": "PIZZA_SIDE","value": "PIZZA_SIDE_WHOLE"} {"@type": "MenuItemOffer","@id": "off-mozz-whole-med","sku": "34","menuItemOptionId": "top-moz-opt-whole-med","price": 1.00,"priceCurrency": "USD"} {"@type": "MenuItemOption","@id": "top-moz-opt-left-lge","menuItemId": {"@id": "top-moz","displayOrder": 1},"applicableParentOptionValue": "Large","optionType": "PIZZA_SIDE","value": "PIZZA_SIDE_LEFT"} {"@type": "MenuItemOffer","@id": "off-mozz-left-lge","sku": "5536","menuItemOptionId": "top-moz-opt-left-lge","price": 2.00,"priceCurrency": "USD"} {"@type": "MenuItemOption","@id": "top-moz-opt-right-lge","menuItemId": {"@id": "top-moz","displayOrder": 2},"applicableParentOptionValue": "Large","optionType": "PIZZA_SIDE","value": "PIZZA_SIDE_RIGHT"} {"@type": "MenuItemOffer","@id": "off-mozz-right-lge","sku": "545","menuItemOptionId": "top-moz-opt-right-lge","price": 2.00,"priceCurrency": "USD"} {"@type": "MenuItemOption","@id": "top-moz-opt-whole-lge","menuItemId": {"@id": "top-moz","displayOrder": 3},"applicableParentOptionValue": "Large","optionType": "PIZZA_SIDE","value": "PIZZA_SIDE_WHOLE"} {"@type": "MenuItemOffer","@id": "off-mozz-whole-lge","sku": "744","menuItemOptionId": "top-moz-opt-whole-lge","price": 1.50,"priceCurrency": "USD"}
सेवा
Service
इकाई, रेस्टोरेंट से खाना ऑर्डर करने की कार्रवाई की डिलीवरी के बारे में बताती है. जैसे, सेवा का टाइप. सेवा के खुले होने का समय, सेवा देने का इलाका, और शुल्क की जानकारी ServiceArea
, ServiceHours
,
OperationHours
, और Fee
इकाइयों में दी गई है.
एक रेस्टोरेंट में कई सेवा ऑब्जेक्ट हो सकते हैं. उदाहरण के लिए, अगर कोई रेस्टोरेंट डिलीवरी और टेकआउट, दोनों सेवाएं देता है. हालांकि, सेवा की serviceType
प्रॉपर्टी की मदद से, एक सेवा को किसी एक रेस्टोरेंट से यूनीक तरीके से जोड़ा जाना चाहिए.
इस्तेमाल का उदाहरण | सबसे सही तरीका |
---|---|
इस्तेमाल का पहला उदाहरण: बुनियादी डिलीवरी सेवा | ServiceHours और OperationHours में opens और closes प्रॉपर्टी का इस्तेमाल करके, ऑर्डर पूरा करने और ऑर्डर करने के लिए, शुरू और खत्म होने का समय तय करें. डिलीवरी में लगने वाले समय (पिकअप/डिलीवरी का अनुमानित समय) की जानकारी देने के लिए, ServiceHours की leadTimeMin और
leadTimeMax प्रॉपर्टी का इस्तेमाल करें. |
यहां दी गई सैंपल सेवा, 1 फ़रवरी, 2016 से 1 मार्च, 2016 तक, हर दिन सुबह 8 बजे से शाम 6 बजे तक ऑर्डर स्वीकार करती है. ऑर्डर करने का आखिरी समय शाम 5:59:59 बजे है. ऑर्डर डिलीवर होने में कम से कम एक घंटा और ज़्यादा से ज़्यादा 90 मिनट लगते हैं. डिलीवरी की सेवा, अमेरिका के ज़िप कोड 94041 में दी जाती है. उपयोगकर्ता को डिलीवरी के लिए 5 डॉलर देने होंगे.
{ "@type": "Service", "@id": "10824/delivery", "serviceType": "DELIVERY", "menuId": "10824", "restaurantId": "10824" } { "@type": "ServiceArea", "@id": "28427", "serviceId": "10824/delivery", "postalCode": 94041, "addressCountry": "US" } { "@type": "OperationHours", "@id": "10824/deliveryOh", "serviceId": "10824/delivery", "validFrom": "2016-02-01T00:00:00-07:00", "validThrough": "2016-03-01T00:00:00-07:00", "opens": "T08:00", "closes": "T18:00" } { "@type": "ServiceHours", "@id": "613741/delivery", "orderType": "ASAP", "serviceId": "10824/delivery", "leadTimeMin": 60, "leadTimeMax": 90 } { "@type": "Fee", "@id": "28427", "serviceId": "10824/delivery", "feeType": "DELIVERY", "priceCurrency": "USD", "price": 5.0 }
डिलीवरी और पिकअप के समय
यहां दिए गए उदाहरणों में, किसी सेवा की डिलीवरी और पिकअप के समय तय करने का तरीका बताया गया है.
इस्तेमाल का उदाहरण | सबसे सही तरीका |
---|---|
इस्तेमाल का पहला उदाहरण: डिलीवरी के खुले होने के घंटे कॉन्फ़िगर करना | जल्द से जल्द डिलीवरी वाले ऑर्डर के लिए, ServiceHours की leadTimeMin और leadTimeMax प्रॉपर्टी का इस्तेमाल करें. पहले से ऑर्डर करने के लिए,
OperationHours का इस्तेमाल करें. छुट्टी के दिनों में डिलीवरी और ऑर्डर करने के लिए,
ServiceHours की isSpecialHour और
OperationHours प्रॉपर्टी का इस्तेमाल करें |
इस्तेमाल का दूसरा उदाहरण: पिकअप के समय का कॉन्फ़िगरेशन | जल्द से जल्द डिलीवरी वाले ऑर्डर के लिए, ServiceHours की leadTimeMin और leadTimeMax प्रॉपर्टी का इस्तेमाल करें. पहले से ऑर्डर करने के लिए,
OperationHours का इस्तेमाल करें. छुट्टियों के सीज़न में पिकअप और ऑर्डर करने की विंडो के खास घंटों के लिए, ServiceHours की isSpecialHour प्रॉपर्टी और
OperationHours का इस्तेमाल करें. |
रेस्टोरेंट, डिलीवरी सेवाओं के लिए ऑर्डर जल्द से जल्द स्वीकार करता है और पहले से ऑर्डर लेता है. इसमें छुट्टियों के दिनों के लिए, डिलीवरी के खास समय की जानकारी भी शामिल की जा सकती है.
इस उदाहरण में, उपयोगकर्ता किसी भी समय ऑनलाइन ऑर्डर कर सकते हैं. हफ़्ते के दिनों में डिलीवरी का समय सुबह 9 बजे से रात 11 बजे तक है. वीकेंड के दिनों में डिलीवरी का समय सुबह 9 बजे से रात 9 बजे तक है. खास तौर पर, 24 दिसंबर, 2019 को डिलीवरी के लिए सुबह 9 बजे से शाम 4 बजे तक का समय तय किया गया है. इस सेवा के लिए, कम से कम एक घंटा और ज़्यादा से ज़्यादा 90 मिनट इंतज़ार करना पड़ता है.
उपयोगकर्ता, 24 दिसंबर, 2019 के साथ-साथ किसी भी दिन के लिए, ऑर्डर 6 दिन (8,640 मिनट) से लेकर एक घंटे पहले तक कर सकते हैं. उपयोगकर्ता, डिलीवरी के ऑर्डर सिर्फ़ 15 मिनट के अंतराल पर पहले से ही कर सकते हैं. उदाहरण के लिए, रात 8:00 बजे, रात 8:15 बजे, रात 8:30 बजे. डिलीवरी की सेवा, कोड में बताए गए पॉलीगॉन वाले इलाके में दी जाती है. साथ ही, उपयोगकर्ता से डिलीवरी के लिए 50 रुपये का शुल्क लिया जाता है.
{ "@type": "Service", "@id": "10824/delivery", "serviceType": "DELIVERY", "menuId": "10824", "restaurantId": "10824" } { "@type": "ServiceArea", "@id": "28427", "serviceId": "10824/delivery", "polygon": ["-20.728777 116.804256 -20.736323 116.8161 -20.722997 116.86468 -20.725406 116.871547 -20.736323 116.873607 -20.7474 116.816444 -20.756871 116.819877 -20.757673 116.788291 -20.740497 116.786403"] } { "@type": "OperationHours", "@id": "427/deliveryOh", "serviceId": "10824/delivery", "opens": "T00:00", "closes": "T23:59", "isSpecialHour": false } { "@type": "ServiceHours", "@id": "613741/delivery", "orderType": "ASAP", "serviceId": "10824/delivery", "operationHoursId":["427/deliveryOh"], "opens": "T09:00", "closes": "T23:00", "dayOfWeek": ["MONDAY", "TUESDAY", "WEDNESDAY", "THURSDAY", "FRIDAY"], "leadTimeMin": 60, "leadTimeMax": 90, "isSpecialHour": false } { "@type": "ServiceHours", "@id": "3654/delivery", "orderType": "ADVANCE", "serviceId": "10824/delivery", "operationHoursId":["427/deliveryOh"], "opens": "T09:00", "closes": "T23:00", "dayOfWeek": ["MONDAY", "TUESDAY", "WEDNESDAY", "THURSDAY", "FRIDAY"], "advanceBookingRequirementMin": 60, "advanceBookingRequirementMax": 8640, "advanceBookingSlotInterval": "PT15M", "isSpecialHour":false } { "@type": "ServiceHours", "@id": "4694/delivery", "orderType": "ASAP", "serviceId": "10824/delivery", "operationHoursId":["427/deliveryOh"], "opens": "T09:00", "closes": "T21:00", "dayOfWeek": ["SATURDAY", "SUNDAY"], "leadTimeMin": 60, "leadTimeMax": 90, "isSpecialHour": false } { "@type": "ServiceHours", "@id": "6479/delivery", "orderType": "ADVANCE", "serviceId": "10824/delivery", "operationHoursId":["427/deliveryOh"], "opens": "T09:00", "closes": "T21:00", "dayOfWeek": ["SATURDAY", "SUNDAY"], "advanceBookingRequirementMin": 60, "advanceBookingRequirementMax": 8640, "advanceBookingSlotInterval": "PT15M", "isSpecialHour":false } { "@type": "ServiceHours", "@id": "3754/delivery", "orderType": "ASAP", "serviceId": "10824/delivery", "validFrom": "2019-12-24T00:00:00+10:00", "validThrough": "2019-12-24T23:59:59+10:00", "opens": "T09:00", "closes": "T16:00", "leadTimeMin": 60, "leadTimeMax": 90, "isSpecialHour": true } { "@type": "Fee", "@id": "28427", "serviceId": "10824/delivery", "feeType": "DELIVERY", "priceCurrency": "USD", "price": 5.00 }
रेस्टोरेंट, पिकअप करने की सेवाओं के लिए ऑर्डर पहले से स्वीकार करता है और जल्द से जल्द डिलीवर करता है. इसमें, छुट्टियों के दिनों के लिए, पिकअप के खास समय की जानकारी भी दी जा सकती है.
इस उदाहरण में, लोग सेवा के खुलने से दो घंटे पहले ऑनलाइन ऑर्डर कर सकते हैं. हफ़्ते के दिनों में, पिकअप का समय सुबह 9 बजे से रात 11 बजे तक है. वीकेंड के दिनों में, सामान सुबह 9 बजे से रात 9 बजे तक पिकअप किया जा सकता है. खास तौर पर, 24 दिसंबर, 2019 को पिकअप के लिए सुबह 9 बजे से शाम 4 बजे तक का समय तय किया गया है. पिकअप के लिए, कम से कम 30 मिनट और ज़्यादा से ज़्यादा एक घंटे तक इंतज़ार करना पड़ सकता है.
उपयोगकर्ता किसी भी दिन के लिए, ऑर्डर दो दिन (2880 मिनट) से लेकर 30 मिनट पहले तक कर सकते हैं. इसमें 24 दिसंबर, 2019 भी शामिल है. उपयोगकर्ता, पिकअप के लिए ऑर्डर सिर्फ़ 15 मिनट के अंतराल पर पहले से कर सकते हैं. उदाहरण के लिए, रात 8:00 बजे, रात 8:15 बजे, रात 8:30 बजे. उपयोगकर्ता को पिकअप के लिए कोई शुल्क नहीं देना पड़ता.
{ "@type": "Service", "@id": "10824/takeout", "serviceType": "TAKEOUT", "menuId": "10824", "restaurantId": "10824" } { "@type": "OperationHours", "@id": "427/takeoutOh", "serviceId": "10824/takeout", "opens": "T07:00", "closes": "T23:00", "dayOfWeek": ["MONDAY", "TUESDAY", "WEDNESDAY", "THURSDAY", "FRIDAY"] } { "@type": "OperationHours", "@id": "2652/takeoutOh", "serviceId": "10824/takeout", "opens": "T07:00", "closes": "T21:00", "dayOfWeek": ["SATURDAY", "SUNDAY"] } { "@type": "ServiceHours", "@id": "613741/takeout", "orderType": "ASAP", "serviceId": "10824/takeout", "operationHoursId":["427/takeoutOh"], "opens": "T09:00", "closes": "T23:00", "dayOfWeek": ["MONDAY", "TUESDAY", "WEDNESDAY", "THURSDAY", "FRIDAY"], "leadTimeMin": 30, "leadTimeMax": 60, "isSpecialHour": false } { "@type": "ServiceHours", "@id": "3654/takeout", "orderType": "ADVANCE", "serviceId": "10824/takeout", "operationHoursId":["427/takeoutOh", "2652/takeoutOh"], "opens": "T09:00", "closes": "T23:00", "dayOfWeek": ["MONDAY", "TUESDAY", "WEDNESDAY", "THURSDAY", "FRIDAY"], "advanceBookingRequirementMin": 30, "advanceBookingRequirementMax": 2880, "advanceBookingSlotInterval": "PT15M", "isSpecialHour": false } { "@type": "ServiceHours", "@id": "4694/takeout", "orderType": "ASAP", "serviceId": "10824/takeout", "operationHoursId": ["2652/takeoutOh"], "opens": "T09:00", "closes": "T21:00", "dayOfWeek": ["SATURDAY", "SUNDAY"], "leadTimeMin": 30, "leadTimeMax": 60, "isSpecialHour": false } { "@type": "ServiceHours", "@id": "6479/takeout", "orderType": "ADVANCE", "serviceId": "10824/takeout", "operationHoursId": ["427/takeoutOh", "2652/takeoutOh"], "opens": "T09:00", "closes": "T21:00", "dayOfWeek": ["SATURDAY", "SUNDAY"], "advanceBookingRequirementMin": 30, "advanceBookingRequirementMax": 2880, "advanceBookingSlotInterval": "PT15M", "isSpecialHour": false } { "@type": "ServiceHours", "@id": "3754/takeout", "orderType": "ASAP", "serviceId": "10824/takeout", "validFrom": "2019-12-24T00:00:00+10:00", "validThrough": "2019-12-24T23:59:59+10:00", "opens": "T09:00", "closes": "T16:00", "leadTimeMin": 30, "leadTimeMax": 60, "isSpecialHour": true }
छुट्टी के दिन और खास घंटे
सेवा के मौजूदा खुले होने के समय और/या कारोबार के खुले होने के समय को बदलने के लिए, ServiceHours
और OperationHours
की isSpecialHour
प्रॉपर्टी का इस्तेमाल किया जा सकता है. इस तरीके से, कारोबार के खुले होने के सामान्य समय को एक बार तय किया जा सकता है. साथ ही, छुट्टियों और खास इवेंट के लिए, इसे चुनिंदा तौर पर बदला जा सकता है.
सेवा देने के लिए, आपको दो अलग-अलग समयावधि तय करनी होगी: ऑर्डर करने की विंडो (OperationHours
, इससे पता चलता है कि उपयोगकर्ता कब ऑर्डर कर सकते हैं) और ऑर्डर पूरा करने की विंडो (ServiceHours
, इससे पता चलता है कि ऑर्डर कब पूरा किया जा सकता है).
इस्तेमाल का उदाहरण | सबसे सही तरीका |
---|---|
उपयोग का पहला उदाहरण: ऑर्डर वाले दिन डिलीवरी करने की सुविधा उपलब्ध है, लेकिन पहले से किए गए ऑर्डर के लिए नहीं | कारोबार के खुले होने के खास घंटे किन तारीखों के लिए मान्य हैं, यह बताने के लिए
ServiceHours और OperationHours इकाइयों की
validFrom और validThrough प्रॉपर्टी का इस्तेमाल करें. साथ ही, isSpecialHour प्रॉपर्टी को "सही" पर सेट करें. |
इस उदाहरण से पता चलता है कि क्रिसमस वाले दिन, ऑर्डर वाले दिन डिलीवरी की सेवा उपलब्ध है, लेकिन उस दिन के लिए पहले से शेड्यूल किए गए ऑर्डर के लिए यह सेवा उपलब्ध नहीं है. रेस्टोरेंट, पिकअप करने की सेवाओं के लिए ऑर्डर पहले से स्वीकार करता है और उन्हें जल्द से जल्द डिलीवर करता है.
ऑर्डर और सेवा के लिए, पिकअप के सामान्य समय सुबह 9 बजे से रात 9 बजे तक हैं. वहीं, क्रिसमस की पूर्व संध्या 2017 को पिकअप के समय सुबह 9 बजे से शाम 4 बजे तक हैं. पिकअप के लिए, कम से कम एक घंटे और ज़्यादा से ज़्यादा 90 मिनट इंतज़ार करना पड़ सकता है. उपयोगकर्ता किसी भी दिन के लिए, ऑर्डर करने से 2 दिन (2880 मिनट) पहले से लेकर 30 मिनट पहले तक ऑर्डर कर सकते हैं. हालांकि, वे छुट्टियों के दिन/घंटों (जैसे, क्रिसमस का दिन, 4 जुलाई, और क्रिसमस की पूर्व संध्या को शाम 4 बजे के बाद) ऑर्डर नहीं कर सकते. उपयोगकर्ता, पिकअप के लिए ऑर्डर सिर्फ़ 15 मिनट के अंतराल पर पहले से कर सकते हैं. उदाहरण के लिए, दोपहर 2:00 बजे, दोपहर 2:15 बजे, दोपहर 2:30 बजे.
उपयोगकर्ता को पिकअप के लिए कोई शुल्क नहीं देना पड़ता. यह उदाहरण इन स्थितियों में काम करता है:
- उपयोगकर्ता 25 दिसंबर को ऑर्डर कर सकते हैं, ताकि उन्हें ऑर्डर वाले दिन डिलीवरी मिल सके.
- उपयोगकर्ता 25 दिसंबर को, 27 दिसंबर को डिलीवरी के लिए अग्रिम ऑर्डर दे सकते हैं.
- उपयोगकर्ता 22 दिसंबर को, 25 दिसंबर को डिलीवरी के लिए पहले से ऑर्डर नहीं कर सकते.
- उपयोगकर्ता 4 जुलाई को, न तो पहले से ऑर्डर कर सकते हैं और न ही जल्द से जल्द ऑर्डर कर सकते हैं.
{ "@type": "Service", "@id": "10824/takeout", "serviceType": "TAKEOUT", "menuId": "10824", "restaurantId": "10824" } { "@type": "OperationHours", "@id": "427/takeoutOh", "serviceId": "10824/takeout", "opens": "T09:00", "closes": "T21:00" } { "@type": "ServiceHours", "@id": "613741/takeout", "orderType": "ASAP", "serviceId": "10824/takeout", "opens": "T09:00", "closes": "T21:00", "isSpecialHour": false, "leadTimeMin": 60, "leadTimeMax": 90 } { "@type": "ServiceHours", "@id": "37/takeout", "orderType": "ASAP", "serviceId": "10824/takeout", "operationHoursId": "427/takeoutOh", "opens": "T09:00", "closes": "T16:00", "validFrom": "2017-12-24T00:00:00-07:00", "validThrough": "2017-12-24T23:59:59-07:00", "isSpecialHour": true, "leadTimeMin": 60, "leadTimeMax": 90 } { "@type": "ServiceHours", "@id": "358/takeout", "orderType": "ASAP", "serviceId": "10824/takeout", "operationHoursId": "427/takeoutOh", "opens": "T00:00", "closes": "T00:00", "validFrom": "2017-12-25T00:00:00-07:00", "validThrough": "2017-12-25T23:59:59-07:00", "isSpecialHour": true, "leadTimeMin": 60, "leadTimeMax": 90 } { "@type": "ServiceHours", "@id": "4356/takeout", "orderType": "ASAP", "serviceId": "10824/takeout", "operationHoursId": "427/takeoutOh", "opens": "T00:00", "closes": "T00:00", "validFrom": "2017-07-04T00:00:00-07:00", "validThrough": "2017-07-04T23:59:59-07:00", "isSpecialHour": true, "leadTimeMin": 60, "leadTimeMax": 90 } { "@type": "ServiceHours", "@id": "3654/takeout", "orderType": "ADVANCE", "serviceId": "10824/takeout", "opens": "T09:00", "closes": "T21:00", "isSpecialHour": false, "advanceBookingRequirementMin": 30, "advanceBookingRequirementMax": 2880, "advanceBookingSlotInterval": "PT15M" } { "@type": "ServiceHours", "@id": "54/takeout", "orderType": "ADVANCE", "serviceId": "10824/takeout", "opens": "T00:00", "closes": "T00:00", "validFrom": "2017-12-24T00:00:00-07:00", "validThrough": "2017-12-24T23:59:59-07:00", "isSpecialHour": true, "advanceBookingRequirementMin": 30, "advanceBookingRequirementMax": 2880, "advanceBookingSlotInterval": "PT15M" } { "@type": "ServiceHours", "@id": "5436/takeout", "orderType": "ADVANCE", "serviceId": "10824/takeout", "opens": "T00:00", "closes": "T00:00", "validFrom": "2017-12-25T00:00:00-07:00", "validThrough": "2017-12-25T23:59:59-07:00", "isSpecialHour": true, "advanceBookingRequirementMin": 30, "advanceBookingRequirementMax": 2880, "advanceBookingSlotInterval": "PT15M" } { "@type": "ServiceHours", "@id": "345/takeout", "orderType": "ADVANCE", "serviceId": "10824/takeout", "opens": "T00:00", "closes": "T00:00", "validFrom": "2017-07-04T00:00:00-07:00", "validThrough": "2017-07-04T23:59:59-07:00", "isSpecialHour": true, "advanceBookingRequirementMin": 30, "advanceBookingRequirementMax": 2880, "advanceBookingSlotInterval": "PT15M" }
डिलीवरी और पिकअप के लिए खरीदार से लिए जाने वाले शुल्क
नीचे दिए गए उदाहरणों में, किसी सेवा के लिए डिलीवरी और पिकअप शुल्क तय करने का तरीका बताया गया है.
इस्तेमाल का उदाहरण | सबसे सही तरीका |
---|---|
इस्तेमाल का पहला उदाहरण: डिलीवरी शुल्क का कॉन्फ़िगरेशन | डिलीवरी के लिए खरीदार से लिए जाने वाले शुल्क के टाइप तय करने के लिए, Fee
इकाई का इस्तेमाल करें. |
इस्तेमाल का दूसरा उदाहरण: पिकअप सेवाओं के लिए सेवा शुल्क का कॉन्फ़िगरेशन | पिकअप सेवा के शुल्कों के टाइप तय करने के लिए, Fee
इकाई का इस्तेमाल करें. |
रेस्टोरेंट, डिलीवरी के लिए अलग-अलग तरह के शुल्क लेता हो.
इस उदाहरण में, कम से कम 3,000 रुपये के ऑर्डर पर मुफ़्त डिलीवरी की सुविधा दी गई है.इसके अलावा, कम से कम ऑर्डर के बिना 500 रुपये का डिलीवरी शुल्क लिया जाएगा.साथ ही, कार्ट में मौजूद कुल रकम का 3% शुल्क लिया जाएगा. डिलीवरी के समय (इसमें ऑर्डर और सेवा के समय, दोनों शामिल हैं) सुबह 9 बजे से रात 11 बजे तक हैं. डिलीवरी में कम से कम एक घंटा और ज़्यादा से ज़्यादा 90 मिनट इंतज़ार करना पड़ सकता है.
उपयोगकर्ता किसी भी दिन के लिए, ऑर्डर 6 दिन (8,640 मिनट) से लेकर 30 मिनट पहले तक कर सकते हैं. उपयोगकर्ता, डिलीवरी के ऑर्डर सिर्फ़ 15 मिनट के अंतराल पर पहले से ही कर सकते हैं. उदाहरण के लिए, दोपहर 2:00 बजे, दोपहर 2:15 बजे, दोपहर 2:30 बजे.
डिलीवरी के लिए ज़रूरी शर्तें पूरी करने वाले इलाके की जानकारी,
ServiceArea
इकाई में दी गई है.
{ "@type": "Service", "@id": "10824/delivery", "serviceType": "DELIVERY", "menuId": "10824", "restaurantId": "10824" } { "@type": "ServiceArea", "@id": "28427", "serviceId": "10824/delivery", "polygon": ["-20.728777 116.804256 -20.736323 116.8161 -20.722997 116.86468 -20.725406 116.871547 -20.736323 116.873607 -20.7474 116.816444 -20.756871 116.819877 -20.757673 116.788291 -20.740497 116.786403"] } { "@type": "OperationHours", "@id": "427/deliveryOh", "serviceId": "10824/delivery", "opens": "T09:00", "closes": "T23:00" } { "@type": "ServiceHours", "@id": "613741/delivery", "orderType": "ASAP", "serviceId": "10824/delivery", "opens": "T09:00", "closes": "T23:00", "isSpecialHour": false, "leadTimeMin": 60, "leadTimeMax": 90 } { "@type": "ServiceHours", "@id": "3654/delivery", "orderType": "ADVANCE", "serviceId": "10824/delivery", "opens": "T09:00", "closes": "T23:00", "isSpecialHour": false, "advanceBookingRequirementMin": 30, "advanceBookingRequirementMax": 8640, "advanceBookingSlotInterval": "PT15M" } { "@type": "Fee", "@id": "28427", "serviceId": "10824/delivery", "feeType": "DELIVERY", "priceCurrency": "AUD", "price": 0.00, "eligibleTransactionVolumeMin": 30 } { "@type": "Fee", "@id": "4326", "serviceId": "10824/delivery", "feeType": "DELIVERY", "priceCurrency": "AUD", "price": 5.00, "eligibleTransactionVolumeMax": 29.99 } { "@type": "Fee", "@id": "5432", "serviceId": "10824/delivery", "feeType": "DELIVERY", "priceCurrency": "AUD", "percentageOfCart": 3.00 }
रेस्टोरेंट में अलग-अलग तरह की सेवा शुल्क की सुविधा उपलब्ध हो.
इस उदाहरण में, कम से कम 3,000 रुपये के ऑर्डर पर सेवा शुल्क नहीं लिया जाता.इसके अलावा, कम से कम ऑर्डर के बिना 100 रुपये का तय सेवा शुल्क लिया जाता है.साथ ही, कार्ट में मौजूद कुल रकम पर 2% का सेवा शुल्क लिया जाता है. ऑर्डर और सेवा के लिए, पिकअप के समय सुबह 9 बजे से रात 11 बजे तक हैं. पिकअप के लिए, कम से कम एक घंटा और ज़्यादा से ज़्यादा 90 मिनट इंतज़ार करना पड़ सकता है.
उपयोगकर्ता, डिलीवरी के ऑर्डर सिर्फ़ 15 मिनट के अंतराल पर पहले से डाल सकते हैं (उदाहरण के लिए, दोपहर 2:00 बजे, दोपहर 2:15 बजे, दोपहर 2:30 बजे).
{ "@type": "Service", "@id": "10824/takeout", "serviceType": "TAKEOUT", "menuId": "10824", "restaurantId": "10824" } { "@type": "OperationHours", "@id": "427/takeoutOh", "serviceId": "10824/takeout", "opens": "T09:00", "closes": "T23:00" } { "@type": "ServiceHours", "@id": "613741/takeout", "orderType": "ASAP", "serviceId": "10824/takeout", "opens": "T09:00", "closes": "T23:00", "isSpecialHour": false, "leadTimeMin": 60, "leadTimeMax": 90 } { "@type": "ServiceHours", "@id": "3654/takeout", "orderType": "ADVANCE", "serviceId": "10824/takeout", "opens": "T09:00", "closes": "T23:00", "isSpecialHour": false, "advanceBookingRequirementMin": 30, "advanceBookingRequirementMax": 8640, "advanceBookingSlotInterval": "PT15M" } { "@type": "Fee", "@id": "28427", "serviceId": "10824/takeout", "feeType": "SERVICE", "priceCurrency": "AUD", "price": 0.00, "percentageOfCart": 2.00, "eligibleTransactionVolumeMin": 30 } { "@type": "Fee", "@id": "4326", "serviceId": "10824/takeout", "feeType": "SERVICE", "priceCurrency": "AUD", "price": 1.00, "percentageOfCart": 2.00, "eligibleTransactionVolumeMax": 29.99 }
डाइनैमिक डिलीवरी शुल्क
यहां दिए गए उदाहरणों में, डिलीवरी सेवा के लिए शुल्क तय करने का तरीका बताया गया है. यह शुल्क, देश/इलाके, दिन के समय, और आइटम की संख्या जैसे अलग-अलग फ़ैक्टर पर निर्भर करता है.
इस्तेमाल का उदाहरण | सबसे सही तरीका |
---|---|
इस्तेमाल का पहला उदाहरण: क्षेत्र और दूरी के हिसाब से डिलीवरी शुल्क | क्षेत्र की जानकारी देने के लिए,
Fee की eligibleRegion प्रॉपर्टी का इस्तेमाल करें. साथ ही, कीमत की जानकारी देने के लिए,
price और
priceCurrency प्रॉपर्टी का इस्तेमाल करें. |
इस्तेमाल का दूसरा उदाहरण: समय के हिसाब से डिलीवरी शुल्क | डिलीवरी शुल्क के मान्य होने का समय बताने के लिए, Fee की validFrom और validThrough प्रॉपर्टी का इस्तेमाल करें. |
इस्तेमाल का तीसरा उदाहरण: तय रकम से ज़्यादा के ऑर्डर पर मुफ़्त डिलीवरी की सुविधा | डिलीवरी की कीमत के साथ जुड़ी, कार्ट की कम से कम और ज़्यादा से ज़्यादा वैल्यू बताने के लिए, Fee की eligibleTransactionVolumeMin और
eligibleTransactionVolumeMax प्रॉपर्टी का इस्तेमाल करें. |
यहां दिए गए सैंपल में, 94087 पिन कोड वाले इलाके के लिए डिलीवरी शुल्क 500 रुपये और अन्य इलाकों के लिए 200 रुपये है.
{ "@type": "Fee", "@id": "4326", "serviceId": "10824/delivery", "feeType": "DELIVERY", "priceCurrency": "USD", "price": 5.00, "eligibleRegion": "28427" } { "@type": "ServiceArea", "@id": "28427", "serviceId": "10824/delivery", "postalCode": 94087, "addressCountry": "US" } { "@type": "Fee", "@id": "5432", "serviceId": "10824/delivery", "feeType": "DELIVERY", "priceCurrency": "USD", "price": 2.00 }
यहां दी गई सेवा के लिए, 1 जनवरी, 2017 से 1 फ़रवरी, 2017 तक डिलीवरी शुल्क 20 डॉलर और किसी भी अन्य समय 10 डॉलर लिया जाता है.
{ "@type": "Fee", "@id": "4326", "serviceId": "10824/delivery", "feeType": "DELIVERY", "priceCurrency": "USD", "price": 10.00 } { "@type": "Fee", "@id": "5432", "serviceId": "10824/delivery", "feeType": "DELIVERY", "priceCurrency": "USD", "price": 20.00, "validFrom": "2017-01-01T00:00:00-07:00", "validThrough": "2017-02-01T00:00:00-07:00" }
इस सेवा के तहत, 1,000 रुपये तक के ऑर्डर के लिए डिलीवरी शुल्क 100 रुपये लिया जाता है. इसके अलावा, कोई और शुल्क नहीं लिया जाता.
{ "@type": "Fee", "@id": "4326", "serviceId": "10824/delivery", "feeType": "DELIVERY", "priceCurrency": "USD", "price": 10.00, "eligibleTransactionVolumeMax": 99.99 } { "@type": "Fee", "@id": "5432", "serviceId": "10824/delivery", "feeType": "DELIVERY", "priceCurrency": "USD", "price": 0.00, "eligibleTransactionVolumeMin": 100 }
डिलीवरी सेवा देने के इलाके
नीचे दिए गए उदाहरणों में, डिलीवरी सेवा के लिए उपलब्ध इलाकों की जानकारी देने का तरीका बताया गया है.
इस्तेमाल का उदाहरण | सबसे सही तरीका |
---|---|
इस्तेमाल का पहला उदाहरण: सेवा देने के इलाके की जानकारी |
|
इस्तेमाल का दूसरा उदाहरण: आपके पास पॉलीगॉन के तौर पर सेवा देने की सुविधा है. | |
तीसरा उदाहरण: आपके पास सेवा देने का एक इलाका है, लेकिन आपने उसमें किसी छोटे इलाके में सेवा देने की जानकारी नहीं दी है. | |
इस्तेमाल का चौथा उदाहरण: आपके पास सेवा देने के लिए एक से ज़्यादा इलाके हैं. | सेवा देने के इलाकों की जानकारी देने के लिए, एक से ज़्यादा ServiceArea
इकाइयां बनाएं. |
रेस्टोरेंट, डिलीवरी की सेवा देने वाले अलग-अलग इलाकों में डिलीवरी करता हो. सेवा देने के इलाकों को, कई आकार में दिखाया जा सकता है. जैसे, पॉलीगॉन, ज़िप कोड या सर्कल.
{ "@type": "Service", "@id": "10824/delivery", "serviceType": "DELIVERY", "menuId": "10824", "restaurantId": "10824" } { "@type": "ServiceArea", "@id": "28427", "serviceId": "10824/delivery", "polygon": ["-20.728777 116.804256 -20.736323 116.8161 -20.722997 116.86468 -20.725406 116.871547 -20.736323 116.873607 -20.7474 116.816444 -20.756871 116.819877 -20.757673 116.788291 -20.740497 116.786403"] } { "@type": "ServiceArea", "@id": "28427", "serviceId": "10824/delivery", "postalCode": 6714, "addressCountry": "AU" } { "@type": "ServiceArea", "@id": "28427", "serviceId": "10824/delivery", "geoMidpointLatitude": -20.733575, "geoMidpointLongitude": 116.844931, "geoRadius": 1000 } { "@type": "OperationHours", "@id": "427/deliveryOh", "serviceId": "10824/delivery", "opens": "T09:00", "closes": "T23:00" } { "@type": "ServiceHours", "@id": "613741/delivery", "orderType": "ASAP", "serviceId": "10824/delivery", "opens": "T09:00", "closes": "T23:00", "isSpecialHour": false, "leadTimeMin": 60, "leadTimeMax": 90 } { "@type": "ServiceHours", "@id": "3654/delivery", "orderType": "ADVANCE", "serviceId": "10824/delivery", "opens": "T09:00", "closes": "T23:00", "isSpecialHour": false, "advanceBookingRequirementMin": 30, "advanceBookingRequirementMax": 8640, "advanceBookingSlotInterval": "PT15M" } { "@type": "Fee", "@id": "4326", "serviceId": "10824/delivery", "feeType": "DELIVERY", "priceCurrency": "AUD", "price": 5.00 }

{ "@type": "ServiceArea", "@id": "28427", "serviceId": "10824/delivery", "polygon": ["37.806000 -122.425592 37.775849 -122.419043 37.795547 -122.394046 37.808747 -122.412619"] }
पॉलीगॉन लूप दिखाने वाली स्ट्रिंग की सूची पास करें. ServiceArea
की polygon
प्रॉपर्टी में शामिल नहीं किए गए इलाकों को शामिल करें.
Food Ordering, ओवरलैप होने वाले इलाकों को बाहर रखे गए इलाकों के तौर पर समझता है.

{ "@type": "ServiceArea", "@id": "28427", "serviceId": "10824/delivery", "polygon": ["37.771535 -122.506881 37.764289 -122.506669 37.766497 -122.453058", "37.791707 -122.447987 37.746676 -122.449433 37.736150 -122.505944 37.780924 -122.509729"] }

{ "@type": "ServiceArea", "@id": "28427", "serviceId": "10824/delivery", "polygon": ["37.785847 -122.484851 37.772757 -122.483983 37.774442 -122.458563 37.786876 -122.459474"] } { "@type": "ServiceArea", "@id": "4356", "serviceId": "10824/delivery", "polygon": ["37.774804 -122.454774 37.766224 -122.452881 37.769087 -122.436043 37.773087 -122.437417"] }
इकाइयों को मिटाना और बंद करना
अपनी सेवा से उन इकाइयों को हटाया जा सकता है जिन्हें अब आपको Google के ज़रिए उपयोगकर्ताओं को नहीं दिखाना है. यह तरीका तब काम आता है, जब आपको Google को यह बताना हो कि कोई रेस्टोरेंट या सेवा हमेशा के लिए या कुछ समय के लिए बंद हो गई है.
इकाइयों को हटाना
किसी इकाई को हटाने के लिए, उसे अपने फ़ीड से मिटाएं. इसके लिए, दो घंटे का एसएलए लागू होता है. किसी इकाई को फिर से शामिल करने के लिए, उसे अपने फ़ीड में फिर से जोड़ें.
सेवा इकाइयों को कुछ समय के लिए हटाना
किसी Service
इकाई को कुछ समय के लिए या फिर तय समय के लिए भी बंद किया जा सकता है.
किसी खास समयावधि के लिए, ऑर्डर करने की सुविधा को बंद करना तब फ़ायदेमंद होता है, जब आपको उपयोगकर्ताओं को पहले से ऑर्डर करने की सुविधा देनी हो, लेकिन किसी तय समयावधि (जैसे, छुट्टियों के दौरान) के लिए, तुरंत ऑर्डर करने की सुविधा बंद करनी हो.
अगर आपको उपयोगकर्ताओं को किसी तय तारीख तक, पहले से और तुरंत दोनों तरह के ऑर्डर देने की सुविधा बंद करनी है, तो किसी तय समयावधि के लिए Service
इकाई को बंद करना मददगार हो सकता है.
किसी सेवा को कुछ समय के लिए बंद करने के लिए, फ़ीड फ़ाइलों को अपडेट करना होता है. यह ठीक वैसा ही होता है जैसे हमेशा के लिए हटाने के लिए किया जाता है.
पहले से तय की गई समयावधि के दौरान, Service
के लिए कारोबार के खुले होने का समय बंद करने या बदलने के लिए, यहां दी गई तकनीकों का इस्तेमाल करें.
किसी
Service
इकाई को कुछ समय के लिए निलंबित करने के लिए, पहले से तय की गई समयावधि (उदाहरण के लिए, छुट्टी के दिन) का इस्तेमाल करें. इसके लिए,OperationHours
औरServiceHours
इकाइयों का इस्तेमाल करें.true
के लिएisSpecialHour
एट्रिब्यूट के साथ, नई ServiceHours इकाई बनाएं.validFrom
औरvalidThrough
एट्रिब्यूट की वैल्यू सबमिट करना ज़रूरी है, ताकि यह बताया जा सके कि खास समय के दौरान कारोबार कब खुला रहता है.opens
औरcloses
के समय को "00:00" पर सेट करें. खास समयावधि की इकाई कीvalidFrom
औरvalidThrough
वैल्यू के बाहर होने पर, सेवा अपने-आप फिर से शुरू हो जाएगी. इसके लिए, सामान्य समयावधि की इकाई के घंटों का इस्तेमाल किया जाएगा.ServiceHours
{ "@type":"ServiceHours", "@id":"delivery_1_service_hours_holiday", "orderType":"ASAP", "serviceId":"delivery_1", "operationHoursId":"delivery_1_op_hours", "opens":"00:00", "closes":"00:00", "validFrom":"2022-12-25T00:00:00-05:00", "validThrough":"2022-12-26T00:00:00-05:00", "leadTimeMin":"20", "leadTimeMax":"20", "isSpecialHour":true }
किसी
Service
इकाई को कुछ समय के लिए हटाने के लिए, उसकीisDisabled
प्रॉपर्टी को "सही" पर सेट करें. इसे फिर से चालू करने के लिए, अपनी इकाई से प्रॉपर्टी हटाएं या वैल्यू को "गलत" पर सेट करें.ध्यान दें कि
isDisabled
प्रॉपर्टी का इस्तेमाल सिर्फ़ तब करें, जब आपको यह पता न हो कि सेवा कब फिर से चालू होगी. उदाहरण के लिए, इसका इस्तेमाल अचानक होने वाली घटनाओं के लिए करें और छुट्टियों के लिए इसका इस्तेमाल न करें).