The following is an advanced example of markup for LocalBusiness following schema.org/LocalBusiness context. Use it to understand how you can explicitly structure relevant data about your or any other business with a physical location.
Don’t leave the fate of your business location listing in the hands of a plugin which isn’t focused and specialized on markup. Control every single aspect of the markup yourself by using all the parts of this example markup which is relevant to your business.
The example, as all examples on XooCode uses the json+ld data language, as per google and schema.org recommendations. At XooCode we recommend to always and exclusively utilize json+ld for all markup, due to its readability and clear styling.
Full example of schema.org/LocalBusiness json-ld markup
The markup is verified as valid with Structured Data Testing Tool from Google as of 2024-12-21.
<script type="application/ld+json">
{
"@context": "http://schema.org",
"@type": "LocalBusiness",
"name": "Xoo Code Shop Dunmore",
"description": "Xoo Shop in dunmore sells code and code related products locally in Dunmore, Canada. Xoo Shop Dunmore also ships products to all of Canada, call today for a free quote!",
"url": "https://xoocode.com/shop/dunmore-1290",
"logo": "https://xoocode.com/shop/dunmore-1290/xoo-dunmore-store-logo.png",
"address": {
"@type": "PostalAddress",
"addressLocality": "Dunmore",
"postalCode": "T1B 0K2",
"streetAddress": "355 Eagle Butte Ave"
},
"telephone": "555-0721-21",
"areaServed": {
"@type": "geoShape",
"addressCountry": "Canada"
},
"branchCode": "1290",
"hasMap": "https://xoocode.com/shop/dunmore-1290/map",
"openingHours": [
"Mo-Fri 10:00-19:00",
"Sa 10:00-18:00",
"Su 10:00-14:00"
],
"priceRange": "$$",
"currenciesAccepted": "CAD",
"paymentAccepted":"Cash, Credit Card",
"amenityFeature": {
"@type": "LocationFeatureSpecification",
"name": "Friday Coding Happy Hours",
"hoursAvailable": "Fri 16:00-21:00",
"value": "10% Discount"
},
"aggregateRating": {
"@id": "https://xoocode.com/shop/dunmore-1290#rating",
"ratingValue": "4.5",
"reviewCount": "2",
"bestRating": "5",
"worstRating": "1"
},
"review": [
{
"@type": "Review",
"author": "Dana Crook",
"datePublished": "2017-09-12",
"description": "Beautiful shop, but the code is expensive.",
"name": "I liked it",
"reviewRating": {
"@type": "Rating",
"bestRating": "5",
"ratingValue": "4",
"worstRating": "1"
}
},
{
"@type": "Review",
"author": "Lucas Lovely",
"datePublished": "2017-09-15",
"description": "I loved this store - it met all my code shopping needs. Recommend going here for anyone!",
"name": "I loved it",
"reviewRating": {
"@type": "Rating",
"bestRating": "5",
"ratingValue": "5",
"worstRating": "1"
}
}
],
"photo": "https://xoocode.com/shop/dunmore-1290/xoo-dunmore-store-inside.jpg",
"image": {
"@type": "ImageObject",
"url": "https://xoocode.com/shop/dunmore-1290/xoo-dunmore-store-image.jpg",
"caption": "Xoo store as capruted on opening day 2017-08-20",
"representativeOfPage": "True",
"uploadDate": "2017-08-20",
"width": "1920px",
"height": "1080px",
"thumbnail": "https://xoocode.com/shop/dunmore-1290/xoo-dunmore-store-thumb.jpg"
},
"smokingAllowed": "False",
"mainEntityOfPage": "http://dunmorelocalnews.ca/xoo-shop-opening-this-week",
"sameAs": "https://wikipedia.org/locations/dunmore-xoo-shop",
"subjectOf": {
"@type": "CreativeWork",
"name": "4 shades of Dunmore storefronts"
},
"potentialAction": "Shopping"
}
</script>
I am sure this post has touched all the internet users, its really really nice article on building up new web site.
Its not my first time to pay a quick visit this web page, i am visiting this site dailly and take good information from here daily.
Hmm it looks like your site ate my first comment (it was extremely long) so I guess I’ll just sum it up what I wrote and say, I’m thoroughly enjoying your blog.
I too am an aspiring blogger but I’m still new to everything. Do you have any points for beginner blog writers?
I’d definitely appreciate it.
Apprеciate the recommendation. Ꮤill tгy it оut.
this is fantastic. Can you please post more schema types?