荷物の配送状況を記述するには、このテンプレートを使用してください。
ユースケース
基本的な小包配送
小包配送の最小限の例:
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>
microdata
<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>
microdata
<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>
マークアップをテスト
Email マークアップ テスターツールを使用して、マークアップを検証できます。マークアップ コードを貼り付け、[検証] ボタンをクリックしてコンテンツをスキャンし、エラーに関するレポートを受け取ります。
仕様
以下の表は、このタイプで使用可能なすべてのプロパティを示しています。
| プロパティ | タイプ | 説明 |
|---|---|---|
| deliveryAddress | PostalAddress | (必須)宛先アドレス。 |
| 配送先住所名前 | テキスト | 郵便住所の名称。 |
| 配送先住所番地住所 | テキスト | (必須)番地。例えば、1600 Amphitheatre Pkwy。 |
| deliveryAddress.addressLocality | テキスト | (必須) 地域。(例: Mountain View)。 |
| 配送先住所住所地域 | テキスト | (必須) 領域。例えば、CA。 |
| 配送先住所住所国 | テキストまたは国 | (必須) 国。例えば、アメリカ合衆国。ISO 3166-1 alpha-2 の 2 文字の国コードを指定することもできます。 |
| 配送先住所郵便番号 | テキスト | (必須) 郵便番号。例: 94043 |
| 元のアドレス | PostalAddress | 発送者の住所。 |
| originAddress.name | テキスト | 郵便住所の名称。 |
| originAddress.streetAddress | テキスト | 番地。例えば、1600 Amphitheatre Pkwy。 |
| originAddress.addressLocality | テキスト | 地名。(例: Mountain View)。 |
| originAddress.addressRegion | テキスト | 地域。例えば、CA。 |
| originAddress.addressCountry | テキストまたは国 | その国。例えば、アメリカ合衆国。ISO 3166-1 alpha-2 の 2 文字の国コードを指定することもできます。 |
| 出発地住所郵便番号 | テキスト | 郵便番号。例: 94043 |
| expectedArrivalFrom | DateTime | 荷物が到着する予定の最短日。 |
| expectedArrivalUntil | DateTime | (必須) パッケージが到着予定の最終日付。 |
| 携帯通信会社 | 組織 | (必須) 荷物の配達を担当する当事者。文字列(例:「FedEx」)も受け付けます。 |
| キャリア。名前 | テキスト | (必須)組織名。 |
| キャリア。url | URL | 組織の URL。 |
| itemShipped | 商品または予約 | (必須) この出荷に含まれる製品。数量を表すには、適切な方法で製品を繰り返して表示するか、この属性を使用せず、代わりに partOfOrder を使用して含まれる製品を指定してください。オブジェクトの配列も受け入れます。 |
| アイテム発送済み。名前 | テキスト | (必須) 製品名。 |
| アイテムが発送されました。url | URL | (確認カード/検索回答に推奨) 商品の URL。通常は販売者のウェブサイト上の商品ランディングページです。 |
| アイテム発送済み。画像 | URL | (確認カード/検索回答に推奨) 商品の画像の URL。通常は販売者のウェブサイト上の画像です。 |
| アイテムが発送されました。sku | テキスト | (確認カード/検索回答に推奨) 在庫管理単位 (SKU)、つまり製品またはサービス、またはオファーが参照する製品の販売者固有の識別子。 |
| 商品発送済み。説明 | テキスト | 製品の簡単な説明。 |
| 商品発送済み。ブランド | ブランド | 当該製品に関連付けられたブランド。 |
| itemShipped.brand.name | テキスト | ブランド名。 |
| アイテム発送済み。色 | テキスト | 商品の色。 |
| trackingNumber | テキスト | (確認カード/検索回答に推奨) 発送者追跡番号。 |
| trackingUrl | URL | (確認カード/検索回答に推奨) 荷物の追跡ができるウェブページ。 |
| hasDeliveryMethod | DeliveryMethod | 配送に使用された方法。 |
| deliveryStatus | DeliveryEvent | 荷物が輸送過程の各段階(出荷から最終配達まで)を通過するたびに、新しい情報が追加されます。特に、店頭受け取りやロッカーからの受け取りといった、ピックアップ形式の配送に便利です。 |
| partOfOrder | 注文 | (必須) 発送される注文の詳細。出荷に含まれる製品の詳細を itemShipped で表現できない場合(例:出荷数量)、代わりにこの注文を使用して製品を表現してください。 |
| partOfOrder.orderNumber | テキスト | (必須) 取引の加盟店固有の識別子。 |
| partOfOrder.merchant | Organization または Person | (必須) 注文を受ける当事者(例:Amazon.com は多くの販売者のための販売業者です)。文字列(例:「ボブ・ドール」)も受け付けます。 |
| partOfOrder.merchant.name | テキスト | (必須)組織名。 |
| partOfOrder.merchant.sameAs | URL | 販売業者向けの Freebase URL。 |
| partOfOrder.orderStatus | OrderStatus | (確認カード/検索回答に推奨) 注文の現在のステータス。 |