v1 ইনভেন্টরি স্কিমা

খাদ্য ক্যাটালগ ফিড schema.org DataFeed সত্তার উপর ভিত্তি করে। একটি খাদ্য ক্যাটালগ ফিডে রেস্তোরাঁর লোকেলের বিবরণ যেমন রেস্তোরাঁর ঠিকানা, মেনু এবং অবস্থান, সেইসাথে একটি রেস্তোরাঁর পরিষেবার বিবরণ যেমন ডেলিভারি চার্জ, ডেলিভারি এলাকা এবং নীচে উল্লেখ করা অন্যান্য আইটেম থাকে৷

একটি DataFeed উপাদানগুলির একটি সংগ্রহ ধারণ করে, প্রতিটি schema.org শব্দভাণ্ডারে প্রকাশ করা একটি একক আইটেমের প্রতিনিধিত্ব করে৷ JSON-LD ফর্ম্যাটে আপনার সমস্ত স্ট্রাকচার্ড ডেটা প্রকাশ করতে আপনি DataFeed প্রকার ব্যবহার করতে পারেন।

আপনার ফিড তৈরি করতে এই স্পেসিফিকেশন ব্যবহার করার তথ্যের জন্য, ইনভেন্টরি ইন্টিগ্রেশন ওভারভিউ দেখুন।

তারিখ সময় এবং সময় বিন্যাস

DateTime schema.org প্রকারের উপর ভিত্তি করে এবং, অন্যথায় বলা না থাকলে, অবশ্যই ISO 8601 ফর্ম্যাট অনুসরণ করতে হবে এবং তারিখ, সময় এবং সময় অঞ্চল অন্তর্ভুক্ত করতে হবে। DateTime এর জন্য নিম্নলিখিত সিনট্যাক্স ব্যবহার করুন:

// DateTime format:
YYYY-MM-DDTHH:MM:SS[∓HH:MM|Z]

উদাহরণ স্বরূপ:

2017-05-01T06:30:00-07:00 // UTC minus 7 hours
2017-05-01T06:30:00Z  // UTC time zone. The optional "Z" suffix represents the UTC time zone.

Time হল একটি প্রদত্ত রেস্তোরাঁ বা পরিষেবার অবস্থানের সময় অঞ্চলের স্থানীয় সময়, এটি schema.org প্রকারের উপর ভিত্তি করে এবং অবশ্যই ISO 8601 ফর্ম্যাট অনুসরণ করতে হবে৷ সময় নিম্নলিখিত সিনট্যাক্স ব্যবহার করে:

// Time format:
THH:MM:SS

উদাহরণ স্বরূপ:

T08:08:00 // 8:08 AM

আপনি যখনই একটি DateTime বা Time নির্দিষ্ট করেন তখন নিম্নলিখিতটি নোট করুন:

  • সময়ের আগে "T" উপসর্গটি বিন্যাসের অংশ এবং প্রয়োজন।
  • DATETIME এর জন্য টাইম জোন অবশ্যই নির্দিষ্ট করতে হবে। এটি TIME এর জন্য প্রয়োজন হয় না।
  • রেস্টুরেন্ট বা পরিষেবার জন্য স্থানীয় সময় নির্দিষ্ট করতে হবে।

খাম

যেকোনো খাদ্য ক্যাটালগ ফিডের জন্য শুরুর কোডে একটি "খাম" বিভাগ থাকা উচিত।

"খাম" হল প্রতিটি ফিডের শীর্ষ-স্তরের কাঠামো, এবং নিম্নলিখিত বৈশিষ্ট্যগুলির সাথে একটি DataFeed হতে হবে:

সম্পত্তি টাইপ প্রয়োজনীয়তা বর্ণনা
@context URL প্রয়োজন ব্যবহারের প্রেক্ষাপট; সাধারণত "http://schema.googleapis.com"।
@type পাঠ্য প্রয়োজন এটি সর্বদা "ডেটাফিড"।
dateModified DateTime প্রয়োজন

ISO 8601 ফর্ম্যাটে ডেটা ফিডের শেষ পরিবর্তিত DateTime

ISO_OFFSET_DATE_TIME ফর্ম্যাটে তারিখ এবং সময় যেখানে এই ফিডের আইটেমগুলি সংশোধন করা হয়েছিল৷ এই ক্ষেত্রের অনুপস্থিতিতে, এটা ধরে নেওয়া হয় যে আপডেটের সময় হল সেই সময় যখন পুশ বার্তাটি Google সার্ভারে প্রাপ্ত হয় (বা ক্রল করা হয়)।

আপনি যদি পুশ এবং ক্রল উভয়ই একসাথে ব্যবহার করেন তবে আমরা আপনাকে এটি কার্যকর করার জন্য দৃঢ়ভাবে পরামর্শ দিই। এই টাইমস্ট্যাম্পটি একটি টাইম জোন এবং মিলিসেকেন্ড গ্রানুলারিটির সাথে নির্দিষ্ট করা উচিত; উদাহরণস্বরূপ "2016-12-28T06:30:00:123-07:00"।

আপনার ব্যাচ ফিডে, সত্তা সংস্করণ ফিডের খামে dateModified ক্ষেত্রের মাধ্যমে নির্ধারিত হয়।

dataFeedElement Menu বা Restaurant বা Service অ্যারে প্রয়োজন এক বা একাধিক আইটেম যা এই ফিডের অংশ। বিস্তারিত জানার জন্য নীচে দেখুন.

নিম্নলিখিত উদাহরণ খাম দেখায়:

উদাহরণ

{
  "@context": "http://schema.googleapis.com",
  "dateModified": "2016-12-28T06:30:00:123-07:00",
  "@type": "DataFeed",
  "dataFeedElement": [
    /* All items that are part of this feed go here */
  ]
}

সংযোজন বিবরণ

এই ধরনের ব্যবহার করতে, gs1 প্রসঙ্গ যোগ করুন: "@context": ["http://gs1.org/voc/", "http://schema.org"]

তারপরে, উপযুক্ত MenuItem বা MenuItemOption এর ধরনে FoodBeverageTobaccoProduct যোগ করুন।

নিম্নলিখিত সারণী AdditiveDetails প্রকারের বৈশিষ্ট্য বর্ণনা করে:

সম্পত্তি টাইপ প্রয়োজনীয়তা বর্ণনা
@type পাঠ্য প্রয়োজন এটি সর্বদা "অ্যাডিটিভ ডিটেইলস"।
additiveName পাঠ্য ঐচ্ছিক যোজকের নাম।
additiveLevelOfContainment পাঠ্য ঐচ্ছিক gs1 প্রতি কন্টেনমেন্ট কোড: LevelOfContainmentCode । যেমন http://gs1.org/voc/LevelOfContainmentCode-CONTAINS , http://gs1.org/voc/LevelOfContainmentCode-FREE_FROM , অথবা http://gs1.org/voc/LevelOfContainmentCode-MAY_CONTAIN

নিম্নলিখিত উদাহরণ AdditiveDetails প্রকারের ব্যবহার দেখায়:

{
  "@type": ["MenuItem", "FoodBeverageTobaccoProduct"],
  "@id": "http://www.example.com/bar/menuitem/8",
  "name": "Energy Drink",
  "description": "A 0.25l can of energy drink.",
  "offers": {
    "@type": "Offer",
    "sku": "offer-energy-drink",
    "price": "3.49",
    "priceCurrency": "USD"
  },
  "additive": [
    {
      "@type": "AdditiveDetails",
      "additiveName": "caffeine",
      "additiveLevelOfContainment":
        "http://gs1.org/voc/LevelOfContainmentCode-CONTAINS"
    },
    {
      "@type": "AdditiveDetails",
      "additiveName": "phosphate",
      "additiveLevelOfContainment":
        "http://gs1.org/voc/LevelOfContainmentCode-CONTAINS"
    }
  ]
},

AddOnMenuItem

একটি MenuItem আইটেমের অ্যাড-অন মেনু আইটেমে তালিকাভুক্ত একটি খাদ্য বা পানীয় আইটেম।

নিম্নলিখিত টেবিলে AddOnMenuItem প্রকারের বৈশিষ্ট্যগুলি তালিকাভুক্ত করা হয়েছে:

সম্পত্তি টাইপ প্রয়োজনীয়তা বর্ণনা
@type পাঠ্য প্রয়োজন এটি সর্বদা "AddOnMenuItem"।
@id URL প্রয়োজন অ্যাড-অন মেনু আইটেমের একটি অনন্য শনাক্তকারী।
name পাঠ্য প্রয়োজন টেক্সট যা AddOnMenuItem সনাক্ত করে যখন একজন ব্যবহারকারী মেনু ব্রাউজ করছেন।
description পাঠ্য ঐচ্ছিক অ্যাড-অন মেনু আইটেমের বিবরণ।
image URL ঐচ্ছিক

অ্যাড-অন মেনু আইটেমের চিত্র যা নিম্নলিখিত নির্দেশিকাগুলির সাথে মেলে:

  • আকৃতির অনুপাত 3:2
  • >
  • ন্যূনতম রেজোলিউশন 600x400 পিক্সেল, 72 dpi
  • >
  • প্রস্তাবিত রেজোলিউশন 1400x960 পিক্সেল, 72 dpi
offers Offer অ্যারে প্রয়োজনীয়*

এই AddOnMenuItem প্রদান করার জন্য এক বা একাধিক অফার।

কখন এবং কি মূল্যে এই AddOnMenuItem উপলব্ধ তা বর্ণনা করে৷ একটি নির্দিষ্ট সময়ে শুধুমাত্র একটি অফার বৈধ হতে হবে। দিনের সময়ের উপর ভিত্তি করে দাম বা প্রাপ্যতা পরিবর্তিত হলে আপনার কাছে অনেক বৈধ অফার থাকতে পারে। যখন অ্যাড-অন বা আইটেম একটি বেস অ্যাট্রিবিউট বা অ্যাড-অন আইটেমের একটি পরিবর্তনের মাধ্যমে পৃথক হয় (যেমন ছোট, মাঝারি এবং বড় ফ্রাই অ্যাড-অন হিসাবে), hasMenuItemOption বৈশিষ্ট্য ব্যবহার করুন।

Offer.eligibleQuantity এর জন্য ডিফল্ট সর্বনিম্ন 0, সর্বোচ্চ 1।

নিম্নলিখিত Offer বৈশিষ্ট্য AddOnMenuItem ব্যবহার করা হয়:

  • Offer.sku আবশ্যক
  • Offer.price প্রয়োজন
  • Offer.priceCurrency প্রয়োজন
  • Offer.availabilityStarts ঐচ্ছিক
  • Offer.availabilityEnds ঐচ্ছিক
  • Offer.availableDay ঐচ্ছিক
  • Offer.validFrom ঐচ্ছিক
  • Offer.validThrough ঐচ্ছিক
  • Offer.eligibleQuantity ঐচ্ছিক
  • Offer.inventoryLevel ঐচ্ছিক
hasMenuItemOptions MenuItemOption এর অ্যারে প্রয়োজনীয়*

এই অ্যাড-অন মেনু আইটেমের জন্য বেস অ্যাট্রিবিউটের অ্যারে যা অ্যাড-অন আইটেমের একটি বৈচিত্র বর্ণনা করে (যেমন ছোট, মাঝারি এবং বড় ফ্রাই অ্যাড-অন হিসাবে),। এই অ্যাড-অন মেনু আইটেমের জন্য উপলব্ধ বিভিন্ন বৈচিত্র উল্লেখ করতে বিকল্পগুলি ব্যবহার করুন৷ দুটি পরিস্থিতিতে এটি ঘটতে পারে:

  • বেস ভ্যারিয়েশনটি অ্যাড-অন আইটেমেই থাকে (যেমন ছোট, মাঝারি এবং বড় ফ্রাই অ্যাড-অন হিসাবে)
  • এই অ্যাড-অনটি মেনু আইটেমের বেস বৈচিত্র্যের সাথে যুক্ত (যেমন একটি বড় পিজ্জার জন্য অ্যাড-অন হিসাবে অতিরিক্ত পনির)
suitableForDiet RestrictedDiet এর অ্যারে ঐচ্ছিক থালাটি বর্ণিত খাদ্যতালিকাগত বিধিনিষেধ মেনে চলে (যেমন "গ্লুটেনফ্রিডায়েট" বা "ভেগানডায়েট")। এটি সম্ভাব্য মানগুলির একটি গণিত তালিকা।
nutrition NutritionInformation ঐচ্ছিক খাবারের জন্য পুষ্টির তথ্য, বিশেষ করে ক্যালোরি।
menuAddOn AddOnMenuSection এর অ্যারে ঐচ্ছিক AddOnMenuItem-এ একটি মেনু বিভাগ থাকতে পারে যা একটি অ্যাড-অন হিসাবে যোগ করা যেতে পারে।

নিম্নলিখিত উদাহরণ AddOnMenuItem দেখায়:

উদাহরণ 1

{
  "@type": "AddOnMenuSection",
  "@id": "https://www.example.com/1089/addon/1",
  "name": "AddOnCheese",
  "hasMenuItem": [
    {
      "@type": "AddOnMenuItem",
      "@id": "https://www.example.com/1089/addon/a",
      "name": "Swiss",
      "offers": {
        "@type": "Offer",
        "sku": "offer-swiss",
        "price": "2.99",
        "priceCurrency": "USD"
      }
    },
    {
      "@type": "AddOnMenuItem",
      "@id": "https://www.example.com/1089/addon/b",
      "name": "Mozarella",
      "offers": {
        "@type": "Offer",
        "sku": "offer-mozzarella",
        "price": "1.99",
        "priceCurrency": "USD"
      }
    }
  ]
}

উদাহরণ 2

{
  "@type": "MenuItem",
  "@id": "https://www.example.com/1089/product/170067",
  "name": "Pepperoni Pizza",
  "hasMenuItemOptions": [
    {
      "@type": "MenuItemOption",
      "value": {
        "@type": "PropertyValue",
        "name": "SIZE",
        "value": "Small"
      },
      "offers": {
        "@type": "Offer",
        "sku": "offer-small-pepperoni-pizza",
        "price": "10.00",
        "priceCurrency": "USD"
      }
    },
    {
      "@type": "MenuItemOption",
      "value": {
        "@type": "PropertyValue",
        "name": "SIZE",
        "value": "Large"
      },
      "offers": {
        "@type": "Offer",
        "sku": "offer-large-pepperoni-pizza",
        "price": "20.00",
        "priceCurrency": "USD"
      }
    }
  ],
  "menuAddOn": [
    {
      "@type": "AddOnMenuSection",
      "name": "Choice of toppings",
      "@id": "https://www.example.com/1089/addon/1",
      "hasMenuItem": [
        {
          "@type": "AddOnMenuItem",
          "@id": "https://www.example.com/1089/addon/1/a",
          "name": "Shrimp",
          "hasMenuItemOptions": [
            {
              "@type": "MenuItemOption",
              "value": [
                {
                  "@type": "PropertyValue",
                  "name": "PIZZA_SIDE",
                  "value": "PIZZA_SIDE_LEFT" // Values are predefined for pizza side.
                },
                {
                  "@type": "PropertyValue",
                  "name": "APPLICABLE_ITEM_OPTION",
                  "value": "Small" // Value should be same as mentioned in item's options.
                }
              ],
              "offers": {
                "@type": "Offer",
                "sku": "offer-topping-shrimp-left-small",
                "price": "1.00",
                "priceCurrency": "USD"
              }
            },
            {
              "@type": "MenuItemOption",
              "value": [
                {
                  "@type": "PropertyValue",
                  "name": "PIZZA_SIDE",
                  "value": "PIZZA_SIDE_LEFT" // Values are predefined for pizza side.
                },
                {
                  "@type": "PropertyValue",
                  "name": "APPLICABLE_ITEM_OPTION",
                  "value": "Large" // Value should be same as mentioned in item's options.
                }
              ],

              "offers": {
                "@type": "Offer",
                "sku": "offer-topping-shrimp-left-large",
                "price": "2.00",
                "priceCurrency": "USD"
              }
            },
            {
              "@type": "MenuItemOption",
              "value": [
                {
                  "@type": "PropertyValue",
                  "name": "PIZZA_SIDE",
                  "value": "PIZZA_SIDE_WHOLE" // Values are predefined for pizza side.
                },
                {
                  "@type": "PropertyValue",
                  "name": "APPLICABLE_ITEM_OPTION",
                  "value": "Small" // Value should be same as mentioned in item's options.
                }
              ],

              "offers": {
                "@type": "Offer",
                "sku": "offer-topping-shrimp-whole-small",
                "price": "1.50",
                "priceCurrency": "USD"
              }
            },
            {
              "@type": "MenuItemOption",
              "value": [
                {
                  "@type": "PropertyValue",
                  "name": "PIZZA_SIDE",
                  "value": "PIZZA_SIDE_WHOLE" // Values are predefined for pizza side.
                },
                {
                  "@type": "PropertyValue",
                  "name": "APPLICABLE_ITEM_OPTION",
                  "value": "Large" // Value should be same as mentioned in item's options.
                }
              ],

              "offers": {
                "@type": "Offer",
                "sku": "offer-topping-shrimp-whole-large",
                "price": "2.50",
                "priceCurrency": "USD"
              }
            }
          ]
        }
      ]
    }
  ]
}

AddOnMenuSection

মেনু আইটেমের জন্য একটি অ্যাড-অন মেনু বিভাগ হিসাবে খাদ্য বা পানীয় আইটেমগুলির একটি উপ-গ্রুপিং।

নিম্নলিখিত টেবিলে AddOnMenuSection প্রকারের বৈশিষ্ট্যগুলি তালিকাভুক্ত করা হয়েছে:

সম্পত্তি টাইপ প্রয়োজনীয়তা বর্ণনা
@type পাঠ্য প্রয়োজন এটি সর্বদা "AddOnMenuSection"।
@id URL প্রয়োজন মেনু বিভাগের অনন্য শনাক্তকারী।
name পাঠ্য প্রয়োজন কোনো ব্যবহারকারী মেনু ব্রাউজ করার সময় AddOnMenuSection সনাক্ত করতে পারে এমন পাঠ্য।
description পাঠ্য ঐচ্ছিক মেনু বিভাগের বর্ণনা।
eligibleQuantity QuantitativeValue ঐচ্ছিক এই মেনু বিভাগের জন্য অ্যাড-অন হিসাবে অনুমোদিত আইটেমের সংখ্যা নির্দেশ করে। আপনি অ্যাড-অনের সংখ্যা সীমাবদ্ধ করতে এই ক্ষেত্রটি ব্যবহার করতে পারেন, যেমন ন্যূনতম এবং সর্বাধিক সংখ্যক টপিং আপনি একটি পিজ্জাতে চয়ন করতে পারেন।
image URL ঐচ্ছিক মেনু বিভাগের চিত্র।
hasMenuItem AddOnMenuItem এর অ্যারে প্রয়োজনীয়* অ্যাড-অন মেনু আইটেমগুলি একটি AddOnMenuSection-এ রয়েছে।
offers Offer অ্যারে ঐচ্ছিক

Offer .availabilityStarts এবং Offer .availabilityEnds ব্যবহার করুন যে সময়কালের মধ্যে এই AddOnMenuSection উপলব্ধ থাকবে তা নির্দেশ করতে।

নিচের তালিকাটি দেখায় যে কোন Offer বৈশিষ্ট্যগুলি AddOnMenuSection-এ ব্যবহার করা হয়।

  • Offer.availabilityStarts ঐচ্ছিক
  • Offer.availabilityEnds ঐচ্ছিক
  • Offer.availableDay ঐচ্ছিক
  • Offer.validFrom ঐচ্ছিক
  • Offer.validThrough ঐচ্ছিক
hasMenuSection AddOnMenuSection এর অ্যারে প্রয়োজনীয়* অ্যাড-অন মেনুর যৌক্তিক সাব-গ্রুপিং (যেমন ডিনার, অ্যাপেটাইজার বা মাছের খাবার)।
defaultOption AddOnMenuItem এর অ্যারে ঐচ্ছিক

অ্যাড-অন মেনু আইটেমগুলি AddOnMenuSection এ ব্যবহারকারীদের জন্য ডিফল্টরূপে পূর্বনির্বাচিত করা হবে। ব্যবহারকারীরা চূড়ান্ত নির্বাচন পরিবর্তন করতে পারেন. যদি কোনো defaultOption নির্দিষ্ট করা না থাকে, কোনো AddOnMenuItem পূর্বনির্বাচিত হয় না।

AddOnMenuItem অবজেক্টগুলি অবশ্যই AddOnMenuSection এর hasMenuItem এ উপস্থিত থাকতে হবে।

defaultOption সংখ্যা AddOnMenuSection এর সর্বোচ্চ eligibleQuantity বেশি হতে পারে না।

numberOfFreeAddOns সংখ্যা ঐচ্ছিক একজন ব্যবহারকারী কোন চার্জ ছাড়াই কতগুলো অ্যাড-অন নির্বাচন করতে পারবেন তা নির্দেশ করে।

নিম্নলিখিত উদাহরণগুলিতে AddOnMenuSection অবজেক্ট অন্তর্ভুক্ত রয়েছে:

উদাহরণ 1

{
  "@type": "AddOnMenuSection",
  "@id": "https://www.example.com/1089/addon/1",
  "name": "AddOnCheese",
  "hasMenuItem": [
    {
      "@type": "AddOnMenuItem",
      "@id": "https://www.example.com/1089/addon/a",
      "name": "Swiss",
      "offers": {
        "@type": "Offer",
        "sku": "offer-swiss",
        "price": "2.99",
        "priceCurrency": "USD"
      }
    },
    {
      "@type": "AddOnMenuItem",
      "@id": "https://www.example.com/1089/addon/b",
      "name": "Mozarella",
      "offers": {
        "@type": "Offer",
        "sku": "offer-mozzarella",
        "price": "1.99",
        "priceCurrency": "USD"
      }
    }
  ]
}

উদাহরণ 2

"menuAddOn": {
  "@type": "AddOnMenuSection",
  "name": "Cheese",
  "@id": "https://www.example.com/1089/addon/1", // Points to an AddOnMenuSection
  "eligibleQuantity":
    "@type": "QuantitativeValue",
    "minValue": 0,
    "maxValue": 2 // Maximum of 2 cheeses are allowed
  }
}

উদাহরণ 3

একটি "চিজ স্যান্ডউইচ" মেনু আইটেমের একটি "চয়েস অফ চিজ" AddOnMenuSection "সুইস" এবং "মোজারেলা" ডিফল্ট হিসাবে পূর্বনির্বাচিত।

{
  "@type": "AddOnMenuSection",
  "@id": "https://www.example.com/1089/addon/1",
  "name": "AddOnCheese",
  "defaultOption": [
    {
      "@type": "AddOnMenuItem",
      "@id": "https://www.example.com/1089/addon/a"
    },
    {
      "@type": "AddOnMenuItem",
      "@id": "https://www.example.com/1089/addon/b"
    }
  ],
  "hasMenuItem": [
    {
      "@type": "AddOnMenuItem",
      "@id": "https://www.example.com/1089/addon/a",
      "name": "Swiss",
      "offers": {
        "@type": "Offer",
        "sku": "offer-swiss",
        "price": "2.99",
        "priceCurrency": "USD"
      }
    },
    {
      "@type": "AddOnMenuItem",
      "@id": "https://www.example.com/1089/addon/b",
      "name": "Mozzarella",
      "offers": {
        "@type": "Offer",
        "sku": "offer-mozzarella",
        "price": "1.99",
        "priceCurrency": "USD"
      }
    }
  ]
}

AdvanceService Delivery Hours স্পেসিফিকেশন

ডেলিভারি এবং টেকআউটের জন্য অগ্রিম অর্ডার শিডিউল করার জন্য ব্যবহারকারীদের জন্য পূরণের সময় প্রতিনিধিত্ব করে।

সাধারণত, opens এর মান closes মান থেকে কম হয়। নিম্নলিখিত নির্দেশিকাগুলি opens এবং closes বৈশিষ্ট্যগুলি ব্যবহার করার ক্ষেত্রে প্রযোজ্য:

  • AdvanceServiceDeliveryHoursSpecification এর জন্য opens এবং closes বৈশিষ্ট্যগুলি ঐচ্ছিক, কিন্তু আমরা দৃঢ়ভাবে সুপারিশ করি যে আপনি সেগুলি অন্তর্ভুক্ত করুন৷
  • পরিষেবার জন্য স্থানীয় সময় নির্দিষ্ট করতে হবে। একটি opens বা closes মান একটি সময় অঞ্চল অন্তর্ভুক্ত করবেন না. নির্দিষ্ট সময় অঞ্চল উপেক্ষা করা হয়.
  • opens এবং closes স্পষ্টভাবে নির্দিষ্ট না থাকলে, আমরা ধরে নিই যে অগ্রিম অর্ডার সব সময়ে সব দিনেই পাওয়া যায়।
  • যদি opens এবং closes একই হয়, তাহলে আমরা ধরে নিই যে অগ্রিম অর্ডার অনুপলব্ধ।
  • যদি opens closes চেয়ে বেশি হয়, তাহলে বন্ধ হওয়ার সময়টি পরের দিনে হতে ব্যাখ্যা করা হয়। উদাহরণস্বরূপ, যদি খোলার সময় 1লা জানুয়ারি বিকাল 5 PM-এ সেট করা হয় এবং বন্ধের সময় 2 AM হয়, তাহলে রেস্তোরাঁটি 2 শে জানুয়ারী 2 AM-এ বন্ধ হওয়া হিসাবে ব্যাখ্যা করা হয়।
  • opens এবং closes ভবিষ্যতের সময় স্লট উল্লেখ করুন. closes হয় একচেটিয়া উদাহরণস্বরূপ, যদি 10 AM opens হয় এবং 15 মিনিটের একটি serviceTimeInterval সহ 4 PM closes হয়, তাহলে প্রথম টাইম স্লট 10 AM এ শুরু হয় এবং শেষ সময় স্লটটি 3:45 PM এ শুরু হয়।

নিম্নলিখিত সারণী AdvanceServiceDeliveryHoursSpecification প্রকারের বৈশিষ্ট্য বর্ণনা করে:

সম্পত্তি টাইপ প্রয়োজনীয়তা বর্ণনা
@type পাঠ্য প্রয়োজন এটি সর্বদা "AdvanceServiceDeliveryHoursSpecification"।
validFrom DateTime শর্তসাপেক্ষ

শুরুর তারিখ যেদিন থেকে ব্যবহারকারীদের অগ্রিম আদেশ পূরণ করা যাবে। যেমন, "2017-05-01T00:00:00-07:00"।

যদি এই সম্পত্তি সেট না করা হয়, তাহলে এটি প্রতিদিন বৈধ বলে ধরে নেওয়া হয়। validFrom এবং validThrough বৈশিষ্ট্য অবশ্যই অনুপস্থিত বা একসাথে উপস্থিত থাকতে হবে।

যদি এই প্রকারটি Service স্তরে একটি specialOpeningHoursSpecification হিসাবে নির্দিষ্ট করা হয়, তবে AdvanceServiceDeliveryHoursSpecification এ এই validFrom প্রপার্টি প্রয়োজন৷

আরও তথ্যের জন্য, তারিখ সময় এবং সময় বিন্যাস দেখুন।

validThrough DateTime ঐচ্ছিক

শেষ তারিখ যার পরে ব্যবহারকারীদের অগ্রিম আদেশ আর পূরণ করা যাবে না। যেমন, "2018-12-01T00:00:00-07:00"।

যদি এই সম্পত্তি সেট না করা হয়, তাহলে এটি প্রতিদিন বৈধ বলে ধরে নেওয়া হয়। validFrom এবং validThrough বৈশিষ্ট্য অবশ্যই অনুপস্থিত বা একসাথে উপস্থিত থাকতে হবে।

যদি এই প্রকারটি Service স্তরে একটি specialOpeningHoursSpecification হিসাবে নির্দিষ্ট করা হয় তবে AdvanceServiceDeliveryHoursSpecificationvalidThrough সম্পত্তি প্রয়োজন৷

validThrough এর জন্য সময় একচেটিয়া। উদাহরণস্বরূপ, যদি সেই সময়টি 6 PM-তে সেট করা হয়, তাহলে সময়টি 5:59:59 PM পর্যন্ত বৈধ।

আরও তথ্যের জন্য, তারিখ সময় এবং সময় বিন্যাস দেখুন।

opens Time ঐচ্ছিক

ডেলিভারি বা টেকআউট স্লটে প্রযোজ্য।

দিনের নির্দিষ্ট সময় যেখান থেকে ব্যবহারকারীদের অগ্রিম আদেশ পূরণ করা যেতে পারে। উদাহরণস্বরূপ, 6:30 AM "T06:30:00" হিসাবে দেওয়া হয়েছে।

পরিষেবার জন্য স্থানীয় সময় নির্দিষ্ট করতে হবে। একটি opens ভ্যালুতে একটি সময় অঞ্চল অন্তর্ভুক্ত করবেন না। যদি একটি সময় অঞ্চল নির্দিষ্ট করা হয়, Google এই তথ্য উপেক্ষা করে।

আরও তথ্যের জন্য, তারিখ সময় এবং সময় বিন্যাস দেখুন।

closes Time ঐচ্ছিক

ডেলিভারি বা টেকআউট স্লটে প্রযোজ্য।

দিনের নির্দিষ্ট সময় যার বাইরে ব্যবহারকারীদের অগ্রিম আদেশ পূরণ করা যাবে না। উদাহরণস্বরূপ, 9:00 PM "T21:00:00" হিসাবে দেওয়া হয়েছে। closes> এক্সক্লুসিভ, তাই 15 মিনিটের একটি serviceTimeInterval জন্য এটি 9:00 PM-তে সেট করার অর্থ হল যে শেষ উপলব্ধ সময় স্লটটি 8:45 PM এ শুরু হয়।

পরিষেবার জন্য স্থানীয় সময় নির্দিষ্ট করতে হবে। একটি closes মান একটি সময় অঞ্চল অন্তর্ভুক্ত করবেন না. যদি একটি সময় অঞ্চল নির্দিষ্ট করা হয়, Google এই তথ্য উপেক্ষা করে।

আরও তথ্যের জন্য, তারিখ সময় এবং সময় বিন্যাস দেখুন।

dayOfWeek DayOfWeek এর অ্যারে ঐচ্ছিক

সপ্তাহের যে দিনগুলি অগ্রিম ডেলিভারির সময় পাওয়া যায়। বৈধ মান হল:

  • "সোমবার"
  • "মঙ্গলবার"
  • "বুধবার"
  • "বৃহস্পতিবার"
  • "শুক্রবার"
  • "শনিবার"
  • "রবিবার"

আপনি যদি সপ্তাহের কোনো দিন উল্লেখ না করেন, তাহলে AdvanceServiceDeliveryHoursSpecification সব দিনের জন্য প্রযোজ্য।

serviceTimeInterval Duration প্রয়োজন

পরপর দুটি পরিষেবা সময়ের মধ্যে ব্যবধান।

উদাহরণস্বরূপ: যদি opens এবং closes হয় সকাল 8 AM এবং 8 PM এবং serviceTimeInterval 15 মিনিট হয়, তাহলে ব্যবহারকারী 8 AM, 8:15 AM, 8:30 AM, 8:45 AM, এবং ততক্ষণ পর্যন্ত পূরণ করার সময় বেছে নিতে পারেন রাত 8 টা.

Duration অবশ্যই একটি ISO 8601 সময়কাল হিসাবে নির্দিষ্ট করতে হবে। উদাহরণস্বরূপ: "P15M" মানে 15 মিনিটের ব্যবধান।

advanceBookingRequirement QuantitativeValue প্রয়োজন

অর্ডার করার সময় থেকে মিনিটের সংখ্যা যখন অগ্রিম অর্ডার পূরণ করা যেতে পারে।

QuantitativeValue min এবং max মান অবশ্যই মিনিটের সংখ্যা এবং ইউনিটকোডকে "MIN" এ সেট করতে হবে৷

উদাহরণস্বরূপ, যদি একটি অগ্রিম অর্ডার পূরণ করতে কমপক্ষে 60 মিনিটের প্রয়োজন হয় এবং 2 দিনের বেশি সময় পরে পূরণ করা থেকে সীমাবদ্ধ থাকে, তাহলে min মান 60 এবং max মান 2880।

নিম্নলিখিত উদাহরণটি AdvanceServiceDeliveryHoursSpecification প্রকারের ব্যবহার দেখায়:

উদাহরণ 1

{
  "@type": "AdvanceServiceDeliveryHoursSpecification",
  "opens": "T10:00:00",  // Delivery between 10AM and 7:59:59PM
  "closes": "T20:00:00",
  "serviceTimeInterval": "PT15M", // in slots spaced 15 minutes apart (ISO8601)
  "advanceBookingRequirement": {
    "minValue": 60,   // The slot should be at least 60 mins away
    "maxValue": 8640, // but not more than 6 days away
    "unitCode": "MIN"
  }
}

অ্যালার্জেন বিশদ

এই ধরনের ব্যবহার করতে, gs1 প্রসঙ্গ যোগ করুন: "@context": ["http://gs1.org/voc/", "http://schema.org"]

তারপরে, উপযুক্ত MenuItem বা MenuItemOption এর ধরনে FoodBeverageTobaccoProduct যোগ করুন।

নিম্নলিখিত সারণী AllergenDetails প্রকারের বৈশিষ্ট্য বর্ণনা করে:

সম্পত্তি টাইপ প্রয়োজনীয়তা বর্ণনা
@type পাঠ্য প্রয়োজন এটি সর্বদা "অ্যালার্জেন বিশদ"।
allergenType পাঠ্য ঐচ্ছিক gs1 প্রতি অ্যালার্জেনের প্রকার: AllergenTypeCode । যেমন http://gs1.org/voc/AllergenTypeCode-PEANUTS
allergenLevelOfContainmentCode পাঠ্য ঐচ্ছিক gs1 প্রতি কন্টেনমেন্ট কোড: LevelOfContainmentCode । যেমন http://gs1.org/voc/LevelOfContainmentCode-CONTAINS , http://gs1.org/voc/LevelOfContainmentCode-FREE_FROM বা http://gs1.org/voc/LevelOfContainmentCode-MAY_CONTAIN

নিম্নলিখিত উদাহরণটি AllergenDetails প্রকারের ব্যবহার দেখায়:

{
  "@type": ["MenuItem", "FoodBeverageTobaccoProduct"],
  "@id": "http://www.example.com/bar/menuitem/6",
  "name": "Strawberry joghurt drink",
  "description": "A 0.5l bottle of strawberry joghurt drink.",
  "offers": {
    "@type": "Offer",
    "sku": "offer-joghurt-drink",
    "price": "2.49",
    "priceCurrency": "USD"
  },
  "hasAllergen": [
    {
      "@type": "AllergenDetails",
      "allergenType": "http://gs1.org/voc/AllergenTypeCode-GLUTEN",
      "allergenLevelOfContainmentCode":
        "http://gs1.org/voc/LevelOfContainmentCode-FREE_FROM"
    },
    {
      "@type": "AllergenDetails",
      "allergenType": "http://gs1.org/voc/AllergenTypeCode-LACTOSE",
      "allergenLevelOfContainmentCode":
        "http://gs1.org/voc/LevelOfContainmentCode-CONTAINS"
    }
  ]
},

ডেলিভারি চার্জ স্পেসিফিকেশন

নিম্নলিখিত সারণী DeliveryChargeSpecification প্রকারের বৈশিষ্ট্য বর্ণনা করে:

সম্পত্তি টাইপ প্রয়োজনীয়তা বর্ণনা
@type পাঠ্য প্রয়োজন এটি সর্বদা "ডেলিভারিচার্জ স্পেসিফিকেশন"।
@id URL ঐচ্ছিক ডেলিভারি চার্জ স্পেসিফিকেশন জন্য শনাক্তকারী.
price সংখ্যা প্রয়োজন শুধুমাত্র সংখ্যাসূচক মান হিসাবে মোট ডেলিভারি খরচ। মুদ্রার চিহ্নের পরিবর্তে মুদ্রার ধরন বোঝাতে priceCurrency সম্পত্তি ব্যবহার করুন। উদাহরণস্বরূপ, "6.00", মুদ্রা চিহ্ন ছাড়া।
priceCurrency পাঠ্য প্রয়োজন 3-অক্ষরের ISO 4217 মুদ্রা কোড। উদাহরণস্বরূপ, "USD"।
eligibleTransactionVolume PriceSpecification ঐচ্ছিক একটি আর্থিক ইউনিটে লেনদেনের পরিমাণ, যার জন্য এই ডেলিভারি চার্জ স্পেসিফিকেশন বৈধ। উদাহরণস্বরূপ, একটি ন্যূনতম ক্রয়ের পরিমাণ নির্দেশ করতে, বা একটি নির্দিষ্ট অর্ডার ভলিউমের উপরে কোনও অতিরিক্ত চার্জ ছাড়াই শিপিং উপলব্ধ রয়েছে তা প্রকাশ করতে।
eligibleQuantity QuantitativeValue ঐচ্ছিক অর্ডারের পরিমাণের পরিমাপের ব্যবধান এবং একক যার জন্য ডেলিভারি চার্জ বৈধ। এটি আপনাকে, উদাহরণস্বরূপ, নির্দিষ্ট করতে দেয় যে একটি নির্দিষ্ট মালবাহী চার্জ শুধুমাত্র একটি নির্দিষ্ট পরিমাণের জন্য বৈধ।
eligibleRegion GeoShape বা Place বা GeoCircle অ্যারে ঐচ্ছিক স্থান, বা ভূ-রাজনৈতিক অঞ্চলের জন্য GeoShape/GeoCircle যার জন্য অফার বা ডেলিভারি চার্জ স্পেসিফিকেশন বৈধ। অঞ্চলভেদে ডেলিভারি ফি ভিন্ন হলেই এই সম্পত্তিটি ব্যবহার করুন।
validFrom DateTime ঐচ্ছিক তারিখ এবং সময় (টাইম জোন সহ) যখন নির্দিষ্ট করা ডেলিভারি চার্জ বৈধ হয়ে যায়। উদাহরণস্বরূপ, "2017-05-01T06:30:00-07:00"। আরও তথ্যের জন্য, তারিখ সময় এবং সময় বিন্যাস দেখুন।
validThrough DateTime ঐচ্ছিক তারিখ এবং সময় (টাইম জোন সহ) যার পরে নির্দিষ্ট করা ডেলিভারি চার্জ বৈধ নয়৷ উদাহরণস্বরূপ, "2017-05-01T06:30:00-07:00"। validThrough এর সময় একচেটিয়া: উদাহরণস্বরূপ, যদি সেই সময়টি 6 PM-তে সেট করা হয়, তাহলে সময়টি 5:59:59 PM পর্যন্ত বৈধ। আরও তথ্যের জন্য, তারিখ সময় এবং সময় বিন্যাস দেখুন।

