eg-0397
From
v29.4
JSON-LD
{
"@context": "https://schema.org/",
"@type": "FoodEstablishment",
"name": "Joe's Pizza",
"location": {
"@type": "PostalAddress",
"@id": "http://example.com/address",
"streetAddress": "123 Main Street",
"addressLocality": "Cambridge",
"addressRegion": "MA",
"postalCode": "02142"
},
"makesOffer": {
"@type": "Offer",
"priceSpecification": {
"@type": "DeliveryChargeSpecification",
"appliesToDeliveryMethod": "http://purl.org/goodrelations/v1#DeliveryModeOwnFleet",
"eligibleTransactionVolume": {
"@type": "PriceSpecification",
"price": "20.00",
"priceCurrency": "USD"
},
"eligibleRegion": {
"@type": "GeoCircle",
"address": {
"@id": "http://www.example.com/address"
},
"geoRadius": "5000"
}
}
}
}RDFa
<div vocab="https://schema.org/" typeof="FoodEstablishment">
<span property="name">Joe's Pizza</span>
<div property="location" typeof="PostalAddress">
<span property="streetAddress">123 Main Street</span>
<span property="addressLocality">Cambridge</span>
<span property="addressRegion">MA</span>
<span property="postalCode">02142</span>
</div>
delivers within 5 km of its store with a minimum order of $20.
<div property="makesOffer" typeof="Offer">
<div property="priceSpecification" typeof="DeliveryChargeSpecification">
<meta property="appliesToDeliveryMethod" link="http://purl.org/goodrelations/v1#DeliveryModeOwnFleet">
<div property="eligibleTransactionVolume" typeof="PriceSpecification">
<meta property="price" content="20.00" />
<meta property="priceCurrency" content="USD" />
</div>
<div property="eligibleRegion" typeof="GeoCircle">
<div property="address" typeof="PostalAddress">
<meta property="streetAddress" content="123 Main Street" />
<meta property="addressLocality" content="Cambridge" />
<meta property="addressRegion" content="MA" />
<meta property="postalCode" content="02142" />
</div>
<meta property="geoRadius" content="5000" />
</div>
</div>
</div>
</div>Microdata
<div itemscope itemtype="https://schema.org/FoodEstablishment">
<span itemprop="name">Joe's Pizza</span>
<div itemprop="location" itemscope itemtype="https://schema.org/PostalAddress">
<span itemprop="streetAddress">123 Main Street</span>
<span itemprop="addressLocality">Cambridge</span>
<span itemprop="addressRegion">MA</span>
<span itemprop="postalCode">02142</span>
</div>
delivers within 5 km of its store
<div itemprop="makesOffer" itemscope itemtype="https://schema.org/Offer">
<div itemprop="eligibleRegion" itemscope itemtype="https://schema.org/GeoCircle">
<div itemprop="address" itemscope itemtype="https://schema.org/PostalAddress">
<meta itemprop="streetAddress" content="123 Main Street" />
<meta itemprop="addressLocality" content="Cambridge" />
<meta itemprop="addressRegion" content="MA" />
<meta itemprop="postalCode" content="02142" />
</div>
<meta itemprop="geoRadius" content="5000" />
</div>
with a minimum order of $20.
<div itemprop="priceSpecification" itemscope itemtype="https://schema.org/DeliveryChargeSpecification">
<meta itemprop="appliesToDeliveryMethod" link="http://purl.org/goodrelations/v1#DeliveryModeOwnFleet">
<div itemprop="eligibleTransactionVolume" itemscope itemtype="https://schema.org/PriceSpecification">
<meta itemprop="price" content="20.00" />
<meta itemprop="priceCurrency" content="USD" />
</div>
</div>
</div>
</div>Pre-Markup
Joes' Pizza 123 Main Street Cambridge, MA 02142 delivers within 5 km of its store with a minimum order of $20.