请使用此模板来描述包裹递送状态。
使用场景
基本包裹递送
包裹配送基本示例
JSON-LD
<script type="application/ld+json">
{
  "@context": "http://schema.org",
  "@type": "ParcelDelivery",
  "deliveryAddress": {
    "@type": "PostalAddress",
    "name": "Pickup Corner",
    "streetAddress": "24 Willie Mays Plaza",
    "addressLocality": "San Francisco",
    "addressRegion": "CA",
    "addressCountry": "US",
    "postalCode": "94107"
  },
  "expectedArrivalUntil": "2027-03-12T12:00:00-08:00",
  "carrier": {
    "@type": "Organization",
    "name": "FedEx"
  },
  "itemShipped": {
    "@type": "Product",
    "name": "Google Chromecast"
  },
  "partOfOrder": {
    "@type": "Order",
    "orderNumber": "176057",
    "merchant": {
      "@type": "Organization",
      "name": "Bob Dole"
    }
  }
}
</script>
微数据
<div itemscope itemtype="http://schema.org/ParcelDelivery">
  <div itemprop="deliveryAddress" itemscope itemtype="http://schema.org/PostalAddress">
    <meta itemprop="name" content="Pickup Corner"/>
    <meta itemprop="streetAddress" content="24 Willie Mays Plaza"/>
    <meta itemprop="addressLocality" content="San Francisco"/>
    <meta itemprop="addressRegion" content="CA"/>
    <meta itemprop="addressCountry" content="US"/>
    <meta itemprop="postalCode" content="94107"/>
  </div>
  <meta itemprop="expectedArrivalUntil" content="2027-03-12T12:00:00-08:00"/>
  <div itemprop="carrier" itemscope itemtype="http://schema.org/Organization">
    <meta itemprop="name" content="FedEx"/>
  </div>
  <div itemprop="itemShipped" itemscope itemtype="http://schema.org/Product">
    <meta itemprop="name" content="Google Chromecast"/>
  </div>
  <div itemprop="partOfOrder" itemscope itemtype="http://schema.org/Order">
    <meta itemprop="orderNumber" content="176057"/>
    <div itemprop="merchant" itemscope itemtype="http://schema.org/Organization">
      <meta itemprop="name" content="Bob Dole"/>
    </div>
  </div>
</div>
包裹递送(含送货信息)
详细配送信息的包裹递送示例
JSON-LD
<script type="application/ld+json">
{
  "@context": "http://schema.org",
  "@type": "ParcelDelivery",
  "deliveryAddress": {
    "@type": "PostalAddress",
    "name": "John Frank",
    "streetAddress": "24 Willie Mays Plaza",
    "addressLocality": "San Francisco",
    "addressRegion": "CA",
    "addressCountry": "US",
    "postalCode": "94107"
  },
  "originAddress": {
    "@type": "PostalAddress",
    "name": "John Frank",
    "streetAddress": "25 Willie Mays Plaza",
    "addressLocality": "San Francisco",
    "addressRegion": "CA",
    "addressCountry": "US",
    "postalCode": "94107"
  },
  "expectedArrivalFrom": "2027-03-10T12:00:00-08:00",
  "expectedArrivalUntil": "2027-03-12T12:00:00-08:00",
  "carrier": {
    "@type": "Organization",
    "name": "FedEx",
    "url": "http://fedex.com/"
  },
  "itemShipped": {
    "@type": "Product",
    "name": "iPod Mini",
    "url": "http://apple.com/ipad32gb",
    "image": "http://apple.com/images/ipad32gb.jpg",
    "sku": "B00DR0PDNE",
    "description": "iPod Mini 32Gb White",
    "brand": {
      "@type": "Brand",
      "name": "Apple"
    },
    "color": "white"
  },
  "trackingNumber": "3453291231",
  "trackingUrl": "http://fedex.com/track/3453291231",
  "potentialAction": {
    "@type": "TrackAction",
    "url": "http://fedex.com/track/3453291231"
  },
  "hasDeliveryMethod": {
    "@type": "ParcelService",
    "name": "http://schema.org/ParcelService"
  },
  "partOfOrder": {
    "@type": "Order",
    "orderNumber": "176057",
    "merchant": {
      "@type": "Organization",
      "name": "Bob Dole",
      "sameAs": "http://www.freebase.com/m/0fhkx"
    },
    "orderStatus": "http://schema.org/OrderInTransit"
  }
}
</script>
微数据
<div itemscope itemtype="http://schema.org/ParcelDelivery">
  <div itemprop="deliveryAddress" itemscope itemtype="http://schema.org/PostalAddress">
    <meta itemprop="name" content="John Frank"/>
    <meta itemprop="streetAddress" content="24 Willie Mays Plaza"/>
    <meta itemprop="addressLocality" content="San Francisco"/>
    <meta itemprop="addressRegion" content="CA"/>
    <meta itemprop="addressCountry" content="US"/>
    <meta itemprop="postalCode" content="94107"/>
  </div>
  <div itemprop="originAddress" itemscope itemtype="http://schema.org/PostalAddress">
    <meta itemprop="name" content="John Frank"/>
    <meta itemprop="streetAddress" content="25 Willie Mays Plaza"/>
    <meta itemprop="addressLocality" content="San Francisco"/>
    <meta itemprop="addressRegion" content="CA"/>
    <meta itemprop="addressCountry" content="US"/>
    <meta itemprop="postalCode" content="94107"/>
  </div>
  <meta itemprop="expectedArrivalFrom" content="2027-03-10T12:00:00-08:00"/>
  <meta itemprop="expectedArrivalUntil" content="2027-03-12T12:00:00-08:00"/>
  <div itemprop="carrier" itemscope itemtype="http://schema.org/Organization">
    <meta itemprop="name" content="FedEx"/>
    <link itemprop="url" href="http://fedex.com/"/>
  </div>
  <div itemprop="itemShipped" itemscope itemtype="http://schema.org/Product">
    <meta itemprop="name" content="iPod Mini"/>
    <link itemprop="url" href="http://apple.com/ipad32gb"/>
    <link itemprop="image" href="http://apple.com/images/ipad32gb.jpg"/>
    <meta itemprop="sku" content="B00DR0PDNE"/>
    <meta itemprop="description" content="iPod Mini 32Gb White"/>
    <div itemprop="brand" itemscope itemtype="http://schema.org/Brand">
      <meta itemprop="name" content="Apple"/>
    </div>
    <meta itemprop="color" content="white"/>
  </div>
  <meta itemprop="trackingNumber" content="3453291231"/>
  <link itemprop="trackingUrl" href="http://fedex.com/track/3453291231"/>
  <div itemprop="potentialAction" itemscope itemtype="http://schema.org/TrackAction">
    <link itemprop="url" href="http://fedex.com/track/3453291231"/>
  </div>
  <div itemprop="hasDeliveryMethod" itemscope itemtype="http://schema.org/ParcelService">
    <meta itemprop="name" content="http://schema.org/ParcelService"/>
  </div>
  <div itemprop="partOfOrder" itemscope itemtype="http://schema.org/Order">
    <meta itemprop="orderNumber" content="176057"/>
    <div itemprop="merchant" itemscope itemtype="http://schema.org/Organization">
      <meta itemprop="name" content="Bob Dole"/>
      <link itemprop="sameAs" href="http://www.freebase.com/m/0fhkx"/>
    </div>
    <link itemprop="orderStatus" href="http://schema.org/OrderInTransit"/>
  </div>