নিম্নলিখিত উদাহরণগুলি DeliveryChargeSpecification উপাদানগুলি দেখায়:

উদাহরণ 1

"offers": {
  "@type":"Offer",
  "priceSpecification":[
    {
      "@type": "DeliveryChargeSpecification",
      "price": "5.0",
      "priceCurrency": "USD"
    }
  ]
}

উদাহরণ 2

"priceSpecification": [
  {
    "@type": "DeliveryChargeSpecification",
    "@id": "http://www.provider.com/defaultdeliveryfee/foo",
    "price": "10.0",
    "priceCurrency": "USD",
    "eligibleQuantity": {
      "@type": "QuantitativeValue",
      "minValue": 3  // Minimum of 3 items required for delivery
    }
  },
  {
    "@type": "DeliveryChargeSpecification",
    "@id": "http://www.provider.com/deliveryfee/foo/1",
    "price": "20.0",
    "priceCurrency": "USD",
    "validFrom":"T18:00:00", // Valid from 6:00PM
    "validThrough":"T22:00:00", // Valid to 9:59:59PM
    "eligibleQuantity": {
      "@type": "QuantitativeValue",
      "minValue": 3  // Minimum of 3 items required for delivery
    }
  }
]

উদাহরণ 3

"priceSpecification": [{
    "@type": "DeliveryChargeSpecification",
    "@id": "http://www.provider.com/threebrotherstacos/deliveryfee/1",
    "price": "8.00", // Charges $8 for area5
    "priceCurrency": "USD",
    "eligibleTransactionVolume": {
      "@type": "PriceSpecification",
      "minPrice": "20.00",
      "priceCurrency": "USD"
    },
    "eligibleRegion": [ // area5
      {
        "@type": "GeoCircle",
        "geoMidpoint": {
          "@type": "GeoCoordinates",
          "latitude": "37.7392607",
          "longitude": "-122.3895522"
        },
        "geoRadius": "4505"
      }
    ]
  },
  {
    "@type": "DeliveryChargeSpecification",
    "@id": "http://www.provider.com/threebrotherstacos/defaultdeliveryfee",
    "price": "6.00", // Charges $6 when delivered from Foo restaurant to area1, area2, area3 and area4 (Default charge)
    "priceCurrency": "USD",
    "eligibleTransactionVolume": {
      "@type": "PriceSpecification",
      "minPrice": "20.00", // Minimum order price for delivery is $20
      "priceCurrency": "USD"
    }
  }
]

"@type": ["DeliveryChargeSpecification"] ছাড়াও, অবজেক্টটি UnitPriceSpecification এর সাথে বাড়ানো যেতে পারে:

"@type": ["DeliveryChargeSpecification", "UnitPriceSpecification"]

এক্সটেনশনটি শতাংশে গণনা করা ডেলিভারি ফিগুলির জন্য প্রয়োজনীয় একটি অতিরিক্ত দুটি বৈশিষ্ট্য দেয়।

সম্পত্তি টাইপ প্রয়োজনীয়তা বর্ণনা
referenceQuantity QuantitativeValue প্রয়োজন রেফারেন্স পরিমাণ যার জন্য একটি নির্দিষ্ট মূল্য প্রযোজ্য। উদাহরণস্বরূপ, "P1" এর unitCode সহ 10 মানের referenceQuantity অর্ডার মানের 10% ফলাফল করে। এই মুহূর্তে শুধুমাত্র unitCode "P1" সমর্থিত।
basePrice সংখ্যা ঐচ্ছিক referenceQuantity ছাড়াও বেস চার্জ। উদাহরণ স্বরূপ, "P1" এর unitCode সহ 10 এর referenceQuantity এবং USD তে 5 এর basePrice ফলে অর্ডার মূল্যের $5 + 10%। ডিফল্ট মান 0।

ডেলিভারি ফি উদাহরণ

Google আপনাকে Offer.PriceSpecification ব্যবহার করে ব্যবহারকারীদের বিভিন্ন ধরনের ফি নির্দিষ্ট করার অনুমতি দেয়। পরিষেবা সত্তার মূল্য স্পেসিফিকেশন।

মনে রাখবেন যে এন্ড-টু-এন্ড অর্ডার করা বর্তমানে শুধুমাত্র একটি DeliveryChargeSpecification সমর্থন করে। একক DeliveryChargeSpecification সব ধরনের ফি একত্রিত করুন।

এলাকা, দূরত্ব এবং অর্ডার মানের উপর ভিত্তি করে কীভাবে ডেলিভারি ফি নির্দিষ্ট করতে হয় তার জন্য পরিষেবা ফিডের উদাহরণগুলি পড়ুন।

কোন ফি না থাকলে, Offer.PriceSpecification বাদ দেওয়া হয়।

  • উদাহরণ 1: ডেলিভারি ফি কার্ট সাবটোটালের 5%
  • উদাহরণ 2: ডেলিভারি ফি $5
  • উদাহরণ 3: ডেলিভারি ফি হল $5 + কার্ট সাবটোটালের 10%
  • উদাহরণ 4: ডেলিভারি ফি $5 এবং ব্যাগ ফি $0.1
  • উদাহরণ 5: ডেলিভারি ফি হল 5% এবং সুবিধার ফি হল কার্ট সাবটোটালের 2%
  • উদাহরণ 6: অতিরিক্ত 1কিমি দূরত্ব প্রতি ডেলিভারি ফি $5 এবং $1

উদাহরণ 1

priceSpecification [
  {
    "@type": ["DeliveryChargeSpecification", "UnitPriceSpecification"],
    "referenceQuantity": {
      "@type": "QuantitativeValue",
      "value": "5.00", // 5%
      "unitCode": "P1" // P1 == %
    },
    "priceCurrency": "USD"
  }
]

উদাহরণ 2

priceSpecification [
  {
    "@type": ["DeliveryChargeSpecification"],
    "priceCurrency": "USD",
    "price": "5.00"
  }
]

উদাহরণ 3

priceSpecification [
  {
    "@type": ["DeliveryChargeSpecification", "UnitPriceSpecification"],
    "referenceQuantity": {
      "@type": "QuantitativeValue",
      "value": "10.00", // 10%
      "unitCode": "P1", // P1 == %
    },
    "priceCurrency": "USD",
    "basePrice": "5.00" // User always pays $5 in addition to 10%
  }
]

উদাহরণ 4

priceSpecification [
  {
    "@type": ["DeliveryChargeSpecification"],
    "priceCurrency": "USD",
    "price": "5.10" //$5 + $0.1
  }

উদাহরণ 5

priceSpecification [
  {
    "@type": ["DeliveryChargeSpecification", "UnitPriceSpecification"],
    "referenceQuantity": {
      "@type": "QuantitativeValue",
      "value": "7.00", // 5% + 2%
      "unitCode": "P1" // P1 == %
    },
    "priceCurrency": "USD"
  },
]

উদাহরণ 6

priceSpecification [
  {
    "@type": ["DeliveryChargeSpecification", "UnitPriceSpecification"],
    "basePrice": 5.00, // User always pays $5
    "price": 1.00, // An additional $1.00 is added per 1km
    "priceCurrency": "USD",
    "referenceQuantity": {
      "@type": "QuantitativeValue",
      "unitCode": "MTR", // MTR == meter
      "value": "1000.0" // 1km
    }
  }
]

জিও সার্কেল

নিচের সারণীটি GeoCircle প্রকারের বৈশিষ্ট্য বর্ণনা করে:

সম্পত্তি টাইপ প্রয়োজনীয়তা বর্ণনা
@type পাঠ্য প্রয়োজন এটি সর্বদা "জিও সার্কেল"।
geoMidpoint GeoCoordinates প্রয়োজন একটি GeoCircle এর কেন্দ্রে GeoCoordinates নির্দেশ করে।
geoRadius সংখ্যা প্রয়োজন একটি GeoCircle এর আনুমানিক ব্যাসার্ধ (মিটারে) নির্দেশ করে।

নিম্নলিখিত উদাহরণ একটি GeoCircle উপাদান দেখায়:

উদাহরণ

{
  "@type": "GeoCircle",
  "geoMidpoint": {
    "@type": "GeoCoordinates",
    "latitude": "37.7392607",
    "longitude": "-122.3895522"
  },
  "geoRadius": "4505"
}

জিও কোঅর্ডিনেটস

নিম্নোক্ত সারণী GeoCoordinates টাইপের বৈশিষ্ট্য বর্ণনা করে:

সম্পত্তি টাইপ প্রয়োজনীয়তা বর্ণনা
@type পাঠ্য প্রয়োজন এটি সর্বদা "GeoCoordinates"।
latitude সংখ্যা প্রয়োজন

ডিগ্রীতে অক্ষাংশ। মানগুলি -90 থেকে 90 পর্যন্ত পরিসরে সীমাবদ্ধ, অন্তর্ভুক্ত। যদি নির্দিষ্ট করা মান -90 এর কম হয়, তবে এটি -90 এ সেট করা হয়; মান 90 এর বেশি হলে, এটি 90 এ সেট করা হয়।

নির্ভুলতা কমপক্ষে 5 দশমিক স্থান হওয়া উচিত।

longitude সংখ্যা প্রয়োজন

ডিগ্রীতে দ্রাঘিমাংশ। -180 থেকে 180 রেঞ্জের বাইরের মানগুলিকে মোড়ানো হয় যাতে সেগুলি পরিসরের মধ্যে পড়ে৷ উদাহরণস্বরূপ, -190-এর একটি মান 170-এ রূপান্তরিত হয়। 190-এর একটি মান -170-এ রূপান্তরিত হয়। এটি প্রতিফলিত করে যে দ্রাঘিমাংশগুলি বিশ্বজুড়ে মোড়ানো।

নির্ভুলতা কমপক্ষে 5 দশমিক স্থান হওয়া উচিত।

নিম্নলিখিত উদাহরণটি একটি GeoCoordinates উপাদান দেখায়:

উদাহরণ

"geo": {
  "@type": "GeoCoordinates",
  "latitude": "35.7392607",
  "longitude": "-120.3895522"
}

জিওশেপ

নিচের টেবিলটি GeoShape টাইপের বৈশিষ্ট্য বর্ণনা করে:

সম্পত্তি টাইপ প্রয়োজনীয়তা বর্ণনা
@type পাঠ্য প্রয়োজন এটি সর্বদা "জিওশেপ"।
polygon টেক্সটের অ্যারে প্রয়োজন

একটি বহুভুজ বা বহুভুজ তিনটি বা ততোধিক স্থান সীমাবদ্ধ বিন্দুর একটি সিরিজ হিসাবে প্রকাশ করা হয়। এটি সুপারিশ করা হয় যে প্রথম এবং শেষ পয়েন্ট একই, কিন্তু এটি প্রয়োজনীয় নয়।

বহুভুজ বা বহুভুজের প্রতিটি বিন্দুকে একটি অক্ষাংশ বিন্দু এবং একটি দ্রাঘিমাংশ বিন্দু দ্বারা সংজ্ঞায়িত করা হয়। এছাড়াও আপনাকে অবশ্যই বিন্দুগুলিকে ঘড়ির কাঁটার বিপরীত দিকে নির্দিষ্ট করতে হবে।

বেশিরভাগ ক্ষেত্রে আপনার একটি একক বহুভুজ থাকবে। আরো জটিল ব্যবহারের ক্ষেত্রে, ডেলিভারি সার্ভিস এরিয়া ডকুমেন্টেশন দেখুন।

নিম্নলিখিত উদাহরণগুলি GeoShape উপাদানগুলি দেখায়:

উদাহরণ 1

{
  "@type": "GeoShape", // area4
  // Specify latitude first (i.e., lat long lat long ...)
  "polygon": "37.806000 -122.425592 37.775849 -122.419043 37.795547 -122.394046 37.808747 -122.412619"
},

উদাহরণ 2

{
  "@type": "GeoShape", // A service area with a hole.
  // Specify latitude first (i.e., lat long lat long ...)
  "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”]
},

উদাহরণ 3

{
  "@type": "Service",
  "@id": "http://www.provider.com/service/1",
  "areaServed": [
    {
      "@type": "GeoShape",  // Richmond District delivery area.
      // Specify latitude first (i.e., lat long lat long ...)
      "polygon": "37.785847 -122.484851 37.772757 -122.483983 37.774442 -122.458563 37.786876 -122.459474"
    },
    {
      "@type": "GeoShape",  // Haight-Ashbury delivery area.
      // Specify latitude first (i.e., lat long lat long ...)
      "polygon": "37.774804 -122.454774 37.766224 -122.452881 37.769087 -122.436043 37.773087 -122.437417"
    }  ],
...
},

নিম্নলিখিত টেবিলটি Menu প্রকারের বৈশিষ্ট্যগুলি তালিকাভুক্ত করে:

সম্পত্তি টাইপ প্রয়োজনীয়তা বর্ণনা
@type পাঠ্য প্রয়োজন এটি সর্বদা "মেনু"।
@id URL প্রয়োজন মেনুর জন্য অনন্য শনাক্তকারী।
name পাঠ্য ঐচ্ছিক কোনো ব্যবহারকারী মেনু ব্রাউজ করার সময় Menu সনাক্ত করতে পারে এমন পাঠ্য।
description পাঠ্য ঐচ্ছিক মেনুর বর্ণনা।
disclaimer MenuDisclaimer ঐচ্ছিক মেনু জন্য দাবিত্যাগ. উদাহরণস্বরূপ, পুষ্টি সম্পর্কিত তথ্য প্রকাশ এবং অ্যালার্জেন প্রকাশ।
hasMenuSection একক বস্তু বা MenuSection এর অ্যারে ঐচ্ছিক মেনুর যৌক্তিক সাব-গ্রুপিং (যেমন ডিনার, অ্যাপেটাইজার বা মাছের খাবার)।
hasMenuItem একক বস্তু বা MenuItem এর অ্যারে ঐচ্ছিক একটি Menu থাকা MenuItem অবজেক্টগুলি, সাধারণত যখন Menu MenuSections দ্বারা উপবিভক্ত হয় না।
inLanguage পাঠ্য ঐচ্ছিক মেনু বিষয়বস্তুর ভাষা, IETF BCP 47 মান থেকে একটি ভাষা কোড হিসাবে। উদাহরণস্বরূপ, "en-US"।

নিম্নলিখিত উদাহরণগুলি Menu প্রকারের ব্যবহার দেখায়:

উদাহরণ 1

{
  "@type": "Menu",
  "@id": "http://www.provider.com/somerestaurant/menu/1",
  "hasMenuSection": {
    "@type": "MenuSection",
    "@id": "http://www.provider.com/somerestaurant/menusection/1",
    "name": "Tacos",
    "description": "Tacos inspired by India cuisine.",
    "offers": {
      "@type": "Offer",
      "availabilityStarts": "T08:00:00", // Starts at 8:00AM
      "availabilityEnds": "T22:00:00" // Ends at 10:00PM. Available 8AM-9:59:59PM
    },
    "hasMenuItem": {
      "@type": "MenuItem",
      "@id": "http://www.provider.com/somerestaurant/menuitem/1",
      "name": "Aloo Gobi Taco",
      "description": "Mexico City-style street corn tortilla taco filled with a flavorful mixture of mildly south Indian spiced cauliflower, potato, tomato, onions and bell peppers.",
      "offers": {
        "@type": "Offer",
        "sku": "offer-aloo-gobi-taco",
        "price": "3.50",
        "priceCurrency": "USD"
      },
      "nutrition": {
        "@type": "NutritionInformation",
        "calories": "170 Cal",
        "fatContent": "3 g",
        "fiberContent": "2 g",
        "proteinContent": "4 g"
      },
      "suitableForDiet": "http://schema.org/GlutenFreeDiet"
    }
  },
  "inLanguage": "English"
}

উদাহরণ 2

এই উদাহরণটি একটি অ্যারে হিসাবে hasMenuItem দেখায়।

{
  "@type": "Menu",
  "@id": "http://www.provider.com/somerestaurant/menu/1",
  "name": "Dine-In Menu",
  "description": "Menu for in-restaurant dining only.",
  "hasMenuSection": [
    {
      "@type": "MenuSection",
      "@id": "http://www.provider.com/somerestaurant/menusection/1",
      "name": "Main",
      "description": "Main course",
      "image": "http://www.provider.com/somerestaurant/main_dishes.jpg",
      "hasMenuItem": [
        {
          "@type": "MenuItem",
          "@id": "http://www.provider.com/somerestaurant/menuitem/1",
          "name": "Pizza",
          "description": "Pizza",
          "offers": {
            "@type": "Offer",
            "sku": "offer-pizza",
            "price": "7.49",
            "priceCurrency": "USD",
            "availabilityStarts": "T08:00:00", // Starts at 8:00AM
            "availabilityEnds": "T18:00:00" // Ends at 6:00PM, last order at 5:59:59PM
          }
        },
        {
          "@type": "MenuItem",
          "@id": "http://www.provider.com/somerestaurant/menuitem/2",
          "name": "Pasta",
          "description": "Pasta",
          "offers": [
            {
              "@type": "Offer",
              "sku": "offer-pasta-lunch",
              "price": "7.49",
              "priceCurrency": "USD",
              "availabilityStarts": "T08:00:00", // Starts at 8:00AM
              "availabilityEnds": "T18:00:00" // Ends at 6:00PM, last order at 5:59:59PM
            },
            {
              "@type": "Offer",
              "sku": "offer-pasta-dinner",
              "price": "10.49",
              "priceCurrency": "USD",
              "availabilityStarts": "T18:00:00", // Starts at 6:00PM
              "availabilityEnds": "T21:00:00" // Ends at 9:00PM, last order at 8:59:59PM
            }
          ]
        }
      ]
    },
    {
      "@type": "MenuSection",
      "@id": "http://www.provider.com/somerestaurant/menusection/2",
      "name": "Soups & Salads",
      "description": "Salads and a few choices of soup",
      "image": "https://www.provider.com/somerestaurant/soup_and_salad_dishes.jpg",
      "hasMenuItem": {
        "@type": "MenuItem",
        "@id": "http://www.provider.com/somerestaurant/menuitem/3",
        "name": "Pea Soup",
        "description": "Creamy pea soup topped with melted cheese and sourdough croutons.",
        "offers": {
          "@type": "Offer",
          "sku": "offer-pea-soup",
          "price": "3.49",
          "priceCurrency": "USD"
        },
        "suitableForDiet": "http://schema.org/GlutenFreeDiet"
      }
    }
  ]
}

উদাহরণ 3

এই উদাহরণটি একটি অ্যারে হিসাবে hasMenuSection দেখায়।

{
  "@type": "Menu",
  "@id": "http://www.provider.com/somerestaurant/menu/1",
  "name": "Dine-In Menu",
  "description": "Menu for in-restaurant dining only.",
  "hasMenuSection": [
    {
      "@type": "MenuSection",
      "@id": "http://www.provider.com/somerestaurant/menusection/1",
      "name": "Dinner",
      "description": "Dinner dishes",
      "hasMenuSection": [
        {
          "@type": "MenuSection",
          "@id": "http://www.provider.com/somerestaurant/menusection/2",
          "name": "Starters",
          "description": "Appetizers and such",
          "image": "https://www.provider.com/somerestaurant/starter_dishes.jpg",
          "hasMenuItem": {
            "@type": "MenuItem",
            "@id": "http://www.provider.com/somerestaurant/menuitem/1",
            "name": "Potato Skins",
            "description": "Small serving of stuffed potato skins.",
            "offers": {
              "@type": "Offer",
              "sku": "offer-potato-skins",
              "price": "7.49",
              "priceCurrency": "USD"
            },
            "suitableForDiet": "http://schema.org/GlutenFreeDiet"
          }
        },
        {
          "@type": "MenuSection",
          "@id": "http://www.provider.com/somerestaurant/menusection/3",
          "name": "Soups & Salads",
          "description": "Salads and a few choices of soup",
          "image": "https://thisisarestaurant.com/soup_and_salad_dishes.jpg",
          "hasMenuItem": {
            "@type": "MenuItem",
            "@id": "http://www.provider.com/somerestaurant/menuitem/2",
            "name": "Pea Soup",
            "description": "Creamy pea soup topped with melted cheese and sourdough croutons.",
            "offers": {
              "@type": "Offer",
              "sku": "offer-pea-soup",
              "price": "3.49",
              "priceCurrency": "USD"
            },
            "suitableForDiet": "http://schema.org/GlutenFreeDiet"
          }
        },
        {
          "@type": "MenuSection",
          "@id": "http://www.provider.com/somerestaurant/menusection/4",
          "name": "Steak",
          "description": "Steak Dishes",
          "image": "https://steak.com/steak_dishes.jpg",
          "hasMenuItem": {
            "@type": "MenuItem",
            "@id": "http://www.provider.com/somerestaurant/menuitem/3",
            "name": "Sirloin",
            "description": "Sirloin steak dish.",
            "offers": {
              "@type": "Offer",
              "sku": "offer-sirloin-steak",
              "price": "15.49",
              "priceCurrency": "USD"
            },
            "suitableForDiet": "http://schema.org/GlutenFreeDiet"
          }
        }
      ]
    },
    {
      "@type": "MenuSection",
      "@id": "http://www.provider.com/somerestaurant/menusection/5",
      "name": "Desserts",
      "description": "Dessert dishes.",
      "image": "http://www.provider.com/somerestaurant/dessert_dishes.jpg",
      "hasMenuItem": {
        "@type": "MenuItem",
        "@id": "http://www.provider.com/somerestaurant/menuitem/4",
        "name": "Chocolate Pie",
        "description": "A slice of chocolate pie.",
        "offers": {
          "@type": "Offer",
          "sku": "offer-chocolate-pie",
          "price": "3.49",
          "priceCurrency": "USD"
        }
      }
    }
  ]
}

Menu সত্তার আরও উদাহরণের জন্য, রেস্তোরাঁ এবং মেনু ফিডের উদাহরণ দেখুন।

নিম্নলিখিত টেবিলটি MenuDisclaimer প্রকারের বৈশিষ্ট্যগুলি তালিকাভুক্ত করে:

সম্পত্তি টাইপ প্রয়োজনীয়তা বর্ণনা
@type পাঠ্য প্রয়োজন এটি সর্বদা "মেনু ডিসক্লেমার"।
@id URL প্রয়োজন মেনু দাবিত্যাগের জন্য অনন্য শনাক্তকারী।
text পাঠ্য প্রয়োজন দাবিত্যাগের পাঠ্য। উদাহরণস্বরূপ, "গড় প্রাপ্তবয়স্কদের দৈনিক শক্তি গ্রহণ 8700 kJ।"
url URL ঐচ্ছিক অস্বীকৃতি সম্পর্কে আরও বিশদ প্রদানকারী একটি পৃষ্ঠার দিকে নির্দেশ করে URL।

নিম্নলিখিত উদাহরণটি MenuDisclaimer প্রকারের ব্যবহার দেখায়:

উদাহরণ

{
    "@type": "Menu",
    "@id": "menu_1",
    "disclaimer": {
        "@type": "MenuDisclaimer",
        "@id": "menu_1_disclaimer_1",
        "text": "The average adult daily energy intake is 8700 kJ",
        "url": "https://partner.domain.com/menu/provider/disclaimer/more-info.html"
    }
}

মেনু আইটেম মেনুতে আইটেম প্রতিনিধিত্ব করতে. নিম্নলিখিত টেবিলটি MenuItem প্রকারের বৈশিষ্ট্যগুলি তালিকাভুক্ত করে:

সম্পত্তি টাইপ প্রয়োজনীয়তা বর্ণনা
@type পাঠ্য প্রয়োজন এটি সর্বদা "মেনু আইটেম"।
@id URL প্রয়োজন মেনু আইটেমের অনন্য শনাক্তকারী।
name পাঠ্য প্রয়োজন কোনো ব্যবহারকারী মেনু ব্রাউজ করার সময় MenuItem সনাক্ত করতে পারে এমন পাঠ্য।
description পাঠ্য ঐচ্ছিক মেনু আইটেম বর্ণনা.
image URL ঐচ্ছিক

মেনু আইটেমের ছবি। নিম্নলিখিত চিত্র নির্দেশিকা ব্যবহার করুন:

  • আকৃতির অনুপাত 3:2
  • ন্যূনতম রেজোলিউশন 600x400 পিক্সেল, 72 dpi
  • প্রস্তাবিত রেজোলিউশন 1400x960 পিক্সেল 72 dpi
menuAddOn AddOnMenuSection এর অ্যারে ঐচ্ছিক একটি মেনু বিভাগে আইটেম যা মেনু আইটেমে অ্যাড-অন হিসাবে যোগ করা যেতে পারে।
offers Offer অ্যারে প্রয়োজনীয়*

এই MenuItem প্রদান করার জন্য এক বা একাধিক অফার। কখন এবং কি মূল্যে এই MenuItem উপলব্ধ তা বর্ণনা করে৷ একটি নির্দিষ্ট সময়ে শুধুমাত্র একটি অফার বৈধ হতে হবে। দিনের সময়ের উপর ভিত্তি করে দাম/উপলব্ধতার ভিন্নতা থাকলে একাধিক অফার দেওয়া যেতে পারে। যদি খাবারের আইটেমটি একটি বেস অ্যাট্রিবিউটের মাধ্যমে আলাদা হয়, (উদাহরণস্বরূপ, পিজ্জার আকার), তাহলে menuItemOption ব্যবহার করুন। Offer.eligibleQuantity এর জন্য ডিফল্ট হল ন্যূনতম 0 কোন উচ্চ সীমা ছাড়াই।

নীচের তালিকাটি দেখায় যে কোন Offer বৈশিষ্ট্যগুলি MenuItem এ ব্যবহার করা হয়েছে৷

  • Offer.sku আবশ্যক
  • Offer.price প্রয়োজন
  • Offer.priceCurrency প্রয়োজন
  • Offer.availabilityStarts ঐচ্ছিক
  • Offer.availabilityEnds ঐচ্ছিক
  • Offer.availableDay ঐচ্ছিক
  • Offer.validFrom ঐচ্ছিক
  • Offer.validThrough ঐচ্ছিক
  • Offer.eligibleQuantity ঐচ্ছিক
  • Offer.inventoryLevel ঐচ্ছিক
hasMenuItemOptions MenuItemOption এর অ্যারে প্রয়োজন এই মেনু আইটেমের জন্য ভিত্তি বিকল্প/প্রকরণের তালিকা। আইটেমের জন্য উপলব্ধ বিভিন্ন বেস বৈচিত্র উল্লেখ করতে বিকল্পগুলি ব্যবহার করা উচিত, উদাহরণস্বরূপ ছোট, মাঝারি এবং বড়।
suitableForDiet RestrictedDiet এর অ্যারে ঐচ্ছিক থালাটি বর্ণিত খাদ্যতালিকাগত বিধিনিষেধ মেনে চলে (যেমন "http://schema.org/GlutenFreeDiet" বা "http://schema.org/VeganDiet"। এটি সম্ভাব্য মানগুলির একটি গণিত তালিকা।
nutrition NutritionInformation ঐচ্ছিক খাবারের জন্য পুষ্টির তথ্য, বিশেষ করে ক্যালোরি।
hasAllergen AllergenDetails ঐচ্ছিক প্রতি gs1:AllergenDetails বিশদ। এই প্রপার্টি ব্যবহার করতে gs1 প্রসঙ্গ যোগ করুন: "@context": ["http://gs1.org/voc/", "http://schema.org"] । এবং MenuItem প্রকারে FoodBeverageTobaccoProduct যোগ করুন।
additive AdditiveDetails এর অ্যারে ঐচ্ছিক প্রতি gs1:AdditiveDetails । এটি সম্ভাব্য মানগুলির একটি গণিত তালিকা। এই প্রপার্টি ব্যবহার করতে gs1 প্রসঙ্গ যোগ করুন: "@context": ["http://gs1.org/voc/", "http://schema.org"] । এবং MenuItem প্রকারে FoodBeverageTobaccoProduct যোগ করুন।
packaging PackagingDetails ঐচ্ছিক এই মেনু আইটেমের প্যাকেজিং এবং রিসাইক্লিং তথ্য প্রতি gs1:PackagingDetails । এই প্রপার্টি ব্যবহার করতে gs1 প্রসঙ্গ যোগ করুন: "@context": ["http://gs1.org/voc/", "http://schema.org"] । এবং MenuItem প্রকারে FoodBeverageTobaccoProduct যোগ করুন।

নিম্নলিখিত উদাহরণগুলি MenuItem উপাদানগুলি দেখায়:

উদাহরণ 1

"hasMenuItem": {
  "@type": "MenuItem",
  "@id": "http://www.provider.com/bar/menuitem/1",
  "name": "Potato Skins",
  "description": "Small serving of stuffed potato skins.",
  "offers": {
    "@type": "Offer",
    "sku": "offer-potato-skins",
    "price": "7.49",
    "priceCurrency": "USD"
  },
  "suitableForDiet": "http://schema.org/GlutenFreeDiet"
}

উদাহরণ 2

"hasMenuItem": [
  {
    "@type": "MenuItem",
    "@id": "https://www.example.com/1089/product/170067",
    "name": "Veg Grill Burrito",
    "offers": {
      "@type": "Offer",
      "sku": "offer-veg-grill-burrito",
      "price": "12.99",
      "priceCurrency": "USD"
    },
    "menuAddOn": {
      "@type": "AddOnMenuSection",
      "name": "Cheese",
      "@id": "https://www.example.com/1089/addon/1", // Points to an AddOnMenuSection
      "eligibleQuantity":
        "@type": "QuantitativeValue",
        "minValue": 0,
        "maxValue": 2 // Maximum of 2 cheeses are allowed
      }
    }
  },
  {
    "@type": "MenuItem",
    "@id": "https://www.example.com/1089/product/170018",
    "name": "Chicken Taco",
    "offers": {
      "@type": "Offer",
      "sku": "offer-chicken-taco",
      "price": "6.99",
      "priceCurrency": "USD"
    }
  }
]

উদাহরণ 3

{
  "@type": "MenuItem",
  "@id": "https://www.example.com/1089/product/170067",
  "name": "Meat Combo",
  "hasMenuItemOptions": [
    {
      "@type": "MenuItemOption",
      "value": {
        "@type": "PropertyValue",
        "name": "OPTION",
        "value": "Plate",
        "offers": {
          "@type": "Offer",
          "sku": "offer-meat-combo-plate",
          "price": "12.00",
          "priceCurrency": "USD"
        },
        "menuAddOn": [
          {
            "@type": "AddOnMenuSection",
            "name": "Toppings for Plate",
            "@id": "https://www.example.com/1089/addon/1",
            "eligibleQuantity": {
              "@type": "QuantitativeValue",
              "minValue": 0,
              "maxValue": 3
            },
            "hasMenuItem": [
              {
                "@type": "AddOnMenuItem",
                "@id": "https://www.example.com/1089/addon/1/a",
                "name": "Hummus",
                "offers": {
                  "@type": "Offer",
                  "sku": "offer-meat-combo-topping-hummus",
                  "price": "1.00",
                  "priceCurrency": "USD"
                }
              }
              // -- Other Items --
            ]
          }
        ]
      }
    },
    {
      "@type": "MenuItemOption",
      "value": {
        "@type": "PropertyValue",
        "name": "OPTION",
        "value": "Sandwich"
      },
      "offers": {
        "@type": "Offer",
        "sku": "offer-meat-combo-sandwich",
        "price": "10.00",
        "priceCurrency": "USD"
      },
      "menuAddOn": [
        {
          "@type": "AddOnMenuSection",
          "name": "Toppings for Sandwich",
          "@id": "https://www.example.com/1089/addon/1",
          "eligibleQuantity": {
            "@type": "QuantitativeValue",
            "minValue": 0,
            "maxValue": 2
          },
          "hasMenuItem": [
            {
              "@type": "AddOnMenuItem",
              "@id": "https://www.example.com/1089/addon/1/a",
              "name": "Hummus",
              "offers": {
                "@type": "Offer",
                "sku": "offer-meat-combo-topping-hummus",
                "price": "1.00",
                "priceCurrency": "USD"
              }
            }
            // -- Other Items --
          ]
        }
      ]
    }
  ]
}

উদাহরণ 4

{
  "@type": "MenuItem",
  "@id": "https://www.example.com/1089/product/170067",
  "name": "Pepperoni Pizza",
  "hasMenuItemOptions": [
    {
      "@type": "MenuItemOption",
      "value": {
        "@type": "PropertyValue",
        "name": "SIZE",
        "value": "Small"
      },
      "offers": {
        "@type": "Offer",
        "sku": "offer-small",
        "price": "10.00",
        "priceCurrency": "USD"
      }
    },
    {
      "@type": "MenuItemOption",
      "value": {
        "@type": "PropertyValue",
        "name": "SIZE",
        "value": "Medium"
      },
      "offers": {
        "@type": "Offer",
        "sku": "offer-medium",
        "price": "15.00",
        "priceCurrency": "USD"
      }
    },
    {
      "@type": "MenuItemOption",
      "value": {
        "@type": "PropertyValue",
        "name": "SIZE",
        "value": "Large"
      },
      "offers": {
        "@type": "Offer",
        "sku": "offer-large",
        "price": "20.00",
        "priceCurrency": "USD"
      }
    }
  ]
}

উদাহরণ 5

{
  "@type": ["MenuItem", "FoodBeverageTobaccoProduct"],
  "@id": "http://www.example.com/bar/menuitem/9",
  "name": "Ice Coffee",
  "offers": {
    "@type": "Offer",
    "sku": "offer-ice-coffee",
    "price": "3.99",
    "priceCurrency": "USD"
  },
  "nutrition": {
    "@type": "NutritionInformation",
    "description": "Contains preservatives and artificial flavor"
  },
  "hasAllergen": [
    {
      "@type": "AllergenDetails",
      "allergenType": "http://gs1.org/voc/AllergenTypeCode-LACTOSE",
      "allergenLevelOfContainmentCode":
        "http://gs1.org/voc/LevelOfContainmentCode-CONTAINS"
    },
    {
      "@type": "AllergenDetails",
      "allergenType": "http://gs1.org/voc/AllergenTypeCode-PEANUTS",
      "allergenLevelOfContainmentCode":
        "http://gs1.org/voc/LevelOfContainmentCode-MAY_CONTAIN"
    }
  ],
  "additive": [
    {
      "@type": "AdditiveDetails",
      "additiveName": "caffeine",
      "additiveLevelOfContainment":
        "http://gs1.org/voc/LevelOfContainmentCode-CONTAINS"
    }
  ],
  "packaging": {
    "@type": "PackagingDetails",
    "packagingRecyclingProcessType" :
      "http://gs1.org/voc/PackagingRecyclingProcessTypeCode-REUSABLE",
    "hasReturnablePackageDeposit": {
      "@type": "ReturnablePackageDepositDetails",
      "returnablePackageDepositAmount": {
        "@type": "http://gs1.org/voc/PriceSpecification",
        "http://gs1.org/voc/price": "0.10",
        "http://gs1.org/voc/priceCurrency": "USD"
      }
    }
  }
}

MenuItem সত্তার আরও উদাহরণের জন্য, রেস্তোরাঁ এবং মেনু ফিডের উদাহরণ দেখুন।

একটি ডিশ বা কম্বো নির্বাচন করার সময় একজন ব্যবহারকারীকে যে পছন্দগুলি করতে হবে তা উপস্থাপন করার একটি বিকল্প৷ ব্যবহারকারীকে অবশ্যই একটি বিকল্প নির্বাচন করতে হবে, অন্যথায় অর্ডারটি অবৈধ বলে বিবেচিত হবে। উদাহরণস্বরূপ, পিজ্জার ক্ষেত্রে ছোট, মাঝারি বা বড় নির্বাচন করা।

MenuItemOption এর নমুনা ব্যবহারের ক্ষেত্রে, MenuItemOption ব্যবহার করে কাস্টমাইজেশন সংক্রান্ত আমাদের গাইড দেখুন।

নিম্নলিখিত টেবিলটি MenuItemOption প্রকারের বৈশিষ্ট্যগুলি তালিকাভুক্ত করে:

সম্পত্তি টাইপ প্রয়োজনীয়তা বর্ণনা
@type পাঠ্য প্রয়োজন এটি সর্বদা "MenuItemOption"।
value PropertyValue প্রয়োজন PropertyValue বিকল্পটি প্রতিনিধিত্ব করে এমন একটি নাম/মান জোড়া রয়েছে।
offers Offer অ্যারে প্রয়োজন

এই MenuItemOption প্রদান করতে এক বা একাধিক অফার। কখন এবং কি মূল্যে এই মেনু আইটেম বিকল্পটি উপলব্ধ তা বর্ণনা করে। একটি নির্দিষ্ট সময়ে শুধুমাত্র একটি অফার বৈধ হতে হবে। দিনের সময়ের উপর ভিত্তি করে দাম/উপলভ্যতা পরিবর্তন করতে পারলে আপনার কাছে অনেক বৈধ অফার থাকতে পারে। Offer.eligibleQuantity ব্যবহার করবেন না। MenuItemOption পারস্পরিক একচেটিয়া, তাই Offer.eligibleQuantity প্রদান করা হলে উপেক্ষা করা হয়।

নীচের তালিকাটি দেখায় যে কোন Offer বৈশিষ্ট্যগুলি MenuItemOption এ ব্যবহার করা হয়েছে৷

  • Offer.sku আবশ্যক
  • Offer.price প্রয়োজন
  • Offer.priceCurrency প্রয়োজন
  • Offer.availabilityStarts ঐচ্ছিক
  • Offer.availabilityEnds ঐচ্ছিক
  • Offer.availableDay ঐচ্ছিক
  • Offer.validFrom ঐচ্ছিক
  • Offer.validThrough ঐচ্ছিক
  • Offer.eligibleQuantity ঐচ্ছিক
  • Offer.inventoryLevel ঐচ্ছিক
menuAddOn Array of AddOnMenuSection ঐচ্ছিক অনুমোদিত আইটেমগুলির মেনু বিভাগ যা অ্যাড-অন হিসাবে যোগ করা যেতে পারে। অ্যাড-অনগুলি একটি নির্দিষ্ট মেনু আইটেম বিকল্পের জন্য নির্দিষ্ট হলেই এটি ব্যবহার করুন। অন্যথায় MenuItem .menuAddOn প্রপার্টি ব্যবহার করে অ্যাড-অন প্রদান করুন।
suitableForDiet RestrictedDiet এর অ্যারে ঐচ্ছিক গণনা করা তালিকা যা ডায়েট নির্দেশ করে যেখানে এই খাবারটি বর্ণিত খাদ্যতালিকাগত সীমাবদ্ধতা মেনে চলে (যেমন "http://schema.org/GlutenFreeDiet" বা "http://schema.org/VeganDiet")।
nutrition NutritionInformation ঐচ্ছিক খাবারের জন্য পুষ্টির তথ্য, বিশেষ করে ক্যালোরি।
hasAllergen AllergenDetails ঐচ্ছিক প্রতি gs1:AllergenDetails বিশদ। এই প্রপার্টি ব্যবহার করতে gs1 প্রসঙ্গ যোগ করুন: "@context": ["http://gs1.org/voc/", "http://schema.org"] । এবং MenuItemOption এর প্রকারে FoodBeverageTobaccoProduct যোগ করুন।
additive AdditiveDetails এর অ্যারে ঐচ্ছিক প্রতি gs1:AdditiveDetails । এটি সম্ভাব্য মানগুলির একটি গণিত তালিকা। এই প্রপার্টি ব্যবহার করতে gs1 প্রসঙ্গ যোগ করুন: "@context": ["http://gs1.org/voc/", "http://schema.org"] । এবং MenuItemOption এর প্রকারে FoodBeverageTobaccoProduct যোগ করুন।
packaging PackagingDetails ঐচ্ছিক এই মেনুআইটেমের প্যাকেজিং এবং রিসাইক্লিং তথ্য প্রতি gs1:PackagingDetails এই সম্পত্তি ব্যবহার করতে gs1 প্রসঙ্গ যোগ করুন: "@context": ["http://gs1.org/voc/", "http://schema.org"] । এবং MenuItemOption এর প্রকারে FoodBeverageTobaccoProduct যোগ করুন।

নিম্নলিখিত উদাহরণ MenuItemOption উপাদানগুলি দেখায়:

উদাহরণ 1

{
  "@type": "MenuItem",
  "@id": "https://www.example.com/1089/product/170067",
  "name": "Pepperoni Pizza",
  "hasMenuItemOptions": [
    {
      "@type": "MenuItemOption",
      "value": {
        "@type": "PropertyValue",
        "name": "SIZE",
        "value": "Small"
      },
      "offers": {
        "@type": "Offer",
        "sku": "offer-small",
        "price": "10.00",
        "priceCurrency": "USD"
      }
    },
    {
      "@type": "MenuItemOption",
      "value": {
        "@type": "PropertyValue",
        "name": "SIZE",
        "value": "Medium"
      },
      "offers": {
        "@type": "Offer",
        "sku": "offer-medium",
        "price": "15.00",
        "priceCurrency": "USD"
      }
    },
    {
      "@type": "MenuItemOption",
      "value": {
        "@type": "PropertyValue",
        "name": "SIZE",
        "value": "Large"
      },
      "offers": {
        "@type": "Offer",
        "sku": "offer-large",
        "price": "20.00",
        "priceCurrency": "USD"
      }
    }
  ]
}

উদাহরণ 2

{
  "@type": "MenuItem",
  "@id": "https://www.example.com/1089/product/170067",
  "name": "Meat Combo",
  "hasMenuItemOptions": [
    {
      "@type": "MenuItemOption",
      "value": {
        "@type": "PropertyValue",
        "name": "OPTION",
        "value": "Plate",
        "offers": {
          "@type": "Offer",
          "sku": "offer-meat-combo-plate",
          "price": "12.00",
          "priceCurrency": "USD"
        },
        "menuAddOn": [
          {
            "@type": "AddOnMenuSection",
            "name": "Toppings for Plate",
            "@id": "https://www.example.com/1089/addon/1",
            "eligibleQuantity": {
              "@type": "QuantitativeValue",
              "minValue": 0,
              "maxValue": 3
            },
            "hasMenuItem": [
              {
                "@type": "AddOnMenuItem",
                "@id": "https://www.example.com/1089/addon/1/a",
                "name": "Hummus",
                "offers": {
                  "@type": "Offer",
                  "sku": "offer-meat-combo-topping-hummus",
                  "price": "1.00",
                  "priceCurrency": "USD"
                }
              }
              // -- Other Items --
            ]
          }
        ]
      }
    },
    {
      "@type": "MenuItemOption",
      "value": {
        "@type": "PropertyValue",
        "name": "OPTION",
        "value": "Sandwich"
      },
      "offers": {
        "@type": "Offer",
        "sku": "offer-meat-combo-sandwich",
        "price": "10.00",
        "priceCurrency": "USD"
      },
      "menuAddOn": [
        {
          "@type": "AddOnMenuSection",
          "name": "Toppings for Sandwich",
          "@id": "https://www.example.com/1089/addon/1",
          "eligibleQuantity": {
            "@type": "QuantitativeValue",
            "minValue": 0,
            "maxValue": 2
          },
          "hasMenuItem": [
            {
              "@type": "AddOnMenuItem",
              "@id": "https://www.example.com/1089/addon/1/a",
              "name": "Hummus",
              "offers": {
                "@type": "Offer",
                "sku": "offer-meat-combo-topping-hummus",
                "price": "1.00",
                "priceCurrency": "USD"
              }
            }
            // -- Other Items --
          ]
        }
      ]
    }
  ]
}

মেনু বিভাগ মেনুতে একটি নির্দিষ্ট বিভাগের প্রতিনিধিত্ব করতে। নিম্নলিখিত টেবিলটি MenuSection প্রকারের বৈশিষ্ট্যগুলি তালিকাভুক্ত করে:

সম্পত্তি টাইপ প্রয়োজনীয়তা বর্ণনা
@type পাঠ্য প্রয়োজন এটি সর্বদা "মেনুসেকশন"।
@id URL প্রয়োজন মেনু বিভাগের অনন্য শনাক্তকারী।
name পাঠ্য প্রয়োজন টেক্সট যা MenuSection সনাক্ত করতে পারে যখন একজন ব্যবহারকারী মেনু ব্রাউজ করে।
description পাঠ্য ঐচ্ছিক মেনু বিভাগের বর্ণনা।
hasMenuSection MenuSection অ্যারে ঐচ্ছিক MenuSection লজিক্যাল সাব-গ্রুপিং। উদাহরণস্বরূপ, ডিনার মেনু বিভাগে একাধিক উপ-মেনু বিভাগ থাকতে পারে যেমন "পোল্ট্রি ডিশ" বা "নিরামিষাশী"।
hasMenuItem MenuItem অ্যারে ঐচ্ছিক একটি MenuSection থাকা মেনু আইটেম।
offers Offer অ্যারে ঐচ্ছিক

এই MenuSection যে সময়ের মধ্যে পরিবেশিত হয় তা নির্দেশ করতে Offer.availabilityStarts এবং Offer.availabilityEnds ব্যবহার করুন। Offer.eligibleQuantity ব্যবহার করবেন না।

নিম্নলিখিত তালিকাটি দেখায় যে কোন Offer বৈশিষ্ট্যগুলি MenuSection ব্যবহার করা হয়েছে:

  • Offer.availabilityStarts ঐচ্ছিক
  • Offer.availabilityEnds ঐচ্ছিক
  • Offer.availableDay ঐচ্ছিক
  • Offer.validFrom ঐচ্ছিক
  • Offer.validThrough ঐচ্ছিক
image URL ঐচ্ছিক মেনু বিভাগের চিত্র।

নিম্নলিখিত উদাহরণগুলি MenuSection সত্তা দেখায়:

উদাহরণ 1

{
  "@type": "MenuSection",
  "@id": "http://www.provider.com/bar/menusection/4",
  "name": "Steak",
  "description": "Steak Dishes",
  "image": "https://steak.com/steak_dishes.jpg",
  "hasMenuItem": {
    "@type": "MenuItem",
    "@id": "http://www.provider.com/bar/menuitem/3",
    "name": "Sirloin",
    "description": "Sirloin steak dish.",
    "offers": {
      "@type": "Offer",
      "sku": "offer-sirloin-steak",
      "price": "15.49",
      "priceCurrency": "USD"
    },
    "suitableForDiet": "http://schema.org/GlutenFreeDiet"
  }
}

উদাহরণ 2

"hasMenuSection": [
  {
    "@type": "MenuSection",
    "@id": "https://www.example.com/1089/categorization/25114480",
    "name": "Main Items",
    "hasMenuItem": [
      {
        "@type": "MenuItem",
        "@id": "https://www.example.com/1089/product/170067",
        "name": "Veg Grill Burrito",
        "offers": {
          "@type": "Offer",
          "sku": "offer-veg-grill-burrito",
          "price": "12.99",
          "priceCurrency": "USD"
        },
        "menuAddOn": {
          "@type": "AddOnMenuSection",
          "name": "Cheese",
          "@id": "https://www.example.com/1089/addon/1", // Points to an AddOnMenuSection
          "eligibleQuantity":
            "@type": "QuantitativeValue",
            "minValue": 0,
            "maxValue": 2 // Maximum of 2 cheeses are allowed
          }
        }
      },
      {
        "@type": "MenuItem",
        "@id": "https://www.example.com/1089/product/170018",
        "name": "Chicken Taco",
        "offers": {
          "@type": "Offer",
          "sku": "offer-chicken-taco",
          "price": "6.99",
          "priceCurrency": "USD"
        }
      }
    ]
  },
  {
    "@type": "AddOnMenuSection",
    "@id": "https://www.example.com/1089/addon/1",
    "name": "AddOnCheese",
    "hasMenuItem": [
      {
        "@type": "AddOnMenuItem",
        "@id": "https://www.example.com/1089/addon/a",
        "name": "Swiss",
        "offers": {
          "@type": "Offer",
          "sku": "offer-swiss",
          "price": "2.99",
          "priceCurrency": "USD"
        }
      },
      {
        "@type": "AddOnMenuItem",
        "@id": "https://www.example.com/1089/addon/b",
        "name": "Mozarella",
        "offers": {
          "@type": "Offer",
          "sku": "offer-mozzarella",
          "price": "1.99",
          "priceCurrency": "USD"
        }
      }
    ]
  }
]

