このテンプレートを使用して、荷物の配送ステータスを指定します。
ユースケース
小荷物配達サービス
小荷物配達の最短の例
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>
マークアップをテスト
マークアップの検証には、メール マークアップ テスター ツールを使用できます。マークアップ コードを貼り付けて [検証] ボタンをクリックすると、コンテンツがスキャンされ、エラーが見つかった場合はレポートが届きます。
仕様
次の表に、このタイプの利用可能なプロパティをすべて示します。
プロパティ | タイプ | 説明 |
---|---|---|
deliveryAddress | PostalAddress | (必須)送信先アドレス。 |
deliveryAddress.name | Text | 住所の名前。 |
deliveryAddress.streetAddress | Text | (必須)番地。例: 「1600 Amphitheatre Pkwy」 |
deliveryAddress.addressLocality | Text | (必須)地域区分。(例: Mountain View)。 |
deliveryAddress.addressRegion | Text | (必須)リージョン。例: CA |
deliveryAddress.addressCountry | テキストまたは国 | (必須)国。例: USA2 文字の ISO 3166-1 alpha-2 国コードを指定することもできます。 |
deliveryAddress.postalCode | Text | (必須)郵便番号。例: 94043 |
元のアドレス | PostalAddress | 配送業者の住所。 |
originAddress.name | Text | 住所の名前。 |
originAddress.streetAddress | Text | 番地。例: 「1600 Amphitheatre Pkwy」 |
originAddress.addressLocality | Text | 地名。(例: Mountain View)。 |
originAddress.addressRegion | Text | 地域。例: CA |
originAddress.addressCountry | テキストまたは国 | 国。例: USA2 文字の ISO 3166-1 alpha-2 国コードを指定することもできます。 |
originAddress.postalCode | Text | 郵便番号。例: 94043 |
expectedArrivalFrom | DateTime | 荷物の到着予定日です。 |
予定到着時刻 | DateTime | (必須)荷物の到着予定日です。 |
携帯通信会社 | 組織 | (必須)荷物の配達を担当する当事者。文字列(「FedEx」など)も受け入れます。 |
携帯通信会社名 | Text | (必須)組織の名前。 |
carrer.url | URL | 組織の URL。 |
発送済み | プロダクトまたは予約 | (必須)この配送に含まれる商品。数量を表します。商品を適切に繰り返すか、この属性ではなく、partOfOrder を使用して含まれている商品を表します。オブジェクトの配列も受け入れます。 |
itemShipped.name | Text | (必須)プロダクトの名前。 |
itemShipped.url | URL | (確認カード/検索の回答に推奨)商品の URL。通常は、販売者のウェブサイト上の商品のランディング ページ。 |
itemShipped.image | URL | (確認カード / 検索の回答に推奨)商品の画像の URL(通常は販売者のウェブサイト上の画像)。 |
itemShipped.sku | Text | (確認カード / 検索の回答に推奨)最小管理単位(SKU)、つまり、商品またはサービス、または特典が参照している商品の販売者固有の識別子。 |
itemShipped.description(説明) | Text | Product の簡単な説明。 |
itemShipped.brand | ブランド | 商品に関連付けられたブランド。 |
itemShipped.brand.name | Text | ブランドの名前。 |
itemShipped.color | Text | 商品の色。 |
追跡番号 | Text | (確認カード/検索の回答に推奨)配送業者の荷物追跡番号。 |
トラッキング URL | URL | (確認カード/検索の回答に推奨)荷物を追跡できるウェブページ。 |
hasDeliveryMethod | 配信方法 | 配信に使用される方法です。 |
配送状況 | DeliveryEvent | 荷物が(配達から最終的な配送まで)各工程を通過するたびに新しいエントリが追加されます。店舗受け取り(ロッカーからの店舗受け取りなど)に特に役立ちます。 |
注文の一部 | 順番 | (必須)発送中の注文の詳細。配送に含まれる商品の詳細を itemShipped(例: 配送された数量)で表現できない場合は、この注文を使用して商品を表現してください。 |
partOfOrder.orderNumber | Text | (必須)取引固有の販売者 ID。 |
partOfOrder.販売者 | Organization または Person | (必須)注文の当事者(Amazon.com は多数の販売者の販売者など)。文字列(「Bob Dole」など)も使用できます。 |
partOfOrder.merchant | Text | (必須)組織の名前。 |
partOfOrder.merchant.sameAs | URL | 販売者のフリーベース URL。 |
partOfOrder.orderStatus | OrderStatus | (確認カード/検索の回答に推奨)注文の現在のステータス。 |