घर में की जा सकने वाली गतिविधि (VirtualLocation) का स्ट्रक्चर्ड डेटा

घर में की जा सकने वाली गतिविधियां ढूंढने में लोगों की मदद करने के लिए, अपने ऑनलाइन इवेंट और वीडियो के पेजों में स्ट्रक्चर्ड डेटा जोड़ें. जब लोग घर में की जा सकने वाली गतिविधियों के बारे में जानकारी खोजते हैं, तब ज़्यादा बेहतर नतीजे (रिच रिज़ल्ट) में वीडियो और ऑनलाइन इवेंट दिखते हैं. लोग इस रिच रिज़ल्ट में दिखने वाले किसी वीडियो या क्लास पर क्लिक करके, उसके बारे में ज़्यादा जानकारी पा सकते हैं. जैसे, गतिविधि की जानकारी, रजिस्टर करने का तरीका या 'अभी देखें' सुविधा के बारे में जानकारी पा सकते हैं.

घर में की जा सकने वाली गतिविधियों से जुड़े कॉन्टेंट के कुछ उदाहरण यहां दिए गए हैं:

  • आने वाला लाइवस्ट्रीम वीडियो
  • पहले से रिकॉर्ड किया गया वीडियो
  • ऑनलाइन इवेंट
घर में की जा सकने वाली गतिविधियों का ज़्यादा बेहतर नतीजा (रिच रिज़ल्ट)

सुविधा की उपलब्धता

फ़िलहाल, घर में की जा सकने वाली गतिविधियों के ज़्यादा बेहतर नतीजों (रिच रिज़ल्ट) की सुविधा सिर्फ़ अमेरिका में उपलब्ध है और वह भी अंग्रेज़ी भाषा में. यह सुविधा सिर्फ़ मोबाइल डिवाइस पर उपलब्ध है. फ़िलहाल, यह सुविधा सिर्फ़ फ़िटनेस से जुड़े खोज नतीजों के लिए है. उदाहरण के लिए, "कसरत करने के ऑनलाइन टिप्स" या "घर में योग कैसे करें".

ज़रूरी शर्तें

घर में की जा सकने वाली गतिविधियों के ज़्यादा बेहतर नतीजे (रिच रिज़ल्ट) के तौर पर अपना कॉन्टेंट दिखाने के लिए, इन दिशा-निर्देश का पालन करें:

  1. हर दस्तावेज़ के लिए, Event या Video का स्ट्रक्चर्ड डेटा जोड़ें. Event स्ट्रक्चर्ड डेटा आम तौर पर, आने वाले समय में होने वाले ऑनलाइन इवेंट के लिए सही होता है. साथ ही, Video स्ट्रक्चर्ड डेटा, पब्लिश किए गए वीडियो के लिए सही होता है.
  2. यह ज़रूरी है कि इवेंट, ऑनलाइन हों, न कि ऑफ़लाइन. Event के स्ट्रक्चर्ड डेटा में, ये काम ज़रूर करें:
    • eventAttendanceMode को OnlineEventAttendanceMode पर सेट करें.
    • location प्रॉपर्टी के लिए, VirtualLocation का इस्तेमाल करें.
    • location.url प्रॉपर्टी जोड़ें.
    • सही समय क्षेत्र बताएं. इवेंट की जगह की जानकारी न होने की वजह से, सही समय की पुष्टि नहीं की जा सकती. इसलिए, ऑनलाइन इवेंट के लिए सही समय क्षेत्र सेट करना बहुत ज़रूरी होता है.
  3. वीडियो के लिए, description और duration प्रॉपर्टी जोड़ें. इनसे Google को वीडियो के बारे में जानकारी मिलती है. अगर आपका वीडियो, आने वाले समय में लाइव स्ट्रीम होगा, तो आपके पास दोनों तरह के मार्कअप (Video और Event) जोड़ने का विकल्प है. हालांकि, आपको ऐसा करने की ज़रूरत नहीं है. लाइव स्ट्रीम के लिए Video मार्कअप का इस्तेमाल करने पर, हमारा सुझाव है कि आप BroadcastEvent प्रॉपर्टी जोड़ें और लाइव बैज के दिशा-निर्देशों का पालन करें.

उदाहरण

Video

यहां Video स्ट्रक्चर्ड डेटा वाले वीडियो के पेज का उदाहरण दिया गया है.

JSON-LD

<html>
  <head>
    <title>20 Min Aerobic Workout Reduction</title>
    <script type="application/ld+json">
    {
      "@context": "https://schema.org",
      "@type": "VideoObject",
      "name": "20 Min Aerobic Workout Reduction",
      "description": "Get your exercise in, from home. Watch this quick 20 minute workout video.",
      "thumbnailUrl": [
        "https://example.com/photos/1x1/photo.jpg",
        "https://example.com/photos/4x3/photo.jpg",
        "https://example.com/photos/16x9/photo.jpg"
       ],
      "uploadDate": "2020-03-31T08:00:00+08:00",
      "duration": "PT20M46S",
      "contentUrl": "https://www.googlebotclass.com/video/123/20-min-workout.mp4",
      "embedUrl": "https://www.googlebotclass.com/embed/123",
      "interactionStatistic": {
        "@type": "InteractionCounter",
        "interactionType": { "@type": "WatchAction" },
        "userInteractionCount": 5647018
      },
      "regionsAllowed": "US"
    }
    </script>
  </head>
  <body>
  </body>
</html>
Microdata

<html itemscope itemprop="VideoObject" itemtype="https://schema.org/VideoObject">
<head>
  <title itemprop="name">20 Min Aerobic Workout Reduction</title>
</head>
<body>
  <meta itemprop="uploadDate" content="2020-03-31T08:00:00+08:00" />
  <meta itemprop="duration" content="PT20M46S" />
  <p itemprop="description">Get your exercise in, from home. Watch this quick 20 minute workout video.</p>
  <div itemprop="interactionStatistic" itemtype="https://schema.org/InteractionCounter" itemscope>
    <meta itemprop="userInteractionCount" content="5647018" />
    <meta itemprop="interactionType" itemtype="https://schema.org/WatchAction" />
  </div>
  <link itemprop="embedUrl" href="https://www.googlebotclass.com/embed/123" />
  <meta itemprop="contentUrl" content="https://www.googlebotclass.com/video/123/20-min-workout.mp4" />
  <meta itemprop="regionsAllowed" content="US" />
  <meta itemprop="thumbnailUrl" content="https://example.com/photos/1x1/photo.jpg" />
</body>
</html>

Event

JSON-LD

यहां Event स्ट्रक्चर्ड डेटा वाले ऑनलाइन इवेंट के पेज का उदाहरण दिया गया है.


<html>
  <head>
    <title>Boxing Workout</title>
    <script type="application/ld+json">
    {
      "@context": "https://schema.org",
      "@type": "Event",
      "name": "Boxing Workout",
      "startDate": "2021-07-31T06:00:00-05:00",
      "endDate": "2021-07-31T07:00-05:00",
      "eventStatus": "https://schema.org/EventScheduled",
      "eventAttendanceMode": "https://schema.org/OnlineEventAttendanceMode",
      "location": {
        "@type": "VirtualLocation",
        "url": "https://googlebotcourse.com/boxing-workout"
        },
      "image": [
        "https://example.com/photos/1x1/photo.jpg",
        "https://example.com/photos/4x3/photo.jpg",
        "https://example.com/photos/16x9/photo.jpg"
       ],
      "description": "Boxing is a full body workout that rapidly changes the shape of your body through a dynamic workout. The technique develops lean, strong and flexible muscles.",
      "offers": {
        "@type": "Offer",
        "url": "https://www.googlebotcourse.com/event_offer/12345_201803180430",
        "price": "30",
        "priceCurrency": "USD",
        "availability": "https://schema.org/InStock",
        "validFrom": "2021-05-21T12:00"
      },
      "organizer": {
        "@type": "Organization",
        "name": "Get Fit with Googlebot",
        "url": "https://getfitwithgooglebot.com"
      },
      "performer": {
        "@type": "Person",
        "name": "Virginia Woolf"
      }
    }
    </script>
  </head>
  <body>
  </body>
</html>
माइक्रोडेटा

<html itemscope itemprop="Event" itemtype="https://schema.org/Event">
<head>
  <title itemprop="name">Boxing Workout</title>
</head>
<body>
  <meta itemprop="startDate" content="2021-07-31T06:00:00-05:00" />
  <meta itemprop="endDate" content="2021-07-31T07:00-05:00" />
  <meta itemprop="eventStatus" content="https://schema.org/EventScheduled" />
  <meta itemprop="eventAttendanceMode" content="https://schema.org/OnlineEventAttendanceMode" />
  <p itemprop="description">Boxing is a full body workout that rapidly changes the shape of your body through a dynamic workout. The technique develops lean, strong and flexible muscles.</p>
  <div itemprop="location" itemtype="https://schema.org/VirtualLocation" itemscope>
    <meta itemprop="url" content="https://googlebotcourse.com/boxing-workout" />
  </div>
  <img itemprop="image" src="https://example.com/photos/1x1/photo.jpg" alt="" />
  <div itemprop="offers" itemtype="https://schema.org/Offer" itemscope>
    <meta itemprop="url" content="https://www.googlebotcourse.com/event_offer/12345_201803180430" />
    <meta itemprop="price" content="30" />
    <meta itemprop="priceCurrency" content="USD" />
    <meta itemprop="availability" content="https://schema.org/InStock" />
    <meta itemprop="validFrom" content="2021-05-21T12:00" />
  </div>
  <div itemprop="organizer" itemtype="https://schema.org/Organization" itemscope>
    <meta itemprop="name" content="Get Fit with Googlebot" />
    <meta itemprop="url" content="https://getfitwithgooglebot.com" />
  </div>
  <div itemprop="performer" itemtype="https://schema.org/Person" itemscope>
    <meta itemprop="name" content="Virginia Woolf" />
  </div>
</body>
</html>