adr-singular-properties: Difference between revisions

From Microformats Wiki
Jump to navigation Jump to search
mNo edit summary
m (→‎locality: Put note by this example.)
Line 19: Line 19:


=== locality ===
=== 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:


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

Revision as of 08:30, 6 May 2008

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

An address typically would only one have one region.

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/