मेन्यू
मेन्यू इकाई उस मेन्यू के बारे में बताती है जो रेस्टोरेंट अपने ग्राहकों को ऑफ़र करता है. रेस्टोरेंट की menuId
प्रॉपर्टी के ज़रिए, रेस्टोरेंट इकाई में मेन्यू की इकाई बताई जानी चाहिए.
मेन्यू बताने वाले दूसरे ऑब्जेक्ट (जैसे ब्यौरा, इमेज, ऐड-ऑन,
पोषण की जानकारी) में MenuItem
और MenuItemOffer
के साथ-साथ
वैकल्पिक ऑब्जेक्ट MenuSection
, Availability
, और MenuItemOption
शामिल होते हैं.
मेन्यू के सेक्शन
आप MenuSection
ऑब्जेक्ट का इस्तेमाल करके, एक से ज़्यादा MenuItem
ऑब्जेक्ट को लॉजिकल कैटगरी में
व्यवस्थित कर सकते हैं. यह तरीका उन रेस्टोरेंट के लिए फ़ायदेमंद है जिनमें कई मेन्यू (जैसे, नाश्ता, दोपहर का खाना और रात का खाना) होते हैं. हर मेन्यू को अलग MenuSection
के तौर पर जोड़ें.
इस्तेमाल के बारे में जानकारी | सबसे सही तरीका |
---|---|
इस्तेमाल का पहला उदाहरण: बुनियादी मेन्यू | MenuItem , MenuItemOffer , और
MenuSection इस्तेमाल करें (ज़रूरी नहीं) |
नीचे दिया गया उदाहरण, "सामान्य मेन्यू" के इस्तेमाल के उदाहरण से मेल खाता है. इसमें मेन्यू के दो सेक्शन ("पूरे दिन का खाना" और "ड्रिंक") दिए गए हैं. हर सेक्शन में दो मेन्यू आइटम मौजूद हैं:
JSON
{ "@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" }
सीमित समय वाला मेन्यू
सीमित समय वाले मेन्यू आइटम और मेन्यू आइटम के विकल्प बनाने के लिए, Availability
के साथ MenuItemOffer
ऑब्जेक्ट का इस्तेमाल किया जा सकता है. इसके बजाय, सीमित समय वाले मेन्यू सेक्शन बनाने के लिए, Availability
ऑब्जेक्ट का इस्तेमाल करें.
इस्तेमाल के बारे में जानकारी | सबसे सही तरीका |
---|---|
इस्तेमाल का पहला उदाहरण: सीमित समयसीमा वाला मेन्यू सेक्शन | सेक्शन के
availabilityStarts और availabilityEnds
का समय बताने के लिए, Availability का इस्तेमाल करें. |
इस्तेमाल का दूसरा उदाहरण: सीमित समय वाला मेन्यू आइटम | यह बताने के लिए कि ऑफ़र किस MenuItem से जुड़ा है, MenuItemOffer के menuItemId का इस्तेमाल करें. ऑफ़र
के
availabilityStarts , availabilityEnds , और
availabilityDay कोड> का समय बताने के लिए,
Availability का इस्तेमाल करें. |
इस्तेमाल का तीसरा उदाहरण: मल्टी-ऑफ़र मेन्यू आइटम | MenuItemOffer की menuItemId प्रॉपर्टी का इस्तेमाल करें और
कीमत के मान्य रहने का समय बताने के लिए, availabilityId प्रॉपर्टी को सेट करें. |
JSON
सामान्य सुविधाओं वाला मेन्यू, जिसमें "पूरे दिन का खाना", "लंच", और "ड्रिंक" जैसे सेक्शन हैं.
मेन्यू में तीन सेक्शन होते हैं. "लंच (सुबह 11:30 बजे से दोपहर 2:30 बजे तक)"
सेक्शन सिर्फ़ सुबह 11:30 बजे से दोपहर 2:30 बजे तक उपलब्ध होगा, जैसा कि
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": "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" }
JSON
सामान्य सुविधाओं वाला मेन्यू, जिसमें "पूरे दिन का खाना", "लंच", और "ड्रिंक" जैसे सेक्शन हैं.
मेन्यू में तीन सेक्शन होते हैं. "लंच (सुबह 11:30 बजे से दोपहर 2:30 बजे तक)"
सेक्शन सिर्फ़ सुबह 11:30 बजे से दोपहर 2:30 बजे तक उपलब्ध होगा, जैसा कि
Availability
ऑब्जेक्ट में बताया गया है. मेन्यू आइटम "Bibimbap" सिर्फ़ दोपहर 12:00 बजे से दोपहर 1:00 बजे तक उपलब्ध होता है, जैसा कि Availability
के मुताबिक इससे जुड़े MenuItemOffer
ऑब्जेक्ट में बताया गया है.
{ "@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" }
JSON
ऐसे मेन्यू आइटम जिनकी कीमत और समय के हिसाब से ऑफ़र अलग-अलग होते हैं.
मेन्यू में दो सेक्शन होते हैं. मेन्यू आइटम "पास्ता" में दो 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 ऑब्जेक्ट का इस्तेमाल करें. |
JSON
इस उदाहरण में, "कैपुचिनो" मेन्यू आइटम को स्ट्रॉ विकल्प के साथ पसंद के मुताबिक बनाया जा सकता है.
"पूरे दिन का खाना" मेन्यू सेक्शन में, "मेडिटरेनियन बेगल" आइटम के लिए एक और ऐड-ऑन विकल्प मौजूद है. साथ ही, अंडे वाले दो ऐड-ऑन विकल्प भी मौजूद हैं.
एक ही मेन्यू सेक्शन में मौजूद "Club Bayel" आइटम में, वैसे ही अतिरिक्त ऐड-ऑन उपलब्ध हैं. साथ ही, एक "एग ऑप्शन" ऐड-ऑन भी उपलब्ध है. इसमें अंडा भी मिलता है.
ड्रिंक सेक्शन में, "दूध" के ऐड-ऑन और "स्ट्रॉ विकल्प" ऐड-ऑन के साथ एक आइटम उपलब्ध है.
{ "@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 }
JSON
इस उदाहरण में, "क्लब बेगल" मेन्यू आइटम को चोरीज़ो और स्क्रैंबल किए गए अंडे के विकल्प के साथ पहले से चुना गया है. Chorizo और चिली सॉस, डिफ़ॉल्ट "एक्स्ट्रा" ऐड-ऑन हैं. और स्क्रैंबल किया हुआ एग, इसका डिफ़ॉल्ट "Egg Option" ऐड-ऑन है.
{ "@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 }
JSON
इस उदाहरण में एक कॉम्बो मील शामिल है जिसमें बर्गर, फ़्राइज़, और एक ड्रिंक शामिल है. खाने के हर आइटम को अपनी पसंद के मुताबिक बनाने के लिए, अलग-अलग टॉपिंग और ऐड-ऑन का इस्तेमाल किया जा सकता है.
कॉम्बो मील आइटम में 1 बर्गर, 1 फ़्राइज़, और एक ड्रिंक होती है जिसे उपयोगकर्ता चुनना चाहते हैं. बर्गर के दो विकल्प हैं और हर एक में दो ऐड-ऑन सेक्शन हैं: "रेसिपी" (दो मेन्यू आइटम, उपयोगकर्ता के लिए एक भी विकल्प चुनना ज़रूरी है) और "अतिरिक्त" (तीन मेन्यू आइटम, उपयोगकर्ता को शून्य से तीन विकल्प चुनने होंगे).
{ "@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 }
मेन्यू आइटम के विकल्पों का इस्तेमाल करके पसंद के मुताबिक बनाएं
आपके पास MenuItem
के लिए कई विकल्प देने का विकल्प होता है. इसके लिए, आपको MenuItemOption
की menuItemId
प्रॉपर्टी में इसे शामिल करना होगा.
उदाहरण के लिए, अगर पिज़्ज़ा अलग-अलग साइज़ में उपलब्ध है, तो हर साइज़ के लिए MenuItemOption
बनाया जा सकता है. साथ ही, हर MenuItemOption
के लिए menuItemId
प्रॉपर्टी में, पिज़्ज़ा मेन्यू आइटम का रेफ़रंस दिया जा सकता है.
इस्तेमाल के बारे में जानकारी | सबसे सही तरीका |
---|---|
इस्तेमाल का पहला उदाहरण: अलग-अलग साइज़ के पिज़्ज़ा | MenuItemOption और MenuItemOffer का इस्तेमाल करें |
इस्तेमाल का दूसरा उदाहरण: अलग-अलग टॉपिंग और साइज़ में पसंद के मुताबिक बनाया जा सकने वाला पिज़्ज़ा | पिज़्ज़ा के साइज़ के हिसाब से टॉपिंग की कीमतों को बदलने के लिए, MenuItemOption और MenuItemOffer का इस्तेमाल करें. |
इस्तेमाल का तीसरा उदाहरण: पसंद के मुताबिक बनाया जा सकने वाला पिज़्ज़ा, जिसके बाएं और दाएं हिस्से के बीच अंतर है | पिज़्ज़ा की साइड बताने के लिए MenuItemOption की value प्रॉपर्टी का इस्तेमाल करें. हर पिज़्ज़ा की कीमत बताने के लिए, MenuItemOffer की price और
priceCurrency प्रॉपर्टी का इस्तेमाल करें. |
NDJSON
पिज़्ज़ा तीन अलग-अलग साइज़ के हैं और इसका इस्तेमाल करने वाले को चुनना होगा. हर साइज़ की कीमत अलग-अलग होती है.
हवायन पिज़्ज़ा की कीमत छोटे साइज़ के पिज़्ज़ा के लिए 10 डॉलर, मीडियम के लिए 15 डॉलर, और बड़े पिज़्ज़ा के लिए 20 डॉलर है.
{"@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"}
NDJSON
पिज़्ज़ा की टॉपिंग की कीमतें, पिज़्ज़ा के साइज़ के हिसाब से अलग-अलग होती हैं.
Pepperoni Pizza के लिए, एक छोटे साइज़ के लिए 10 डॉलर, मीडियम के लिए 15 डॉलर, और बड़े साइज़ के लिए 20 डॉलर खर्च करते हैं. बीफ़ सलामी की टॉपिंग एक छोटे कद के लिए 1.00 डॉलर, मीडियम साइज़ के लिए 1.50 डॉलर, और बड़े छोटे साइज़ के लिए 2 डॉलर है.
{"@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"}
NDJSON
पिज़्ज़ा की टॉपिंग को बाकी के आधे, दाएं हिस्से या पूरे पिज़्ज़ा में जोड़ा जा सकता है. पिज़्ज़ा के साइज़ के हिसाब से कीमतें अलग-अलग होती हैं. साथ ही, यह इस बात पर भी निर्भर करता है कि टॉपिंग कहां पर है.
एक छोटे Pepperoni पिज़्ज़ा के लिए $10.00, मीडियम के लिए $15.00 और बड़े के लिए $20.00 का इस्तेमाल किया जाता है. पिज़्ज़ा में दो टॉपिंग (बीफ़ सलामी और मोज़रेला) होती हैं. एक छोटे पिज़्ज़ा की बाईं और दाईं ओर की एक टॉपिंग एक 1.00 डॉलर वहीं पूरे छोटे पिज़्ज़ा के लिए 0.50 डॉलर है. मीडियम पिज़्ज़ा की बाईं और दाईं ओर की टॉपिंग की कीमत 1.50 डॉलर है, लेकिन मीडियम साइज़ के पिज़्ज़ा के लिए 1.00 डॉलर. एक बड़े पिज़्ज़ा के लिए, बाईं और दाईं ओर से एक साइड पर टॉपिंग की कीमत 2.00 डॉलर है, लेकिन पूरे बड़े पिज़्ज़ा के लिए 1.50 डॉलर.
{"@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 प्रॉपर्टी का इस्तेमाल करें. |
JSON
नीचे दी गई सेवा का नमूना, 1 फ़रवरी, 2016 से 1 मार्च, 2016 तक हर दिन सुबह 8 बजे से शाम 6 बजे तक ऑर्डर स्वीकार करता है (नया ऑर्डर 5:59:59 बजे तक किया जा सकता है) और यह सेवा कम से कम 1 घंटे और ज़्यादा से ज़्यादा 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 और
OperationHours की
isSpecialHour प्रॉपर्टी का इस्तेमाल करें |
इस्तेमाल का दूसरा उदाहरण: पिकअप के समय का कॉन्फ़िगरेशन | जल्द से जल्द ऑर्डर के लिए, ServiceHours की leadTimeMin और leadTimeMax प्रॉपर्टी
इस्तेमाल करें. पहले से ऑर्डर करने के लिए,
OperationHours का इस्तेमाल करें. छुट्टियों के सीज़न में
पिकअप करने और ऑर्डर करने की खास समयावधि के लिए,
ServiceHours और
OperationHours की isSpecialHour प्रॉपर्टी का
इस्तेमाल करें. |
JSON
रेस्टोरेंट, डिलीवरी की सुविधा के लिए जल्द से जल्द ऑर्डर स्वीकार करता है. साथ ही, छुट्टी के दिन खास डिलीवरी देने की सुविधा भी उपलब्ध है.
इस उदाहरण में, उपयोगकर्ता किसी भी समय ऑनलाइन ऑर्डर कर सकते हैं. वीकडे में डिलीवरी का समय सुबह 9 बजे से रात 11 बजे तक है. वीकेंड में डिलीवरी का समय सुबह 9 बजे से रात 9 बजे तक है. खास तौर पर 24 दिसंबर, 2019 को, डिलीवरी का समय सुबह 9 बजे से शाम 4 बजे तक है. इस सेवा के तहत, आपको कम से कम एक घंटे और ज़्यादा से ज़्यादा 90 मिनट इंतज़ार करना होगा.
उपयोगकर्ता छह दिन पहले से (8640 मिनट) से लेकर 1 घंटे पहले तक ऑर्डर दे सकते हैं. ऐसा 24 दिसंबर, 2019 को छोड़कर किसी भी दिन किया जा सकता है. उपयोगकर्ता सिर्फ़ 15 मिनट पहले डिलीवरी के लिए ऑर्डर कर सकते हैं. उदाहरण के लिए, रात 8 बजे, रात 8:15 बजे, रात 8:30 बजे. डिलीवरी सेवा, कोड में बताए गए पॉलीगॉन वाले इलाके में दी जाती है. साथ ही, उपयोगकर्ता से डिलीवरी के लिए 5 डॉलर का शुल्क लिया जाता है.
{ "@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 }
JSON
रेस्टोरेंट, पिकअप की सेवा के लिए जल्द से जल्द ऑर्डर ले लेता है. साथ ही, छुट्टी के दिन पिकअप करने की खास अवधि के साथ भी इसका इस्तेमाल किया जा सकता है.
इस उदाहरण में, लोग सेवा का समय शुरू होने से दो घंटे पहले ऑनलाइन ऑर्डर कर सकते हैं. वीकडे के दौरान पिकअप का समय सुबह 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 प्रॉपर्टी को “सही” पर सेट करें). |
JSON
इस उदाहरण से पता चलता है कि यह सेवा क्रिसमस के दिन ऑर्डर वाले दिन ही ऑर्डर करने के लिए खुली रहती है. हालांकि, इस सेवा को उस दिन के लिए पहले से शेड्यूल किए गए ऑर्डर के लिए बंद कर दिया जाता है. रेस्टोरेंट, पिकअप की सेवा के लिए जल्द से जल्द ऑर्डर ले लेता है.
सामान्य तौर पर पिकअप करने का समय, सुबह 9 बजे से रात 9 बजे के बीच है. साथ ही, साल 2017 के क्रिसमस से पहले, पिकअप का समय सुबह 9 से शाम 4 बजे तक है. इसमें ऑर्डर और सर्विस, दोनों के खुले होने का समय शामिल है. पिकअप में कम से कम 1 घंटा और ज़्यादा से ज़्यादा 90 मिनट इंतज़ार करना पड़ सकता है. उपयोगकर्ता किसी भी दिन, 2 दिन पहले (2880 मिनट) से लेकर 30 मिनट पहले तक ऑर्डर दे सकते हैं. हालांकि, वे ऑर्डर वाले दिन या समय (जैसे कि क्रिसमस, 4 जुलाई, और क्रिसमस से पहले शाम 4 बजे के बाद) ऑर्डर नहीं कर सकते. लोग सिर्फ़ 15 मिनट पहले से पिक अप के लिए ऑर्डर दे सकते हैं. उदाहरण के लिए, दोपहर 2:00 बजे, दोपहर 2:15 बजे, दोपहर 2:30 बजे.
उपयोगकर्ता, पिक अप के लिए कोई शुल्क नहीं लेता है. यह उदाहरण, इन स्थितियों में काम करता है:
- उपयोगकर्ता 25 दिसंबर को ऑर्डर वाले दिन ही डिलीवरी कर सकते हैं.
- लोग 27 दिसंबर को डिलीवरी शेड्यूल करने के लिए, 25 दिसंबर को पहले से ऑर्डर कर सकते हैं.
- लोग 25 दिसंबर को डिलीवरी शेड्यूल करने के लिए, 22 दिसंबर से पहले ऑर्डर नहीं कर सकते.
- उपयोगकर्ता 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 इकाई का इस्तेमाल करें. |
JSON
रेस्टोरेंट में अलग-अलग तरह का डिलीवरी शुल्क लिया जाता है.
इस उदाहरण में, ऑर्डर की कम से कम 30 डॉलर की मुफ़्त डिलीवरी, ऑर्डर की कम से कम रकम के बिना 5.00 डॉलर का तय डिलीवरी शुल्क, और कार्ट की कुल रकम का 3% प्रतिशत शुल्क लिया जाता है. डिलीवरी के घंटे (इसमें ऑर्डर और सेवा, दोनों का समय शामिल है) सुबह 9 से रात 11 बजे तक है. डिलीवरी में कम से कम एक घंटा और ज़्यादा से ज़्यादा 90 मिनट तक इंतज़ार करना पड़ सकता है.
उपयोगकर्ता किसी भी दिन, पहले से छह दिन (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 }
JSON
रेस्टोरेंट में कई तरह के सेवा शुल्क लिए जा सकते हैं.
इस उदाहरण में, ऑर्डर के लिए कम से कम 30 डॉलर का सेवा शुल्क लिया जाता है.ऑर्डर की कुल कीमत के बिना एक डॉलर का सेवा शुल्क तय होता है.साथ ही, कार्ट की कुल रकम का 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 प्रॉपर्टी का इस्तेमाल करें. |
JSON
नीचे दिए गए सेवा के नमूने के लिए, 94087 पिन कोड में 5.00 डॉलर और अन्य इलाकों के लिए 2.00 डॉलर का शुल्क लिया जाता है.
{ "@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 }
JSON
नीचे दी गई सेवा का नमूना, 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" }
JSON
नीचे दी गई सेवा, 100 डॉलर तक के ऑर्डर पर डिलीवरी शुल्क के तौर पर 10 डॉलर लेती है. इसके अलावा, डिलीवरी शुल्क नहीं लिया जाता.
{ "@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
इकाइयां बनाएं. |
JSON
रेस्टोरेंट, सेवा देने के अलग-अलग इलाकों में डिलीवरी की सुविधा देता है. सेवा देने के इलाके को पॉलीगॉन के आकार, पिन कोड या सर्कल से तय किया जा सकता है.
{ "@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 }
JSON
{ "@type": "ServiceArea", "@id": "28427", "serviceId": "10824/delivery", "polygon": ["37.806000 -122.425592 37.775849 -122.419043 37.795547 -122.394046 37.808747 -122.412619"] }
JSON
पॉलीगॉन लूप को दिखाने वाली स्ट्रिंग की सूची पास करें. ServiceArea
की polygon
प्रॉपर्टी में शामिल नहीं की गई जगहों को शामिल करें.
फ़ूड ऑर्डरिंग में ओवरलैप होने वाली जगहों को बाहर रखे गए इलाकों के तौर पर माना जाता है.
{ "@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"] }
JSON
{ "@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" पर सेट करें. यह सेवा, सामान्य घंटोंServiceHours
इकाई के साथ मिलने वाले घंटों के बाद अपने-आप फिर से शुरू हो जाएगी. हालांकि, यह सेवा विशेष घंटों की इकाई केvalidFrom
औरvalidThrough
की वैल्यू के अलावा, एक बार नहीं होगी.{ "@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
प्रॉपर्टी को "true" पर सेट करें. फिर से चालू करने के लिए, अपनी इकाई से प्रॉपर्टी हटाएं या वैल्यू को "गलत" पर सेट करें.ध्यान दें कि आपको
isDisabled
प्रॉपर्टी का इस्तेमाल सिर्फ़ तब करना चाहिए, जब आपको पता न हो कि सेवा फिर से कब चालू होगी. उदाहरण के लिए, इसका इस्तेमाल अनचाहे इवेंट के लिए करें और छुट्टियों के लिए इसका इस्तेमाल न करें.