exceptDate|schema.orgのプロパティ・使える型と値の書き方
exceptDate とは?
この記事と同じものを、あなたの会社のサイトに毎日2本。ことば選びから公開まで代行します。1日667円(税抜)から。
ほったらかし集客の料金はこちら →exceptDate は、schema.org で決められているプロパティのひとつです。Schedule などの型の中に書きます。入る値は Date、DateTime です。
schema.org の定義(原文)
Defines a Date or DateTime during which a scheduled Event will not take place. The property allows exceptions to a Schedule to be specified. If an exception is specified as a DateTime then only the event that would have started at that specific date and time should be excluded from the schedule. If an exception is specified as a Date then any event that is scheduled for that 24 hour period should be excluded from the schedule. This allows a whole day to be excluded from the schedule without having to itemise every scheduled event.
出典: https://schema.org/exceptDate(英語。訳すと意味が変わることがあるため、原文のまま載せています)
入る値の型(2個)
このうちのどれかを書きます。複数の型が並んでいるときは、書きやすいものを1つ選べばかまいません。
DateDateTime
このプロパティが使える型(1個)
下の型の中でだけ、このプロパティが定義されています(その型を親に持つ型でも使えます)。
同じ型の中で使える、ほかのプロパティ
byDaybyMonthbyMonthDaybyMonthWeekdurationendDateendTimerepeatCountrepeatFrequencyscheduleTimezonestartDatestartTime
書き方の例
{
"@context": "https://schema.org",
"@type": "Schedule",
"exceptDate": "(ここに値)"
}値の中身は、そのページに実際に表示されている内容にしてください。表示されていないことを構造化データに書くのは、Googleのポリシー違反です。
ほかの語を調べる
出典
このページの内容は、schema.org が配布している語彙ファイルから機械的に取り出したものです。人の手で足した説明はありません。仕様は変わります。実装の前に原文をご確認ください。
検索とAIに見つけてもらう記事づくりを、ほったらかし集客が毎日2本、代わりに公開します。1日667円(税抜)から。