MenuSection সত্তার আরও উদাহরণের জন্য, রেস্তোরাঁ এবং মেনু ফিডের উদাহরণ দেখুন।

পুষ্টি তথ্য

নিম্নলিখিত সারণী NutritionInformation প্রকারের বৈশিষ্ট্য বর্ণনা করে। পরিমাপের একক কেস-সংবেদনশীল। উদাহরণস্বরূপ, "ক্যাল" গ্রহণ করা হয়, কিন্তু "ক্যাল" নয়।

সম্পত্তি টাইপ প্রয়োজনীয়তা বর্ণনা
@type পাঠ্য প্রয়োজন এটি সর্বদা "নিউট্রিশন ইনফরমেশন"।
description পাঠ্য ঐচ্ছিক বিনামূল্যে পাঠ্য পুষ্টি তথ্য. যেমন "কনটেইন প্রিজারভেটিভস"।
calories পাঠ্য ঐচ্ছিক

নিম্নলিখিত বিন্যাস ব্যবহার করে Cal, kcal, বা kJ-তে ক্যালোরির সংখ্যা:

number Cal_kcal_OR_kJ

উদাহরণস্বরূপ, "240 ক্যাল"।

carbohydrateContent পাঠ্য ঐচ্ছিক

কার্বোহাইড্রেটের পরিমাণ, সাধারণত g তে, নিম্নলিখিত বিন্যাসটি ব্যবহার করে:

number g_OR_mg

উদাহরণস্বরূপ, "7 গ্রাম"।

cholesterolContent পাঠ্য ঐচ্ছিক

কোলেস্টেরলের পরিমাণ, সাধারণত মিলিগ্রামে, নিম্নলিখিত বিন্যাসটি ব্যবহার করে:

number g_OR_mg

উদাহরণস্বরূপ, "12 মিলিগ্রাম"।

fatContent পাঠ্য ঐচ্ছিক

চর্বি পরিমাণ, সাধারণত g, নিম্নলিখিত বিন্যাস ব্যবহার করে:

number g_OR_mg

উদাহরণস্বরূপ, "42 গ্রাম"।

fiberContent পাঠ্য ঐচ্ছিক

নিম্নলিখিত বিন্যাস ব্যবহার করে ফাইবারের g বা mg সংখ্যা:

number g_OR_mg
proteinContent পাঠ্য ঐচ্ছিক

নিম্নলিখিত বিন্যাস ব্যবহার করে প্রোটিনের g বা mg সংখ্যা:

number g_OR_mg
saturatedFatContent পাঠ্য ঐচ্ছিক

নিম্নলিখিত বিন্যাস ব্যবহার করে স্যাচুরেটেড ফ্যাটের g বা mg সংখ্যা:

number g_OR_mg
servingSize পাঠ্য ঐচ্ছিক ভলিউম বা ভর সংখ্যার পরিপ্রেক্ষিতে mL, L, g, বা kg-এ পরিবেশন আকার।
sodiumContent পাঠ্য ঐচ্ছিক

নিম্নলিখিত বিন্যাস ব্যবহার করে সোডিয়ামের মিলিগ্রাম বা গ্রাম সংখ্যা:

number g_OR_mg
sugarContent পাঠ্য ঐচ্ছিক

নিম্নলিখিত বিন্যাস ব্যবহার করে চিনির গ্রাম বা মিলিগ্রাম সংখ্যা:

number g_OR_mg
transFatContent পাঠ্য ঐচ্ছিক

ট্রান্স ফ্যাটের g বা mg সংখ্যা, নিম্নলিখিত বিন্যাস ব্যবহার করে:

number g_OR_mg
unsaturatedFatContent পাঠ্য ঐচ্ছিক

অসম্পৃক্ত চর্বির পরিমাণ, সাধারণত g তে, নিম্নলিখিত বিন্যাসটি ব্যবহার করে:

number g_OR_mg

নিম্নলিখিত উদাহরণগুলি একটি NutritionInformation উপাদান দেখায়:

উদাহরণ 1

"nutrition": {
  "@type": "NutritionInformation",
  "calories": "170 Cal",
  "fatContent": "3 g",
  "fiberContent": "2 g",
  "proteinContent": "4 g"
},

উদাহরণ 2

{
  "@type": ["MenuItem", "FoodBeverageTobaccoProduct"],
  "@id": "http://www.example.com/bar/menuitem/7",
  "name": "Peach Ice Tea",
  "description": "A 0.5l bottle of peach ice tea.",
  "offers": {
    "@type": "Offer",
    "sku": "offer-peach-ice-tea",
    "price": "2.49",
    "priceCurrency": "USD"
  },
  "nutrition": {
              "@type": "NutritionInformation",
              "description": "Contains preservatives and artificial flavor"
  }
},

অফার

একটি মেনু আইটেম জন্য অফার. নিম্নলিখিত সারণী Offer প্রকারের বৈশিষ্ট্য বর্ণনা করে:

সম্পত্তি টাইপ প্রয়োজনীয়তা বর্ণনা
@type পাঠ্য প্রয়োজন এটি সর্বদা "অফার"।
sku পাঠ্য শর্তসাপেক্ষ

অফারের অনন্য শনাক্তকারী। Offer মধ্যে অনন্য যেকোনো পাঠ্য মান হতে পারে। sku মানগুলি চেকআউটে উল্লেখ করা হয় এবং lineitemofferId হিসাবে জমা দেওয়া হয়।

এই সম্পত্তি শুধুমাত্র নিম্নলিখিত অফার ধরনের ব্যবহার করা হয়:

  • AddOnMenuItem.Offer
  • MenuItem.Offer
  • MenuOption.Offer
price পাঠ্য শর্তসাপেক্ষ

প্রস্তাবিত আইটেম মূল্য. উদাহরণস্বরূপ, মুদ্রা চিহ্ন ছাড়া "6.00"।

এই সম্পত্তি শুধুমাত্র নিম্নলিখিত অফার ধরনের প্রয়োজন হয়:

  • AddOnMenuItem.Offer
  • MenuItem.Offer
  • MenuOption.Offer

এটি নিম্নলিখিত অফার ধরনের ব্যবহার করা হয় না:

  • AddOnMenuSection.Offer
  • MenuSection.Offer
  • Service.Offer
priceCurrency পাঠ্য শর্তসাপেক্ষ

মূল্যের মুদ্রা (3-অক্ষরের ISO 4217 ফর্ম্যাটে) মূল্য বা একটি মূল্য উপাদান, যখন প্রাইস স্পেসিফিকেশন এবং এর উপপ্রকারের সাথে সংযুক্ত থাকে।

এই সম্পত্তি শুধুমাত্র নিম্নলিখিত অফার ধরনের প্রয়োজন হয়:

  • AddOnMenuItem.Offer
  • MenuItem.Offer
  • MenuOption.Offer

এটি নিম্নলিখিত অফার ধরনের ব্যবহার করা হয় না:

  • AddOnMenuSection.Offer
  • MenuSection.Offer
  • Service.Offer
availabilityStarts DateTime বা Time ঐচ্ছিক তারিখ এবং সময় বা শুধুমাত্র যে সময় থেকে অফার পাওয়া যায়। উদাহরণস্বরূপ, যদি প্যানকেকগুলি সকাল 7:00 AM থেকে শুরু করে পরিবেশন করা হয়, তাহলে এই ক্ষেত্রের মান নিম্নলিখিতগুলির মতো দেখতে পারে: "2017-05-01T07:00:00-07:00"৷ আরও তথ্যের জন্য, তারিখ সময় এবং সময় বিন্যাস দেখুন।
availabilityEnds DateTime বা Time ঐচ্ছিক তারিখ এবং সময় বা অফারটি অনুপলব্ধ হওয়ার সময়। এই সময় একচেটিয়া. উদাহরণস্বরূপ, যদি প্যানকেকের প্রাপ্যতা সকাল 10 টায় শেষ হয়, তাহলে শেষ প্যানকেকটি 9:59:59 AM এ পরিবেশন করা যেতে পারে। এই ক্ষেত্রের মানটি তখন নিচের মত দেখতে পারে: "2017-05-01T10:00:00-07:00"। আরও তথ্যের জন্য, তারিখ সময় এবং সময় বিন্যাস দেখুন।
availableDay DayOfWeek এর অ্যারে ঐচ্ছিক

এই আইটেমটি উপলব্ধ সপ্তাহের দিন. বৈধ মান হল:

  • "সোমবার"
  • "মঙ্গলবার"
  • "বুধবার"
  • "বৃহস্পতিবার"
  • "শুক্রবার"
  • "শনিবার"
  • "রবিবার"

যদি সপ্তাহের বিভিন্ন দিনের জন্য আপনার কাছে বিভিন্ন উপলব্ধতা থাকে, তাহলে নীচের উদাহরণে দেখানো হিসাবে একাধিক Offer অবজেক্ট ব্যবহার করুন।

validFrom DateTime ঐচ্ছিক

তারিখ এবং সময় (সময় অঞ্চল সহ) যেখানে নির্দিষ্ট মূল্য বৈধ। উদাহরণস্বরূপ, পাস্তা লাঞ্চের সময় $8 এবং ডিনারে $10। আরও তথ্যের জন্য, তারিখ সময় এবং সময় বিন্যাস দেখুন।

এই সম্পত্তি নিম্নলিখিত ধরনের অফার ব্যবহার করা যেতে পারে:

  • AddOnMenuItem.Offer
  • MenuItem.Offer
  • MenuOption.Offer
  • AddOnMenuSection.Offer
  • MenuSection.Offer

এই সম্পত্তি নিম্নলিখিত অফার ধরনের ব্যবহার করা হয় না:

  • Service.Offer
validThrough DateTime ঐচ্ছিক

তারিখ এবং সময় (সময় অঞ্চল সহ) যার পরে নির্দিষ্ট মূল্য আর বৈধ নয়৷ উদাহরণস্বরূপ, পাস্তা লাঞ্চের সময় $8 এবং ডিনারে $10। validThrough এর সময় একচেটিয়া: উদাহরণস্বরূপ, যদি সেই সময়টি 6 PM-তে সেট করা হয়, তাহলে সময়টি 5:59:59 PM পর্যন্ত বৈধ। আরও তথ্যের জন্য, তারিখ সময় এবং সময় বিন্যাস দেখুন।

এই সম্পত্তি নিম্নলিখিত ধরনের অফার ব্যবহার করা যেতে পারে:

  • AddOnMenuItem.Offer
  • MenuItem.Offer
  • MenuOption.Offer
  • AddOnMenuSection.Offer
  • MenuSection.Offer

এই সম্পত্তি নিম্নলিখিত অফার ধরনের ব্যবহার করা হয় না.

  • Service.Offer
eligibleQuantity পরিমাণগত মান ঐচ্ছিক

অর্ডারের পরিমাণ যার জন্য এই আইটেমটি অনুমোদিত। উদাহরণস্বরূপ, একটি রেস্তোরাঁর ডেলিভারির জন্য কমপক্ষে 10টি পিজা অর্ডার করতে হতে পারে।

এই মান ঐচ্ছিক. ডিফল্টরূপে, কোন সর্বোচ্চ সীমা নেই, তবে রেস্টুরেন্ট একটি নির্দিষ্ট করতে পারে। ন্যূনতম সীমা শুধুমাত্র তখনই প্রযোজ্য যখন একজন ব্যবহারকারী আইটেম নির্বাচন করেন।

এই সম্পত্তি নিম্নলিখিত ধরনের অফার ব্যবহার করা যেতে পারে:

  • AddOnMenuItem.Offer
  • MenuItem.Offer
  • MenuOption.Offer

এই সম্পত্তি নিম্নলিখিত অফার ধরনের ব্যবহার করা হয় না.

  • AddOnMenuSection.Offer
  • MenuSection.Offer
  • Service.Offer
aggregateRating সমষ্টিগত রেটিং ঐচ্ছিক

আইটেমটির পর্যালোচনা বা রেটিংগুলির সংগ্রহের উপর ভিত্তি করে সামগ্রিক রেটিং।

এই সম্পত্তি নিম্নলিখিত ধরনের অফার ব্যবহার করা যেতে পারে:

  • AddOnMenuItem.Offer
  • MenuItem.Offer

এই সম্পত্তি নিম্নলিখিত ধরনের ব্যবহার করা হয় না.

  • AddOnMenuSection.Offer
  • MenuItemOption.Offer
  • MenuSection.Offer
  • Service.Offer
inventoryLevel পরিমাণগত মান ঐচ্ছিক

আইটেম বা আইটেমগুলির জন্য বর্তমান আনুমানিক ইনভেন্টরি স্তর।

এই সম্পত্তি নিম্নলিখিত ধরনের অফার ব্যবহার করা যেতে পারে:

  • AddOnMenuItem.Offer
  • MenuItem.Offer
  • MenuItemOption.Offer

এই সম্পত্তি নিম্নলিখিত অফার ধরনের ব্যবহার করা হয় না:

  • AddOnMenuSection.Offer
  • MenuSection.Offer
  • Service.Offer
priceSpecification DeliveryChargeSpecification এর অ্যারে বা PaymentChargeSpecification এর অ্যারে ঐচ্ছিক

Service.Offer এ ব্যবহৃত হলে, এটি ডেলিভারির মূল্যের বিবরণ নির্দেশ করে। একাধিক DeliveryChargeSpecification অবজেক্ট প্রযোজ্য হলে, সবচেয়ে নির্দিষ্ট একটি প্রয়োগ করা হয়। কোনো অস্পষ্টতা এড়াতে পারস্পরিক একচেটিয়া DeliveryChargeSpecification অবজেক্ট ব্যবহার করুন।

এই সম্পত্তি নিম্নলিখিত ধরনের অফার ব্যবহার করা যেতে পারে:

  • Service.Offer

এই সম্পত্তি নিম্নলিখিত অফার ধরনের ব্যবহার করা হয় না:

  • AddOnMenuItem.Offer
  • AddOnMenuSection.Offer
  • MenuItem.Offer
  • MenuOption.Offer
  • MenuSection.Offer
offeredBy Restaurant আইডি এর অ্যারে ঐচ্ছিক

এই Offer যে রেস্তোরাঁগুলিতে দেওয়া হয় সেগুলির প্রতিনিধিত্ব করে৷

নির্দিষ্ট না থাকলে, এই Offer সমস্ত রেস্তোরাঁয় দেওয়া হবে৷

এই সম্পত্তি নিম্নলিখিত ধরনের অফার ব্যবহার করা যেতে পারে:

  • AddOnMenuItem.Offer
  • AddOnMenuSection.Offer
  • MenuItem.Offer
  • MenuItemOption.Offer
  • MenuSection.Offer

এই সম্পত্তি নিম্নলিখিত অফার ধরনের ব্যবহার করা হয় না:

  • Service.Offer
applicableFulfillmentMethod টেক্সটের অ্যারে ঐচ্ছিক

এই Offer যে ধরনের পরিষেবার দ্বারা পূর্ণ হয় তা প্রতিনিধিত্ব করে৷ সম্ভাব্য মান হল "DELIVERY" বা "TAKEOUT"।

নির্দিষ্ট না থাকলে, এই Offer ডেলিভারি এবং টেকআউট উভয়ের মাধ্যমেই পূর্ণ হবে।

এই সম্পত্তি নিম্নলিখিত ধরনের অফার ব্যবহার করা যেতে পারে:

  • AddOnMenuItem.Offer
  • AddOnMenuSection.Offer
  • MenuItem.Offer
  • MenuItemOption.Offer
  • MenuSection.Offer

এই সম্পত্তি নিম্নলিখিত অফার ধরনের ব্যবহার করা হয় না:

  • Service.Offer
@id URL অবচয় অফারের অনন্য শনাক্তকারী। 4/25/19 তারিখ থেকে অবনমিত, উপরে বর্ণিত হিসাবে sku দিয়ে প্রতিস্থাপন করুন।

নিম্নলিখিত উদাহরণগুলি Offer উপাদানগুলি দেখায়:

উদাহরণ 1

নিম্নলিখিত উদাহরণ একটি সহজ অফার দেখায়:

{
  "@type": "Offer",
  "@id": "https://www.provider.com/menu/74962/139/offer",
  "price": "10",
  "priceCurrency": "USD"
}

উদাহরণ 2

নিম্নলিখিত উদাহরণের অফারটি সপ্তাহান্তে সকাল 8-10 AM থেকে উপলব্ধতা দেখায়:

{
  "@type": "Offer",
  "@id": "https://www.provider.com/menu/74962/140/offer",
  "price": "10",
  "priceCurrency": "USD",
  "availabilityStarts": "T08:00:00-07:00",  // Only available from 8-9:59:59 AM
  "availabilityEnds": "T10:00:00-07:00",
  "availableDay": ["Saturday", "Sunday"]  // Only on weekends.
}

উদাহরণ 3

নিম্নলিখিত উদাহরণটি সোমবার, বুধবার এবং শুক্রবার সকাল 9-10:59:59 AM থেকে উপলব্ধতা দেখায়, তবে মঙ্গলবার এবং বৃহস্পতিবার সকাল 8-11:59:59 AM থেকে পাওয়া যায়:

{
  "@type": "Offer",
  "@id": "https://www.provider.com/menu/74962/140/offer",
  "price": "10",
  "priceCurrency": "USD",
  "availabilityStarts": "T09:00:00-07:00",
  "availabilityEnds": "T11:00:00-07:00",
  "availableDay": ["Monday", "Wednesday", "Friday"]
}, {
  "@type": "Offer",
  "@id": "https://www.provider.com/menu/74962/141/offer",
  "price": "10",
  "priceCurrency": "USD",
  "availabilityStarts": "T08:00:00-07:00",
  "availabilityEnds": "T12:00:00-07:00",
  "availableDay": ["Tuesday", "Thursday"]
}

উদাহরণ 4

নিম্নলিখিত উদাহরণটি একটি অ্যাড-অন মেনু আইটেমের যোগ্য পরিমাণ সেট দেখায় যাতে ব্যবহারকারী সেই আইটেমের সর্বাধিক 2টি অংশ অর্ডার করতে পারে৷:

{
  "@type": "AddOnMenuItem",
  "@id": "https://www.example.com/1089/addon/a",
  "name": "Ranch",
  "offers": {
    "@type": "Offer",
    "@id": "https://www.example.com/1089/addon/a/offer",
    "price": "2.99",
    "priceCurrency": "USD"
    "eligibleQuantity": {
         "@type": "QuantitativeValue",
         "maxValue": 2
     }
  }
}

উদাহরণ 5

নিম্নলিখিত উদাহরণটি একটি নির্দিষ্ট স্থানে একটি ডেলিভারি অফার দেখায়:

{
  "@type": "Offer",
  "@id": "https://www.provider.com/menu/74962/139/offer",
  "price": "10",
  "priceCurrency": "USD",
  "applicableFulfillmentMethods": ["DELIVERY"],
  "offeredBy": [
    {
      "@type": "Restaurant",
      "@id": "https://www.provider.com/location/1",
    }
  ]
}

খোলার সময় নির্দিষ্টকরণ

সংজ্ঞায়িত করে যখন অর্ডারিং পরিষেবা উপলব্ধ থাকে। সাধারণত, opens এর মান closes মান থেকে কম হয়। নিম্নলিখিত নির্দেশিকাগুলি opens এবং closes বৈশিষ্ট্যগুলি ব্যবহার করার ক্ষেত্রে প্রযোজ্য:

  • opens এবং closes বৈশিষ্ট্যগুলি al চ্ছিক তবে অর্ডার দেওয়ার সময় বোঝানোর জন্য দৃ strongly ়ভাবে সুপারিশ করা হয়। উপলভ্য সময়গুলি সংজ্ঞায়িত করার জন্য সর্বোত্তম অনুশীলনটি হ'ল একটি deliveryHours অ্যারে অন্তর্ভুক্ত করা যা একটি ServiceDeliveryHoursSpecification রয়েছে এবং opens এবং বৈশিষ্ট্যগুলি closes । তারপরে আপনি যদি অগ্রিম ক্রমের জন্য আরও সীমিত উইন্ডো সরবরাহ করতে চান তবে আপনি তার নিজস্ব opens এবং closes বৈশিষ্ট্যগুলি দিয়ে deliveryHours একটি AdvanceServiceDeliveryHoursSpecification অবজেক্ট অন্তর্ভুক্ত করতে পারেন।
  • যদি opens এবং closes স্পষ্টভাবে নির্দিষ্ট না করা হয় তবে আমরা ধরে নিই যে অর্ডার দেওয়া পরিষেবা প্রতিদিনের সর্বদা উপলব্ধ।
  • সময়টি অবশ্যই পরিষেবাটির জন্য স্থানীয় সময়ে নির্দিষ্ট করা উচিত। opens বা closes মানগুলিতে একটি সময় অঞ্চল অন্তর্ভুক্ত করবেন না। যদি কোনও সময় অঞ্চল নির্দিষ্ট করা থাকে তবে গুগল এই তথ্যটিকে উপেক্ষা করে।
  • যদি opens এবং closes একই হয় তবে আমরা ধরে নিই যে রেস্তোঁরাটি 0 মিনিটের জন্য খোলা আছে।
  • যদি opens closes বেশি হয় তবে শেষের সময়টি পরের দিনটিতে ব্যাখ্যা করা হয়। উদাহরণস্বরূপ, যদি উদ্বোধনী সময়টি 1 জানুয়ারী বিকাল 5 টায় সেট করা হয় এবং শেষ সময়টি 2 টা হয়, তবে রেস্তোঁরাটি 2 জানুয়ারী সকাল 2 টায় বন্ধ হিসাবে ব্যাখ্যা করা হয়।
  • closes জন্য সময় একচেটিয়া। অতএব, যদি এই অর্ডারিং উইন্ডোটির জন্য উন্মুক্ত এবং ঘনিষ্ঠ সময়গুলি যথাক্রমে 10 টা এবং 4 টা অবধি সেট করা থাকে তবে শেষ আদেশটি 3:59:59 অপরাহ্ন হয়।

নিম্নলিখিত টেবিলটি OpeningHoursSpecification প্রকারের বৈশিষ্ট্যগুলি বর্ণনা করে:

সম্পত্তি টাইপ প্রয়োজনীয়তা বর্ণনা
@type পাঠ্য প্রয়োজন এটি সর্বদা "ওপেনহোরসস্পেসিফিকেশন"।
@id URL ঐচ্ছিক OpeningHoursSpecification জন্য সনাক্তকারী।
dayOfWeek DayOfWeek অ্যারে ঐচ্ছিক

সপ্তাহের যে দিন এই খোলার সময় বৈধ। গ্রহণযোগ্য মানগুলি হ'ল "সোমবার", "মঙ্গলবার", "বুধবার", "বৃহস্পতিবার", "শুক্রবার", "শনিবার" এবং "রবিবার"। উদাহরণ স্বরূপ:

"dayOfWeek": [
"Monday",
"Tuesday",
"Wednesday",
"Thursday",
"Friday"
]

আপনি যদি সপ্তাহের কোনও দিন নির্দিষ্ট না করেন তবে OpeningHoursSpecification সমস্ত দিনের ক্ষেত্রে প্রযোজ্য।

opens Time ঐচ্ছিক

যখন কোনও Restaurant স্পেসিফিকেশনে ব্যবহৃত হয়, এই সম্পত্তিটি সপ্তাহের নির্দিষ্ট দিন (গুলি) এ রেস্তোঁরাটির খোলার সময়কে নির্দেশ করে। উদাহরণস্বরূপ, সকাল 6:30 টা "T06: 30: 00" হিসাবে দেওয়া হয়।

যখন কোনও Service স্পেসিফিকেশনে ব্যবহৃত হয়, এটি দিনের নির্দিষ্ট সময়টি শুরু করে যা থেকে শুরু করে ব্যবহারকারীদের অর্ডার স্থাপন করা যেতে পারে। এটি অনলাইন সিস্টেমটি কখন শেষ হবে তার জন্য খোলার সময় নির্দিষ্ট করে এবং ব্যবহারকারীদের অর্ডার দেওয়ার অনুমতি দেয়। এই অনলাইন সিস্টেমের খোলার/সমাপ্তির সময়গুলির মধ্যে, ব্যবহারকারীরা যখন বিশেষ ধরণের বিতরণ অর্ডার করতে পারে তখন আপনি খোলার/সমাপ্তির সময় নির্দিষ্ট করতে deliveryHours ব্যবহার করতে পারেন।

সময়টি অবশ্যই পরিষেবাটির জন্য স্থানীয় সময়ে নির্দিষ্ট করা উচিত। একটি opens ভ্যালুতে একটি সময় অঞ্চল অন্তর্ভুক্ত করবেন না। যদি কোনও সময় অঞ্চল নির্দিষ্ট করা থাকে তবে গুগল এই তথ্যটিকে উপেক্ষা করে।

আরও তথ্যের জন্য, ডেটটাইম এবং টাইম ফর্ম্যাটগুলি দেখুন।

closes Time ঐচ্ছিক

যখন কোনও Service স্পেসিফিকেশনে ব্যবহৃত হয়, এই সম্পত্তিটি দিনের নির্দিষ্ট সময়টি নির্দেশ করে যার বাইরে ব্যবহারকারীদের অর্ডার স্থাপন করা যায় না। এটি অনলাইন সিস্টেমটি কখন শেষ হবে তার সমাপ্তির সময়টি নির্দিষ্ট করে এবং ব্যবহারকারীদের অর্ডার দেওয়ার অনুমতি দেয়। এই অনলাইন সিস্টেমের খোলার/সমাপ্তির সময়গুলির মধ্যে, ব্যবহারকারীরা যখন বিশেষ ধরণের বিতরণ অর্ডার করতে পারে তখন আপনি খোলার/সমাপ্তির সময় নির্দিষ্ট করতে deliveryHours ব্যবহার করতে পারেন।

সময়টি অবশ্যই পরিষেবাটির জন্য স্থানীয় সময়ে নির্দিষ্ট করা উচিত। closes মানতে একটি সময় অঞ্চল অন্তর্ভুক্ত করবেন না। যদি কোনও সময় অঞ্চল নির্দিষ্ট করা থাকে তবে গুগল এই তথ্যটিকে উপেক্ষা করে।

আরও তথ্যের জন্য, ডেটটাইম এবং টাইম ফর্ম্যাটগুলি দেখুন।

validFrom DateTime ঐচ্ছিক

যখন কোনও Restaurant স্পেসিফিকেশনে ব্যবহৃত হয়, এই সম্পত্তিটি যখন রেস্তোঁরাগুলির জন্য opens এবং closes দ্বারা নির্দিষ্ট খোলার সময়গুলি বৈধ হয় তখন সেই তারিখটি নির্দেশ করে।

উদাহরণস্বরূপ, যদি দেওয়া সময়গুলি 2017 সালের সমস্ত ক্ষেত্রে প্রযোজ্য হয় তবে আপনি "2017-01-01T00: 00: 00-07: 00" এ validFrom সেট করেছেন এবং "2017-12-31T23: 59: 59-07 এ validThrough : 00 "।

যখন কোনও Service স্পেসিফিকেশনে ব্যবহার করা হয়, validFrom থেকে শুরু করে শুরু হওয়া তারিখটি নির্দেশ করে যা থেকে ব্যবহারকারীদের অর্ডার স্থাপন করা যেতে পারে।

যদি এই সম্পত্তিটি আপনার ফিডে নির্দিষ্ট না করা হয় তবে গুগল ধরে নেয় যে রেস্তোঁরা বা পরিষেবা প্রতিদিন উপলব্ধ।

তারিখ ছাড়াও, মানের সময় এবং সময় অঞ্চল অংশগুলির প্রয়োজন।

টাইম জোনের জন্য, রেস্তোঁরাগুলির বা পরিষেবার সময় অঞ্চলটি ব্যবহার করুন।

আরও তথ্যের জন্য, ডেটটাইম এবং টাইম ফর্ম্যাটগুলি দেখুন।

validThrough DateTime ঐচ্ছিক

যখন কোনও Restaurant ব্যবহার করা হয়, সেই তারিখের পরে যার পরে opens এবং closes দ্বারা নির্দিষ্ট করা সময়গুলি বৈধ নয়।

উদাহরণস্বরূপ, যদি দেওয়া সময়গুলি 2017 সালের সমস্ত ক্ষেত্রে প্রযোজ্য হয় তবে আপনি "2017-01-01T00: 00: 00-07: 00" এ validFrom সেট করেছেন এবং "2017-12-31T23: 59: 59-07 এ validThrough : 00 "।

যখন কোনও Service স্পেসিফিকেশনে ব্যবহার করা হয়, validThrough শেষের তারিখটি নির্দেশ করে যার বাইরে ব্যবহারকারীদের অর্ডারগুলি আর স্থাপন করা যায় না।

যদি এই সম্পত্তিটি আপনার ফিডে নির্দিষ্ট না করা হয় তবে গুগল ধরে নেয় যে রেস্তোঁরা বা পরিষেবা প্রতিদিন উপলব্ধ।

তারিখ ছাড়াও, ডেটটাইমের সময় এবং সময় অঞ্চল অংশগুলির প্রয়োজন।

টাইম জোনের জন্য, রেস্তোঁরাগুলির বা পরিষেবার সময় অঞ্চলটি ব্যবহার করুন।

validThrough জন্য সময় একচেটিয়া। উদাহরণস্বরূপ, যদি সেই সময়টি সন্ধ্যা 6 টা পর্যন্ত সেট করা থাকে তবে সময়টি 5:59:59 পিএম পর্যন্ত বৈধ।

আরও তথ্যের জন্য, ডেটটাইম এবং টাইম ফর্ম্যাটগুলি দেখুন।

deliveryHours ServiceDeliveryHoursSpecification বা AdvanceServiceDeliveryHoursSpecification এর অ্যারে শর্তসাপেক্ষ

বিতরণ বা টেকআউট সময় স্পেসিফিকেশন।

রেস্তোঁরাটি বন্ধ না করা হলে এই প্যারামিটারটি প্রয়োজনীয় (যার অর্থ opens এবং closes একে অপরের সমান এবং সমান।

  • ServiceDeliveryHoursSpecification : খোলার/সমাপ্তির সময়গুলির মধ্যে, আপনি যখন "ওপেনস" এবং "ক্লোজ" ঘন্টা সেট করতে পারেন যখন ব্যবহারকারীরা ASAP অর্ডার রাখতে পারেন।
  • AdvanceServiceDeliveryHoursSpecification : খোলার/সমাপ্তির সময়গুলির মধ্যে, আপনি যখন "ওপেনস" এবং "ক্লোজ" ঘন্টা সেট করতে পারেন যখন ব্যবহারকারীরা অগ্রিম অর্ডার দিতে পারেন।

নিম্নলিখিত উদাহরণগুলি OpeningHoursSpecification উপাদানগুলি দেখায়:

উদাহরণ 1

// Ordering times for Monday through Friday
{
  "@type": "OpeningHoursSpecification",
  "deliveryHours": [
    {
      "@type": "AdvanceServiceDeliveryHoursSpecification",
      "deliveryLeadTime": {
        "@type": "QuantitativeValue",
        "value": "60",
        "unitCode": "MIN"
      },
      "dayOfWeek": [
        "Monday",
        "Tuesday",
        "Wednesday",
        "Thursday",
        "Friday"
      ],
      "opens": "T12:00:00", // Advance ordering begins at noon
      "closes": "T23:59:59", // Advance ordering ends at midnight
      "validFrom": "2017-01-01T00:00:00-07:00",
      "validThrough": "2018-12-31T23:59:59-07:00"
    },
    {
      "@type": "ServiceDeliveryHoursSpecification",
      "deliveryLeadTime": {
        "@type": "QuantitativeValue",
        "value": "60",
        "unitCode": "MIN"
      },
      "dayOfWeek": [
        "Monday",
        "Tuesday",
        "Wednesday",
        "Thursday",
        "Friday"
      ],
      "opens": "T10:00:00", // ASAP ordering begins at 10AM
      "closes": "T14:00:00", // ASAP ordering ends at 2PM
      "validFrom": "2017-01-01T00:00:00-07:00",
      "validThrough": "2018-12-31T23:59:59-07:00"
    }
  ]
},

উদাহরণ 2

// Ordering times for Saturday and Sunday
{
  "@type": "OpeningHoursSpecification",
  "deliveryHours": [
    {
      // In this case advance orders are unavailable on Saturday and Sunday
      "@type": "ServiceDeliveryHoursSpecification",
      "deliveryLeadTime": {
        "@type": "QuantitativeValue",
        "value": "60",
        "unitCode": "MIN"
      },
      "dayOfWeek": [
        "Saturday",
        "Sunday"
      ],
      "opens": "T12:00:00", // ASAP orders start at noon
      "closes": "T23:59:59", // ASAP orders end at midnight
      "validFrom": "2017-01-01T00:00:00-07:00",
      "validThrough": "2018-12-31T23:59:59-07:00"
    }
  ]
}

উদাহরণ 3

"hoursAvailable": {
  "@type": "OpeningHoursSpecification",
  "validFrom": "2016-02-01T00:00:00-07:00",
  "validThrough": "2016-03-01T00:00:00-07:00",
  "opens": "T08:00:00",  // Ordering begins at 8:00AM and ends at 6:00PM.
                         // ASAP and and advance orders are restricted to this
                         // time frame since the user won't be able to place
                         // orders outside of this window.
  "closes": "T18:00:00",
  "deliveryHours": {
    "@type": "ServiceDeliveryHoursSpecification",
    "deliveryLeadTime": {
      "@type": "QuantitativeValue",
      "value": "60",
      "unitCode": "MIN"
    }
  }
},

উদাহরণ 4

// List hours available for 2017 and 2018
"hoursAvailable": [
  {
    "@type": "OpeningHoursSpecification",
    // Array containing advance order hours for each day
    "deliveryHours": [
      {
        // Open 10:00AM to 9:29:59PM on Mondays
        "@type": "AdvanceServiceDeliveryHoursSpecification",
        "deliveryLeadTime": {
          "@type": "QuantitativeValue",
          "value": "60",
          "unitCode": "MIN"
        },
        "dayOfWeek": [
          "Monday"
        ],
        "opens": "T10:00:00",
        "closes": "T21:30:00",
        "validFrom": "2017-01-01T00:00:00-07:00",
        "validThrough": "2018-12-31T23:59:59-07:00"
      },
      {
        // Open 10:00AM to 9:29:59PM on Tuesdays
        "@type": "AdvanceServiceDeliveryHoursSpecification",
        "deliveryLeadTime": {
          "@type": "QuantitativeValue",
          "value": "60",
          "unitCode": "MIN"
        },
        "dayOfWeek": [
          "Tuesday"
        ],
        "opens": "T10:00:00",
        "closes": "T21:30:00",
        "validThrough": "2018-12-31T23:59:59-07:00"
      },
      {
        // Open 10:00AM to 9:29:59PM on Wednesdays
        "@type": "AdvanceServiceDeliveryHoursSpecification",
        "deliveryLeadTime": {
          "@type": "QuantitativeValue",
          "value": "60",
          "unitCode": "MIN"
        },
        "dayOfWeek": [
          "Wednesday"
        ],
        "opens": "T10:00:00",
        "closes": "T21:30:00",
        "validFrom": "2017-01-01T00:00:00-07:00",
        "validThrough": "2018-12-31T23:59:59-07:00"
      },
      {
        // Open 10:00AM to 9:29:59PM on Thursdays
        "@type": "AdvanceServiceDeliveryHoursSpecification",
        "dayOfWeek": [
          "Thursday"
        ],
        "opens": "T10:00:00",
        "closes": "T21:30:00",
        "validFrom": "2017-01-01T00:00:00-07:00",
        "validThrough": "2018-12-31T23:59:59-07:00"
      },
      {
        // Open 10:00AM to 11:29:59PM on Fridays
        "@type": "AdvanceServiceDeliveryHoursSpecification",
        "deliveryLeadTime": {
          "@type": "QuantitativeValue",
          "value": "60",
          "unitCode": "MIN"
        },
        "dayOfWeek": [
          "Friday"
        ],
        "opens": "T10:00:00",
        "closes": "T23:30:00",
        "validFrom": "2017-01-01T00:00:00-07:00",
        "validThrough": "2018-12-31T23:59:59-07:00"
      },
      {
        // Open 10:00AM to 11:29:59PM on Saturdays
        "@type": "AdvanceServiceDeliveryHoursSpecification",
        "deliveryLeadTime": {
          "@type": "QuantitativeValue",
          "value": "60",
          "unitCode": "MIN"
        },
        "dayOfWeek": [
          "Saturday"
        ],
        "opens": "T10:00:00",
        "closes": "T23:30:00",
        "validFrom": "2017-01-01T00:00:00-07:00",
        "validThrough": "2018-12-31T23:59:59-07:00"
      },
      {
        // Open 11:00AM to 6:59:59PM on Sundays
        "@type": "AdvanceServiceDeliveryHoursSpecification",
        "deliveryLeadTime": {
          "@type": "QuantitativeValue",
          "value": "60",
          "unitCode": "MIN"
        },
        "dayOfWeek": [
          "Sunday"
        ],
        "opens": "T11:00:00",
        "closes": "T19:00:00",
        "validFrom": "2017-01-01T00:00:00-07:00",
        "validThrough": "2018-12-31T23:59:59-07:00"
      }
    ]
  }
],

প্যাকেজিং বিবরণ

এই ধরণের ব্যবহার করতে জিএস 1 প্রসঙ্গটি যুক্ত করুন: "@context": ["http://gs1.org/voc/", "http://schema.org"] । এবং MenuItem বা MenuItemOption ধরণে FoodBeverageTobaccoProduct যুক্ত করুন।

নিম্নলিখিত টেবিলটি PackagingDetails ডিটেলগুলি প্রকারের বৈশিষ্ট্যগুলি বর্ণনা করে:

সম্পত্তি টাইপ প্রয়োজনীয়তা বর্ণনা
@type পাঠ্য প্রয়োজন এটি সর্বদা "প্যাকেজিংডেটেলস"।
packagingRecyclingProcessType পাঠ্য ঐচ্ছিক প্যাকেজিং পুনর্ব্যবহারযোগ্য প্রক্রিয়া প্রকার জিএস 1: প্যাকেজিং রিসাইক্লিংপ্রসেসটাইপকোড । উদাহরণস্বরূপ http://gs1.org/voc/PackagingRecyclingProcessTypeCode-RECYCLABLE বা http://gs1.org/voc/PackagingRecyclingProcessTypeCode-REUSABLE
hasReturnablePackageDeposit ReturnablePackageDepositDetails ঐচ্ছিক রিটার্নযোগ্য প্যাকেজ আমানতের বিবরণ প্রতি জিএস 1: রিটার্নেবলপ্যাকেজেডপোসিটডেটেলস । উদাহরণস্বরূপ, বোতল এবং ক্যানের রিটার্নযোগ্য প্যাকেজ আমানত রয়েছে।

নিম্নলিখিত উদাহরণটি PackagingDetails ডিটেলগুলির ব্যবহার দেখায়:

{
  "@type": ["MenuItem", "FoodBeverageTobaccoProduct"],
  "@id": "http://www.example.com/bar/menuitem/5",
  "name": "Sparkling Water",
  "description": "A 0.5l bottle of sparking water.",
  "offers": {
    "@type": "Offer",
    "sku": "offer-sparkling-water",
    "price": "1.49",
    "priceCurrency": "USD"
  },
  "packaging": {
    "@type": "PackagingDetails",
    "packagingRecyclingProcessType" :
      "http://gs1.org/voc/PackagingRecyclingProcessTypeCode-REUSABLE",
    "hasReturnablePackageDeposit": {
      "@type": "ReturnablePackageDepositDetails",
      "returnablePackageDepositAmount": {
        "@type": "http://gs1.org/voc/PriceSpecification",
        "http://gs1.org/voc/price": "0.05",
        "http://gs1.org/voc/priceCurrency": "USD"
      }
    }
  }
},

পেমেন্ট চার্জ স্পেসিফিকেশন

নিম্নলিখিত টেবিলটি PaymentChargeSpecification প্রকারের বৈশিষ্ট্যগুলি বর্ণনা করে:

সম্পত্তি টাইপ প্রয়োজনীয়তা বর্ণনা
@type পাঠ্য প্রয়োজন এটি সর্বদা "পেমেন্ট চার্জ স্পেসিফিকেশন"।
@id URL ঐচ্ছিক PaymentChargeSpecification জন্য সনাক্তকারী।
price সংখ্যা প্রয়োজন চার্জের মোট পরিমাণ। উদাহরণস্বরূপ, "6.00", মুদ্রার প্রতীক ছাড়াই।
priceCurrency পাঠ্য প্রয়োজন দামের 3-অক্ষরের আইএসও 4217 মুদ্রা কোড। উদাহরণস্বরূপ, "ইউএসডি"।
eligibleTransactionVolume PriceSpecification ঐচ্ছিক একটি আর্থিক ইউনিটে লেনদেনের ভলিউম, যার জন্য এই অর্থ প্রদানের চার্জ স্পেসিফিকেশন বৈধ, যেমন একটি ন্যূনতম ক্রয়ের ভলিউম নির্দেশ করার জন্য।
eligibleQuantity QuantitativeValue ঐচ্ছিক ক্রমের পরিমাণ যার জন্য অর্থ প্রদানের চার্জটি বৈধ। উদাহরণস্বরূপ, আপনি কোনও ক্রমে ন্যূনতম সংখ্যক আইটেমের প্রয়োজনে এই সম্পত্তিটি ব্যবহার করতে পারেন।
validFrom DateTime ঐচ্ছিক তারিখ এবং সময় (সময় অঞ্চল সহ) যখন নির্দিষ্ট করা প্রদানের চার্জটি বৈধ হয়ে যায়। উদাহরণস্বরূপ, "2017-05-01T07: 00: 00-07: 00"। আরও তথ্যের জন্য, ডেটটাইম এবং টাইম ফর্ম্যাটগুলি দেখুন।
validThrough DateTime ঐচ্ছিক তারিখ এবং সময় (সময় অঞ্চল সহ) যখন নির্দিষ্ট করা পেমেন্ট চার্জটি বৈধ হয় না। উদাহরণস্বরূপ, "2017-05-01T07: 30: 00-07: 00"। validThrough সময়টি একচেটিয়া: উদাহরণস্বরূপ, যদি সেই সময়টি সন্ধ্যা 6 টা পর্যন্ত সেট করা থাকে তবে সময়টি 5:59:59 পিএম পর্যন্ত বৈধ হয়। আরও তথ্যের জন্য, ডেটটাইম এবং টাইম ফর্ম্যাটগুলি দেখুন।

নিম্নলিখিত উদাহরণটি একটি পেমেন্ট চার্জ স্পেসিফিকেশন উপাদান দেখায়:

উদাহরণ

"priceSpecification": [{
  "@type": "PaymentChargeSpecification",
  "@id": "http://www.provider.com/paymentCharge/bar",
  "priceCurrency": "USD",
  "price": "6.00", // Charges $6 for processing fee
  "eligibleQuantity": {
    "@type": "QuantitativeValue",
    "minValue": 2 // Minimum of two items required
  }
}]

"@type": ["PaymentChargeSpecification"] , অবজেক্টটি ইউনিটপ্রাইস স্পেসিফিকেশন ( "@type": ["PaymentChargeSpecification", "UnitPriceSpecification"] ) দিয়ে বাড়ানো যেতে পারে। এক্সটেনশনটি শতাংশে গণনা করা পরিষেবা ফিগুলির জন্য প্রয়োজনীয় অতিরিক্ত দুটি সম্পত্তি দেয়।

সম্পত্তি টাইপ প্রয়োজনীয়তা বর্ণনা
referenceQuantity QuantitativeValue প্রয়োজন রেফারেন্স পরিমাণ যার জন্য একটি নির্দিষ্ট মূল্য প্রযোজ্য। উদাহরণস্বরূপ, "পি 1" এর unitCode সাথে 10 মান 10 এর referenceQuantity অর্ডার মানের 10% ফলাফল করে। কেবলমাত্র unitCode "পি 1" বর্তমানে সমর্থিত।
basePrice সংখ্যা ঐচ্ছিক referenceQuantity ছাড়াও বেস চার্জ। উদাহরণস্বরূপ, "পি 1" এর unitCode এবং মার্কিন ডলারে 5 এর basePrice সাথে 10 এর referenceQuantity ফলে অর্ডার মানের $ 5 + 10% হয়। ডিফল্ট মান 0।

টেকআউট ফি উদাহরণ

গুগল আপনাকে অফফ্রন্টকে অফফ্রন্টকে অফফ্রন্টে বিভিন্ন ধরণের ফি নির্দিষ্ট করার অনুমতি দেয় service পরিষেবা সত্তার Offer.PriceSpecification

নোট করুন যে আমরা বর্তমানে কেবল একটি PaymentChargeSpecification সমর্থন করি। একক PaymentChargeSpecification স্পেসিফিকেশনে সমস্ত ধরণের ফি একত্রিত করুন

যদি কোনও ফি না থাকে তবে Offer.PriceSpecification বাদ দেওয়া হয়।

  • উদাহরণ 1: পরিষেবা ফি কার্ট সাবটোটালের 5%
  • উদাহরণ 2: পরিষেবা ফি $ 5
  • উদাহরণ 3: ব্যাগ ফি $ 0.1 এবং পরিষেবা ফি কার্ট সাবটোটালের 5%
  • উদাহরণ 4: ব্যাগ ফি $ 0.1 এবং পরিষেবা ফি $ 1
  • উদাহরণ 5: পরিষেবা ফি 5% এবং প্রয়োজনীয় টিপটি কার্ট সাবটোটালের 10%

উদাহরণ 1

priceSpecification [
  {
    "@type": ["PaymentChargeSpecification", "UnitPriceSpecification"],
    "referenceQuantity": {
      "@type": "QuantitativeValue",
      "value": "5.00", // 5%
      "unitCode": "P1" // P1 == %
    },
    "priceCurrency": "USD"
  }
]

উদাহরণ 2

priceSpecification [
  {
    "@type": ["PaymentChargeSpecification"],
    "priceCurrency": "USD",
    "price": "5.00"
  }
]

উদাহরণ 3

priceSpecification [
  {
    "@type": ["PaymentChargeSpecification", "UnitPriceSpecification"],
    "referenceQuantity": {
      "@type": "QuantitativeValue",
      "value": "5.00", // 5%
      "unitCode": "P1", // P1 == %
    },
    "priceCurrency": "USD",
    "basePrice": "0.10" // Bag fee $0.1
  }
]

উদাহরণ 4

priceSpecification [
  {
    "@type": ["PaymentChargeSpecification"],
    "priceCurrency": "USD",
    "price": "1.10" //$1 + $0.1
  }
]

উদাহরণ 5

priceSpecification [
  {
    "@type": ["PaymentChargeSpecification", "UnitPriceSpecification"],
    "referenceQuantity": {
      "@type": "QuantitativeValue",
      "value": "15.00", // 5% + 10%
      "unitCode": "P1" // P1 == %
    },
    "priceCurrency": "USD"
  }
]

স্থান

নিম্নলিখিত টেবিলটি Place ধরণের বৈশিষ্ট্যগুলি বর্ণনা করে:

সম্পত্তি টাইপ প্রয়োজনীয়তা বর্ণনা
@type পাঠ্য প্রয়োজন এটি সর্বদা "জায়গা"।
address PostalAddress প্রয়োজন একটি জায়গার ঠিকানা।

নিম্নলিখিত উদাহরণটি একটি স্থান উপাদান দেখায়:

উদাহরণ

{
  "@type": "Place", // area2
  "address": {
    "@type": "PostalAddress",
    "postalCode": "94041",
    "addressCountry": "US"
  }
},

ডাক ঠিকানা

নিম্নলিখিত টেবিলটি PostalAddress প্রকারের বৈশিষ্ট্যগুলি বর্ণনা করে:

সম্পত্তি টাইপ প্রয়োজনীয়তা বর্ণনা
@type পাঠ্য প্রয়োজন এটি সর্বদা "পোস্টালড্রেস"।
addressLocality পাঠ্য প্রয়োজনীয়* লোকেশন বা শহর। উদাহরণস্বরূপ, "সান ফ্রান্সিসকো"।
addressRegion পাঠ্য প্রয়োজনীয়* অঞ্চল বা রাজ্য। উদাহরণস্বরূপ, "সিএ"।
postalCode পাঠ্য প্রয়োজনীয়* পোস্টাল কোড। উদাহরণস্বরূপ, "94102"।
streetAddress পাঠ্য ঐচ্ছিক রাস্তার ঠিকানা। উদাহরণস্বরূপ, "1600 অ্যাম্ফিথিয়েটার পিকেউই"।
addressCountry পাঠ্য প্রয়োজন দ্বি-অক্ষরের আইএসও 3166-1 আলফা -2 কান্ট্রি কোড। উদাহরণস্বরূপ, "আমাদের"।

ডেলিভারি সরবরাহকারীরা কোনও Service.areaServed মনোনীত করার জন্য এই বৈশিষ্ট্যগুলি তালিকাভুক্ত করতে পারেন ra যেখানে কোনও পরিষেবা সরবরাহ করা হয়।

Restaurant.address ব্যবহৃত হলে, PostalAddress তালিকাভুক্ত সমস্ত সম্পত্তি প্রয়োজন।

নিম্নলিখিত উদাহরণটি একটি PostalAddress উপাদান দেখায়:

উদাহরণ

"address": {
  "@type": "PostalAddress",
  "streetAddress": "12345 Bar Avenue",
  "addressLocality": "San Francisco",
  "addressRegion": "CA",
  "postalCode": "94124",
  "addressCountry": "US"
},

দামের স্পেসিফিকেশন

নিম্নলিখিত টেবিলটি PriceSpecification প্রকারের বৈশিষ্ট্যগুলি বর্ণনা করে:

সম্পত্তি টাইপ প্রয়োজনীয়তা বর্ণনা
@type পাঠ্য প্রয়োজন এটি সর্বদা "দামের স্পেসিফিকেশন"।
@id URL ঐচ্ছিক PriceSpecification জন্য সনাক্তকারী।
minPrice সংখ্যা ঐচ্ছিক দাম যদি একটি পরিসীমা হয় তবে সর্বনিম্ন দাম।
maxPrice সংখ্যা ঐচ্ছিক দাম যদি পরিসীমা হয় তবে সর্বোচ্চ মূল্য।
priceCurrency পাঠ্য প্রয়োজন দামের 3-অক্ষরের আইএসও 4217 মুদ্রা কোড। উদাহরণস্বরূপ, "ইউএসডি"।
eligibleQuantity QuantitativeValue ঐচ্ছিক ক্রমের পরিমাণগুলি যার জন্য দামের নির্দিষ্টকরণটি বৈধ। উদাহরণস্বরূপ, দাম প্রতি পাউন্ডে 2 ডলার বা ডলারের জন্য 2 আইটেম হতে পারে।

নিম্নলিখিত উদাহরণটি একটি PriceSpecification উপাদান দেখায়:

উদাহরণ 1

"eligibleTransactionVolume": {
  "@type": "PriceSpecification",
  "minPrice": "20.00", // Minimum order price for delivery is $20
  "priceCurrency": "USD"
}

সম্পদের মূল্য

MenuItemOption বিকল্পগুলি বর্ণনা করতে সম্পত্তি মান জুটি ব্যবহৃত হয়।

নিম্নলিখিত টেবিলটি PropertyValue প্রকারের জন্য বৈশিষ্ট্যগুলি তালিকাভুক্ত করে:

সম্পত্তি টাইপ প্রয়োজনীয়তা বর্ণনা
@type পাঠ্য প্রয়োজন এটি সর্বদা "সম্পত্তি ভ্যালু"।
name পাঠ্য প্রয়োজন

নাম বা বিকল্পের ধরণ।

MenuItem ব্যবহৃত হলে নিম্নলিখিতগুলি বৈধ নামগুলি রয়েছে:

  • "আকার": MenuItem আকার। উদাহরণস্বরূপ, ছোট, মাঝারি বা বড়।
  • "বিকল্প": আকার ব্যতীত অন্য কোনও প্রকরণ (যেমন একটি ডিশ যা সালাদ বা স্যান্ডউইচ হিসাবে আসে)। আপনি যদি "আকার" এবং "বিকল্প" এর মধ্যে পার্থক্য করতে না পারেন তবে "বিকল্প" ব্যবহার করুন।

AddOnMenuItem ব্যবহৃত হলে বৈধ নামগুলি:

  • "প্রযোজ্য_আইটিএম_অপশন": অ্যাডনের জন্য একটি বিকল্প যা কেবলমাত্র প্রযোজ্য যখন MenuItem সাথে সম্পর্কিত "আকার/বিকল্প" ব্যবহার করে।
  • "পিজ্জা_সাইড": পিজ্জার সাথে সুনির্দিষ্ট, এই অ্যাড-অনটি কেবল একটি অংশ/পুরো পিজ্জার জন্য বৈধ (যেমন বাম দিকে, ডান পাশে বা পুরো পিজ্জার মতো মাশরুমের টপিংস)।
  • "আকার": অ্যাড-অনের আকার নির্ধারণ করার একটি বিকল্প (খাবারের কম্বোর জন্য অ্যাড-অন হিসাবে বড় ফ্রাইয়ের মতো)।
  • "বিকল্প": আকার ব্যতীত অন্য কোনও প্রকরণ। আপনি যদি "আকার" এবং "বিকল্প" এর মধ্যে পার্থক্য করতে না পারেন তবে "বিকল্প" ব্যবহার করুন।
value পাঠ্য প্রয়োজন

বিকল্পের জন্য মান। মানগুলি কোনও স্ট্রিং হতে পারে এবং যেমন প্রদর্শিত হয়। নিম্নলিখিত বৈধ মানগুলি:

  • "পিজ্জা_সাইড": সংশ্লিষ্ট মানটি পিজ্জার জন্য "পিজ্জা_সাইড_লেফ্ট", "পিজ্জা_সাইড_রাইট", বা "পিজ্জা_সাইড_হোল" হওয়া উচিত।
  • "প্রযোজ্য_আইটিএম_অপশন": এই মানটি প্যারেন্ট MenuItem মেনুইটমোপশনগুলির জন্য সংশ্লিষ্ট "বিকল্প/আকার" পছন্দগুলির মধ্যে একটিতে উপস্থিত থাকতে হবে।

কোয়ান্টেটিভ ভ্যালু

নিম্নলিখিত টেবিলটি QuantitativeValue ধরণের বৈশিষ্ট্যগুলি বর্ণনা করে:

সম্পত্তি টাইপ প্রয়োজনীয়তা বর্ণনা
@type পাঠ্য প্রয়োজন এটি সর্বদা "পরিমাণগত মূল্যায়ন"।
value সংখ্যা ঐচ্ছিক পরিমাণগত মান বা সম্পত্তি মান নোডের মান।
unitCode পাঠ্য বা ইউআরএল ঐচ্ছিক

একটি ইউএন/সিফ্যাক্ট কমন কোড বা একটি ইউআরএল হিসাবে পরিমাপের একক।

ইউএন/সিফ্যাক্ট কমন কোড ব্যতীত অন্য কোডগুলি একটি উপসর্গের সাথে একটি কোলন দ্বারা ব্যবহৃত হতে পারে।

maxValue সংখ্যা ঐচ্ছিক কিছু বৈশিষ্ট্য বা সম্পত্তির উপরের মান।
minValue সংখ্যা ঐচ্ছিক কিছু বৈশিষ্ট্য বা সম্পত্তির নিম্ন মান।

নিম্নলিখিত উদাহরণগুলি QuantitativeValue ধরণের ব্যবহার দেখায়:

উদাহরণ 1

"deliveryLeadTime": {
  "@type": "QuantitativeValue",
  "value": "60",
  "unitCode": "MIN"
}

উদাহরণ 2

"menuAddOn": {
  "@type": "AddOnMenuSection",
  "name": "Cheese",
  "@id": "https://www.example.com/1089/addon/1", // Points to an AddOnMenuSection
  "eligibleQuantity":
    "@type": "QuantitativeValue",
    "minValue": 0,
    "maxValue": 2 // Maximum of 2 cheeses are allowed
  }
}

উদাহরণ 3

"priceSpecification": [
  {
    "@type": "DeliveryChargeSpecification",
    "@id": "http://www.provider.com/defaultdeliveryfee/foo",
    "price": "10.0",
    "priceCurrency": "USD",
    "eligibleQuantity": {
      "@type": "QuantitativeValue",
      "minValue": 3  // Minimum of 3 items required for delivery
    }
  },
  {
    "@type": "DeliveryChargeSpecification",
    "@id": "http://www.provider.com/deliveryfee/foo/1",
    "price": "20.0",
    "priceCurrency": "USD",
    "validFrom":"T18:00:00", // Valid from 6:00PM
    "validThrough":"T22:00:00", // Valid to 9:59:59PM
    "eligibleQuantity": {
      "@type": "QuantitativeValue",
      "minValue": 3  // Minimum of 3 items required for delivery
    }
  }
]

রেঁস্তোরা

নিম্নলিখিত টেবিলটি Restaurant ধরণের জন্য বৈশিষ্ট্যগুলি তালিকাভুক্ত করে:

সম্পত্তি টাইপ প্রয়োজনীয়তা বর্ণনা
@type পাঠ্য প্রয়োজন এটি সর্বদা "রেস্তোঁরা"।
@id URL প্রয়োজন রেস্তোঁরা বা বিতরণ সরবরাহকারীর অনন্য শনাক্তকারী। উদাহরণস্বরূপ, "http://www.provider.com/326", যেখানে "326" রেস্তোঁরাটির অনন্য সনাক্তকারী।
name পাঠ্য প্রয়োজন অর্ডার প্রক্রিয়া চলাকালীন Restaurant সনাক্ত করতে পারে এমন পাঠ্য।
url URL প্রয়োজন আপনার ডোমেনে ইউআরএল যা রেস্তোঁরাটির প্রতিনিধিত্ব করে। উদাহরণস্বরূপ, "http://www.provider.com/somerestaurant"।
sameAs URL ঐচ্ছিক রেস্তোঁরাটির জন্য অফিসিয়াল ওয়েবসাইট। উদাহরণস্বরূপ, "http://www.somerestaurant.com"।
email পাঠ্য ঐচ্ছিক রেস্তোঁরাটির ইমেল যোগাযোগ করুন।
description পাঠ্য ঐচ্ছিক রেস্তোঁরা বর্ণনা।
telephone পাঠ্য প্রয়োজন

নিম্নলিখিত ফর্ম্যাটে টেলিফোন নম্বর:

"[+][country_code][phone_#_with_area_code]"

উদাহরণস্বরূপ, "+16501234567"।

priceRange পাঠ্য ঐচ্ছিক দামের একটি পরিসীমা। উদাহরণস্বরূপ, "$$" ($-Inexpensive, $$1-মোডারেট, $$$-Expensive, $$$$-Very Expensive).
logo URL Optional Logo of the restaurant in PNG, JPG, or GIF format. For example, "http://www.somerestaurant.com/logo.png".
image URL Optional Image of the restaurant.
servesCuisine Array of Text Optional Food types that are served at the restaurant. For example, ["sushi","Asian fusion"].
address PostalAddress Required* Address of the restaurant.
geo GeoCoordinates Optional* Geographic coordinates of the restaurant.
suitableForDiet Array of RestrictedDiet Optional Dietary restrictions this restaurant accommodates (like kosher, vegan, or gluten-free diets). It is an enumerated list.
aggregateRating AggregateRating Optional Overall rating, based on a collection of reviews or ratings of the restaurant.
additionalProperty Array of name value string pairs Optional

A restaurant imprint is a section of additional information about the restaurant, such as legal name, legal address, and registration number. This information can be formatted using "\n".

For example "additionalProperty": [{"name": "imprint", "value": "first row\nsecondrow\n"},]

The following examples show the usage of the Restaurant type:

Example 1

