/ /マイクロデータと1日に複数のオープン-microdata、schema.org

1日のマイクロデータと複数のオープン - microdata、schema.org

場所が終日営業していないと仮定します。したがって、1日で2つのオープニングがあります。 Microdataの定義方法 schema.org/OpeningHoursSpecification? 私は2つの別々のインスタンスを作成する必要があると思います schema.org/OpeningHoursSpecification 次のように:

Opening hours:
<div itemprop="openingHoursSpecification" itemscope
itemtype="http://schema.org/OpeningHoursSpecification">Mo,
<link itemprop="dayOfWeek"
href="http://purl.org/goodrelations/v1#Monday" />
<meta itemprop="opens" content="08:00:00">8:00 a.m. -
<meta itemprop="closes" content="12:00:00">12:00 a.m.
</div>
<div itemprop="openingHoursSpecification" itemscope
itemtype="http://schema.org/OpeningHoursSpecification">Mo,
<link itemprop="dayOfWeek"
href="http://purl.org/goodrelations/v1#Monday" />
<meta itemprop="opens" content="16:00:00">4:00 a.m. -
<meta itemprop="closes" content="20:00:00">8:00 p.m.
</div>

私は正しい?

回答:

回答№1は2

はい、あなたはまさに正しいです!

パターンを理解したい場合は、次のURLにあるGoodRelations Annotatorツール(古くなったようなもの)で遊ぶこともできます。

http://www.ebusiness-unibw.org/tools/goodrelations-annotator/en/

フォームベースの入力用にそれぞれのRDFaマークアップを生成します。

schema.orgでは、要素の名前付けは、以下に記載されているように、元の名前空間の名前付けとわずかに異なる場合があることに注意してください。

http://wiki.goodrelations-vocabulary.org/Cookbook/Schema.org#Naming_Differences

ご多幸を祈る

マーティン・ヘップ