adr-singular-properties

From Microformats Wiki
Jump to navigation Jump to search

adr singular properties

This is an atttempt to determine the singular properties in adr.

post-office-box

An address typically would only one post office box. Mail could not be split between two boxes.

extended-address

This could in theory be plural, if there were things like suite number, building. etc.

street-address

<span class="street-address">Alexandra House</span>
<span class="street-address">Oldham Terrace</span>

Part of the NCT's address (http://nct.org.uk/home)

locality

"Suburb, City" pairings are a use case for multiple localities. While in many cases this can be accomplished using a single locality containing a comma, in some cases addresses are published containing other information between the two localities, such as the postcode in this address:

<span class="locality">Coogee</span> <span class="postal-code">2034</span>
<span class="locality">Sydney</span>

http://www.coogeesands.com.au/contact-coogee-sands.aspx

region

"Near FOO" is commonly used in UK addresses for villages too small to be recognised without that designation by the Royal Mail. The "near FOO" label covers an area which is not a conurbation (i.e. an hCard "locality") so might more accurately be marked up as a region. Generally a county will be included in the address too, which should also be marked up as a region:

<div class="vcard">
  <div class="adr">
    <div class="extended-address fn org">Newick Park Hotel</div>
    <span class="locality">Newick</span>,
    <span class="region">Near Lewes</span>,
    <span class="region">East Sussex</span>
    <span class="postal-code">BN8 4SB</span>
  </div>
</div>

http://www.signpost.co.uk/london_and_south_england/newick-park-hotel-lewes-east-sussex.htm

postal-code

An address typically would only one have one postal code.

country-name

<span class="country-name">Scotland</span>,
<span class="country-name">UK</span>.

http://www.hw.ac.uk/home/