在给出的示例中,startDate不会验证!我已经尝试了几天向前冲,但它仍然没有用!
<html>
<head>
<script type="application/ld+json">
{
"@context": "schema.org",
"@type": "EventReservation",
"reservationNumber": "IO12345",
"underName": "John Smith",
"reservationFor": {
"@type": "Event",
"name": "Google I/O 2013",
"startDate": "2013-05-15T08:30-08:00",
"location": "Moscone Center, 800 Howard St., San Francisco, CA 94103"
}
}
</script>
</head>
<body>
<p>
Dear John, thanks for booking your Google I/O ticket with us.
</p>
<p>
BOOKING DETAILS<br/>
Order for: John Smith<br/>
Event: Google I/O 2013<br/>
Start time: May 15th 2013 8:00am PST<br/>
Venue: Moscone Center, 800 Howard St., San Francisco, CA 94103<br/>
Reservation number: IO12345<br/>
</p>
</body>
</html>
答案 0 :(得分:3)
很抱歉,这是架构验证工具中的一个错误,我们会尽快修复它。
我还检查了您的标记,您应该将秒添加到startDate
字段,如“2013-05-15T08:30:00-08:00”。
应使用ISO 8601格式在标记中定义日期时间: