我可以使用以下标记成功将事件添加到HTML确认电子邮件中:
{
"@context": "http://schema.org",
"@type": "EventReservation",
"reservationNumber": "9973180",
"reservationStatus": "http://schema.org/Confirmed",
"underName": {
"@type": "Person",
"name": "John Smith"
},
"reservationFor": {
"@type": "Event",
"name": "Test Event"
},
"startDate": "2018-04-19T11:30:00+03:00",
"endDate": "2018-04-19T12:30:00+03:00",
"location": {
"@type": "Place",
"name": "",
"address": {
"@type": "PostalAddress",
"streetAddress": "347 West 55th St",
"addressLocality": "New York",
"addressRegion": "NY",
"postalCode": "10019",
"addressCountry": "US"
}
}
}
但是,我无法:
使用不同的startDate
和modifiedTime
通过reservationStatus
= http://schema.org/Cancelled
和modifiedTime