</div>
测试您的标记
您可以使用电子邮件标记测试工具验证您的标记。粘贴您的标记代码,然后点击验证按钮以扫描内容,然后在出现任何错误时接收报告。
规范
下表列出了此类型的所有可用属性:
| 属性 | 类型 | 说明 | 
|---|---|---|
| deliveryAddress | PostalAddress | (必填)目标地址。 | 
| deliveryAddress.name | 文本 | PostalAddress 的名称。 | 
| deliveryAddress.streetAddress | 文本 | (必填)街道地址。例如,1600 Amphitheatre Pkwy。 | 
| deliveryAddress.addressLocality | 文本 | (必需)市行政区。例如,Mountain View。 | 
| deliveryAddress.addressRegion | 文本 | (必填)区域。例如 CA。 | 
| deliveryAddress.addressCountry | 文字或国家/地区 | (必填)国家/地区。例如,USA。您也可以提供两个字母的 ISO 3166-1 alpha-2 国家/地区代码。 | 
| deliveryAddress.postalCode | 文本 | (必填)邮政编码。例如 94043。 | 
| originAddress | PostalAddress | 发货人地址。 | 
| originAddress.name | 文本 | PostalAddress 的名称。 | 
| originAddress.streetAddress | 文本 | 街道地址。例如,1600 Amphitheatre Pkwy。 | 
| originAddress.addressLocality | 文本 | 地点。例如,Mountain View。 | 
| originAddress.addressRegion | 文本 | 地区。例如 CA。 | 
| originAddress.addressCountry | 文字或国家/地区 | 国家/地区。例如,USA。您也可以提供两个字母的 ISO 3166-1 alpha-2 国家/地区代码。 | 
| originAddress.postalCode | 文本 | 邮政编码。例如 94043。 | 
| expectedArrivalFrom | DateTime | 包裹预计最早送达日期。 | 
| expectedArrivalUntil | DateTime | (必需)包裹预计送达的最晚日期。 | 
| 运营商 | 组织 | (必需)负责包裹递送的一方。也接受字符串(例如“FedEx”)。 | 
| carrier.name | 文本 | (必填)组织的名称。 | 
| carrier.url | 网址 | 组织的网址。 | 
| itemShipped | 产品或预订 | (必需)此运单中包含的商品。如需表示数量,请适当重复使用商品,或者不使用此属性,而使用 sectionOfOrder 表示要包含的商品。该方法也接受 对象的数组。 | 
| itemShipped.name | 文本 | (必填)商品名称。 | 
| itemShipped.url | 网址 | (推荐用于确认卡片/搜索答案)商品的网址,通常是商家网站上的商品着陆页。 | 
| itemShipped.image | 网址 | (建议用于确认卡片/搜索答案)商品图片的网址,通常是商家网站上的图片。 | 
| itemShipped.sku | 文本 | (建议用于确认卡片/搜索答案)库存单元 (SKU),即产品或服务对应商品或服务的商家专属标识码。 | 
| itemShipped.description | 文本 | 产品的简短说明。 | 
| itemShipped.brand | 品牌 | 与产品相关联的品牌。 | 
| itemShipped.brand.name | 文本 | 品牌名称。 | 
| itemShipped.color | 文本 | 商品的颜色。 | 
| trackingNumber | 文本 | (推荐用于确认卡片/搜索答案)发货人跟踪编号。 | 
| trackingUrl | 网址 | (推荐用于确认卡片/搜索答案)可跟踪包裹的网页。 | 
| hasDeliveryMethod | DeliveryMethod | 投放方式。 | 
| deliveryStatus | DeliveryEvent | 在包裹经过其旅程的每个环节(从发货到最终送达)时添加新条目。特别适用于自提型配送(例如门店送货或从储物柜配送)。 | 
| partOfOrder | 排序 | (必需)正在发货的订单的详细信息。如果运单中所含商品的详情无法通过 itemShipped 表示(例如已发货数量),请改用此订单来表示商品。 | 
| partOfOrder.orderNumber | 文本 | (必需)交易对应的商家专用标识符。 | 
| partOfOrder.merchant | Organization 或 Person | (必需)下单方(例如 Amazon.com 是多个卖家的商家)。它还接受字符串(例如“Bob Dole”)。 | 
| partOfOrder.merchant.name | 文本 | (必填)组织的名称。 | 
| partOfOrder.merchant.sameAs | 网址 | 商家的 Freebase 网址。 | 
| partOfOrder.orderStatus | OrderStatus | (推荐用于确认卡片/搜索答案)订单的当前状态。 |