html - JSON-LD - Does using the `location` property the correct way to markup multiple business locations? -


i tasked optimized our clients website using structured data (json-ld) search engine friendly. our client's business has multiple locations , i wondering if using location property structure different business location correct. or should mark each location separately?

here sample code of did (although validating using google structured data testing tool results in all good, i'm wondering if using location property correctly)

also, remove of properties make code small , replace values generic values:

<script type="application/ld+json"> { "@context": "http://schema.org", "@type": "attorney", "name" : "example injury lawyer", "url": "http://example.com/", "logo": "http://example.com/assets/images/logo.png", "location": [{     "@type": "attorney",     "@id": "http://example.com/offices/city-injury-lawyer",     "name": "example injury lawyer",     "url": "http://example.com/offices/city-injury-lawyer",     "telephone": "+1-555-555-5555",     "address": {         "@type": "postaladdress",         "streetaddress": "street address",         "addresslocality": "city",         "addressregion": "region",         "postalcode": "12345",         "addresscountry": "us"     } }, {     "@type": "attorney",     "@id": "http://example.com/offices/another-city-injury-lawyer",     "name": "example injury lawyer",     "url": "http://example.com/offices/another-city-injury-lawyer",     "telephone": "+1-333-333-3333",     "address": {         "@type": "postaladdress",         "streetaddress": "street address",         "addresslocality": "city",         "addressregion": "region",         "postalcode": "54321",         "addresscountry": "us"     } }] } </script> 

google not yet use location information drive it's data.

the structured data use here: https://developers.google.com/structured-data/

so if looking add maps , search results need submit directly google maps and/or google business. wasn't until did maps website worked in started showing in serps , knowledge graph.

saying that, i'm firmly of belief more data can give google better , i'd imagine use @ point (as you'd think website able define location better google maps example can contribute ). whether or how accept multiple businesses if/when remains seen. i'd leave json-ld data have , check structured data testing tool periodically , keep eye on above link - both of things anyway.


Comments

Popular posts from this blog

c# - How Configure Devart dotConnect for SQLite Code First? -

java - Copying object fields -

c++ - Clear the memory after returning a vector in a function -