究竟什么适用于EventReservation类型

时间:2014-04-26 17:34:00

标签: google-schemas

我创建了一个非常复杂的EventRegistration类型模式。 它包含两张票,有图像,联系方式等。 但我只能获得一张Now卡,其中只包含活动标题,日期,地点和打开邮件的操作按钮。

我想知道,如果所有其他数据都有一些错误,或者目前所有这些都是支持的。我本来希望看到Logos,联系方式,取消链接,当然还有门票本身(= QR码+下载链接)。这将是Apple的Passbook的一个很好的替代品。

此功能的计划是什么?这仍然有待发展,是否已经有一个关于什么时候期待这个的粗略路线图?

另外我想知道的是,“电子邮件标记测试程序”抱怨ticketToken属性对于该类型无效,即使文档明确指出它是EventReservation类型的一部分。

仅供参考,这是我使用的匿名模式:

<script type="application/ld+json">
{
  "@context":              "http://schema.org",
  "@type":                 "EventReservation",
  "reservationNumber":     "TFXLLUS00008",
  "reservationStatus":     "http://schema.org/Confirmed",
  "underName": {
    "@type":               "Person",
    "name":                "Name 1",
    "email":               "...@gmail.com"
  },
  "bookingAgent": {
    "@type":               "Organization",
    "name":                "My company",
    "description":         "My company - online ticketing",
    "image":               "http://www.MyCompany.com/link/to/logo_1500x1500px.jpg",
    "url":                 "http://www.MyCompany.com",
    "url/googlePlus":      "https://plus.google.com/+MyCompany/",
    "ContactPoint": {
      "@type":             "ContactPoint",
      "email":             "support@MyCompany.com",
      "telephone":         "123456789"
    }
  },
  "reservationFor": {
    "@type":               "Event",
    "name":                "Test-Event",
    "startDate":           "2014-04-26T20:00:00+00:00",
    "endDate":             "2014-04-30T18:00:00+00:00",
    "description":         "This is a test event for demo purposes.", 
    "image":               "http://www.MyCompany.com/link/to/event/logo.png", 
    "url":                 "http://www.MyCompany.com/link/to/event.html",  
    "location": {
      "@type":             "Place",
      "name":              "Congress hall",
      "address": {
        "@type":           "PostalAddress",
        "streetAddress":   "Street. 1",
        "addressLocality": "City",
        "addressRegion":   "",
        "postalCode":      "12345",
        "addressCountry":  "DE"
      }
    }
  },
  "ticketToken":           "qrCode:4641484423168988",
  "ticketNumber":          "1690-8587-4723",
  "numSeats":              "1",
  "ticketDownloadUrl":     "https://www.MyCompany.com/linkToTicket.pdf",
  "ticketPrintUrl":        "https://www.MyCompany.com/linkToTicket.pdf",
  "price":                 "100",
  "priceCurrency":         "EUR",
  "bookingTime":           "2014-04-26T13:57:50+00:00",
  "modifiedTime":          "2014-04-26T13:57:50+00:00"
},
{
  "@context":              "http://schema.org",
  "@type":                 "EventReservation",
  "reservationNumber":     "TFXLLUS00008",
  "reservationStatus":     "http://schema.org/Confirmed",
  "underName": {
    "@type":               "Person",
    "name":                "Name 2",
    "email":               "...@gmail.com"
  },
  "bookingAgent": {
    "@type":               "Organization",
    "name":                "My company",
    "description":         "My company - online ticketing",
    "image":               "http://www.MyCompany.com/link/to/logo_1500x1500px.jpg",
    "url":                 "http://www.MyCompany.com",
    "url/googlePlus":      "https://plus.google.com/+MyCompany/",
    "ContactPoint": {
      "@type":             "ContactPoint",
      "email":             "support@MyCompany.com",
      "telephone":         "123456789"
    }
  },
  "reservationFor": {
    "@type":               "Event",
    "name":                "Test-Event",
    "startDate":           "2014-04-26T20:00:00+00:00",
    "endDate":             "2014-04-30T18:00:00+00:00",
    "description":         "This is a test event for demo purposes.", 
    "image":               "http://www.MyCompany.com/link/to/event/logo.png", 
    "url":                 "http://www.MyCompany.com/link/to/event.html",  
    "location": {
      "@type":             "Place",
      "name":              "Congress hall",
      "address": {
        "@type":           "PostalAddress",
        "streetAddress":   "Street. 1",
        "addressLocality": "City",
        "addressRegion":   "",
        "postalCode":      "12345",
        "addressCountry":  "DE"
      }
    }
  },
  "ticketToken":           "qrCode:4020229019819219",
  "ticketNumber":          "5218-3082-0382",
  "numSeats":              "1",
  "ticketDownloadUrl":     "https://www.MyCompany.com/linkToTicket.pdf",
  "ticketPrintUrl":        "https://www.MyCompany.com/linkToTicket.pdf",
  "price":                 "100",
  "priceCurrency":         "EUR",
  "bookingTime":           "2014-04-26T13:57:50+00:00",
  "modifiedTime":          "2014-04-26T13:57:50+00:00"
}
</script>

0 个答案:

没有答案