什么是用于描述每周瑜伽课程的最佳schema.org类型?

时间:2018-05-21 10:22:51

标签: schema.org json-ld

页面https://www.hello-yoga.co.uk描述了两个每周运行的瑜伽课程。

Event potentialAction类型ExerciseAction是表示类的最佳方式吗?

请注意,这些是在不同地点(例如教堂)进行的课程,因此HealthClub似乎不合适。

<script type="application/ld+json">
    {
      "@context": "http://schema.org",
      "@type": "Event",
      "name": "hello YOGA",
      "startDate": "2018-06-13T19:45",
      "endDate": "2018-06-13T20:45",
      "description":
        "Yoga class at Friends Meeting House (Harrogate) every Thursday.",
      "image": "https://www.hello-yoga.co.uk/yoga-people.svg",
      "location": {
        "@type": "Place",
        "name": "Friends Meeting House",
        "address": {
          "@type": "PostalAddress",
          "streetAddress": "12A Queens Parade",
          "addressLocality": "Harrogate",
          "addressRegion": "North Yorkshire",
          "postalCode": "HG1 5PP",
          "addressCountry": "GB"
        }
      },
      "offers": {
        "@type": "Offer",
        "availability": "http://schema.org/LimitedAvailability",
        "price": "7.00",
        "priceCurrency": "GBP",
        "validFrom": "2018-05-01T12:00",
        "url": "https://www.hello-yoga.co.uk"
      },
      "potentialAction": {
        "@type": "ExerciseAction",
        "name": "hello YOGA",
        "description": "Small, friendly yoga class. Suitable for all abilities.",
        "exerciseType": "Yoga",
        "startTime": "2018-06-13T19:45",
        "endTime": "2018-06-13T20:45",
        "location": {
          "name": "Friends Meeting House",
          "@type": "PostalAddress",
          "streetAddress": "12A Queens Parade",
          "addressLocality": "Harrogate",
          "addressRegion": "North Yorkshire",
          "postalCode": "HG1 5PP",
          "addressCountry": "GB"
        }
      },
      "performer": {
        "@type": "LocalBusiness",
        "description":
          "Small, friendly yoga classes. Suitable for all abilities. Strengthen body, increase flexibility and calm the mind.",
        "name": "hello YOGA",
        "email": "clare@hello-yoga.co.uk",
        "url": "https://www.hello-yoga.co.uk",
        "priceRange": "£7",
        "image": "https://www.hello-yoga.co.uk/yoga-people.svg",
        "address": {
          "@type": "PostalAddress",
          "addressLocality": "Harrogate",
          "addressRegion": "North Yorkshire",
          "addressCountry": "GB"
        }
      }
    }
</script>
<script type="application/ld+json">
    {
      "@context": "http://schema.org",
      "@type": "Event",
      "name": "hello YOGA",
      "startDate": "2018-06-07T19:00",
      "endDate": "2018-06-07T20:00",
      "description":
        "Yoga class at Beckwith Health Club (Harrogate) every Wednesday.",
      "image": "https://www.hello-yoga.co.uk/yoga-people.svg",
      "location": {
        "@type": "Place",
        "name": "Beckwith Health Club",
        "address": {
          "@type": "PostalAddress",
          "streetAddress": "Beckwith Health Club",
          "addressLocality": "Harrogate",
          "addressRegion": "North Yorkshire",
          "postalCode": "HG3 1UF",
          "addressCountry": "GB"
        }
      },
      "offers": {
        "@type": "Offer",
        "availability": "http://schema.org/LimitedAvailability",
        "price": "7.00",
        "priceCurrency": "GBP",
        "validFrom": "2018-05-01T12:00",
        "url": "https://www.hello-yoga.co.uk"
      },
      "potentialAction": {
        "@type": "ExerciseAction",
        "name": "hello YOGA",
        "description": "Small, friendly yoga class. Suitable for all abilities.",
        "exerciseType": "Yoga",
        "startTime": "2018-06-07T19:00",
        "endTime": "2018-06-07T20:00",
        "location": {
          "name": "Beckwith Health Club",
          "@type": "PostalAddress",
          "streetAddress": "Beckwith Health Club",
          "addressLocality": "Harrogate",
          "addressRegion": "North Yorkshire",
          "postalCode": "HG3 1UF",
          "addressCountry": "GB"
        }
      },
      "performer": {
        "@type": "LocalBusiness",
        "description":
          "Small, friendly yoga classes. Suitable for all abilities. Strengthen body, increase flexibility and calm the mind.",
        "name": "hello YOGA",
        "email": "clare@hello-yoga.co.uk",
        "url": "https://www.hello-yoga.co.uk",
        "priceRange": "£7",
        "image": "https://www.hello-yoga.co.uk/yoga-people.svg",
        "address": {
          "@type": "PostalAddress",
          "addressLocality": "Harrogate",
          "addressRegion": "North Yorkshire",
          "addressCountry": "GB"
        }
      }
    }
</script>

0 个答案:

没有答案