{
  "@type": "Restaurant",
  "@id": "http://www.provider.com/somerestaurant",
  "url": "www.provider.com/somerestaurant",
  "name": "Some Restaurant",
  "sameAs": "http://www.somerestaurant.com",
  "image": "http://www.somerestaurant.com/image-of-some-restaurant.jpg",
  "description": "This is the Some Restaurant located on 345 Spear St. San Francisco, 94105 CA. It serves Indian-Mexican fusion cuisine",
  "address": {
    "@type": "PostalAddress",
    "addressLocality": "San Francisco",
    "addressRegion": "CA",
    "postalCode": "94105",
    "streetAddress": "345 Spear St",
    "addressCountry": "US"
  },
  "geo": {
    "@type": "GeoCoordinates",
    "latitude": "37.391115",
    "longitude": "-122.081099"
  },
  "aggregateRating": {
    "@type": "AggregateRating",
    "ratingValue": "4.4",
    "reviewCount": "89"
  },
  "priceRange": "$$", "টেলিফোন": "+16501234567", // দেশের কোড (+1) প্রয়োজন "সার্ভেসুইসাইন": ["ইন্ডিয়ান-মেক্সিকান ফিউশন"]]} ,

উদাহরণ 2

{
  "@type": "Restaurant",
  "@id": "http://www.example.com/threebrotherstacos",
  "name": "Three Brothers Tacos",
  "address": {
        "@type": "PostalAddress",
        "addressLocality": "Mountain View",
        "addressRegion": "CA",
        "postalCode": "94041",
        "streetAddress": "123 Foo St",
        "addressCountry": "US"
  },
  "additionalProperty": [
    {"name": "imprint", "value": "Three Brothers Tacos\n123 FooSt\nMountain View\nCA 94041, United States\nemail: contact@threebrotherstacos.com\n\nCommercial Register: 123456789"}
  ]
}

Restaurant সত্তার আরও উদাহরণের জন্য, রেস্তোঁরা এবং মেনু ফিডের উদাহরণগুলি দেখুন।

ReturnablePackageDepositDetails

এই ধরণের ব্যবহার করতে, জিএস 1 প্রসঙ্গটি যুক্ত করুন: "@কনটেক্সট":

["http://gs1.org/voc/", "http://schema.org"]

তারপরে, উপযুক্ত MenuItem বা MenuItemOption ধরণে FoodBeverageTobaccoProduct যুক্ত করুন।

নিম্নলিখিত টেবিলটি ReturnablePackageDepositDetails প্রকারের বৈশিষ্ট্যগুলি বর্ণনা করে:

সম্পত্তি টাইপ প্রয়োজনীয়তা বর্ণনা
@type পাঠ্য প্রয়োজন এটি সর্বদা "রিটার্নেবলপ্যাকেজেডপোসিটডেটেলস"।
returnablePackageDepositAmount gs1:PriceSpecification ঐচ্ছিক জিএস 1 প্রতি এই আইটেমের জন্য আমানতের পরিমাণ: দামস্পেসিফিকেশন । উদাহরণস্বরূপ, প্রতি ক্যান প্রতি $ 0.25 আমানত।

নিম্নলিখিত উদাহরণটি ReturnablePackageDepositDetails প্রকারের ব্যবহার দেখায়:

{
  "@type": ["MenuItem", "FoodBeverageTobaccoProduct"],
  "@id": "http://www.example.com/bar/menuitem/5",
  "name": "Sparkling Water",
  "description": "A 0.5l bottle of sparking water.",
  "offers": {
    "@type": "Offer",
    "sku": "offer-sparkling-water",
    "price": "1.49",
    "priceCurrency": "USD"
  },
  "packaging": {
    "@type": "PackagingDetails",
    "packagingRecyclingProcessType" :
      "http://gs1.org/voc/PackagingRecyclingProcessTypeCode-REUSABLE",
    "hasReturnablePackageDeposit": {
      "@type": "ReturnablePackageDepositDetails",
      "returnablePackageDepositAmount": {
        "@type": "http://gs1.org/voc/PriceSpecification",
        "http://gs1.org/voc/price": "0.05",
        "http://gs1.org/voc/priceCurrency": "USD"
      }
    }
  }
},

সেবা

একটি ডেলিভারি সংস্থার দ্বারা কোনও রেস্তোঁরা থেকে ভৌগলিক স্থানে একটি অর্ডারিং এন্ড-টু-এন্ড অ্যাকশন সরবরাহের বর্ণনা দেয়।

নিম্নলিখিত টেবিলটি Service ধরণের বৈশিষ্ট্যগুলি বর্ণনা করে:

সম্পত্তি টাইপ প্রয়োজনীয়তা বর্ণনা
@type পাঠ্য প্রয়োজন

ফিড টাইপ।

  • Service : সমস্ত সক্রিয় পরিষেবা ফিডের জন্য এই ধরণের ব্যবহার করুন।
  • DisabledService : কেবলমাত্র এই ধরণের ব্যবহার করুন যখন আপনাকে অবশ্যই কোনও অপ্রত্যাশিত ইভেন্টের কারণে কোনও পরিষেবা সত্তা অক্ষম করতে হবে এবং পরিষেবাটি কখন পুনরায় প্রতিষ্ঠিত হবে তা আপনি জানেন না।
@id URL প্রয়োজন পরিপূর্ণতা পরিষেবার জন্য সনাক্তকারী। উদাহরণস্বরূপ, "http://www.provider.com/service/1"।
description পাঠ্য ঐচ্ছিক আইটেম বর্ণনা।
serviceType পাঠ্য প্রয়োজন পরিষেবা দেওয়া হচ্ছে। সম্ভাব্য মানগুলি হ'ল "বিতরণ" বা "টেকআউট"।
provider Restaurant প্রয়োজন রেস্তোঁরাটির জন্য অনন্য শনাক্তকারী একটি রেফারেন্স। উদাহরণস্বরূপ, "http://www.provider.com/somerestaurant"।
areaServed GeoShape , Place বা GeoCircle অ্যারে শর্তসাপেক্ষ ভৌগলিক অঞ্চল যেখানে একটি পরিষেবা সরবরাহ করা হয়। এই ক্ষেত্রটি ডিফল্টরূপে al চ্ছিক, তবে serviceType "বিতরণ" হলে প্রয়োজনীয়।
hoursAvailable OpeningHoursSpecification অ্যারে প্রয়োজন ঘন্টা যে সময় এই পরিষেবাটি উপলব্ধ।
specialOpeningHoursSpecification OpeningHoursSpecification , ServiceDeliveryHoursSpecification , বা AdvanceServiceDeliveryHoursSpecification অ্যারে ঐচ্ছিক

যে সময়গুলি আরও সাধারণ OpeningHoursSpecification বা পরিপূর্ণতার সময়গুলিকে ওভাররাইড করে। আপনি সাধারণত এই ক্ষেত্রটি ছুটির দিনগুলি এবং অন্যান্য ধরণের অস্থায়ী বন্ধ বা কয়েক ঘন্টা পরিবর্তনগুলি সংজ্ঞায়িত করতে ব্যবহার করেন।

validFrom এবং validThrough বৈশিষ্ট্যগুলি ব্যবহার করে বিশেষ তারিখের পরিসীমা নির্ধারণ করুন। এই বৈশিষ্ট্যগুলি নির্দিষ্ট করার সময় সময় এবং সময় অঞ্চল প্রয়োজন।

offers Offer অ্যারে শর্তসাপেক্ষ

একটি নির্দিষ্ট রেস্তোঁরা জন্য বিতরণ অফার সম্পর্কে বিশদ। এই ক্ষেত্রটি ডিফল্টরূপে al চ্ছিক, তবে যদি serviceType "বিতরণ" হয় তবে প্রয়োজনীয়।

Offer.priceSpecification সম্পত্তি পরিষেবাতে al চ্ছিক। এখানে অন্য কোনও Offer সম্পত্তি ব্যবহার করা হয় না।

hasOfferCatalog [ Menu , অফারক্যাটালগ] প্রয়োজন

এই পরিষেবার জন্য একটি মেনু নির্দিষ্ট করে। আপনার প্রতিটি পরিষেবার জন্য আপনার আলাদা মেনু থাকতে পারে (যেমন টেকআউট, বিতরণ এবং ক্যাটারিং)।

প্রকারের জন্য আপনাকে অবশ্যই উভয় Menu এবং OfferCatalog নির্দিষ্ট করতে হবে। উদাহরণ স্বরূপ:

"hasOfferCatalog": {
"@type": ["Menu", "OfferCatalog"],
"@id": "https://www.provider.com/restaurant/menu/1"
}
additionalProperty {নামের অ্যারে, মান} ঐচ্ছিক

Al চ্ছিক পরিষেবা কনফিগারেশন তথ্য। আইটেমগুলি al চ্ছিক ক্ষেত্রের নামের সাথে সম্পর্কিত মূল name সাথে একটি বস্তু হিসাবে প্রত্যাশিত। মূল value ক্ষেত্রের জন্য একটি প্রাসঙ্গিকভাবে প্রাসঙ্গিক মান।

নির্দিষ্ট নাম এবং মান সম্পর্কে আরও তথ্যের জন্য ServingConfig রেফারেন্সটি দেখুন।

"additionalProperty": [{
  "name": "disableOrderInstructions",
  "value": false
}, {
  "name": "disableMenuItemSpecialInstructions",
  "value": false
}, {
  "name": "disableTipWidget",
  "value": false
}, {
  "name": "disablePromoWidget",
  "value": false
}, {
  "name": "menuItemSpecialInstructionsMaxLength",
  "value": 256
}, {
  "name": "orderInstructionsMaxLength",
  "value": 256
}]
potentialAction URL ঐচ্ছিক

একটি ডেলিভারি/টেকআউট পরিষেবার জন্য একটি ইউআরএল রয়েছে যা শেষ থেকে শেষ থেকে শেষ থেকে শেষের খাদ্য ক্রমের অভিজ্ঞতা থেকে পুনর্নির্দেশে স্থানান্তরিত করার সময় ব্যবহৃত হবে। উদাহরণস্বরূপ, "সম্ভাব্যতা": {"url": "https://fopatestagent.com/ordering/restaurant-1/deliver"}

নিম্নলিখিত উদাহরণটি পরিষেবা ধরণের ব্যবহার দেখায়:

উদাহরণ

{
  "@type": "Service",
  "@id": "http://www.provider.com/service/1",
  "serviceType": "DELIVERY",
  "provider": {
    "@type": "Restaurant",
    "@id": "http://www.provider.com/threebrotherstacos"
  },
  "potentialAction": {
    "url": "https://foprovider.com/ordering/restaurant-1/delivery"
  },
  "hoursAvailable": [
    // Ordering times for Monday through Friday
    {
      "@type": "OpeningHoursSpecification",
      "deliveryHours": [
        {
          "@type": "AdvanceServiceDeliveryHoursSpecification",
          "deliveryLeadTime": {
            "@type": "QuantitativeValue",
            "value": "60",
            "unitCode": "MIN"
          },
          "dayOfWeek": [
            "Monday",
            "Tuesday",
            "Wednesday",
            "Thursday",
            "Friday"
          ],
          "opens": "T12:00:00", // Advance ordering begins at noon
          "closes": "T23:59:59", // Advance ordering ends at midnight
          "validFrom": "2017-01-01T00:00:00-07:00",
          "validThrough": "2018-12-31T23:59:59-07:00"
        },
        {
          "@type": "ServiceDeliveryHoursSpecification",
          "deliveryLeadTime": {
            "@type": "QuantitativeValue",
            "value": "60",
            "unitCode": "MIN"
          },
          "dayOfWeek": [
            "Monday",
            "Tuesday",
            "Wednesday",
            "Thursday",
            "Friday"
          ],
          "opens": "T10:00:00", // ASAP ordering begins at 10AM
          "closes": "T14:00:00", // ASAP ordering ends at 2PM
          "validFrom": "2017-01-01T00:00:00-07:00",
          "validThrough": "2018-12-31T23:59:59-07:00"
        }
      ]
    },
    // Ordering times for Saturday and Sunday
    {
      "@type": "OpeningHoursSpecification",
      "deliveryHours": [
        {
          // In this case advance orders are unavailable on Saturday and Sunday
          "@type": "ServiceDeliveryHoursSpecification",
          "deliveryLeadTime": {
            "@type": "QuantitativeValue",
            "value": "60",
            "unitCode": "MIN"
          },
          "dayOfWeek": [
            "Saturday",
            "Sunday"
          ],
          "opens": "T12:00:00", // ASAP orders start at noon
          "closes": "T23:59:59", // ASAP orders end at midnight
          "validFrom": "2017-01-01T00:00:00-07:00",
          "validThrough": "2018-12-31T23:59:59-07:00"
        }
      ]
    }
  ],
  "hasOfferCatalog": {
    "@type": ["Menu", "OfferCatalog"],
    "@id": "https://www.provider.com/menu/1"
  },
  "areaServed": [{
      "@type": "GeoCircle", // area1
      "geoMidpoint": {
        "@type": "GeoCoordinates",
        "latitude": "42.362757",
        "longitude": "-71.087109"
      },
      "geoRadius": "10000"
    },
    {
      "@type": "Place", // area2
      "address": {
        "@type": "PostalAddress",
        "postalCode": "94041",
        "addressCountry": "US"
      }
    },
    {
      "@type": "GeoShape", // area3
      // Specify latitude first (i.e., lat long lat long ...)
      "polygon": "37.418128 -122.098167 37.382755 -122.118968 37.368551 -122.047978 37.400949 -122.048106 37.418128 -122.098167"
    },
    {
      "@type": "GeoShape", // area4
      // Specify latitude first (i.e., lat long lat long ...)
      "polygon": "37.806000 -122.425592 37.775849 -122.419043 37.795547 -122.394046 37.808747 -122.412619"
    },
    {
      "@type": "GeoCircle", // area5
      "geoMidpoint": {
        "@type": "GeoCoordinates",
        "latitude": "37.7392607",
        "longitude": "-122.3895522"
      },
      "geoRadius": "4505"
    }
  ],
  "offers": {
    "@type": "Offer",
    "priceSpecification": [{
        "@type": "DeliveryChargeSpecification",
        "@id": "http://www.provider.com/threebrotherstacos/deliveryfee/1",
        "price": "8.00", // Charges $8 for area5
        "priceCurrency": "USD",
        "eligibleTransactionVolume": {
          "@type": "PriceSpecification",
          "minPrice": "20.00",
          "priceCurrency": "USD"
        },
        "eligibleRegion": [ // area5
          {
            "@type": "GeoCircle",
            "geoMidpoint": {
              "@type": "GeoCoordinates",
              "latitude": "37.7392607",
              "longitude": "-122.3895522"
            },
            "geoRadius": "4505"
          }
        ]
      },
      {
        "@type": "DeliveryChargeSpecification",
        "@id": "http://www.provider.com/threebrotherstacos/defaultdeliveryfee",
        "price": "6.00", // Charges $6 when delivered from Foo restaurant to area1, area2, area3 and area4 (Default charge)
        "priceCurrency": "USD",
        "eligibleTransactionVolume": {
          "@type": "PriceSpecification",
          "minPrice": "20.00", // Minimum order price for delivery is $20
          "priceCurrency": "USD"
        }
      }
    ]
  }
},

পরিষেবা সত্তার আরও উদাহরণের জন্য, পরিষেবা ফিডের উদাহরণগুলি দেখুন।

সার্ভিসডিলিভারিহোরসস্পেসিফিকেশন

ব্যবহারকারীদের বিতরণ এবং টেকআউটের জন্য ASAP অর্ডারগুলি সময়সূচী করার জন্য পরিপূর্ণতার সময়গুলি উপস্থাপন করে।

সাধারণত, opens মান closes মানের চেয়ে কম। নিম্নলিখিত নির্দেশিকাগুলি opens এবং closes বৈশিষ্ট্যগুলি ব্যবহার করে প্রযোজ্য:

  • opens এবং closes বৈশিষ্ট্যগুলি ServiceDeliveryHoursSpecification জন্য al চ্ছিক, তবে আমরা দৃ strongly ়ভাবে আপনাকে সেগুলি অন্তর্ভুক্ত করার পরামর্শ দিচ্ছি।
  • সময়টি অবশ্যই পরিষেবাটির জন্য স্থানীয় সময়ে নির্দিষ্ট করা উচিত। opens বা closes মানগুলিতে একটি সময় অঞ্চল অন্তর্ভুক্ত করবেন না। যদি কোনও সময় অঞ্চল নির্দিষ্ট করা থাকে তবে গুগল টাইম জোনের তথ্য উপেক্ষা করে।
  • যদি opens এবং closes স্পষ্টভাবে নির্দিষ্ট না করা হয় তবে আমরা ধরে নিই যে সর্বদা এএসএপি অর্ডার দেওয়া সর্বদা পাওয়া যায়।
  • যদি opens এবং closes একই হয়, তবে আমরা ধরে নিই যে ASAP ক্রমটি অনুপলব্ধ।
  • যদি opens closes বেশি হয় তবে শেষের সময়টি পরের দিনটিতে ব্যাখ্যা করা হয়। উদাহরণস্বরূপ, যদি উদ্বোধনী সময়টি 1 জানুয়ারী বিকাল 5 টায় সেট করা হয় এবং শেষ সময়টি 2 টা হয়, তবে রেস্তোঁরাটি 2 জানুয়ারী সকাল 2 টায় বন্ধ হিসাবে ব্যাখ্যা করা হয়।

নিম্নলিখিত টেবিলটি ServiceDeliveryHoursSpecification প্রকারের বৈশিষ্ট্যগুলি বর্ণনা করে:

সম্পত্তি টাইপ প্রয়োজনীয়তা বর্ণনা
@type পাঠ্য প্রয়োজন এটি সর্বদা "সার্ভিসডিলিভারিহোরসস্পেসিফিকেশন"।
validFrom DateTime ঐচ্ছিক

তারিখ এবং সময় (সময় অঞ্চল সহ) যখন ব্যবহারকারীদের ASAP অর্ডারগুলি পূরণ করা যায়। উদাহরণস্বরূপ, "2017-05-01T07: 00: 00-07: 00"। যদি এই সম্পত্তিটি সেট না করা থাকে তবে এটি প্রতিদিন বৈধ বলে ধরে নেওয়া হয়।

আরও তথ্যের জন্য, ডেটটাইম এবং টাইম ফর্ম্যাটগুলি দেখুন।

validThrough DateTime ঐচ্ছিক

তারিখ এবং সময় (সময় অঞ্চল সহ) যার পরে ব্যবহারকারীদের ASAP অর্ডারগুলি পূরণ করা যায় না। উদাহরণস্বরূপ, "2017-05-01T07: 00: 00-07: 00"। যদি এই সম্পত্তিটি সেট না করা থাকে তবে এটি প্রতিদিন বৈধ বলে ধরে নেওয়া হয়।

validThrough জন্য সময় একচেটিয়া। উদাহরণস্বরূপ, যদি সেই সময়টি সন্ধ্যা 6 টা পর্যন্ত সেট করা থাকে তবে সময়টি 5:59:59 পিএম পর্যন্ত বৈধ।

আরও তথ্যের জন্য, ডেটটাইম এবং টাইম ফর্ম্যাটগুলি দেখুন।

opens Time ঐচ্ছিক

ব্যবহারকারীদের ASAP অর্ডারগুলি পূরণ করার জন্য ডেলিভারি পরিষেবাটি শুরু হয়। উদাহরণস্বরূপ, "টি 10: 30: 00"।

সময়টি অবশ্যই পরিষেবাটির জন্য স্থানীয় সময়ে নির্দিষ্ট করা উচিত। একটি opens ভ্যালুতে একটি সময় অঞ্চল অন্তর্ভুক্ত করবেন না। যদি কোনও সময় অঞ্চল নির্দিষ্ট করা থাকে তবে গুগল এই তথ্যটিকে উপেক্ষা করে।

আরও তথ্যের জন্য, ডেটটাইম এবং টাইম ফর্ম্যাটগুলি দেখুন।

closes Time ঐচ্ছিক

ব্যবহারকারীদের এএসএপি অর্ডারগুলির জন্য বিতরণ পরিষেবা আর উপলভ্য নয়। উদাহরণস্বরূপ, "টি 23: 59: 59"।

closes জন্য সময় একচেটিয়া। অতএব, আপনি যদি এই ServiceDeliveryHoursSpecification জন্য সকাল 10 টা এবং 4 টা অবধি খোলে/বন্ধ করেন তবে শেষ আদেশটি 3:59:59 অপরাহ্ন।

সময়টি অবশ্যই পরিষেবাটির জন্য স্থানীয় সময়ে নির্দিষ্ট করা উচিত। closes মানতে একটি সময় অঞ্চল অন্তর্ভুক্ত করবেন না। যদি কোনও সময় অঞ্চল নির্দিষ্ট করা থাকে তবে গুগল এই তথ্যটিকে উপেক্ষা করে।

আরও তথ্যের জন্য, ডেটটাইম এবং টাইম ফর্ম্যাটগুলি দেখুন।

dayOfWeek DayOfWeek অ্যারে ঐচ্ছিক

সপ্তাহের দিনগুলি যে এই পরিষেবাটি ব্যবহারকারীদের ASAP অর্ডারগুলির জন্য উপলব্ধ। নিম্নলিখিত বৈধ মানগুলি:

  • "সোমবার"
  • "মঙ্গলবার"
  • "বুধবার"
  • "বৃহস্পতিবার"
  • "শুক্রবার"
  • "শনিবার"
  • "রবিবার"

আপনি যদি সপ্তাহের কোনও দিন নির্দিষ্ট না করে থাকেন তবে ServiceDeliveryHoursSpecification সমস্ত দিনের ক্ষেত্রে প্রযোজ্য।

deliveryLeadTime QuantitativeValue ঐচ্ছিক আনুমানিক বিতরণ সময়, কয়েক মিনিটের মধ্যে, একবার অর্ডার দেওয়া হয়ে গেলে। আমরা দৃ strongly ়ভাবে সুপারিশ করি যে আপনি এই সম্পত্তিটি সেট করুন। QuantitativeValue value ক্ষেত্রটি মিনিটের সংখ্যার এবং unitCode "মিনিট" এ সেট করুন।

নিম্নলিখিত উদাহরণটি একটি ServiceDeliveryHoursSpecification উপাদান দেখায়:

উদাহরণ 1

{
  "@type": "ServiceDeliveryHoursSpecification",
  "opens": "T08:00:00",
  "closes": "T17:00:00",
  "deliveryLeadTime": {
    "@type": "QuantitativeValue",
    "value": "60", // If no exact deliveryLeadTime, put a maximum time
    "unitCode": "MIN"
  }
},

উদাহরণ 2

{
  "@type": "ServiceDeliveryHoursSpecification",
  "opens": "T08:00:00",
  "closes": "T17:00:00",
  "deliveryLeadTime": {
    "@type": "QuantitativeValue",
    "minValue": "30",
    "maxValue": "50",
    "unitCode": "MIN"
  }
}
    

Enums

সীমাবদ্ধ

RestrictedDiet টাইপের নিম্নলিখিত সম্ভাব্য মানগুলি রয়েছে:

  • http://schema.org/diabetcediet
  • http://schema.org/glutenfreediet
  • http://schema.org/halaldiet
  • http://schema.org/hindudeate
  • http://schema.org/kosherdiet
  • http://schema.org/lowcaloriediate
  • http://schema.org/lowfatdiet
  • http://schema.org/lowlactosediet
  • http://schema.org/lowsaltdiet
  • http://schema.org/vegandiet
  • http://schema.org/vegeteriardiet
,

ফুড ক্যাটালগ ফিডগুলি স্কিমা.অর্গ DataFeed সত্তার উপর ভিত্তি করে। একটি খাদ্য ক্যাটালগ ফিডে রেস্তোঁরাটির ঠিকানা, মেনু এবং অবস্থানের মতো রেস্তোঁরা লোকেল বিশদ রয়েছে, পাশাপাশি রেস্তোঁরাটির পরিষেবা বিশদ যেমন ডেলিভারি চার্জ, বিতরণ অঞ্চল এবং নীচে বর্ণিত অন্যান্য আইটেম রয়েছে।

একটি DataFeed উপাদানগুলির একটি সংগ্রহ রয়েছে, প্রতিটি স্কিমা.অর্গ শব্দভাণীতে প্রকাশিত একটি একক আইটেম উপস্থাপন করে। আপনি আপনার সমস্ত কাঠামোগত ডেটা JSON-LD ফর্ম্যাটে প্রকাশ করতে DataFeed প্রকারটি ব্যবহার করতে পারেন।

আপনার ফিডগুলি তৈরি করতে এই স্পেসিফিকেশনটি ব্যবহার করার তথ্যের জন্য, ইনভেন্টরি ইন্টিগ্রেশন ওভারভিউ দেখুন।

ডেটটাইম এবং টাইম ফর্ম্যাট

DateTime স্কিমা.অর্গ প্রকারের উপর ভিত্তি করে তৈরি করা হয়েছে, এবং অন্যথায় না বলা পর্যন্ত অবশ্যই আইএসও 8601 ফর্ম্যাটটি অনুসরণ করতে হবে এবং তারিখ, সময় এবং সময় অঞ্চল অন্তর্ভুক্ত করতে হবে। DateTime জন্য নিম্নলিখিত সিনট্যাক্স ব্যবহার করুন:

// DateTime format:
YYYY-MM-DDTHH:MM:SS[∓HH:MM|Z]

উদাহরণ স্বরূপ:

2017-05-01T06:30:00-07:00 // UTC minus 7 hours
2017-05-01T06:30:00Z  // UTC time zone. The optional "Z" suffix represents the UTC time zone.

Time হ'ল প্রদত্ত রেস্তোঁরা বা পরিষেবার অবস্থানের সময় অঞ্চলের জন্য স্থানীয় সময়, এটি স্কিমা.অর্গ প্রকারের উপর ভিত্তি করে এবং আইএসও 8601 ফর্ম্যাটটিও অনুসরণ করতে হবে। সময় নিম্নলিখিত সিনট্যাক্স ব্যবহার করে:

// Time format:
THH:MM:SS

উদাহরণ স্বরূপ:

T08:08:00 // 8:08 AM

আপনি যখনই কোনও DateTime বা Time নির্দিষ্ট করেন তখন নিম্নলিখিতটি নোট করুন:

  • সময়ের আগে "টি" উপসর্গটি ফর্ম্যাটের অংশ এবং এটি প্রয়োজনীয়।
  • সময় অঞ্চলটি অবশ্যই DATETIME জন্য নির্দিষ্ট করা উচিত। এটি TIME জন্য প্রয়োজন হয় না।
  • রেস্তোঁরা বা পরিষেবার জন্য সময়টি অবশ্যই স্থানীয় সময়ে নির্দিষ্ট করা উচিত।

খাম

যে কোনও খাদ্য ক্যাটালগ ফিডের প্রারম্ভিক কোডটিতে একটি "খাম" বিভাগ থাকতে হবে।

"খাম" হ'ল প্রতিটি ফিডের শীর্ষ-স্তরের কাঠামো এবং নিম্নলিখিত বৈশিষ্ট্যগুলির সাথে একটি DataFeed হতে হবে:

সম্পত্তি টাইপ প্রয়োজনীয়তা বর্ণনা
@context URL প্রয়োজন ব্যবহারের প্রসঙ্গ; সাধারণত "http://schema.googleapis.com"।
@type পাঠ্য প্রয়োজন এটি সর্বদা "ডেটাফিড"।
dateModified DateTime প্রয়োজন

আইএসও 8601 ফর্ম্যাটে ডেটা ফিডের সর্বশেষ পরিবর্তিত DateTime

আইএসও_অফসেট_ডেট_টাইম ফর্ম্যাটে তারিখ এবং সময় যা এই ফিডের আইটেমগুলি সংশোধন করা হয়েছিল। এই ক্ষেত্রের অভাবে, ধারণা করা হয় যে আপডেটের সময়টি সেই সময়টি যেখানে গুগল সার্ভারগুলিতে পুশ বার্তাটি প্রাপ্ত হয় (বা ক্রলিং হয়)।

আপনি যদি একসাথে ধাক্কা এবং ক্রল উভয়ই ব্যবহার করেন তবে আমরা আপনাকে এটি বাস্তবায়নের জন্য দৃ strongly ়ভাবে পরামর্শ দিচ্ছি। এই টাইমস্ট্যাম্পটি একটি সময় অঞ্চল এবং মিলিসেকেন্ডস গ্রানুলারিটির সাথে নির্দিষ্ট করা উচিত; উদাহরণস্বরূপ "2016-12-28T06: 30: 00: 123-07: 00"।

আপনার ব্যাচের ফিডগুলিতে, সত্তা সংস্করণটি ফিডের খামে dateModified ক্ষেত্রের মাধ্যমে নির্ধারিত হয়।

dataFeedElement Menu বা Restaurant বা Service অ্যারে প্রয়োজন এক বা একাধিক আইটেম যা এই ফিডের অংশ। বিস্তারিত জানার জন্য নীচে দেখুন.

নিম্নলিখিত উদাহরণটি খামটি দেখায়:

উদাহরণ

{
  "@context": "http://schema.googleapis.com",
  "dateModified": "2016-12-28T06:30:00:123-07:00",
  "@type": "DataFeed",
  "dataFeedElement": [
    /* All items that are part of this feed go here */
  ]
}

অ্যাডিটেডটেইলস

এই ধরণের ব্যবহার করতে, জিএস 1 প্রসঙ্গটি যুক্ত করুন: "@context": ["http://gs1.org/voc/", "http://schema.org"]

তারপরে, উপযুক্ত MenuItem বা MenuItemOption ধরণে FoodBeverageTobaccoProduct যুক্ত করুন।

নিম্নলিখিত টেবিলটি AdditiveDetails প্রকারের বৈশিষ্ট্যগুলি বর্ণনা করে:

সম্পত্তি টাইপ প্রয়োজনীয়তা বর্ণনা
@type পাঠ্য প্রয়োজন এটি সর্বদা "অ্যাডিটভিটটেলস"।
additiveName পাঠ্য ঐচ্ছিক অ্যাডিটিভের নাম।
additiveLevelOfContainment পাঠ্য ঐচ্ছিক জিএস 1 প্রতি সংযোজন কোড: লেভেলঅফকন্টেইনমেন্টকোড । উদাহরণস্বরূপ http://gs1.org/voc/LevelOfContainmentCode-CONTAINS , http://gs1.org/voc/LevelOfContainmentCode-FREE_FROM , বা http://gs1.org/voc/LevelOfContainmentCode-MAY_CONTAIN

নিম্নলিখিত উদাহরণটি AdditiveDetails টাইপের ব্যবহার দেখায়:

{
  "@type": ["MenuItem", "FoodBeverageTobaccoProduct"],
  "@id": "http://www.example.com/bar/menuitem/8",
  "name": "Energy Drink",
  "description": "A 0.25l can of energy drink.",
  "offers": {
    "@type": "Offer",
    "sku": "offer-energy-drink",
    "price": "3.49",
    "priceCurrency": "USD"
  },
  "additive": [
    {
      "@type": "AdditiveDetails",
      "additiveName": "caffeine",
      "additiveLevelOfContainment":
        "http://gs1.org/voc/LevelOfContainmentCode-CONTAINS"
    },
    {
      "@type": "AdditiveDetails",
      "additiveName": "phosphate",
      "additiveLevelOfContainment":
        "http://gs1.org/voc/LevelOfContainmentCode-CONTAINS"
    }
  ]
},

অ্যাডোনমেনুইটেম

একটি MenuItem অ্যাড-অন মেনু আইটেমে তালিকাভুক্ত একটি খাবার বা পানীয় আইটেম।

নিম্নলিখিত টেবিলটি AddOnMenuItem প্রকারের জন্য বৈশিষ্ট্যগুলি তালিকাভুক্ত করে:

সম্পত্তি টাইপ প্রয়োজনীয়তা বর্ণনা
@type পাঠ্য প্রয়োজন এটি সর্বদা "অ্যাডোনমেনুইটেম"।
@id URL প্রয়োজন অ্যাড-অন মেনু আইটেমের একটি অনন্য শনাক্তকারী।
name পাঠ্য প্রয়োজন পাঠ্য যা কোনও ব্যবহারকারী মেনুটি ব্রাউজ করে যখন অ্যাডোনমেনুইটেম সনাক্ত করে।
description পাঠ্য ঐচ্ছিক অ্যাড-অন মেনু আইটেমের বর্ণনা।
image URL ঐচ্ছিক

নিম্নলিখিত নির্দেশিকাগুলির সাথে মেলে অ্যাড-অন মেনু আইটেমের চিত্র:

  • দিক অনুপাত 3: 2
  • >
  • সর্বনিম্ন রেজোলিউশন 600x400 পিক্সেল, 72 ডিপিআই
  • >
  • প্রস্তাবিত রেজোলিউশন 1400x960 পিক্সেল, 72 ডিপিআই
offers Offer অ্যারে প্রয়োজনীয়*

এই অ্যাডোনমেনুইটেম সরবরাহ করার জন্য এক বা একাধিক অফার।

কখন এবং কোন দামে এই অ্যাডোনমেনুইটেম উপলব্ধ তা বর্ণনা করে। কেবলমাত্র একটি অফার একটি নির্দিষ্ট সময়ে বৈধ হওয়া উচিত। দিনের সময়ের ভিত্তিতে দাম বা প্রাপ্যতা পরিবর্তন করতে পারে তবে আপনার কাছে অনেকগুলি বৈধ অফার থাকতে পারে। যখন অ্যাড-অন বা আইটেমটি একটি বেস অ্যাট্রিবিউট বা অ্যাড-অন আইটেমটিতে একটি পরিবর্তনের মাধ্যমে পৃথক হয় (ছোট, মাঝারি এবং একটি অ্যাড-অন হিসাবে বৃহত ফ্রাইয়ের মতো), hasMenuItemOption সম্পত্তিটি ব্যবহার করুন।

Offer.eligibleQuantity জন্য ডিফল্ট।

নিম্নলিখিত Offer বৈশিষ্ট্যগুলি অ্যাডোনমেনুইটেমে ব্যবহৃত হয়:

  • Offer.sku প্রয়োজন
  • Offer.price প্রয়োজনীয়
  • Offer.priceCurrency প্রয়োজনীয়
  • Offer.availabilityStarts al চ্ছিক
  • Offer.availabilityEnds al চ্ছিক
  • Offer.availableDay al চ্ছিক
  • Offer.validFrom al চ্ছিক
  • Offer.validThrough al চ্ছিক
  • Offer.eligibleQuantity
  • Offer.inventoryLevel al চ্ছিক
hasMenuItemOptions MenuItemOption অ্যারে প্রয়োজনীয়*

এই অ্যাড-অন মেনু আইটেমটির জন্য, অ্যাড-অন আইটেমটিতে নিজেই (ছোট, মাঝারি এবং বড় ফ্রাইয়ের মতো) একটি প্রকরণ বর্ণনা করে এমন বেস অ্যারে বেস অ্যারে। এই অ্যাড-অন মেনু আইটেমের জন্য উপলব্ধ বিভিন্ন প্রকারভেদ নির্দিষ্ট করতে বিকল্পগুলি ব্যবহার করুন। দুটি পরিস্থিতি রয়েছে যেখানে এটি ঘটতে পারে:

  • বেসের প্রকরণটি নিজেই অ্যাড-অন আইটেমটিতে রয়েছে (ছোট, মাঝারি এবং বড় ফ্রাইয়ের মতো অ্যাড-অন)
  • মেনু আইটেমের জন্য বেস প্রকরণটি এই অ্যাড-অনের সাথে সম্পর্কিত (একটি বড় পিজ্জার জন্য অ্যাড-অন হিসাবে অতিরিক্ত পনিরের মতো)
suitableForDiet RestrictedDiet অ্যারে ঐচ্ছিক থালা বর্ণিত ডায়েটরি সীমাবদ্ধতা (যেমন "গ্লুটেনফ্রিডিয়েট" বা "ভেজানডিয়েট") এর সাথে সম্মতি দেয়। এটি সম্ভাব্য মানগুলির একটি গণিত তালিকা।
nutrition NutritionInformation ঐচ্ছিক ডিশের জন্য পুষ্টির তথ্য, বিশেষত ক্যালোরি।
menuAddOn AddOnMenuSection অ্যারে ঐচ্ছিক অ্যাডোনমেনুইটেমে অনুমোদিত আইটেমগুলি দিয়ে তৈরি একটি মেনু বিভাগ থাকতে পারে যা অ্যাড-অন হিসাবে যুক্ত করা যেতে পারে।

নিম্নলিখিত উদাহরণটি AddOnMenuItem দেখায়:

উদাহরণ 1

{
  "@type": "AddOnMenuSection",
  "@id": "https://www.example.com/1089/addon/1",
  "name": "AddOnCheese",
  "hasMenuItem": [
    {
      "@type": "AddOnMenuItem",
      "@id": "https://www.example.com/1089/addon/a",
      "name": "Swiss",
      "offers": {
        "@type": "Offer",
        "sku": "offer-swiss",
        "price": "2.99",
        "priceCurrency": "USD"
      }
    },
    {
      "@type": "AddOnMenuItem",
      "@id": "https://www.example.com/1089/addon/b",
      "name": "Mozarella",
      "offers": {
        "@type": "Offer",
        "sku": "offer-mozzarella",
        "price": "1.99",
        "priceCurrency": "USD"
      }
    }
  ]
}

উদাহরণ 2

{
  "@type": "MenuItem",
  "@id": "https://www.example.com/1089/product/170067",
  "name": "Pepperoni Pizza",
  "hasMenuItemOptions": [
    {
      "@type": "MenuItemOption",
      "value": {
        "@type": "PropertyValue",
        "name": "SIZE",
        "value": "Small"
      },
      "offers": {
        "@type": "Offer",
        "sku": "offer-small-pepperoni-pizza",
        "price": "10.00",
        "priceCurrency": "USD"
      }
    },
    {
      "@type": "MenuItemOption",
      "value": {
        "@type": "PropertyValue",
        "name": "SIZE",
        "value": "Large"
      },
      "offers": {
        "@type": "Offer",
        "sku": "offer-large-pepperoni-pizza",
        "price": "20.00",
        "priceCurrency": "USD"
      }
    }
  ],
  "menuAddOn": [
    {
      "@type": "AddOnMenuSection",
      "name": "Choice of toppings",
      "@id": "https://www.example.com/1089/addon/1",
      "hasMenuItem": [
        {
          "@type": "AddOnMenuItem",
          "@id": "https://www.example.com/1089/addon/1/a",
          "name": "Shrimp",
          "hasMenuItemOptions": [
            {
              "@type": "MenuItemOption",
              "value": [
                {
                  "@type": "PropertyValue",
                  "name": "PIZZA_SIDE",
                  "value": "PIZZA_SIDE_LEFT" // Values are predefined for pizza side.
                },
                {
                  "@type": "PropertyValue",
                  "name": "APPLICABLE_ITEM_OPTION",
                  "value": "Small" // Value should be same as mentioned in item's options.
                }
              ],
              "offers": {
                "@type": "Offer",
                "sku": "offer-topping-shrimp-left-small",
                "price": "1.00",
                "priceCurrency": "USD"
              }
            },
            {
              "@type": "MenuItemOption",
              "value": [
                {
                  "@type": "PropertyValue",
                  "name": "PIZZA_SIDE",
                  "value": "PIZZA_SIDE_LEFT" // Values are predefined for pizza side.
                },
                {
                  "@type": "PropertyValue",
                  "name": "APPLICABLE_ITEM_OPTION",
                  "value": "Large" // Value should be same as mentioned in item's options.
                }
              ],

              "offers": {
                "@type": "Offer",
                "sku": "offer-topping-shrimp-left-large",
                "price": "2.00",
                "priceCurrency": "USD"
              }
            },
            {
              "@type": "MenuItemOption",
              "value": [
                {
                  "@type": "PropertyValue",
                  "name": "PIZZA_SIDE",
                  "value": "PIZZA_SIDE_WHOLE" // Values are predefined for pizza side.
                },
                {
                  "@type": "PropertyValue",
                  "name": "APPLICABLE_ITEM_OPTION",
                  "value": "Small" // Value should be same as mentioned in item's options.
                }
              ],

              "offers": {
                "@type": "Offer",
                "sku": "offer-topping-shrimp-whole-small",
                "price": "1.50",
                "priceCurrency": "USD"
              }
            },
            {
              "@type": "MenuItemOption",
              "value": [
                {
                  "@type": "PropertyValue",
                  "name": "PIZZA_SIDE",
                  "value": "PIZZA_SIDE_WHOLE" // Values are predefined for pizza side.
                },
                {
                  "@type": "PropertyValue",
                  "name": "APPLICABLE_ITEM_OPTION",
                  "value": "Large" // Value should be same as mentioned in item's options.
                }
              ],

              "offers": {
                "@type": "Offer",
                "sku": "offer-topping-shrimp-whole-large",
                "price": "2.50",
                "priceCurrency": "USD"
              }
            }
          ]
        }
      ]
    }
  ]
}

অ্যাডোনমেনসেকশন

মেনু আইটেমের জন্য অ্যাড-অন মেনু বিভাগ হিসাবে খাবার বা পানীয় আইটেমগুলির একটি উপ-গ্রুপিং।

নিম্নলিখিত টেবিলটি AddOnMenuSection প্রকারের জন্য বৈশিষ্ট্যগুলি তালিকাভুক্ত করে:

সম্পত্তি টাইপ প্রয়োজনীয়তা বর্ণনা
@type পাঠ্য প্রয়োজন এটি সর্বদা "অ্যাডোনমেনসেকশন"।
@id URL প্রয়োজন মেনু বিভাগের অনন্য শনাক্তকারী।
name পাঠ্য প্রয়োজন যখন কোনও ব্যবহারকারী মেনুটি ব্রাউজ করে তখন অ্যাডোনমেনসেকশন সনাক্ত করতে পারে এমন পাঠ্য।
description পাঠ্য ঐচ্ছিক মেনু বিভাগের বিবরণ।
eligibleQuantity QuantitativeValue ঐচ্ছিক এই মেনু বিভাগের জন্য অ্যাড-অন হিসাবে অনুমোদিত আইটেমের সংখ্যা নির্দেশ করে। আপনি এই ক্ষেত্রটি অ্যাড-অনগুলির সংখ্যা সীমাবদ্ধ করতে ব্যবহার করতে পারেন, যেমন আপনি পিজ্জাতে চয়ন করতে পারেন ন্যূনতম এবং সর্বাধিক সংখ্যক টপিং।
image URL ঐচ্ছিক মেনু বিভাগের চিত্র।
hasMenuItem AddOnMenuItem অ্যারে প্রয়োজনীয়* অ্যাডোনমেনসেকশনে থাকা অ্যাড-অন মেনু আইটেমগুলি।
offers Offer অ্যারে ঐচ্ছিক

Offer .availabilityStarts এবং Offer .availabilityEnds সময়কালটি নির্দেশ করার জন্য এই অ্যাডোনমেনসেকশনটি উপলব্ধ।

নীচের তালিকাটি দেখায় যে কোন Offer বৈশিষ্ট্যগুলি অ্যাডোনমেনসেকশনে ব্যবহৃত হয়।

  • Offer.availabilityStarts al চ্ছিক
  • Offer.availabilityEnds al চ্ছিক
  • Offer.availableDay al চ্ছিক
  • Offer.validFrom al চ্ছিক
  • Offer.validThrough al চ্ছিক
hasMenuSection AddOnMenuSection অ্যারে প্রয়োজনীয়* অ্যাড-অন মেনুর লজিকাল সাব-গ্রুপিং (যেমন ডিনার, অ্যাপিটিজার বা ফিশ ডিশ)।
defaultOption AddOnMenuItem অ্যারে ঐচ্ছিক

অ্যাড-অন মেনু আইটেমগুলি AddOnMenuSection ব্যবহারকারীদের জন্য ডিফল্টরূপে প্রাক্কলিত হতে হবে। ব্যবহারকারীরা চূড়ান্ত নির্বাচন পরিবর্তন করতে পারেন। যদি কোনও defaultOption নির্দিষ্ট না করা হয় তবে কোনও AddOnMenuItem পূর্বনির্ধারিত নয়।

AddOnMenuItem অবজেক্টগুলি অবশ্যই AddOnMenuSection hasMenuItem উপস্থিত থাকতে হবে।

defaultOption এর সংখ্যা AddOnMenuSection সর্বাধিক eligibleQuantity চেয়ে বেশি হতে পারে না।

numberOfFreeAddOns সংখ্যা ঐচ্ছিক কোনও ব্যবহারকারী বিনা মূল্যে নির্বাচন করতে পারবেন এমন অ্যাড-অনের সংখ্যা নির্দেশ করে।

নিম্নলিখিত উদাহরণগুলির মধ্যে AddOnMenuSection অবজেক্ট অন্তর্ভুক্ত রয়েছে:

উদাহরণ 1

{
  "@type": "AddOnMenuSection",
  "@id": "https://www.example.com/1089/addon/1",
  "name": "AddOnCheese",
  "hasMenuItem": [
    {
      "@type": "AddOnMenuItem",
      "@id": "https://www.example.com/1089/addon/a",
      "name": "Swiss",
      "offers": {
        "@type": "Offer",
        "sku": "offer-swiss",
        "price": "2.99",
        "priceCurrency": "USD"
      }
    },
    {
      "@type": "AddOnMenuItem",
      "@id": "https://www.example.com/1089/addon/b",
      "name": "Mozarella",
      "offers": {
        "@type": "Offer",
        "sku": "offer-mozzarella",
        "price": "1.99",
        "priceCurrency": "USD"
      }
    }
  ]
}

উদাহরণ 2

"menuAddOn": {
  "@type": "AddOnMenuSection",
  "name": "Cheese",
  "@id": "https://www.example.com/1089/addon/1", // Points to an AddOnMenuSection
  "eligibleQuantity":
    "@type": "QuantitativeValue",
    "minValue": 0,
    "maxValue": 2 // Maximum of 2 cheeses are allowed
  }
}

