Open isaacfreeman opened 11 years ago
So there are a couple of levels of specificity here, there's a generic "Place", a more specific "LocalBusiness", a more specific type of LocalBusiness e.g. "Store" and an even more specific type of store e.g. "ClothingStore". Each one has a mix of different values, so a Store has values from Place, Organisation & LocalBusiness.
This is how the schema's work, where there are specific ways to format everything, and then "rollup" types that collect them toegether, so a Postal Address has a specific way it needs to be written - http://schema.org/PostalAddress - with inherited properties from Thing, ContactPoint & then specifics for PostalAddress.
It really depends on what address we're showing, if it's a customers address e.g. for shipping then we probably want to use "Place" as the rollup (http://schema.org/Place), with the physical address marked up according to the PostalAddress formatting (http://schema.org/PostalAddress).
So an example Address is:
<div itemscope itemtype="http://schema.org/PostalAddress"> <span itemprop="name">Google Inc.</span> P.O. Box<span itemprop="postOfficeBoxNumber">1234</span> <span itemprop="addressLocality">Mountain View</span>, <span itemprop="addressRegion">CA</span> <span itemprop="postalCode">94043</span> <span itemprop="addressCountry">United States</span> </div>
Which when wrapped with a Place looks like:
`
The specifics for itemscope, itemtype and itemprop are outlined here - http://schema.org/docs/gs.html#microdata_itemscope_itemtype
And the specific standard is noted here - http://dev.w3.org/html5/md/ - which at the moment is still a working draft.
Schema.org is the agreed standard from search engine providers, and at the bottom of every schema it notes the version (0.99 means it's as complete as can be currently until the w3 standard is adopted).
Google has a Rich Snippet debug tool you can use to check the validity - http://www.google.com/webmasters/tools/richsnippets
We're displaying addresses in several places in Breeze Commerce. The markup for this should follow a standard format.