Skip to content

Instantly share code, notes, and snippets.

@dannydickson
Created May 5, 2022 16:00
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save dannydickson/7d9d9a08b7dcfdda626ff299e8cf59df to your computer and use it in GitHub Desktop.
Save dannydickson/7d9d9a08b7dcfdda626ff299e8cf59df to your computer and use it in GitHub Desktop.
Multiple location schema JSON structured data
{
"@context": {
"@vocab": "http://schema.org/"
},
"@graph": [
{
"@id": "https://bayareaboatrentals.com",
"@type": "Organization",
"name": "Bay Area Boat Rentals",
"url" : "https://bayareaboatrental.com/",
"logo" : "https://bayareaboat.wpengine.com/wp-content/uploads/2022/03/Bay-Area-Boat-Rentals-logo.svg",
"sameAs" : [ "https://www.facebook.com/BABoatRentals",
"https://www.yelp.com/biz/bay-area-boat-rentals-discovery-bay"]
},
{
"@type": "LocalBusiness",
"parentOrganization": {
"name" : "Bay Area Boat Rentals"
},
"name" : "Bay Area Boat Rentals - Discovery Bay",
"address": {
"@type" : "PostalAddress",
"streetAddress": "5901 Marina Road",
"addressLocality": "Discovery Bay",
"addressRegion": "CA",
"postalCode": "94505",
"telephone" : "925-272-9986"
},
"hasmap" : "https://www.google.com/maps/place/Bay+Area+Boat+Rentals/@37.903486,-121.5891537,17z/data=!3m1!4b1!4m6!3m5!1s0x809003f48d1d11a1:0xab0d7f0cd73a212a!8m2!3d37.903486!4d-121.586965!16s%2Fg%2F11lkhjr8wh"
},
{
"@type": "LocalBusiness",
"parentOrganization": {
"name" : "Bay Area Boat Rentals"
},
"name" : "Bay Area Boat Rentals - Stockton",
"address": {
"@type" : "PostalAddress",
"streetAddress": "4950 Buckley Cove Way",
"addressLocality": "Stockton",
"addressRegion": "CA",
"postalCode": "95219",
"telephone" : "925-272-9986"
}
}
]
}
@dannydickson
Copy link
Author

You'll want to wrap in <script type="application/ld+json"></script> tags for most implementations of this.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment