我应该如何代表 Schema.org "global"活动/纪念活动/场合?



我管理一个教育网站,其中包括全球事件的日历,但这些不是"事件"。在Schema.org的Event类型考虑它们的意义上——它们没有位置,它们在一个广泛的区域(例如一个国家、一个大陆或全世界)被观察到。它们更像是全球性的纪念日、场合或纪念活动。例如地球日、中国新年、世界读书日、国际妇女节等等。

在我们为这些日历页面引入微数据的最初尝试中,我使用了Event类型,但我意识到这些事件中的许多(或大多数)没有可定义的位置(从Schema.org表示位置的意义上说),并且没有"出席"。在物理或数字意义上,它们是无效的。

在这种情况下,Schema.org词汇表中是否应该使用更合适的类型?尝试在Schema.org微数据中表示它们是否不合适?

也许谷歌在线活动指南可以帮助你,包括一个例子:

<html>
<head>
<title>The Adventures of Kira and Morrison</title>
<script type="application/ld+json">
{
"@context": "https://schema.org",
"@type": "Event",
"name": "The Adventures of Kira and Morrison",
"startDate": "2025-07-21T19:00:00-05:00",
"endDate": "2025-07-21T23:00-05:00",
"eventStatus": "https://schema.org/EventScheduled",
"eventAttendanceMode": "https://schema.org/OnlineEventAttendanceMode",
"location": {
"@type": "VirtualLocation",
"url": "https://operaonline.stream5.com/"
},
"image": [
"https://example.com/photos/1x1/photo.jpg",
"https://example.com/photos/4x3/photo.jpg",
"https://example.com/photos/16x9/photo.jpg"
],
"description": "The Adventures of Kira and Morrison is coming to Snickertown in a can't miss performance.",
"offers": {
"@type": "Offer",
"url": "https://www.example.com/event_offer/12345_201803180430",
"price": "30",
"priceCurrency": "USD",
"availability": "https://schema.org/InStock",
"validFrom": "2024-05-21T12:00"
},
"performer": {
"@type": "PerformingGroup",
"name": "Kira and Morrison"
},
"organizer": {
"@type": "Organization",
"name": "Kira and Morrison Music",
"url": "https://kiraandmorrisonmusic.com"
}
}
</script>
</head>
<body>
</body>
</html>

此外,Schema有VirtualLocation类型的测试版.

最新更新