উদাহরণ 3

একটি "পনির স্যান্ডউইচ" মেনু আইটেমটিতে "সুইস" এবং "মোজারেলা" সহ ডিফল্ট হিসাবে নির্বাচিত "পনির পছন্দ" AddOnMenuSection রয়েছে।

{
  "@type": "AddOnMenuSection",
  "@id": "https://www.example.com/1089/addon/1",
  "name": "AddOnCheese",
  "defaultOption": [
    {
      "@type": "AddOnMenuItem",
      "@id": "https://www.example.com/1089/addon/a"
    },
    {
      "@type": "AddOnMenuItem",
      "@id": "https://www.example.com/1089/addon/b"
    }
  ],
  "hasMenuItem": [
    {
      "@type": "AddOnMenuItem",
      "@id": "https://www.example.com/1089/addon/a",
      "name": "Swiss",
      "offers": {
        "@type": "Offer",
        "sku": "offer-swiss",
        "price": "2.99",
        "priceCurrency": "USD"
      }
    },
    {
      "@type": "AddOnMenuItem",
      "@id": "https://www.example.com/1089/addon/b",
      "name": "Mozzarella",
      "offers": {
        "@type": "Offer",
        "sku": "offer-mozzarella",
        "price": "1.99",
        "priceCurrency": "USD"
      }
    }
  ]
}

অ্যাডভান্সস সার্ভিসিলিভারিহোরসস্পেসিফিকেশন

ব্যবহারকারীদের বিতরণ এবং টেকআউটের জন্য অগ্রিম অর্ডারগুলির সময়সূচী নির্ধারণের জন্য পরিপূর্ণতার সময়গুলি উপস্থাপন করে।

সাধারণত, opens মান closes মানের চেয়ে কম। নিম্নলিখিত নির্দেশিকাগুলি opens এবং closes বৈশিষ্ট্যগুলি ব্যবহার করে প্রযোজ্য:

  • opens এবং closes প্রোপার্টিগুলি AdvanceServiceDeliveryHoursSpecification জন্য al চ্ছিক, তবে আমরা আপনাকে সেগুলি অন্তর্ভুক্ত করার জন্য দৃ strongly ়ভাবে সুপারিশ করি।
  • সময়টি অবশ্যই পরিষেবাটির জন্য স্থানীয় সময়ে নির্দিষ্ট করা উচিত। opens বা closes মানগুলিতে একটি সময় অঞ্চল অন্তর্ভুক্ত করবেন না। নির্দিষ্ট সময় অঞ্চলগুলি উপেক্ষা করা হয়।
  • যদি opens এবং closes স্পষ্টভাবে নির্দিষ্ট না করা হয় তবে আমরা ধরে নিই যে অ্যাডভান্স অর্ডারটি সর্বদা সমস্ত দিন পাওয়া যায়।
  • যদি opens এবং closes একই হয় তবে আমরা ধরে নিই যে অগ্রিম ক্রমটি অনুপলব্ধ।
  • যদি opens closes বেশি হয় তবে শেষের সময়টি পরের দিনটিতে ব্যাখ্যা করা হয়। উদাহরণস্বরূপ, যদি উদ্বোধনী সময়টি 1 জানুয়ারী বিকাল 5 টায় সেট করা হয় এবং সমাপ্তি সময় 2 টা হয়, তবে রেস্তোঁরাটি 2 জানুয়ারী 2 শে জানুয়ারি 2 এ বন্ধ হিসাবে ব্যাখ্যা করা হয়।
  • opens এবং closes ভবিষ্যতের সময় স্লটকে বোঝায়। closes একচেটিয়া। উদাহরণস্বরূপ, যদি opens 10 টা এবং closes 15 মিনিটের serviceTimeInterval সহ 4 টা হয়, তবে প্রথমবারের মতো স্লটটি সকাল 10 টা থেকে শুরু হয় এবং শেষ বারের স্লটটি 3:45 অপরাহ্ন থেকে শুরু হয়।

নিম্নলিখিত টেবিলটি AdvanceServiceDeliveryHoursSpecification প্রকারের বৈশিষ্ট্যগুলি বর্ণনা করে:

সম্পত্তি টাইপ প্রয়োজনীয়তা বর্ণনা
@type পাঠ্য প্রয়োজন এটি সর্বদা "অ্যাডভান্সসিসারসিসিলিভারিহোরসস্পেসিফিকেশন"।
validFrom DateTime শর্তসাপেক্ষ

প্রথম তারিখ যা থেকে ব্যবহারকারীদের অগ্রিম অর্ডারগুলি পূরণ করা যায়। উদাহরণস্বরূপ, "2017-05-01T00: 00: 00-07: 00"।

যদি এই সম্পত্তিটি সেট না করা থাকে তবে এটি প্রতিদিন বৈধ বলে ধরে নেওয়া হয়। validFrom এবং validThrough বৈশিষ্ট্যগুলি অবশ্যই অনুপস্থিত বা একসাথে উপস্থিত থাকতে হবে।

যদি এই ধরণটি Service স্তরে একটি specialOpeningHoursSpecification হিসাবে নির্দিষ্ট করা থাকে তবে AdvanceServiceDeliveryHoursSpecification এই validFrom সম্পত্তি প্রয়োজন।

আরও তথ্যের জন্য, ডেটটাইম এবং টাইম ফর্ম্যাটগুলি দেখুন।

validThrough DateTime ঐচ্ছিক

শেষের তারিখ যার বাইরে ব্যবহারকারীদের অগ্রিম অর্ডারগুলি আর পূরণ করা যায় না। উদাহরণস্বরূপ, "2018-12-01T00: 00: 00-07: 00"।

যদি এই সম্পত্তিটি সেট না করা থাকে তবে এটি প্রতিদিন বৈধ বলে ধরে নেওয়া হয়। validFrom এবং validThrough বৈশিষ্ট্যগুলি অবশ্যই অনুপস্থিত বা একসাথে উপস্থিত থাকতে হবে।

যদি এই ধরণটি Service স্তরে একটি specialOpeningHoursSpecification হিসাবে নির্দিষ্ট করা থাকে তবে AdvanceServiceDeliveryHoursSpecification validThrough সম্পত্তি প্রয়োজন।

validThrough জন্য সময় একচেটিয়া। উদাহরণস্বরূপ, যদি সেই সময়টি সন্ধ্যা 6 টা পর্যন্ত সেট করা থাকে তবে সময়টি 5:59:59 পিএম পর্যন্ত বৈধ।

আরও তথ্যের জন্য, ডেটটাইম এবং টাইম ফর্ম্যাটগুলি দেখুন।

opens Time ঐচ্ছিক

ডেলিভারি বা টেকআউট স্লটে প্রযোজ্য।

দিনের নির্দিষ্ট সময়টি শুরু করে যা থেকে ব্যবহারকারীদের অগ্রিম অর্ডারগুলি পূরণ করা যায়। উদাহরণস্বরূপ, সকাল 6:30 টা "T06: 30: 00" হিসাবে দেওয়া হয়।

সময় অবশ্যই পরিষেবা জন্য স্থানীয় সময়ে নির্দিষ্ট করা উচিত। একটি opens ভ্যালুতে একটি সময় অঞ্চল অন্তর্ভুক্ত করবেন না। যদি কোনও সময় অঞ্চল নির্দিষ্ট করা থাকে তবে গুগল এই তথ্যটিকে উপেক্ষা করে।

আরও তথ্যের জন্য, ডেটটাইম এবং টাইম ফর্ম্যাটগুলি দেখুন।

closes Time ঐচ্ছিক

ডেলিভারি বা টেকআউট স্লটে প্রযোজ্য।

দিনের নির্দিষ্ট সময়টি যা ব্যবহারকারীদের অগ্রিম অর্ডারগুলি পূরণ করা যায় না তার বাইরে। উদাহরণস্বরূপ, 9:00 অপরাহ্ন "T21: 00: 00" হিসাবে দেওয়া হয়েছে। closes> একচেটিয়া, সুতরাং 15 মিনিটের serviceTimeInterval জন্য এটি 9:00 এ সেট করা মানে সর্বশেষ উপলব্ধ সময় স্লটটি 8:45 এ শুরু হয়।

সময় অবশ্যই পরিষেবা জন্য স্থানীয় সময়ে নির্দিষ্ট করা উচিত। closes মানতে একটি সময় অঞ্চল অন্তর্ভুক্ত করবেন না। যদি কোনও সময় অঞ্চল নির্দিষ্ট করা থাকে তবে গুগল এই তথ্যটিকে উপেক্ষা করে।

আরও তথ্যের জন্য, ডেটটাইম এবং টাইম ফর্ম্যাটগুলি দেখুন।

dayOfWeek DayOfWeek অ্যারে ঐচ্ছিক

সপ্তাহের দিনগুলি যে অগ্রিম বিতরণ সময়গুলি উপলব্ধ। বৈধ মান হল:

  • "সোমবার"
  • "মঙ্গলবার"
  • "বুধবার"
  • "বৃহস্পতিবার"
  • "শুক্রবার"
  • "শনিবার"
  • "রবিবার"

আপনি যদি সপ্তাহের কোনও দিন নির্দিষ্ট না করে থাকেন তবে AdvanceServiceDeliveryHoursSpecification সমস্ত দিনের ক্ষেত্রে প্রযোজ্য।

serviceTimeInterval Duration প্রয়োজন

পরপর দুটি পরিষেবা সময়ের মধ্যে ব্যবধান।

উদাহরণস্বরূপ: যদি opens এবং closes সকাল 8 টা এবং 8 টা হয় এবং serviceTimeInterval 15 মিনিট হয়, তবে ব্যবহারকারী সকাল 8 টা, 8:15 এএম, 8:30 এএম, 8:45 এএম, এবং আরও কিছু না হওয়া পর্যন্ত পরিপূর্ণতার সময় বেছে নিতে পারেন রাত 8 টা.

Duration অবশ্যই একটি আইএসও 8601 সময়কাল হিসাবে নির্দিষ্ট করা উচিত। উদাহরণস্বরূপ: "P15M" এর অর্থ 15 মিনিটের ব্যবধান।

advanceBookingRequirement QuantitativeValue প্রয়োজন

যখন অগ্রিম অর্ডারটি পূরণ করা যায় তখন ক্রমের সময় থেকে মিনিটের সংখ্যা।

QuantitativeValue এর min এবং max মানগুলি অবশ্যই মিনিটের সংখ্যা এবং ইউনিটকোডকে "মিনিট" এ সেট করা উচিত।

For example, if an advance order needs at least 60 minutes to be fulfilled, and is restricted from being fulfilled more than 2 days later, then the min value is 60 and the max value is 2880.

The following example shows the usage of the AdvanceServiceDeliveryHoursSpecification type:

উদাহরণ 1

{
  "@type": "AdvanceServiceDeliveryHoursSpecification",
  "opens": "T10:00:00",  // Delivery between 10AM and 7:59:59PM
  "closes": "T20:00:00",
  "serviceTimeInterval": "PT15M", // in slots spaced 15 minutes apart (ISO8601)
  "advanceBookingRequirement": {
    "minValue": 60,   // The slot should be at least 60 mins away
    "maxValue": 8640, // but not more than 6 days away
    "unitCode": "MIN"
  }
}

AllergenDetails

To use this type, add the gs1 context: "@context": ["http://gs1.org/voc/", "http://schema.org"]

Then, add FoodBeverageTobaccoProduct to the type of the appropriate MenuItem or MenuItemOption .

The following table describes the properties of the AllergenDetails type:

সম্পত্তি টাইপ প্রয়োজনীয়তা বর্ণনা
@type পাঠ্য প্রয়োজন This is always "AllergenDetails".
allergenType পাঠ্য ঐচ্ছিক Type of allergen per gs1:AllergenTypeCode . For example http://gs1.org/voc/AllergenTypeCode-PEANUTS .
allergenLevelOfContainmentCode পাঠ্য ঐচ্ছিক Containment code per gs1:LevelOfContainmentCode . For example http://gs1.org/voc/LevelOfContainmentCode-CONTAINS , http://gs1.org/voc/LevelOfContainmentCode-FREE_FROM or http://gs1.org/voc/LevelOfContainmentCode-MAY_CONTAIN .

The following example shows the usage of the AllergenDetails type:

{
  "@type": ["MenuItem", "FoodBeverageTobaccoProduct"],
  "@id": "http://www.example.com/bar/menuitem/6",
  "name": "Strawberry joghurt drink",
  "description": "A 0.5l bottle of strawberry joghurt drink.",
  "offers": {
    "@type": "Offer",
    "sku": "offer-joghurt-drink",
    "price": "2.49",
    "priceCurrency": "USD"
  },
  "hasAllergen": [
    {
      "@type": "AllergenDetails",
      "allergenType": "http://gs1.org/voc/AllergenTypeCode-GLUTEN",
      "allergenLevelOfContainmentCode":
        "http://gs1.org/voc/LevelOfContainmentCode-FREE_FROM"
    },
    {
      "@type": "AllergenDetails",
      "allergenType": "http://gs1.org/voc/AllergenTypeCode-LACTOSE",
      "allergenLevelOfContainmentCode":
        "http://gs1.org/voc/LevelOfContainmentCode-CONTAINS"
    }
  ]
},

DeliveryChargeSpecification

The following table describes the properties of the DeliveryChargeSpecification type:

সম্পত্তি টাইপ প্রয়োজনীয়তা বর্ণনা
@type পাঠ্য প্রয়োজন This is always "DeliveryChargeSpecification".
@id URL ঐচ্ছিক Identifier for the delivery charge specification.
price সংখ্যা প্রয়োজন Total delivery cost as a numerical only value. Use the priceCurrency property to denote the type of currency instead of currency symbols. For example, "6.00", without the currency symbol.
priceCurrency পাঠ্য প্রয়োজন The 3-letter ISO 4217 currency code. For example, "USD".
eligibleTransactionVolume PriceSpecification ঐচ্ছিক The transaction volume, in a monetary unit, for which this delivery charge specification is valid. For example, to indicate a minimal purchasing volume, or to express that shipping is available at no additional charge above a certain order volume.
eligibleQuantity QuantitativeValue ঐচ্ছিক The interval and unit of measurement of ordering quantities for which the delivery charge is valid. This lets you, for example, specify that a certain freight charge is valid only for a certain quantity.
eligibleRegion Array of GeoShape or Place or GeoCircle ঐচ্ছিক The place, or the GeoShape/GeoCircle for the geo-political region(s) for which the offer or delivery charge specification is valid. Use this property only if delivery fees vary by the region.
validFrom DateTime ঐচ্ছিক The date and time (including the time zone) when the delivery charge specified becomes valid. For example, "2017-05-01T06:30:00-07:00". For more information, see DateTime and Time formats .
validThrough DateTime ঐচ্ছিক The date and time (including the time zone) after which the delivery charge specified is not valid. For example, "2017-05-01T06:30:00-07:00". The time for validThrough is exclusive: for example, if that time is set to 6 PM, the time is valid up to 5:59:59 PM. For more information, see DateTime and Time formats .

The following examples show DeliveryChargeSpecification elements:

উদাহরণ 1

"offers": {
  "@type":"Offer",
  "priceSpecification":[
    {
      "@type": "DeliveryChargeSpecification",
      "price": "5.0",
      "priceCurrency": "USD"
    }
  ]
}

উদাহরণ 2

"priceSpecification": [
  {
    "@type": "DeliveryChargeSpecification",
    "@id": "http://www.provider.com/defaultdeliveryfee/foo",
    "price": "10.0",
    "priceCurrency": "USD",
    "eligibleQuantity": {
      "@type": "QuantitativeValue",
      "minValue": 3  // Minimum of 3 items required for delivery
    }
  },
  {
    "@type": "DeliveryChargeSpecification",
    "@id": "http://www.provider.com/deliveryfee/foo/1",
    "price": "20.0",
    "priceCurrency": "USD",
    "validFrom":"T18:00:00", // Valid from 6:00PM
    "validThrough":"T22:00:00", // Valid to 9:59:59PM
    "eligibleQuantity": {
      "@type": "QuantitativeValue",
      "minValue": 3  // Minimum of 3 items required for delivery
    }
  }
]

উদাহরণ 3

"priceSpecification": [{
    "@type": "DeliveryChargeSpecification",
    "@id": "http://www.provider.com/threebrotherstacos/deliveryfee/1",
    "price": "8.00", // Charges $8 for area5
    "priceCurrency": "USD",
    "eligibleTransactionVolume": {
      "@type": "PriceSpecification",
      "minPrice": "20.00",
      "priceCurrency": "USD"
    },
    "eligibleRegion": [ // area5
      {
        "@type": "GeoCircle",
        "geoMidpoint": {
          "@type": "GeoCoordinates",
          "latitude": "37.7392607",
          "longitude": "-122.3895522"
        },
        "geoRadius": "4505"
      }
    ]
  },
  {
    "@type": "DeliveryChargeSpecification",
    "@id": "http://www.provider.com/threebrotherstacos/defaultdeliveryfee",
    "price": "6.00", // Charges $6 when delivered from Foo restaurant to area1, area2, area3 and area4 (Default charge)
    "priceCurrency": "USD",
    "eligibleTransactionVolume": {
      "@type": "PriceSpecification",
      "minPrice": "20.00", // Minimum order price for delivery is $20
      "priceCurrency": "USD"
    }
  }
]

In addition to "@type": ["DeliveryChargeSpecification"] , the object can be extended with UnitPriceSpecification :

"@type": ["DeliveryChargeSpecification", "UnitPriceSpecification"]

The extension gives an additional two properties required for delivery fees calculated in percentages.

সম্পত্তি টাইপ প্রয়োজনীয়তা বর্ণনা
referenceQuantity QuantitativeValue প্রয়োজন Reference quantity for which a certain price applies. For example, referenceQuantity of value 10 with unitCode of "P1" result in 10% of the order value. Only unitCode "P1" is supported at the moment.
basePrice সংখ্যা ঐচ্ছিক The base charge in addition to the referenceQuantity . For example, referenceQuantity of 10 with unitCode of "P1" and basePrice of 5 in USD result in $5 + 10% of the order value. ডিফল্ট মান 0।

Delivery fee examples

Google allows you to specify a variety of fees to users upfront using Offer.PriceSpecification of the Service entity.

Note that Ordering End-to-End currently only supports one DeliveryChargeSpecification . Combine all types of fees into a single DeliveryChargeSpecification .

Refer to Service feed examples for how to specify delivery fees based on area, distance, and order value.

If there is no fee, Offer.PriceSpecification is omitted.

  • Example 1: Delivery fee is 5% of cart subtotal
  • Example 2: Delivery fee is $5
  • Example 3: Delivery fee is $5 + 10% of cart subtotal
  • Example 4: Delivery fee is $5 and bag fee is $0.1
  • Example 5: Delivery fee is 5% and convenience fee is 2% of cart subtotal
  • Example 6: Delivery fee is $5 and $1 per additional 1km distance

উদাহরণ 1

priceSpecification [
  {
    "@type": ["DeliveryChargeSpecification", "UnitPriceSpecification"],
    "referenceQuantity": {
      "@type": "QuantitativeValue",
      "value": "5.00", // 5%
      "unitCode": "P1" // P1 == %
    },
    "priceCurrency": "USD"
  }
]

উদাহরণ 2

priceSpecification [
  {
    "@type": ["DeliveryChargeSpecification"],
    "priceCurrency": "USD",
    "price": "5.00"
  }
]

উদাহরণ 3

priceSpecification [
  {
    "@type": ["DeliveryChargeSpecification", "UnitPriceSpecification"],
    "referenceQuantity": {
      "@type": "QuantitativeValue",
      "value": "10.00", // 10%
      "unitCode": "P1", // P1 == %
    },
    "priceCurrency": "USD",
    "basePrice": "5.00" // User always pays $5 in addition to 10%
  }
]

উদাহরণ 4

priceSpecification [
  {
    "@type": ["DeliveryChargeSpecification"],
    "priceCurrency": "USD",
    "price": "5.10" //$5 + $0.1
  }

উদাহরণ 5

priceSpecification [
  {
    "@type": ["DeliveryChargeSpecification", "UnitPriceSpecification"],
    "referenceQuantity": {
      "@type": "QuantitativeValue",
      "value": "7.00", // 5% + 2%
      "unitCode": "P1" // P1 == %
    },
    "priceCurrency": "USD"
  },
]

উদাহরণ 6

priceSpecification [
  {
    "@type": ["DeliveryChargeSpecification", "UnitPriceSpecification"],
    "basePrice": 5.00, // User always pays $5
    "price": 1.00, // An additional $1.00 is added per 1km
    "priceCurrency": "USD",
    "referenceQuantity": {
      "@type": "QuantitativeValue",
      "unitCode": "MTR", // MTR == meter
      "value": "1000.0" // 1km
    }
  }
]

GeoCircle

The following table describes the properties of the GeoCircle type:

সম্পত্তি টাইপ প্রয়োজনীয়তা বর্ণনা
@type পাঠ্য প্রয়োজন This is always "GeoCircle".
geoMidpoint GeoCoordinates প্রয়োজন Indicates the GeoCoordinates at the center of a GeoCircle .
geoRadius সংখ্যা প্রয়োজন Indicates the approximate radius (in meters) of a GeoCircle .

The following example shows a GeoCircle element:

উদাহরণ

{
  "@type": "GeoCircle",
  "geoMidpoint": {
    "@type": "GeoCoordinates",
    "latitude": "37.7392607",
    "longitude": "-122.3895522"
  },
  "geoRadius": "4505"
}

GeoCoordinates

The following table describes the properties of the GeoCoordinates type:

সম্পত্তি টাইপ প্রয়োজনীয়তা বর্ণনা
@type পাঠ্য প্রয়োজন This is always "GeoCoordinates".
latitude সংখ্যা প্রয়োজন

Latitude in degrees. Values are restricted to the range from -90 to 90, inclusive. If the value specified is less than -90, it is set to -90; if the value is greater than 90, it is set to 90.

The precision should be at least 5 decimal places.

longitude সংখ্যা প্রয়োজন

Longitude in degrees. Values outside the range of -180 to 180 are wrapped so that they fall within the range. For example, a value of -190 is converted to 170. A value of 190 is converted to -170. এটি প্রতিফলিত করে যে দ্রাঘিমাংশগুলি বিশ্বজুড়ে মোড়ানো।

The precision should be at least 5 decimal places.

The following example shows a GeoCoordinates element:

উদাহরণ

"geo": {
  "@type": "GeoCoordinates",
  "latitude": "35.7392607",
  "longitude": "-120.3895522"
}

জিওশেপ

The following table describes the properties of the GeoShape type:

সম্পত্তি টাইপ প্রয়োজনীয়তা বর্ণনা
@type পাঠ্য প্রয়োজন This is always "GeoShape".
polygon Array of Text প্রয়োজন

A polygon or multipolygon expressed as a series of three or more space delimited points. It is recommended that the first and last points be the same, but it is not required.

Each point in a polygon or multipolygon is defined by a latitude point followed by a longitude point. You also must specify the points in a counter-clockwise direction.

In most cases you will have a single polygon. For more complex use cases, see the delivery service area documentation.

The following examples show GeoShape elements:

উদাহরণ 1

{
  "@type": "GeoShape", // area4
  // Specify latitude first (i.e., lat long lat long ...)
  "polygon": "37.806000 -122.425592 37.775849 -122.419043 37.795547 -122.394046 37.808747 -122.412619"
},

উদাহরণ 2

{
  "@type": "GeoShape", // A service area with a hole.
  // Specify latitude first (i.e., lat long lat long ...)
  "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”]
},

উদাহরণ 3

{
  "@type": "Service",
  "@id": "http://www.provider.com/service/1",
  "areaServed": [
    {
      "@type": "GeoShape",  // Richmond District delivery area.
      // Specify latitude first (i.e., lat long lat long ...)
      "polygon": "37.785847 -122.484851 37.772757 -122.483983 37.774442 -122.458563 37.786876 -122.459474"
    },
    {
      "@type": "GeoShape",  // Haight-Ashbury delivery area.
      // Specify latitude first (i.e., lat long lat long ...)
      "polygon": "37.774804 -122.454774 37.766224 -122.452881 37.769087 -122.436043 37.773087 -122.437417"
    }  ],
...
},

The following table lists the properties for the Menu type:

সম্পত্তি টাইপ প্রয়োজনীয়তা বর্ণনা
@type পাঠ্য প্রয়োজন This is always "Menu".
@id URL প্রয়োজন Unique identifier for the menu.
name পাঠ্য ঐচ্ছিক Text that can identify the Menu when a user is browsing the menu.
description পাঠ্য ঐচ্ছিক Description of the menu.
disclaimer MenuDisclaimer ঐচ্ছিক Disclaimer for the menu. For example, nutritional information disclosure and allergen disclosure.
hasMenuSection Single object or array of MenuSection ঐচ্ছিক Logical sub-grouping of the menu (like Dinner, Appetizers, or Fish dishes).
hasMenuItem Single object or array of MenuItem ঐচ্ছিক MenuItem objects contained in a Menu , typically when the Menu isn't subdivided by MenuSections .
inLanguage পাঠ্য ঐচ্ছিক Language of the menu content, as a language code from the IETF BCP 47 standard . For example, "en-US".

The following examples show the usage of the Menu type:

উদাহরণ 1

{
  "@type": "Menu",
  "@id": "http://www.provider.com/somerestaurant/menu/1",
  "hasMenuSection": {
    "@type": "MenuSection",
    "@id": "http://www.provider.com/somerestaurant/menusection/1",
    "name": "Tacos",
    "description": "Tacos inspired by India cuisine.",
    "offers": {
      "@type": "Offer",
      "availabilityStarts": "T08:00:00", // Starts at 8:00AM
      "availabilityEnds": "T22:00:00" // Ends at 10:00PM. Available 8AM-9:59:59PM
    },
    "hasMenuItem": {
      "@type": "MenuItem",
      "@id": "http://www.provider.com/somerestaurant/menuitem/1",
      "name": "Aloo Gobi Taco",
      "description": "Mexico City-style street corn tortilla taco filled with a flavorful mixture of mildly south Indian spiced cauliflower, potato, tomato, onions and bell peppers.",
      "offers": {
        "@type": "Offer",
        "sku": "offer-aloo-gobi-taco",
        "price": "3.50",
        "priceCurrency": "USD"
      },
      "nutrition": {
        "@type": "NutritionInformation",
        "calories": "170 Cal",
        "fatContent": "3 g",
        "fiberContent": "2 g",
        "proteinContent": "4 g"
      },
      "suitableForDiet": "http://schema.org/GlutenFreeDiet"
    }
  },
  "inLanguage": "English"
}

উদাহরণ 2

This example shows hasMenuItem as an array.

{
  "@type": "Menu",
  "@id": "http://www.provider.com/somerestaurant/menu/1",
  "name": "Dine-In Menu",
  "description": "Menu for in-restaurant dining only.",
  "hasMenuSection": [
    {
      "@type": "MenuSection",
      "@id": "http://www.provider.com/somerestaurant/menusection/1",
      "name": "Main",
      "description": "Main course",
      "image": "http://www.provider.com/somerestaurant/main_dishes.jpg",
      "hasMenuItem": [
        {
          "@type": "MenuItem",
          "@id": "http://www.provider.com/somerestaurant/menuitem/1",
          "name": "Pizza",
          "description": "Pizza",
          "offers": {
            "@type": "Offer",
            "sku": "offer-pizza",
            "price": "7.49",
            "priceCurrency": "USD",
            "availabilityStarts": "T08:00:00", // Starts at 8:00AM
            "availabilityEnds": "T18:00:00" // Ends at 6:00PM, last order at 5:59:59PM
          }
        },
        {
          "@type": "MenuItem",
          "@id": "http://www.provider.com/somerestaurant/menuitem/2",
          "name": "Pasta",
          "description": "Pasta",
          "offers": [
            {
              "@type": "Offer",
              "sku": "offer-pasta-lunch",
              "price": "7.49",
              "priceCurrency": "USD",
              "availabilityStarts": "T08:00:00", // Starts at 8:00AM
              "availabilityEnds": "T18:00:00" // Ends at 6:00PM, last order at 5:59:59PM
            },
            {
              "@type": "Offer",
              "sku": "offer-pasta-dinner",
              "price": "10.49",
              "priceCurrency": "USD",
              "availabilityStarts": "T18:00:00", // Starts at 6:00PM
              "availabilityEnds": "T21:00:00" // Ends at 9:00PM, last order at 8:59:59PM
            }
          ]
        }
      ]
    },
    {
      "@type": "MenuSection",
      "@id": "http://www.provider.com/somerestaurant/menusection/2",
      "name": "Soups & Salads",
      "description": "Salads and a few choices of soup",
      "image": "https://www.provider.com/somerestaurant/soup_and_salad_dishes.jpg",
      "hasMenuItem": {
        "@type": "MenuItem",
        "@id": "http://www.provider.com/somerestaurant/menuitem/3",
        "name": "Pea Soup",
        "description": "Creamy pea soup topped with melted cheese and sourdough croutons.",
        "offers": {
          "@type": "Offer",
          "sku": "offer-pea-soup",
          "price": "3.49",
          "priceCurrency": "USD"
        },
        "suitableForDiet": "http://schema.org/GlutenFreeDiet"
      }
    }
  ]
}

উদাহরণ 3

This example shows hasMenuSection as an array.

{
  "@type": "Menu",
  "@id": "http://www.provider.com/somerestaurant/menu/1",
  "name": "Dine-In Menu",
  "description": "Menu for in-restaurant dining only.",
  "hasMenuSection": [
    {
      "@type": "MenuSection",
      "@id": "http://www.provider.com/somerestaurant/menusection/1",
      "name": "Dinner",
      "description": "Dinner dishes",
      "hasMenuSection": [
        {
          "@type": "MenuSection",
          "@id": "http://www.provider.com/somerestaurant/menusection/2",
          "name": "Starters",
          "description": "Appetizers and such",
          "image": "https://www.provider.com/somerestaurant/starter_dishes.jpg",
          "hasMenuItem": {
            "@type": "MenuItem",
            "@id": "http://www.provider.com/somerestaurant/menuitem/1",
            "name": "Potato Skins",
            "description": "Small serving of stuffed potato skins.",
            "offers": {
              "@type": "Offer",
              "sku": "offer-potato-skins",
              "price": "7.49",
              "priceCurrency": "USD"
            },
            "suitableForDiet": "http://schema.org/GlutenFreeDiet"
          }
        },
        {
          "@type": "MenuSection",
          "@id": "http://www.provider.com/somerestaurant/menusection/3",
          "name": "Soups & Salads",
          "description": "Salads and a few choices of soup",
          "image": "https://thisisarestaurant.com/soup_and_salad_dishes.jpg",
          "hasMenuItem": {
            "@type": "MenuItem",
            "@id": "http://www.provider.com/somerestaurant/menuitem/2",
            "name": "Pea Soup",
            "description": "Creamy pea soup topped with melted cheese and sourdough croutons.",
            "offers": {
              "@type": "Offer",
              "sku": "offer-pea-soup",
              "price": "3.49",
              "priceCurrency": "USD"
            },
            "suitableForDiet": "http://schema.org/GlutenFreeDiet"
          }
        },
        {
          "@type": "MenuSection",
          "@id": "http://www.provider.com/somerestaurant/menusection/4",
          "name": "Steak",
          "description": "Steak Dishes",
          "image": "https://steak.com/steak_dishes.jpg",
          "hasMenuItem": {
            "@type": "MenuItem",
            "@id": "http://www.provider.com/somerestaurant/menuitem/3",
            "name": "Sirloin",
            "description": "Sirloin steak dish.",
            "offers": {
              "@type": "Offer",
              "sku": "offer-sirloin-steak",
              "price": "15.49",
              "priceCurrency": "USD"
            },
            "suitableForDiet": "http://schema.org/GlutenFreeDiet"
          }
        }
      ]
    },
    {
      "@type": "MenuSection",
      "@id": "http://www.provider.com/somerestaurant/menusection/5",
      "name": "Desserts",
      "description": "Dessert dishes.",
      "image": "http://www.provider.com/somerestaurant/dessert_dishes.jpg",
      "hasMenuItem": {
        "@type": "MenuItem",
        "@id": "http://www.provider.com/somerestaurant/menuitem/4",
        "name": "Chocolate Pie",
        "description": "A slice of chocolate pie.",
        "offers": {
          "@type": "Offer",
          "sku": "offer-chocolate-pie",
          "price": "3.49",
          "priceCurrency": "USD"
        }
      }
    }
  ]
}

For more examples of Menu entities, see Restaurant and Menu Feed Examples .

The following table lists the properties for the MenuDisclaimer type:

সম্পত্তি টাইপ প্রয়োজনীয়তা বর্ণনা
@type পাঠ্য প্রয়োজন This is always "MenuDisclaimer".
@id URL প্রয়োজন Unique identifier for the menu disclaimer.
text পাঠ্য প্রয়োজন Text of the disclaimer. For example, "The average adult daily energy intake is 8700 kJ."
url URL ঐচ্ছিক URL pointing to a page providing more details on the disclaimer.

The following example shows the usage of the MenuDisclaimer type:

উদাহরণ

{
    "@type": "Menu",
    "@id": "menu_1",
    "disclaimer": {
        "@type": "MenuDisclaimer",
        "@id": "menu_1_disclaimer_1",
        "text": "The average adult daily energy intake is 8700 kJ",
        "url": "https://partner.domain.com/menu/provider/disclaimer/more-info.html"
    }
}

Menu item to represent the item in the menu. The following table lists the properties for the MenuItem type:

সম্পত্তি টাইপ প্রয়োজনীয়তা বর্ণনা
@type পাঠ্য প্রয়োজন This is always "MenuItem".
@id URL প্রয়োজন Unique identifier of the menu item.
name পাঠ্য প্রয়োজন Text that can identify the MenuItem when a user is browsing the menu.
description পাঠ্য ঐচ্ছিক Description of the menu item.
image URL ঐচ্ছিক

Image of the menu item. Use the following image guidelines:

  • Aspect ratio 3:2
  • Minimum resolution 600x400 pixels, 72 dpi
  • Recommended resolution 1400x960 pixels 72 dpi
menuAddOn Array of AddOnMenuSection ঐচ্ছিক Items in a menu section that can be added as add-ons to the menu item.
offers Array of Offer প্রয়োজনীয়*

One or many offers to provide this MenuItem . Describes when and at what price this MenuItem is available. Only one offer should be valid at a particular time. Multiple offers can be provided if there is variation on price/availability based on time of day. If the food item differs through a base attribute, (for example, size for pizza), use menuItemOption . The default for Offer.eligibleQuantity is minimum of 0 with no upper limit.

The listing below shows which Offer properties are used in MenuItem .

  • Offer.sku required
  • Offer.price required
  • Offer.priceCurrency required
  • Offer.availabilityStarts optional
  • Offer.availabilityEnds optional
  • Offer.availableDay optional
  • Offer.validFrom optional
  • Offer.validThrough optional
  • Offer.eligibleQuantity optional
  • Offer.inventoryLevel optional
hasMenuItemOptions Array of MenuItemOption প্রয়োজন List of base options/variation for this menu item. Options should be used to specify various base variations available for the item, for example small, medium and large.
suitableForDiet Array of RestrictedDiet ঐচ্ছিক The dish complies with the described dietary restriction (like "http://schema.org/GlutenFreeDiet" or "http://schema.org/VeganDiet". This is an enumerated list of possible values.
nutrition NutritionInformation ঐচ্ছিক Nutrition information for the dish, most notably calories.
hasAllergen AllergenDetails ঐচ্ছিক Allergens of the dish per gs1:AllergenDetails . Add the gs1 context to use this property: "@context": ["http://gs1.org/voc/", "http://schema.org"] . And add FoodBeverageTobaccoProduct to the type of the MenuItem .
additive Array of AdditiveDetails ঐচ্ছিক The additives of the dish per gs1:AdditiveDetails . This is an enumerated list of possible values. Add the gs1 context to use this property: "@context": ["http://gs1.org/voc/", "http://schema.org"] . And add FoodBeverageTobaccoProduct to the type of the MenuItem .
packaging PackagingDetails ঐচ্ছিক The packaging and recycling information of this MenuItem per gs1:PackagingDetails . Add the gs1 context to use this property: "@context": ["http://gs1.org/voc/", "http://schema.org"] . And add FoodBeverageTobaccoProduct to the type of the MenuItem .

The following examples show MenuItem elements:

উদাহরণ 1

"hasMenuItem": {
  "@type": "MenuItem",
  "@id": "http://www.provider.com/bar/menuitem/1",
  "name": "Potato Skins",
  "description": "Small serving of stuffed potato skins.",
  "offers": {
    "@type": "Offer",
    "sku": "offer-potato-skins",
    "price": "7.49",
    "priceCurrency": "USD"
  },
  "suitableForDiet": "http://schema.org/GlutenFreeDiet"
}

উদাহরণ 2

"hasMenuItem": [
  {
    "@type": "MenuItem",
    "@id": "https://www.example.com/1089/product/170067",
    "name": "Veg Grill Burrito",
    "offers": {
      "@type": "Offer",
      "sku": "offer-veg-grill-burrito",
      "price": "12.99",
      "priceCurrency": "USD"
    },
    "menuAddOn": {
      "@type": "AddOnMenuSection",
      "name": "Cheese",
      "@id": "https://www.example.com/1089/addon/1", // Points to an AddOnMenuSection
      "eligibleQuantity":
        "@type": "QuantitativeValue",
        "minValue": 0,
        "maxValue": 2 // Maximum of 2 cheeses are allowed
      }
    }
  },
  {
    "@type": "MenuItem",
    "@id": "https://www.example.com/1089/product/170018",
    "name": "Chicken Taco",
    "offers": {
      "@type": "Offer",
      "sku": "offer-chicken-taco",
      "price": "6.99",
      "priceCurrency": "USD"
    }
  }
]

উদাহরণ 3

{
  "@type": "MenuItem",
  "@id": "https://www.example.com/1089/product/170067",
  "name": "Meat Combo",
  "hasMenuItemOptions": [
    {
      "@type": "MenuItemOption",
      "value": {
        "@type": "PropertyValue",
        "name": "OPTION",
        "value": "Plate",
        "offers": {
          "@type": "Offer",
          "sku": "offer-meat-combo-plate",
          "price": "12.00",
          "priceCurrency": "USD"
        },
        "menuAddOn": [
          {
            "@type": "AddOnMenuSection",
            "name": "Toppings for Plate",
            "@id": "https://www.example.com/1089/addon/1",
            "eligibleQuantity": {
              "@type": "QuantitativeValue",
              "minValue": 0,
              "maxValue": 3
            },
            "hasMenuItem": [
              {
                "@type": "AddOnMenuItem",
                "@id": "https://www.example.com/1089/addon/1/a",
                "name": "Hummus",
                "offers": {
                  "@type": "Offer",
                  "sku": "offer-meat-combo-topping-hummus",
                  "price": "1.00",
                  "priceCurrency": "USD"
                }
              }
              // -- Other Items --
            ]
          }
        ]
      }
    },
    {
      "@type": "MenuItemOption",
      "value": {
        "@type": "PropertyValue",
        "name": "OPTION",
        "value": "Sandwich"
      },
      "offers": {
        "@type": "Offer",
        "sku": "offer-meat-combo-sandwich",
        "price": "10.00",
        "priceCurrency": "USD"
      },
      "menuAddOn": [
        {
          "@type": "AddOnMenuSection",
          "name": "Toppings for Sandwich",
          "@id": "https://www.example.com/1089/addon/1",
          "eligibleQuantity": {
            "@type": "QuantitativeValue",
            "minValue": 0,
            "maxValue": 2
          },
          "hasMenuItem": [
            {
              "@type": "AddOnMenuItem",
              "@id": "https://www.example.com/1089/addon/1/a",
              "name": "Hummus",
              "offers": {
                "@type": "Offer",
                "sku": "offer-meat-combo-topping-hummus",
                "price": "1.00",
                "priceCurrency": "USD"
              }
            }
            // -- Other Items --
          ]
        }
      ]
    }
  ]
}

উদাহরণ 4

{
  "@type": "MenuItem",
  "@id": "https://www.example.com/1089/product/170067",
  "name": "Pepperoni Pizza",
  "hasMenuItemOptions": [
    {
      "@type": "MenuItemOption",
      "value": {
        "@type": "PropertyValue",
        "name": "SIZE",
        "value": "Small"
      },
      "offers": {
        "@type": "Offer",
        "sku": "offer-small",
        "price": "10.00",
        "priceCurrency": "USD"
      }
    },
    {
      "@type": "MenuItemOption",
      "value": {
        "@type": "PropertyValue",
        "name": "SIZE",
        "value": "Medium"
      },
      "offers": {
        "@type": "Offer",
        "sku": "offer-medium",
        "price": "15.00",
        "priceCurrency": "USD"
      }
    },
    {
      "@type": "MenuItemOption",
      "value": {
        "@type": "PropertyValue",
        "name": "SIZE",
        "value": "Large"
      },
      "offers": {
        "@type": "Offer",
        "sku": "offer-large",
        "price": "20.00",
        "priceCurrency": "USD"
      }
    }
  ]
}

উদাহরণ 5

{
  "@type": ["MenuItem", "FoodBeverageTobaccoProduct"],
  "@id": "http://www.example.com/bar/menuitem/9",
  "name": "Ice Coffee",
  "offers": {
    "@type": "Offer",
    "sku": "offer-ice-coffee",
    "price": "3.99",
    "priceCurrency": "USD"
  },
  "nutrition": {
    "@type": "NutritionInformation",
    "description": "Contains preservatives and artificial flavor"
  },
  "hasAllergen": [
    {
      "@type": "AllergenDetails",
      "allergenType": "http://gs1.org/voc/AllergenTypeCode-LACTOSE",
      "allergenLevelOfContainmentCode":
        "http://gs1.org/voc/LevelOfContainmentCode-CONTAINS"
    },
    {
      "@type": "AllergenDetails",
      "allergenType": "http://gs1.org/voc/AllergenTypeCode-PEANUTS",
      "allergenLevelOfContainmentCode":
        "http://gs1.org/voc/LevelOfContainmentCode-MAY_CONTAIN"
    }
  ],
  "additive": [
    {
      "@type": "AdditiveDetails",
      "additiveName": "caffeine",
      "additiveLevelOfContainment":
        "http://gs1.org/voc/LevelOfContainmentCode-CONTAINS"
    }
  ],
  "packaging": {
    "@type": "PackagingDetails",
    "packagingRecyclingProcessType" :
      "http://gs1.org/voc/PackagingRecyclingProcessTypeCode-REUSABLE",
    "hasReturnablePackageDeposit": {
      "@type": "ReturnablePackageDepositDetails",
      "returnablePackageDepositAmount": {
        "@type": "http://gs1.org/voc/PriceSpecification",
        "http://gs1.org/voc/price": "0.10",
        "http://gs1.org/voc/priceCurrency": "USD"
      }
    }
  }
}

For more examples of MenuItem entities, see Restaurant and Menu Feed Examples .

An option to represent choices that a user would be required to make when selecting a dish or combo. The user must select an option, otherwise the order is considered invalid. For example, choosing small, medium, or large in the case of a pizza.

For sample use cases of MenuItemOption , see our guide on customization using MenuItemOption .

The following table lists the properties for the MenuItemOption type:

সম্পত্তি টাইপ প্রয়োজনীয়তা বর্ণনা
@type পাঠ্য প্রয়োজন This is always "MenuItemOption".
value PropertyValue প্রয়োজন PropertyValue containing a name/value pair representing the option.
offers Array of Offer প্রয়োজন

One or more offers to provide this MenuItemOption . Describes when and at what price this menu item option is available. Only one offer should be valid at a particular time. You can have many valid offers if the price/availability can change based on time of day. Do not use Offer.eligibleQuantity . MenuItemOption is mutually exclusive, so Offer.eligibleQuantity is ignored if provided.

The listing below shows which Offer properties are used in MenuItemOption .

  • Offer.sku required
  • Offer.price required
  • Offer.priceCurrency required
  • Offer.availabilityStarts optional
  • Offer.availabilityEnds optional
  • Offer.availableDay optional
  • Offer.validFrom optional
  • Offer.validThrough optional
  • Offer.eligibleQuantity optional
  • Offer.inventoryLevel optional
menuAddOn Array of AddOnMenuSection ঐচ্ছিক Menu section of allowed items that can be added as an add-on. Only use this if add-ons are specific to a particular menu item option. Otherwise provide add-ons using the MenuItem .menuAddOn property.
suitableForDiet Array of RestrictedDiet ঐচ্ছিক Enumerated list that indicates diets where this dish complies with the described dietary restriction (like "http://schema.org/GlutenFreeDiet" or "http://schema.org/VeganDiet").
nutrition NutritionInformation ঐচ্ছিক Nutrition information for the dish, most notably calories.
hasAllergen AllergenDetails ঐচ্ছিক Allergens of the dish per gs1:AllergenDetails . Add the gs1 context to use this property: "@context": ["http://gs1.org/voc/", "http://schema.org"] . And add FoodBeverageTobaccoProduct to the type of the MenuItemOption .
additive Array of AdditiveDetails ঐচ্ছিক Additives of the dish per gs1:AdditiveDetails . This is an enumerated list of possible values. Add the gs1 context to use this property: "@context": ["http://gs1.org/voc/", "http://schema.org"] . And add FoodBeverageTobaccoProduct to the type of the MenuItemOption .
packaging PackagingDetails ঐচ্ছিক Packaging and recycling information of this MenuItem per gs1:PackagingDetails Add the gs1 context to use this property: "@context": ["http://gs1.org/voc/", "http://schema.org"] . And add FoodBeverageTobaccoProduct to the type of the MenuItemOption .

The following example shows MenuItemOption elements:

উদাহরণ 1

{
  "@type": "MenuItem",
  "@id": "https://www.example.com/1089/product/170067",
  "name": "Pepperoni Pizza",
  "hasMenuItemOptions": [
    {
      "@type": "MenuItemOption",
      "value": {
        "@type": "PropertyValue",
        "name": "SIZE",
        "value": "Small"
      },
      "offers": {
        "@type": "Offer",
        "sku": "offer-small",
        "price": "10.00",
        "priceCurrency": "USD"
      }
    },
    {
      "@type": "MenuItemOption",
      "value": {
        "@type": "PropertyValue",
        "name": "SIZE",
        "value": "Medium"
      },
      "offers": {
        "@type": "Offer",
        "sku": "offer-medium",
        "price": "15.00",
        "priceCurrency": "USD"
      }
    },
    {
      "@type": "MenuItemOption",
      "value": {
        "@type": "PropertyValue",
        "name": "SIZE",
        "value": "Large"
      },
      "offers": {
        "@type": "Offer",
        "sku": "offer-large",
        "price": "20.00",
        "priceCurrency": "USD"
      }
    }
  ]
}

উদাহরণ 2

{
  "@type": "MenuItem",
  "@id": "https://www.example.com/1089/product/170067",
  "name": "Meat Combo",
  "hasMenuItemOptions": [
    {
      "@type": "MenuItemOption",
      "value": {
        "@type": "PropertyValue",
        "name": "OPTION",
        "value": "Plate",
        "offers": {
          "@type": "Offer",
          "sku": "offer-meat-combo-plate",
          "price": "12.00",
          "priceCurrency": "USD"
        },
        "menuAddOn": [
          {
            "@type": "AddOnMenuSection",
            "name": "Toppings for Plate",
            "@id": "https://www.example.com/1089/addon/1",
            "eligibleQuantity": {
              "@type": "QuantitativeValue",
              "minValue": 0,
              "maxValue": 3
            },
            "hasMenuItem": [
              {
                "@type": "AddOnMenuItem",
                "@id": "https://www.example.com/1089/addon/1/a",
                "name": "Hummus",
                "offers": {
                  "@type": "Offer",
                  "sku": "offer-meat-combo-topping-hummus",
                  "price": "1.00",
                  "priceCurrency": "USD"
                }
              }
              // -- Other Items --
            ]
          }
        ]
      }
    },
    {
      "@type": "MenuItemOption",
      "value": {
        "@type": "PropertyValue",
        "name": "OPTION",
        "value": "Sandwich"
      },
      "offers": {
        "@type": "Offer",
        "sku": "offer-meat-combo-sandwich",
        "price": "10.00",
        "priceCurrency": "USD"
      },
      "menuAddOn": [
        {
          "@type": "AddOnMenuSection",
          "name": "Toppings for Sandwich",
          "@id": "https://www.example.com/1089/addon/1",
          "eligibleQuantity": {
            "@type": "QuantitativeValue",
            "minValue": 0,
            "maxValue": 2
          },
          "hasMenuItem": [
            {
              "@type": "AddOnMenuItem",
              "@id": "https://www.example.com/1089/addon/1/a",
              "name": "Hummus",
              "offers": {
                "@type": "Offer",
                "sku": "offer-meat-combo-topping-hummus",
                "price": "1.00",
                "priceCurrency": "USD"
              }
            }
            // -- Other Items --
          ]
        }
      ]
    }
  ]
}

Menu section to represent a particular section in the menu. The following table lists the properties for the MenuSection type:

সম্পত্তি টাইপ প্রয়োজনীয়তা বর্ণনা
@type পাঠ্য প্রয়োজন This is always "MenuSection".
@id URL প্রয়োজন Unique identifier of the menu section.
name পাঠ্য প্রয়োজন Text that can identify the MenuSection when a user browses the menu.
description পাঠ্য ঐচ্ছিক Description of the menu section.
hasMenuSection Array of MenuSection ঐচ্ছিক Logical sub-grouping of the MenuSection . For example, the Dinner menu section can have multiple sub-MenuSections like "Poultry Dishes" or "Vegetarian".
hasMenuItem Array of MenuItem ঐচ্ছিক Menu items contained in a MenuSection .
offers Array of Offer ঐচ্ছিক

Use Offer.availabilityStarts and Offer.availabilityEnds to indicate the time period during which this MenuSection is served. Do not use Offer.eligibleQuantity .

The following list shows which Offer properties are used in MenuSection :

  • Offer.availabilityStarts optional
  • Offer.availabilityEnds optional
  • Offer.availableDay optional
  • Offer.validFrom optional
  • Offer.validThrough optional
image URL ঐচ্ছিক Image of the menu section.

The following examples show MenuSection entities:

উদাহরণ 1

{
  "@type": "MenuSection",
  "@id": "http://www.provider.com/bar/menusection/4",
  "name": "Steak",
  "description": "Steak Dishes",
  "image": "https://steak.com/steak_dishes.jpg",
  "hasMenuItem": {
    "@type": "MenuItem",
    "@id": "http://www.provider.com/bar/menuitem/3",
    "name": "Sirloin",
    "description": "Sirloin steak dish.",
    "offers": {
      "@type": "Offer",
      "sku": "offer-sirloin-steak",
      "price": "15.49",
      "priceCurrency": "USD"
    },
    "suitableForDiet": "http://schema.org/GlutenFreeDiet"
  }
}

উদাহরণ 2

"hasMenuSection": [
  {
    "@type": "MenuSection",
    "@id": "https://www.example.com/1089/categorization/25114480",
    "name": "Main Items",
    "hasMenuItem": [
      {
        "@type": "MenuItem",
        "@id": "https://www.example.com/1089/product/170067",
        "name": "Veg Grill Burrito",
        "offers": {
          "@type": "Offer",
          "sku": "offer-veg-grill-burrito",
          "price": "12.99",
          "priceCurrency": "USD"
        },
        "menuAddOn": {
          "@type": "AddOnMenuSection",
          "name": "Cheese",
          "@id": "https://www.example.com/1089/addon/1", // Points to an AddOnMenuSection
          "eligibleQuantity":
            "@type": "QuantitativeValue",
            "minValue": 0,
            "maxValue": 2 // Maximum of 2 cheeses are allowed
          }
        }
      },
      {
        "@type": "MenuItem",
        "@id": "https://www.example.com/1089/product/170018",
        "name": "Chicken Taco",
        "offers": {
          "@type": "Offer",
          "sku": "offer-chicken-taco",
          "price": "6.99",
          "priceCurrency": "USD"
        }
      }
    ]
  },
  {
    "@type": "AddOnMenuSection",
    "@id": "https://www.example.com/1089/addon/1",
    "name": "AddOnCheese",
    "hasMenuItem": [
      {
        "@type": "AddOnMenuItem",
        "@id": "https://www.example.com/1089/addon/a",
        "name": "Swiss",
        "offers": {
          "@type": "Offer",
          "sku": "offer-swiss",
          "price": "2.99",
          "priceCurrency": "USD"
        }
      },
      {
        "@type": "AddOnMenuItem",
        "@id": "https://www.example.com/1089/addon/b",
        "name": "Mozarella",
        "offers": {
          "@type": "Offer",
          "sku": "offer-mozzarella",
          "price": "1.99",
          "priceCurrency": "USD"
        }
      }
    ]
  }
]

For more examples of MenuSection entities, see Restaurant and Menu Feed Examples .

পুষ্টি তথ্য

The following table describes the properties of the NutritionInformation type. Units of measurement are case-sensitive. For example, "Cal" is accepted, but "cal" is not.

সম্পত্তি টাইপ প্রয়োজনীয়তা বর্ণনা
@type পাঠ্য প্রয়োজন This is always "NutritionInformation".
description পাঠ্য ঐচ্ছিক Nutrition information in free text. For example "Contains preservatives".
calories পাঠ্য ঐচ্ছিক

The number of calories in Cal, kcal, or kJ, using the following format:

number Cal_kcal_OR_kJ

For example, "240 Cal".

carbohydrateContent পাঠ্য ঐচ্ছিক

The amount of carbohydrates, typically in g, using the following format:

number g_OR_mg

For example, "7 g".

cholesterolContent পাঠ্য ঐচ্ছিক

The amount of cholesterol, typically in mg, using the following format:

number g_OR_mg

For example, "12 mg".

fatContent পাঠ্য ঐচ্ছিক

The amount of fat, typically in g, using the following format:

number g_OR_mg

For example, "42 g".

fiberContent পাঠ্য ঐচ্ছিক

The number of g or mg of fiber, using the following format:

number g_OR_mg
proteinContent পাঠ্য ঐচ্ছিক

The number of g or mg of protein, using the following format:

number g_OR_mg
saturatedFatContent পাঠ্য ঐচ্ছিক

The number of g or mg of saturated fat, using the following format:

number g_OR_mg
servingSize পাঠ্য ঐচ্ছিক The serving size in mL, L, g, or kg, in terms of the number of volume or mass.
sodiumContent পাঠ্য ঐচ্ছিক

The number of mg or g of sodium, using the following format:

number g_OR_mg
sugarContent পাঠ্য ঐচ্ছিক

The number of g or mg of sugar, using the following format:

number g_OR_mg
transFatContent পাঠ্য ঐচ্ছিক

The number of g or mg of trans fat, using the following format:

number g_OR_mg
unsaturatedFatContent পাঠ্য ঐচ্ছিক

The amount of unsaturated fat, typically in g, using the following format:

number g_OR_mg

The following examples show a NutritionInformation element:

উদাহরণ 1

"nutrition": {
  "@type": "NutritionInformation",
  "calories": "170 Cal",
  "fatContent": "3 g",
  "fiberContent": "2 g",
  "proteinContent": "4 g"
},

উদাহরণ 2

{
  "@type": ["MenuItem", "FoodBeverageTobaccoProduct"],
  "@id": "http://www.example.com/bar/menuitem/7",
  "name": "Peach Ice Tea",
  "description": "A 0.5l bottle of peach ice tea.",
  "offers": {
    "@type": "Offer",
    "sku": "offer-peach-ice-tea",
    "price": "2.49",
    "priceCurrency": "USD"
  },
  "nutrition": {
              "@type": "NutritionInformation",
              "description": "Contains preservatives and artificial flavor"
  }
},

অফার

Offer for a menu item. The following table describes the properties of the Offer type:

সম্পত্তি টাইপ প্রয়োজনীয়তা বর্ণনা
@type পাঠ্য প্রয়োজন This is always "Offer".
sku পাঠ্য শর্তসাপেক্ষ

Unique identifier of the offer. Can be any text value that's unique within the Offer . sku values are referenced in Checkout and Submit as the offerId in lineitem .

This property is only used in the following offer types:

  • AddOnMenuItem.Offer
  • MenuItem.Offer
  • MenuOption.Offer
price পাঠ্য শর্তসাপেক্ষ

Price of the offered item. For example, "6.00" without the currency symbol.

This property is only required in the following offer types:

  • AddOnMenuItem.Offer
  • MenuItem.Offer
  • MenuOption.Offer

It is not used in the following offer types:

  • AddOnMenuSection.Offer
  • MenuSection.Offer
  • Service.Offer
priceCurrency পাঠ্য শর্তসাপেক্ষ

The currency (in 3-letter ISO 4217 format) of the price or a price component, when attached to PriceSpecification and its subtypes.

This property is only required in the following offer types:

  • AddOnMenuItem.Offer
  • MenuItem.Offer
  • MenuOption.Offer

It is not used in the following offer types:

  • AddOnMenuSection.Offer
  • MenuSection.Offer
  • Service.Offer
availabilityStarts DateTime or Time ঐচ্ছিক The date and time or just the time from which the offer is available. For example, if pancakes are served beginning at 7:00 AM, then the value of this field can look like the following: "2017-05-01T07:00:00-07:00". For more information, see DateTime and Time formats .
availabilityEnds DateTime or Time ঐচ্ছিক The date and time or just the time when the offer is unavailable. This time is exclusive. For example, if the availability for pancakes ends at 10 AM, then the last pancake can be served at 9:59:59 AM. The value of this field can then look like the following: "2017-05-01T10:00:00-07:00". For more information, see DateTime and Time formats .
availableDay Array of DayOfWeek ঐচ্ছিক

Days of the week that this item is available. বৈধ মান হল:

  • "সোমবার"
  • "মঙ্গলবার"
  • "বুধবার"
  • "বৃহস্পতিবার"
  • "শুক্রবার"
  • "শনিবার"
  • "রবিবার"

If you have different availability for different days of the week, use more than one Offer object, as shown in the examples below .

validFrom DateTime ঐচ্ছিক

The date and time (including the time zone) at which the specified price is valid. For example, the pasta is $8 during lunch and $10 at dinner. For more information, see DateTime and Time formats .

This property can be used in the following offer types:

  • AddOnMenuItem.Offer
  • MenuItem.Offer
  • MenuOption.Offer
  • AddOnMenuSection.Offer
  • MenuSection.Offer

This property is not used in the following offer types:

  • Service.Offer
validThrough DateTime ঐচ্ছিক

The date and time (including the time zone) after which the specified price is no longer valid. For example, the pasta is $8 during lunch and $10 at dinner. The time for validThrough is exclusive: for example, if that time is set to 6 PM, the time is valid up to 5:59:59 PM. For more information, see DateTime and Time formats .

This property can be used in the following offer types:

  • AddOnMenuItem.Offer
  • MenuItem.Offer
  • MenuOption.Offer
  • AddOnMenuSection.Offer
  • MenuSection.Offer

This property is not used in the following offer types.

  • Service.Offer
eligibleQuantity QuantitativeValue ঐচ্ছিক

The ordering quantities for which this item is allowed. For example, a restaurant might require that at least 10 pizzas be ordered for a delivery.

This value is optional. By default, there is no maximum limit, but the restaurant can specify one. Minimum limits apply only when a user selects the item.

This property can be used in the following offer types:

  • AddOnMenuItem.Offer
  • MenuItem.Offer
  • MenuOption.Offer

This property is not used in the following offer types.

  • AddOnMenuSection.Offer
  • MenuSection.Offer
  • Service.Offer
aggregateRating AggregateRating ঐচ্ছিক

The overall rating, based on a collection of reviews or ratings of the item.

This property can be used in the following offer types:

  • AddOnMenuItem.Offer
  • MenuItem.Offer

This property is not used in the following types.

  • AddOnMenuSection.Offer
  • MenuItemOption.Offer
  • MenuSection.Offer
  • Service.Offer
inventoryLevel QuantitativeValue ঐচ্ছিক

The current approximate inventory level for the item or items.

This property can be used in the following offer types:

  • AddOnMenuItem.Offer
  • MenuItem.Offer
  • MenuItemOption.Offer

This property is not used in the following offer types:

  • AddOnMenuSection.Offer
  • MenuSection.Offer
  • Service.Offer
priceSpecification Array of DeliveryChargeSpecification or array of PaymentChargeSpecification ঐচ্ছিক

When used in Service.Offer , it indicates the details on the price of the delivery. If multiple DeliveryChargeSpecification objects are applicable, the most specific one is applied. Use mutually exclusive DeliveryChargeSpecification objects to avoid any ambiguity.

This property can be used in the following offer types:

  • Service.Offer

This property is not used in the following offer types:

  • AddOnMenuItem.Offer
  • AddOnMenuSection.Offer
  • MenuItem.Offer
  • MenuOption.Offer
  • MenuSection.Offer
offeredBy Array of Restaurant ids ঐচ্ছিক

Represents the restaurants this Offer is offered at.

If not specified, this Offer will be offered to all restaurants.

This property can be used in the following offer types:

  • AddOnMenuItem.Offer
  • AddOnMenuSection.Offer
  • MenuItem.Offer
  • MenuItemOption.Offer
  • MenuSection.Offer

This property is not used in the following offer types:

  • Service.Offer
applicableFulfillmentMethod Array of Text ঐচ্ছিক

Represents the service type this Offer is fulfilled by. Possible values are "DELIVERY" or "TAKEOUT".

If not specified, this Offer will be fulfilled by both delivery and takeout.

This property can be used in the following offer types:

  • AddOnMenuItem.Offer
  • AddOnMenuSection.Offer
  • MenuItem.Offer
  • MenuItemOption.Offer
  • MenuSection.Offer

This property is not used in the following offer types:

  • Service.Offer
@id URL অবচয় Unique identifier of the offer. Deprecated as of 4/25/19, replace with sku as described above.

The following examples show Offer elements:

উদাহরণ 1

The following example shows a simple offer:

{
  "@type": "Offer",
  "@id": "https://www.provider.com/menu/74962/139/offer",
  "price": "10",
  "priceCurrency": "USD"
}

উদাহরণ 2

The following example offer shows availability from 8-10 AM on weekends:

{
  "@type": "Offer",
  "@id": "https://www.provider.com/menu/74962/140/offer",
  "price": "10",
  "priceCurrency": "USD",
  "availabilityStarts": "T08:00:00-07:00",  // Only available from 8-9:59:59 AM
  "availabilityEnds": "T10:00:00-07:00",
  "availableDay": ["Saturday", "Sunday"]  // Only on weekends.
}

উদাহরণ 3

The following example shows availability from 9-10:59:59 AM on Mondays, Wednesdays, and Fridays, but 8-11:59:59 AM on Tuesdays and Thursdays:

{
  "@type": "Offer",
  "@id": "https://www.provider.com/menu/74962/140/offer",
  "price": "10",
  "priceCurrency": "USD",
  "availabilityStarts": "T09:00:00-07:00",
  "availabilityEnds": "T11:00:00-07:00",
  "availableDay": ["Monday", "Wednesday", "Friday"]
}, {
  "@type": "Offer",
  "@id": "https://www.provider.com/menu/74962/141/offer",
  "price": "10",
  "priceCurrency": "USD",
  "availabilityStarts": "T08:00:00-07:00",
  "availabilityEnds": "T12:00:00-07:00",
  "availableDay": ["Tuesday", "Thursday"]
}

উদাহরণ 4

The following example shows an add-on menu item's eligible quantity set so that the user can order a maximum of 2 portions of that item.:

{
  "@type": "AddOnMenuItem",
  "@id": "https://www.example.com/1089/addon/a",
  "name": "Ranch",
  "offers": {
    "@type": "Offer",
    "@id": "https://www.example.com/1089/addon/a/offer",
    "price": "2.99",
    "priceCurrency": "USD"
    "eligibleQuantity": {
         "@type": "QuantitativeValue",
         "maxValue": 2
     }
  }
}

উদাহরণ 5

The following example shows a delivery offer at a specific location:

{
  "@type": "Offer",
  "@id": "https://www.provider.com/menu/74962/139/offer",
  "price": "10",
  "priceCurrency": "USD",
  "applicableFulfillmentMethods": ["DELIVERY"],
  "offeredBy": [
    {
      "@type": "Restaurant",
      "@id": "https://www.provider.com/location/1",
    }
  ]
}

খোলার সময় নির্দিষ্টকরণ

Defines when ordering services are available. Typically, the value of opens is less than the value of closes . The following guidelines apply to using the opens and closes properties:

  • The opens and closes properties are optional but strongly recommended to denote when ordering is available. The best practice for defining available hours is to include a deliveryHours array that contains a ServiceDeliveryHoursSpecification with opens and closes properties. You can then include an AdvanceServiceDeliveryHoursSpecification object in deliveryHours with its own opens and closes properties, if you want to offer a more limited window for advance ordering.
  • If opens and closes are not explicitly specified, we assume that ordering service is available every day at all times of day.
  • The time must be specified in the local time for the service. Do not include a time zone in an opens or closes value. If a time zone is specified, Google ignores this information.
  • If opens and closes are the same, then we assume that the restaurant is open for 0 minutes.
  • If opens is greater than closes , the closing hour is interpreted to be on the following day. For example, if the opening hour is set to January 1 at 5 PM and the closing hour is 2 AM, then the restaurant is interpreted as closing on January 2 at 2 AM.
  • The time for closes is exclusive. Therefore, if the open and close times for this ordering window are set at 10 AM and 4 PM, respectively, then the last order is 3:59:59 PM.

The following table describes the properties of the OpeningHoursSpecification type:

সম্পত্তি টাইপ প্রয়োজনীয়তা বর্ণনা
@type পাঠ্য প্রয়োজন This is always "OpeningHoursSpecification".
@id URL ঐচ্ছিক Identifier for the OpeningHoursSpecification .
dayOfWeek Array of DayOfWeek ঐচ্ছিক

সপ্তাহের যে দিন এই খোলার সময় বৈধ। Acceptable values are "Monday", "Tuesday", "Wednesday", "Thursday", "Friday", "Saturday", and "Sunday". উদাহরণ স্বরূপ:

"dayOfWeek": [
"Monday",
"Tuesday",
"Wednesday",
"Thursday",
"Friday"
]

If you do not specify any days of week, then the OpeningHoursSpecification applies to all days.

opens Time ঐচ্ছিক

When used in a Restaurant specification, this property indicates the opening time of the restaurant on the given day(s) of the week. For example, 6:30 AM is given as "T06:30:00".

When used in a Service specification, it indicates the specific time of day starting from which users' orders can be placed. It specifies the opening time for when the online system is up and allows users to place orders. Within those online system opening/closing hours, you can use deliveryHours to specify opening/closing hours when users can order special types of deliveries.

The time must be specified in the local time for the service. Do not include a time zone in an opens value. If a time zone is specified, Google ignores this information.

For more information, see DateTime and Time formats .

closes Time ঐচ্ছিক

When used in a Service specification, this property indicates the specific time of day beyond which users' orders cannot be placed. It specifies the closing time for when the online system is up and allows users to place orders. Within those online system opening/closing hours, you can use deliveryHours to specify opening/closing hours when users can order special types of deliveries.

The time must be specified in the local time for the service. Do not include a time zone in a closes value. If a time zone is specified, Google ignores this information.

For more information, see DateTime and Time formats .

validFrom DateTime ঐচ্ছিক

When used in a Restaurant specification, this property indicates the date when the opening hours specified by opens and closes for the restaurant are valid.

For example, if the hours given apply to all of the year 2017, you set set validFrom to "2017-01-01T00:00:00-07:00" and validThrough to "2017-12-31T23:59:59-07:00".

When used in a Service specification, validFrom indicates the beginning date starting from which users' orders can be placed.

If this property is not specified in your feed, Google assumes that the Restaurant or Service is available daily.

In addition to the date, the time and time zone portions of the value are required.

For the time zone, use the Restaurant's or Service's time zone.

For more information, see DateTime and Time formats .

validThrough DateTime ঐচ্ছিক

When used in a Restaurant , the date after which the opening hours specified by opens and closes are not valid.

For example, if the hours given apply to all of the year 2017, you set set validFrom to "2017-01-01T00:00:00-07:00" and validThrough to "2017-12-31T23:59:59-07:00".

When used in a Service specification, validThrough indicates the ending date beyond which users' orders can no longer be placed.

If this property is not specified in your feed, Google assumes that the Restaurant or Service is available daily.

In addition to the date, the time and time zone portions of the DateTime are required.

For the time zone, use the Restaurant's or Service's time zone.

The time for validThrough is exclusive. For example, if that time is set to 6 PM, the time is valid up to 5:59:59 PM.

For more information, see DateTime and Time formats .

deliveryHours Array of ServiceDeliveryHoursSpecification or array of AdvanceServiceDeliveryHoursSpecification শর্তসাপেক্ষ

The delivery or takeout time specification.

