在哪里使用 Schema.org 表示 Duration 的值?

Where to denote the value of a Duration using Schema.org?

我必须在这里遗漏一些非常简单的东西但是:在标记实际 Schema.org Duration 时,我在哪里表示实际持续时间值?

Duration 有几个属性(全部继承自 Thing),例如:nameadditionalType 等,但我有点期待是一个叫做 value 的 属性 之类的。

从上面link它说持续时间是一个数量并且应该是ISO 8601格式,但是我到底应该把它放在哪里呢?

您应该将它们直接作为 Duration 属性 的值。例如在 http://schema.org/Invoice:

 property:billingPeriod
 expected type: Duration 

从 2014 年 12 月 21 日开始,以 ISO_8601 格式设置持续时间为 30 天的 billingPeriod,将是 2014-12-21/P30D,在代码中:

   <meta itemprop="billingPeriod" content="2014-12-21/P30D" />starts:2014-12-21 30 days

*示例来自 Invoice schema

<time itemprop="duration" datetime="PT12H">12 hours</time>

相当于

<meta itemprop="duration" content="PT12H">

持续时间写入ISO 8601