Gmail markup for multiple events

I am developing event markup using json-ld to be included in confirmation emails.

Some of my events repeat themselves at regular intervals. However, recurring events are not supported by the latest Schema.org specs, so I followed the guidelines suggested here: http://lists.w3.org/Archives/Public/public-vocabs/2011Dec/0062.html and decided to implement a json list of individual events.

json-ld passes tests in the Email Markup test provided by google ( https://www.google.com/webmasters/markup-tester/u/0/ ).

However, when I test the Google Calendar integration by emailing myself, only 1 of 6 events appears on my calendar (oddly enough, this is neither the first nor the last event on the list).

Does gmail markup support multiple events in the same email? If this is the best way to do it?

Example markup:

<script type="application/ld+json">
[
  {
    "reservationNumber": "7e15afb6b2485005e55481be58de4141b70f85006bd25823", 
    "reservationFor": {
      "startDate": "2015-05-09T16:00:00-07:00", 
      "endDate": "2015-05-09T22:30:00-07:00", 
      "description": "regularly schedule XXXX", 
      "location": {
        "address": {
          "addressCountry": "US", 
          "addressLocality": "XXX", 
          "addressRegion": "XXX", 
          "streetAddress": "XXX", 
          "postalCode": "XXX", 
          "@type": "PostalAddress"
        }, 
        "@type": "Place", 
        "name": "XXX"
      }, 
      "@type": "Event", 
      "name": "XXX Every 2 Weeks"
    }, 
    "modifyReservationUrl": "https://example.com/XXX", 
    "reservationStatus": "http://schema.org/Confirmed", 
    "underName": {
      "@type": "Person", 
      "name": "XXX"
    }, 
    "@context": "http://schema.org", 
    "@type": "EventReservation"
  }, 

  ...

  {
    "reservationNumber": "40553edbce52f0052e153919a4dad49ec32516c15433bf4a", 
    "reservationFor": {
      "startDate": "2015-05-23T16:00:00-07:00", 
      "endDate": "2015-05-23T22:30:00-07:00", 
      "description": "regularly schedule XXX", 
      "location": {
        "address": {
          "addressCountry": "US", 
          "addressLocality": "XXX", 
          "addressRegion": "XXX", 
          "streetAddress": "XXX", 
          "postalCode": "XXX", 
          "@type": "PostalAddress"
        }, 
        "@type": "Place", 
        "name": "XXX"
      }, 
      "@type": "Event", 
      "name": "XXX Every 2 Weeks"
    }, 
    "modifyReservationUrl": "https://example.com/XXX", 
    "reservationStatus": "http://schema.org/Confirmed", 
    "underName": {
      "@type": "Person", 
      "name": "XXX"
    }, 
    "@context": "http://schema.org", 
    "@type": "EventReservation"
  }, 
]
</script>

      

+3


source to share


2 answers


You can try adding this markup to your html file using the Quick Apps script tutorial mentioned in the documentation here .



0


source


Does help make reference: https://schema.org/ItemList



Haven't tested this, but it might be a helpful approach.

0


source







All Articles