This parameter is required unless the restaurant is closed (meaning that the opens and closes are set and equal to each other.

  • ServiceDeliveryHoursSpecification : Within the opening/closing hours, you can set "opens" and "closes" hours when users can place ASAP orders.
  • AdvanceServiceDeliveryHoursSpecification : Within the opening/closing hours, you can set "opens" and "closes" hours when users can place advance orders.

The following examples show OpeningHoursSpecification elements:

উদাহরণ 1

// Ordering times for Monday through Friday
{
  "@type": "OpeningHoursSpecification",
  "deliveryHours": [
    {
      "@type": "AdvanceServiceDeliveryHoursSpecification",
      "deliveryLeadTime": {
        "@type": "QuantitativeValue",
        "value": "60",
        "unitCode": "MIN"
      },
      "dayOfWeek": [
        "Monday",
        "Tuesday",
        "Wednesday",
        "Thursday",
        "Friday"
      ],
      "opens": "T12:00:00", // Advance ordering begins at noon
      "closes": "T23:59:59", // Advance ordering ends at midnight
      "validFrom": "2017-01-01T00:00:00-07:00",
      "validThrough": "2018-12-31T23:59:59-07:00"
    },
    {
      "@type": "ServiceDeliveryHoursSpecification",
      "deliveryLeadTime": {
        "@type": "QuantitativeValue",
        "value": "60",
        "unitCode": "MIN"
      },
      "dayOfWeek": [
        "Monday",
        "Tuesday",
        "Wednesday",
        "Thursday",
        "Friday"
      ],
      "opens": "T10:00:00", // ASAP ordering begins at 10AM
      "closes": "T14:00:00", // ASAP ordering ends at 2PM
      "validFrom": "2017-01-01T00:00:00-07:00",
      "validThrough": "2018-12-31T23:59:59-07:00"
    }
  ]
},

উদাহরণ 2

// Ordering times for Saturday and Sunday
{
  "@type": "OpeningHoursSpecification",
  "deliveryHours": [
    {
      // In this case advance orders are unavailable on Saturday and Sunday
      "@type": "ServiceDeliveryHoursSpecification",
      "deliveryLeadTime": {
        "@type": "QuantitativeValue",
        "value": "60",
        "unitCode": "MIN"
      },
      "dayOfWeek": [
        "Saturday",
        "Sunday"
      ],
      "opens": "T12:00:00", // ASAP orders start at noon
      "closes": "T23:59:59", // ASAP orders end at midnight
      "validFrom": "2017-01-01T00:00:00-07:00",
      "validThrough": "2018-12-31T23:59:59-07:00"
    }
  ]
}

উদাহরণ 3

"hoursAvailable": {
  "@type": "OpeningHoursSpecification",
  "validFrom": "2016-02-01T00:00:00-07:00",
  "validThrough": "2016-03-01T00:00:00-07:00",
  "opens": "T08:00:00",  // Ordering begins at 8:00AM and ends at 6:00PM.
                         // ASAP and and advance orders are restricted to this
                         // time frame since the user won't be able to place
                         // orders outside of this window.
  "closes": "T18:00:00",
  "deliveryHours": {
    "@type": "ServiceDeliveryHoursSpecification",
    "deliveryLeadTime": {
      "@type": "QuantitativeValue",
      "value": "60",
      "unitCode": "MIN"
    }
  }
},

উদাহরণ 4

// List hours available for 2017 and 2018
"hoursAvailable": [
  {
    "@type": "OpeningHoursSpecification",
    // Array containing advance order hours for each day
    "deliveryHours": [
      {
        // Open 10:00AM to 9:29:59PM on Mondays
        "@type": "AdvanceServiceDeliveryHoursSpecification",
        "deliveryLeadTime": {
          "@type": "QuantitativeValue",
          "value": "60",
          "unitCode": "MIN"
        },
        "dayOfWeek": [
          "Monday"
        ],
        "opens": "T10:00:00",
        "closes": "T21:30:00",
        "validFrom": "2017-01-01T00:00:00-07:00",
        "validThrough": "2018-12-31T23:59:59-07:00"
      },
      {
        // Open 10:00AM to 9:29:59PM on Tuesdays
        "@type": "AdvanceServiceDeliveryHoursSpecification",
        "deliveryLeadTime": {
          "@type": "QuantitativeValue",
          "value": "60",
          "unitCode": "MIN"
        },
        "dayOfWeek": [
          "Tuesday"
        ],
        "opens": "T10:00:00",
        "closes": "T21:30:00",
        "validThrough": "2018-12-31T23:59:59-07:00"
      },
      {
        // Open 10:00AM to 9:29:59PM on Wednesdays
        "@type": "AdvanceServiceDeliveryHoursSpecification",
        "deliveryLeadTime": {
          "@type": "QuantitativeValue",
          "value": "60",
          "unitCode": "MIN"
        },
        "dayOfWeek": [
          "Wednesday"
        ],
        "opens": "T10:00:00",
        "closes": "T21:30:00",
        "validFrom": "2017-01-01T00:00:00-07:00",
        "validThrough": "2018-12-31T23:59:59-07:00"
      },
      {
        // Open 10:00AM to 9:29:59PM on Thursdays
        "@type": "AdvanceServiceDeliveryHoursSpecification",
        "dayOfWeek": [
          "Thursday"
        ],
        "opens": "T10:00:00",
        "closes": "T21:30:00",
        "validFrom": "2017-01-01T00:00:00-07:00",
        "validThrough": "2018-12-31T23:59:59-07:00"
      },
      {
        // Open 10:00AM to 11:29:59PM on Fridays
        "@type": "AdvanceServiceDeliveryHoursSpecification",
        "deliveryLeadTime": {
          "@type": "QuantitativeValue",
          "value": "60",
          "unitCode": "MIN"
        },
        "dayOfWeek": [
          "Friday"
        ],
        "opens": "T10:00:00",
        "closes": "T23:30:00",
        "validFrom": "2017-01-01T00:00:00-07:00",
        "validThrough": "2018-12-31T23:59:59-07:00"
      },
      {
        // Open 10:00AM to 11:29:59PM on Saturdays
        "@type": "AdvanceServiceDeliveryHoursSpecification",
        "deliveryLeadTime": {
          "@type": "QuantitativeValue",
          "value": "60",
          "unitCode": "MIN"
        },
        "dayOfWeek": [
          "Saturday"
        ],
        "opens": "T10:00:00",
        "closes": "T23:30:00",
        "validFrom": "2017-01-01T00:00:00-07:00",
        "validThrough": "2018-12-31T23:59:59-07:00"
      },
      {
        // Open 11:00AM to 6:59:59PM on Sundays
        "@type": "AdvanceServiceDeliveryHoursSpecification",
        "deliveryLeadTime": {
          "@type": "QuantitativeValue",
          "value": "60",
          "unitCode": "MIN"
        },
        "dayOfWeek": [
          "Sunday"
        ],
        "opens": "T11:00:00",
        "closes": "T19:00:00",
        "validFrom": "2017-01-01T00:00:00-07:00",
        "validThrough": "2018-12-31T23:59:59-07:00"
      }
    ]
  }
],

প্যাকেজিং বিবরণ

Add the gs1 context to use this type: "@context": ["http://gs1.org/voc/", "http://schema.org"] . And add FoodBeverageTobaccoProduct to the type of the MenuItem or MenuItemOption .

The following table describes the properties of the PackagingDetails type:

সম্পত্তি টাইপ প্রয়োজনীয়তা বর্ণনা
@type পাঠ্য প্রয়োজন This is always "PackagingDetails".
packagingRecyclingProcessType পাঠ্য ঐচ্ছিক Packaging recycling process type per gs1:PackagingRecyclingProcessTypeCode . For example http://gs1.org/voc/PackagingRecyclingProcessTypeCode-RECYCLABLE or http://gs1.org/voc/PackagingRecyclingProcessTypeCode-REUSABLE
hasReturnablePackageDeposit ReturnablePackageDepositDetails ঐচ্ছিক Returnable package deposit details per gs1:ReturnablePackageDepositDetails . For example, bottles and cans have returnable package deposits.

The following example shows the usage of the PackagingDetails type:

{
  "@type": ["MenuItem", "FoodBeverageTobaccoProduct"],
  "@id": "http://www.example.com/bar/menuitem/5",
  "name": "Sparkling Water",
  "description": "A 0.5l bottle of sparking water.",
  "offers": {
    "@type": "Offer",
    "sku": "offer-sparkling-water",
    "price": "1.49",
    "priceCurrency": "USD"
  },
  "packaging": {
    "@type": "PackagingDetails",
    "packagingRecyclingProcessType" :
      "http://gs1.org/voc/PackagingRecyclingProcessTypeCode-REUSABLE",
    "hasReturnablePackageDeposit": {
      "@type": "ReturnablePackageDepositDetails",
      "returnablePackageDepositAmount": {
        "@type": "http://gs1.org/voc/PriceSpecification",
        "http://gs1.org/voc/price": "0.05",
        "http://gs1.org/voc/priceCurrency": "USD"
      }
    }
  }
},

PaymentChargeSpecification

The following table describes the properties of the PaymentChargeSpecification type:

সম্পত্তি টাইপ প্রয়োজনীয়তা বর্ণনা
@type পাঠ্য প্রয়োজন This is always "PaymentChargeSpecification".
@id URL ঐচ্ছিক Identifier for the PaymentChargeSpecification .
price সংখ্যা প্রয়োজন Total amount of the charge. For example, "6.00", without the currency symbol.
priceCurrency পাঠ্য প্রয়োজন The 3-letter ISO 4217 currency code of the price. For example, "USD".
eligibleTransactionVolume PriceSpecification ঐচ্ছিক Transaction volume, in a monetary unit, for which this payment charge specification is valid, like for indicating a minimal purchasing volume.
eligibleQuantity QuantitativeValue ঐচ্ছিক The ordering quantities for which the payment charge is valid. For example, you can use this property to require a minimum number of items in an order.
validFrom DateTime ঐচ্ছিক Date and time (including the time zone) when the payment charge specified becomes valid. For example, "2017-05-01T07:00:00-07:00". For more information, see DateTime and Time formats .
validThrough DateTime ঐচ্ছিক Date and time (including the time zone) when the payment charge specified is not valid. For example, "2017-05-01T07:30:00-07:00". The time for validThrough is exclusive: for example, if that time is set to 6 PM, the time is valid up to 5:59:59 PM. For more information, see DateTime and Time formats .

The following example shows a PaymentChargeSpecification element:

উদাহরণ

"priceSpecification": [{
  "@type": "PaymentChargeSpecification",
  "@id": "http://www.provider.com/paymentCharge/bar",
  "priceCurrency": "USD",
  "price": "6.00", // Charges $6 for processing fee
  "eligibleQuantity": {
    "@type": "QuantitativeValue",
    "minValue": 2 // Minimum of two items required
  }
}]

In addition to "@type": ["PaymentChargeSpecification"] , the object can be extended with UnitPriceSpecification ( "@type": ["PaymentChargeSpecification", "UnitPriceSpecification"] ). The extension gives an additional two properties required for service fees calculated in percentages.

সম্পত্তি টাইপ প্রয়োজনীয়তা বর্ণনা
referenceQuantity QuantitativeValue প্রয়োজন Reference quantity for which a certain price applies. For example, referenceQuantity of value 10 with unitCode of "P1" result in 10% of the order value. Only unitCode "P1" is currently supported.
basePrice সংখ্যা ঐচ্ছিক The base charge in addition to the referenceQuantity . For example, referenceQuantity of 10 with unitCode of "P1" and basePrice of 5 in USD result in $5 + 10% of the order value. ডিফল্ট মান 0।

Takeout fee examples

Google allows you to specify a variety of fees to users upfront using Offer.PriceSpecification of the Service entity.

Note that we currently only support one PaymentChargeSpecification . Combine all types of fees into a single PaymentChargeSpecification

If there is no fee, Offer.PriceSpecification is omitted.

  • Example 1: Service fee is 5% of cart subtotal
  • Example 2: Service fee is $5
  • Example 3: Bag fee is $0.1 and service fee is 5% of cart subtotal
  • Example 4: Bag fee is $0.1 and service fee is $1
  • Example 5: Service fee is 5% and required tip is 10% of cart subtotal

উদাহরণ 1

priceSpecification [
  {
    "@type": ["PaymentChargeSpecification", "UnitPriceSpecification"],
    "referenceQuantity": {
      "@type": "QuantitativeValue",
      "value": "5.00", // 5%
      "unitCode": "P1" // P1 == %
    },
    "priceCurrency": "USD"
  }
]

উদাহরণ 2

priceSpecification [
  {
    "@type": ["PaymentChargeSpecification"],
    "priceCurrency": "USD",
    "price": "5.00"
  }
]

উদাহরণ 3

priceSpecification [
  {
    "@type": ["PaymentChargeSpecification", "UnitPriceSpecification"],
    "referenceQuantity": {
      "@type": "QuantitativeValue",
      "value": "5.00", // 5%
      "unitCode": "P1", // P1 == %
    },
    "priceCurrency": "USD",
    "basePrice": "0.10" // Bag fee $0.1
  }
]

উদাহরণ 4

priceSpecification [
  {
    "@type": ["PaymentChargeSpecification"],
    "priceCurrency": "USD",
    "price": "1.10" //$1 + $0.1
  }
]

উদাহরণ 5

priceSpecification [
  {
    "@type": ["PaymentChargeSpecification", "UnitPriceSpecification"],
    "referenceQuantity": {
      "@type": "QuantitativeValue",
      "value": "15.00", // 5% + 10%
      "unitCode": "P1" // P1 == %
    },
    "priceCurrency": "USD"
  }
]

স্থান

The following table describes the properties of the Place type:

সম্পত্তি টাইপ প্রয়োজনীয়তা বর্ণনা
@type পাঠ্য প্রয়োজন This is always "Place".
address PostalAddress প্রয়োজন Address of a place.

The following example shows a Place element:

উদাহরণ

{
  "@type": "Place", // area2
  "address": {
    "@type": "PostalAddress",
    "postalCode": "94041",
    "addressCountry": "US"
  }
},

ডাক ঠিকানা

The following table describes the properties of the PostalAddress type:

সম্পত্তি টাইপ প্রয়োজনীয়তা বর্ণনা
@type পাঠ্য প্রয়োজন This is always "PostalAddress".
addressLocality পাঠ্য প্রয়োজনীয়* The locality or city. For example, "San Francisco".
addressRegion পাঠ্য প্রয়োজনীয়* The region or state. For example, "CA".
postalCode পাঠ্য প্রয়োজনীয়* পোস্টাল কোড। For example, "94102".
streetAddress পাঠ্য ঐচ্ছিক রাস্তার ঠিকানা। For example, "1600 Amphitheatre Pkwy".
addressCountry পাঠ্য প্রয়োজন Two-letter ISO 3166-1 alpha-2 country code . For example, "US".

Delivery providers can list these properties to designate a Service.areaServed where a service is provided.

When used in Restaurant.address , all the properties listed in PostalAddress are required.

The following example shows a PostalAddress element:

উদাহরণ

"address": {
  "@type": "PostalAddress",
  "streetAddress": "12345 Bar Avenue",
  "addressLocality": "San Francisco",
  "addressRegion": "CA",
  "postalCode": "94124",
  "addressCountry": "US"
},

PriceSpecification

The following table describes the properties of the PriceSpecification type:

সম্পত্তি টাইপ প্রয়োজনীয়তা বর্ণনা
@type পাঠ্য প্রয়োজন This is always "PriceSpecification".
@id URL ঐচ্ছিক Identifier for the PriceSpecification .
minPrice সংখ্যা ঐচ্ছিক The lowest price if the price is a range.
maxPrice সংখ্যা ঐচ্ছিক The highest price if the price is a range.
priceCurrency পাঠ্য প্রয়োজন The 3-letter ISO 4217 currency code of the price. For example, "USD".
eligibleQuantity QuantitativeValue ঐচ্ছিক The ordering quantities for which the price specification is valid. For example, the price might be $2 per pound or 2 items for a dollar.

The following example shows a PriceSpecification element:

উদাহরণ 1

"eligibleTransactionVolume": {
  "@type": "PriceSpecification",
  "minPrice": "20.00", // Minimum order price for delivery is $20
  "priceCurrency": "USD"
}

সম্পদের মূল্য

Property value pair used to describe options in MenuItemOption .

The following table lists the properties for the PropertyValue type:

সম্পত্তি টাইপ প্রয়োজনীয়তা বর্ণনা
@type পাঠ্য প্রয়োজন This is always "PropertyValue".
name পাঠ্য প্রয়োজন

Name or type of the option.

The following are valid names when used in MenuItem :

  • "SIZE": Size of the MenuItem . For example, small, medium, or large.
  • "OPTION": Any variation other than size (like a dish that comes either as a salad or a sandwich). If you can't distinguish between "SIZE" and "OPTION", then use "OPTION".

Valid names when used in AddOnMenuItem :

  • "APPLICABLE_ITEM_OPTION": An option for the addOn that is only applicable when used with the MenuItem with the respective "SIZE/OPTION".
  • "PIZZA_SIDE": Specific to pizzas, this add-on is only valid for a portion/whole pizza (like mushroom toppings on the left side, right side, or whole pizza).
  • "SIZE": An option to designate the size of the add-on (like large fries as an add-on for a meal combo).
  • "OPTION": Any variation other than size. If you can't distinguish between "SIZE" and "OPTION", then use "OPTION".
value পাঠ্য প্রয়োজন

Value for the option. The values can be any string and are displayed as is. The following are valid values:

  • "PIZZA_SIDE": The corresponding value should be "PIZZA_SIDE_LEFT", "PIZZA_SIDE_RIGHT", or "PIZZA_SIDE_WHOLE" for a pizza.
  • "APPLICABLE_ITEM_OPTION": This value should be present in one of the corresponding "OPTION/SIZE" choices for the parent MenuItem 's menuItemOptions.

QuantitativeValue

The following table describes the properties of the QuantitativeValue type:

সম্পত্তি টাইপ প্রয়োজনীয়তা বর্ণনা
@type পাঠ্য প্রয়োজন This is always "QuantitativeValue".
value সংখ্যা ঐচ্ছিক The value of the quantitative value or property value node.
unitCode Text or URL ঐচ্ছিক

The unit of measurement as a UN/CEFACT Common Code or a URL.

Codes other than the UN/CEFACT Common Code may be used with a prefix followed by a colon.

maxValue সংখ্যা ঐচ্ছিক The upper value of some characteristic or property.
minValue সংখ্যা ঐচ্ছিক The lower value of some characteristic or property.

The following examples show the usage of the QuantitativeValue type:

উদাহরণ 1

"deliveryLeadTime": {
  "@type": "QuantitativeValue",
  "value": "60",
  "unitCode": "MIN"
}

উদাহরণ 2

"menuAddOn": {
  "@type": "AddOnMenuSection",
  "name": "Cheese",
  "@id": "https://www.example.com/1089/addon/1", // Points to an AddOnMenuSection
  "eligibleQuantity":
    "@type": "QuantitativeValue",
    "minValue": 0,
    "maxValue": 2 // Maximum of 2 cheeses are allowed
  }
}

উদাহরণ 3

"priceSpecification": [
  {
    "@type": "DeliveryChargeSpecification",
    "@id": "http://www.provider.com/defaultdeliveryfee/foo",
    "price": "10.0",
    "priceCurrency": "USD",
    "eligibleQuantity": {
      "@type": "QuantitativeValue",
      "minValue": 3  // Minimum of 3 items required for delivery
    }
  },
  {
    "@type": "DeliveryChargeSpecification",
    "@id": "http://www.provider.com/deliveryfee/foo/1",
    "price": "20.0",
    "priceCurrency": "USD",
    "validFrom":"T18:00:00", // Valid from 6:00PM
    "validThrough":"T22:00:00", // Valid to 9:59:59PM
    "eligibleQuantity": {
      "@type": "QuantitativeValue",
      "minValue": 3  // Minimum of 3 items required for delivery
    }
  }
]

রেঁস্তোরা

The following table lists the properties for the Restaurant type:

সম্পত্তি টাইপ প্রয়োজনীয়তা বর্ণনা
@type পাঠ্য প্রয়োজন This is always "Restaurant".
@id URL প্রয়োজন Unique identifier of the restaurant or delivery provider. For example, "http://www.provider.com/326", where "326" is the unique identifier of the restaurant.
name পাঠ্য প্রয়োজন Text that can identify the Restaurant during the ordering process.
url URL প্রয়োজন URL on your domain that represents the restaurant. For example, "http://www.provider.com/somerestaurant".
sameAs URL ঐচ্ছিক The official website for the restaurant. For example, "http://www.somerestaurant.com".
email পাঠ্য ঐচ্ছিক Contact email of the restaurant.
description পাঠ্য ঐচ্ছিক Description of the restaurant.
telephone পাঠ্য প্রয়োজন

Telephone number in the following format:

"[+][country_code][phone_#_with_area_code]"

For example, "+16501234567".

priceRange পাঠ্য ঐচ্ছিক A range of pricing. For example, "$$" ($-Inexpensive, $$-Moderate, $$$-Expensive, $$$$-Very Expensive).
logo URL Optional Logo of the restaurant in PNG, JPG, or GIF format. For example, "http://www.somerestaurant.com/logo.png".
image URL Optional Image of the restaurant.
servesCuisine Array of Text Optional Food types that are served at the restaurant. For example, ["sushi","Asian fusion"].
address PostalAddress Required* Address of the restaurant.
geo GeoCoordinates Optional* Geographic coordinates of the restaurant.
suitableForDiet Array of RestrictedDiet Optional Dietary restrictions this restaurant accommodates (like kosher, vegan, or gluten-free diets). It is an enumerated list.
aggregateRating AggregateRating Optional Overall rating, based on a collection of reviews or ratings of the restaurant.
additionalProperty Array of name value string pairs Optional

A restaurant imprint is a section of additional information about the restaurant, such as legal name, legal address, and registration number. This information can be formatted using "\n".

For example "additionalProperty": [{"name": "imprint", "value": "first row\nsecondrow\n"},]

The following examples show the usage of the Restaurant type:

Example 1

{
  "@type": "Restaurant",
  "@id": "http://www.provider.com/somerestaurant",
  "url": "www.provider.com/somerestaurant",
  "name": "Some Restaurant",
  "sameAs": "http://www.somerestaurant.com",
  "image": "http://www.somerestaurant.com/image-of-some-restaurant.jpg",
  "description": "This is the Some Restaurant located on 345 Spear St. San Francisco, 94105 CA. It serves Indian-Mexican fusion cuisine",
  "address": {
    "@type": "PostalAddress",
    "addressLocality": "San Francisco",
    "addressRegion": "CA",
    "postalCode": "94105",
    "streetAddress": "345 Spear St",
    "addressCountry": "US"
  },
  "geo": {
    "@type": "GeoCoordinates",
    "latitude": "37.391115",
    "longitude": "-122.081099"
  },
  "aggregateRating": {
    "@type": "AggregateRating",
    "ratingValue": "4.4",
    "reviewCount": "89"
  },
  "priceRange": "$$", "telephone": "+16501234567", // Country code (+1) is required "servesCuisine": [ "Indian-Mexican Fusion" ] } ,

উদাহরণ 2

{
  "@type": "Restaurant",
  "@id": "http://www.example.com/threebrotherstacos",
  "name": "Three Brothers Tacos",
  "address": {
        "@type": "PostalAddress",
        "addressLocality": "Mountain View",
        "addressRegion": "CA",
        "postalCode": "94041",
        "streetAddress": "123 Foo St",
        "addressCountry": "US"
  },
  "additionalProperty": [
    {"name": "imprint", "value": "Three Brothers Tacos\n123 FooSt\nMountain View\nCA 94041, United States\nemail: contact@threebrotherstacos.com\n\nCommercial Register: 123456789"}
  ]
}

For more examples of Restaurant entities, see Restaurant and Menu Feed Examples .

ReturnablePackageDepositDetails

To use this type, add the gs1 context: "@context":

["http://gs1.org/voc/", "http://schema.org"]

Then, add FoodBeverageTobaccoProduct to the type of the appropriate MenuItem or MenuItemOption .

The following table describes the properties of the ReturnablePackageDepositDetails type:

সম্পত্তি টাইপ প্রয়োজনীয়তা বর্ণনা
@type পাঠ্য প্রয়োজন This is always "ReturnablePackageDepositDetails".
returnablePackageDepositAmount gs1:PriceSpecification ঐচ্ছিক The amount of deposit for this item per gs1:PriceSpecification . For example, $0.25 deposit per can.

The following example shows the usage of the ReturnablePackageDepositDetails type:

{
  "@type": ["MenuItem", "FoodBeverageTobaccoProduct"],
  "@id": "http://www.example.com/bar/menuitem/5",
  "name": "Sparkling Water",
  "description": "A 0.5l bottle of sparking water.",
  "offers": {
    "@type": "Offer",
    "sku": "offer-sparkling-water",
    "price": "1.49",
    "priceCurrency": "USD"
  },
  "packaging": {
    "@type": "PackagingDetails",
    "packagingRecyclingProcessType" :
      "http://gs1.org/voc/PackagingRecyclingProcessTypeCode-REUSABLE",
    "hasReturnablePackageDeposit": {
      "@type": "ReturnablePackageDepositDetails",
      "returnablePackageDepositAmount": {
        "@type": "http://gs1.org/voc/PriceSpecification",
        "http://gs1.org/voc/price": "0.05",
        "http://gs1.org/voc/priceCurrency": "USD"
      }
    }
  }
},

সেবা

Describes delivery of an Ordering End-to-End Action from a restaurant to a geographical location by a delivery organization.

The following table describes the properties of the Service type:

সম্পত্তি টাইপ প্রয়োজনীয়তা বর্ণনা
@type পাঠ্য প্রয়োজন

The feed type.

  • Service : Use this type for all active Service feeds.
  • DisabledService : Only use this type when you must disable a Service entity due to an unexpected event, and you don't know when the service will be re-established.
@id URL প্রয়োজন Identifier for the fulfillment service. For example, "http://www.provider.com/service/1".
description পাঠ্য ঐচ্ছিক Description of the item.
serviceType পাঠ্য প্রয়োজন Type of service being offered. Possible values are "DELIVERY" or "TAKEOUT".
provider Restaurant প্রয়োজন A reference to the unique identifier for the restaurant. For example, "http://www.provider.com/somerestaurant".
areaServed Array of GeoShape , Place , or GeoCircle শর্তসাপেক্ষ Geographic area where a service is provided. This field is optional by default, but is required if serviceType is "DELIVERY".
hoursAvailable Array of OpeningHoursSpecification প্রয়োজন Hours during which this service is available.
specialOpeningHoursSpecification Array of OpeningHoursSpecification , ServiceDeliveryHoursSpecification , or AdvanceServiceDeliveryHoursSpecification ঐচ্ছিক

Times that override the more general OpeningHoursSpecification or the fulfillment times. You typically use this field to define holidays and other types of temporary closures or changes in hours.

Define the special date range using the validFrom and validThrough properties. The time and time zone are required when specifying these properties.

offers Array of Offer শর্তসাপেক্ষ

Details about the delivery offering for a specified restaurant. This field is optional by default, but required if serviceType is "DELIVERY".

The Offer.priceSpecification property is optional in Service. No other Offer properties are used here.

hasOfferCatalog [ Menu , OfferCatalog] প্রয়োজন

Specifies a menu for this service. You can have a different menu for each of your services (like takeout, delivery, and catering).

You must specify both Menu and OfferCatalog for the type. উদাহরণ স্বরূপ:

"hasOfferCatalog": {
"@type": ["Menu", "OfferCatalog"],
"@id": "https://www.provider.com/restaurant/menu/1"
}
additionalProperty Array of {name, value} ঐচ্ছিক

Optional service configuration information. Items are expected to be an object with the key name corresponding to the optional field name. The key value is a contextually-relevant value for the field.

See the ServingConfig reference for more information on the specific names and values.

"additionalProperty": [{
  "name": "disableOrderInstructions",
  "value": false
}, {
  "name": "disableMenuItemSpecialInstructions",
  "value": false
}, {
  "name": "disableTipWidget",
  "value": false
}, {
  "name": "disablePromoWidget",
  "value": false
}, {
  "name": "menuItemSpecialInstructionsMaxLength",
  "value": 256
}, {
  "name": "orderInstructionsMaxLength",
  "value": 256
}]
potentialAction URL ঐচ্ছিক

Contains a URL for a delivery/takeout service that will be used while migrating from end-to-end food ordering experience to redirect. For example, "potentialAction": { "url": "https://fopatestagent.com/ordering/restaurant-1/delivery" }

The following example shows the usage of the Service type:

উদাহরণ

{
  "@type": "Service",
  "@id": "http://www.provider.com/service/1",
  "serviceType": "DELIVERY",
  "provider": {
    "@type": "Restaurant",
    "@id": "http://www.provider.com/threebrotherstacos"
  },
  "potentialAction": {
    "url": "https://foprovider.com/ordering/restaurant-1/delivery"
  },
  "hoursAvailable": [
    // Ordering times for Monday through Friday
    {
      "@type": "OpeningHoursSpecification",
      "deliveryHours": [
        {
          "@type": "AdvanceServiceDeliveryHoursSpecification",
          "deliveryLeadTime": {
            "@type": "QuantitativeValue",
            "value": "60",
            "unitCode": "MIN"
          },
          "dayOfWeek": [
            "Monday",
            "Tuesday",
            "Wednesday",
            "Thursday",
            "Friday"
          ],
          "opens": "T12:00:00", // Advance ordering begins at noon
          "closes": "T23:59:59", // Advance ordering ends at midnight
          "validFrom": "2017-01-01T00:00:00-07:00",
          "validThrough": "2018-12-31T23:59:59-07:00"
        },
        {
          "@type": "ServiceDeliveryHoursSpecification",
          "deliveryLeadTime": {
            "@type": "QuantitativeValue",
            "value": "60",
            "unitCode": "MIN"
          },
          "dayOfWeek": [
            "Monday",
            "Tuesday",
            "Wednesday",
            "Thursday",
            "Friday"
          ],
          "opens": "T10:00:00", // ASAP ordering begins at 10AM
          "closes": "T14:00:00", // ASAP ordering ends at 2PM
          "validFrom": "2017-01-01T00:00:00-07:00",
          "validThrough": "2018-12-31T23:59:59-07:00"
        }
      ]
    },
    // Ordering times for Saturday and Sunday
    {
      "@type": "OpeningHoursSpecification",
      "deliveryHours": [
        {
          // In this case advance orders are unavailable on Saturday and Sunday
          "@type": "ServiceDeliveryHoursSpecification",
          "deliveryLeadTime": {
            "@type": "QuantitativeValue",
            "value": "60",
            "unitCode": "MIN"
          },
          "dayOfWeek": [
            "Saturday",
            "Sunday"
          ],
          "opens": "T12:00:00", // ASAP orders start at noon
          "closes": "T23:59:59", // ASAP orders end at midnight
          "validFrom": "2017-01-01T00:00:00-07:00",
          "validThrough": "2018-12-31T23:59:59-07:00"
        }
      ]
    }
  ],
  "hasOfferCatalog": {
    "@type": ["Menu", "OfferCatalog"],
    "@id": "https://www.provider.com/menu/1"
  },
  "areaServed": [{
      "@type": "GeoCircle", // area1
      "geoMidpoint": {
        "@type": "GeoCoordinates",
        "latitude": "42.362757",
        "longitude": "-71.087109"
      },
      "geoRadius": "10000"
    },
    {
      "@type": "Place", // area2
      "address": {
        "@type": "PostalAddress",
        "postalCode": "94041",
        "addressCountry": "US"
      }
    },
    {
      "@type": "GeoShape", // area3
      // Specify latitude first (i.e., lat long lat long ...)
      "polygon": "37.418128 -122.098167 37.382755 -122.118968 37.368551 -122.047978 37.400949 -122.048106 37.418128 -122.098167"
    },
    {
      "@type": "GeoShape", // area4
      // Specify latitude first (i.e., lat long lat long ...)
      "polygon": "37.806000 -122.425592 37.775849 -122.419043 37.795547 -122.394046 37.808747 -122.412619"
    },
    {
      "@type": "GeoCircle", // area5
      "geoMidpoint": {
        "@type": "GeoCoordinates",
        "latitude": "37.7392607",
        "longitude": "-122.3895522"
      },
      "geoRadius": "4505"
    }
  ],
  "offers": {
    "@type": "Offer",
    "priceSpecification": [{
        "@type": "DeliveryChargeSpecification",
        "@id": "http://www.provider.com/threebrotherstacos/deliveryfee/1",
        "price": "8.00", // Charges $8 for area5
        "priceCurrency": "USD",
        "eligibleTransactionVolume": {
          "@type": "PriceSpecification",
          "minPrice": "20.00",
          "priceCurrency": "USD"
        },
        "eligibleRegion": [ // area5
          {
            "@type": "GeoCircle",
            "geoMidpoint": {
              "@type": "GeoCoordinates",
              "latitude": "37.7392607",
              "longitude": "-122.3895522"
            },
            "geoRadius": "4505"
          }
        ]
      },
      {
        "@type": "DeliveryChargeSpecification",
        "@id": "http://www.provider.com/threebrotherstacos/defaultdeliveryfee",
        "price": "6.00", // Charges $6 when delivered from Foo restaurant to area1, area2, area3 and area4 (Default charge)
        "priceCurrency": "USD",
        "eligibleTransactionVolume": {
          "@type": "PriceSpecification",
          "minPrice": "20.00", // Minimum order price for delivery is $20
          "priceCurrency": "USD"
        }
      }
    ]
  }
},

For more examples of Service entities, see Service Feed Examples .

ServiceDeliveryHoursSpecification

Represents the fulfillment hours for users to schedule ASAP orders for delivery and takeout.

Typically, the value of opens is less than the value of closes . The following guidelines apply to using the opens and closes properties:

  • The opens and closes properties are optional for ServiceDeliveryHoursSpecification , but we strongly recommend that you include them.
  • The time must be specified in the local time for the service. Do not include a time zone in an opens or closes value. If a time zone is specified, Google ignores the time zone information.
  • If opens and closes are not explicitly specified, we assume that ASAP ordering is available every day at all times.
  • If opens and closes are the same, then we assume that ASAP ordering is unavailable.
  • If opens is greater than closes , the closing hour is interpreted to be on the following day. For example, if the opening hour is set to January 1 at 5 PM and the closing hour is 2 AM, then the restaurant is interpreted as closing on January 2 at 2 AM.

The following table describes the properties of the ServiceDeliveryHoursSpecification type:

সম্পত্তি টাইপ প্রয়োজনীয়তা বর্ণনা
@type পাঠ্য প্রয়োজন This is always "ServiceDeliveryHoursSpecification".
validFrom DateTime ঐচ্ছিক

Date and time (including the time zone) when users' ASAP orders can be fulfilled. For example, "2017-05-01T07:00:00-07:00". If this property is not set, then it is assumed to be valid every day.

For more information, see DateTime and Time formats .

validThrough DateTime ঐচ্ছিক

Date and time (including the time zone) after which users' ASAP orders cannot be fulfilled. For example, "2017-05-01T07:00:00-07:00". If this property is not set, then it is assumed to be valid every day.

The time for validThrough is exclusive. For example, if that time is set to 6 PM, the time is valid up to 5:59:59 PM.

For more information, see DateTime and Time formats .

opens Time ঐচ্ছিক

Time at which delivery service starts for users' ASAP orders to be fulfilled. For example, "T10:30:00".

The time must be specified in the local time for the service. Do not include a time zone in an opens value. If a time zone is specified, Google ignores this information.

For more information, see DateTime and Time formats .

closes Time ঐচ্ছিক

The time when delivery service for users' ASAP orders is no longer available. For example, "T23:59:59".

The time for closes is exclusive. Therefore, if you set opens/closes for this ServiceDeliveryHoursSpecification to 10 AM and 4 PM, then that last order is 3:59:59 PM.

The time must be specified in the local time for the service. Do not include a time zone in a closes value. If a time zone is specified, Google ignores this information.

For more information, see DateTime and Time formats .

dayOfWeek Array of DayOfWeek ঐচ্ছিক

Days of the week that this service is available for users' ASAP orders. The following are valid values:

  • "সোমবার"
  • "মঙ্গলবার"
  • "বুধবার"
  • "বৃহস্পতিবার"
  • "শুক্রবার"
  • "শনিবার"
  • "রবিবার"

If you do not specify any days of week, then ServiceDeliveryHoursSpecification applies to all days.

deliveryLeadTime QuantitativeValue ঐচ্ছিক Estimated delivery time, in minutes, once the order has been placed. We strongly recommend that you set this property. Set the value field of QuantitativeValue to the number of minutes and the unitCode to "MIN".

The following example shows a ServiceDeliveryHoursSpecification element:

উদাহরণ 1

{
  "@type": "ServiceDeliveryHoursSpecification",
  "opens": "T08:00:00",
  "closes": "T17:00:00",
  "deliveryLeadTime": {
    "@type": "QuantitativeValue",
    "value": "60", // If no exact deliveryLeadTime, put a maximum time
    "unitCode": "MIN"
  }
},

উদাহরণ 2

{
  "@type": "ServiceDeliveryHoursSpecification",
  "opens": "T08:00:00",
  "closes": "T17:00:00",
  "deliveryLeadTime": {
    "@type": "QuantitativeValue",
    "minValue": "30",
    "maxValue": "50",
    "unitCode": "MIN"
  }
}
    

Enums

RestrictedDiet

The RestrictedDiet type has the following possible values:

  • http://schema.org/DiabeticDiet
  • http://schema.org/GlutenFreeDiet
  • http://schema.org/HalalDiet
  • http://schema.org/HinduDiet
  • http://schema.org/KosherDiet
  • http://schema.org/LowCalorieDiet
  • http://schema.org/LowFatDiet
  • http://schema.org/LowLactoseDiet
  • http://schema.org/LowSaltDiet
  • http://schema.org/VeganDiet
  • http://schema.org/VegetarianDiet