a book reference
http://www.amazon.com/Global-Sourcebook-Address-Data-Management/dp/0566081091\\
[]http://www.upu.int/post_code/en/countries/GBR.pdf
http://xml.coverpages.org/Comparing-CEN-and-xNAL.pdf
http://www.zipcodeworld.com/addressing/greatbritain.htm;
the current PostalAddress Enity will be supplimented but supplemented Address Schema Change Proposal by new entities that deal with expanded information.
these entities is fashioned after the xAL:2.0
http://www.oasis-open.org/committees/ciq/ciq.html#6
PostalService entity convers Postoffice information used for bulk mailing
This includes barcode for the address.
The Country entity might be tied into the Geocode. You can have different Mailing structures in a country
most of this specification is calling out how to create an address for different Countries.
in the way ofbiz works Country would be used to define the layout of a countries address. both in the UI and in how the data is added to the PostalAddress data.
There are three basic ways to specify a Mailing address in a country.
1)AdministrativeArea AdministrativeArea entity covers more general information that allows non specific data to help identify and locations.
Country entiy might be tied into the Geocode.
in the way ofbiz works Country should be the top entity and the PostalAddress should revferenced as the Address lines
2)The Locality entity
3)Thoroughfare Entity
Premise would be a Facility Entitiy for a building like office complex or Apartments. it is more for doing searches to validate the address.
- APT - Apartment
- LOT - Lot
- RM - Room
- SLIP - Slip
- SUIT - Suite
- UNIT - Unit Identification
- FLR - Floor
- BLDG - Building
- PIER - Pier
- WNG - Wing
so a premise Lot can have children Premise BLDG that an have children Premise Flr
AddressDetails entity incorporates locality and premise entities.
PostalService entity convers Postoffice information used for bulk mailing
The The US Postal rules is the Top line should be for Attn to or Company name. The Line closest to the city, Postallocal should have the delivery info address line.
Based on Country the number of address lines and the sequence varies.
The Locality entity is not connected to the Postal address directly, it more define are area that the Postal Address may be in.
Premise Entitiy is for a building like office complex or Apartments.
not in entity format but this will show how the formating would be called out in a simple form
the fmt would read by the UI code to put the input in the right sequence horzontally and veritically.
Code Block | ||||
---|---|---|---|---|
| ||||
<AddressDetails>
<AddressLines>
<AddressLine fmt:LineNumber="1">Rahel Schmidt</AddressLine>
</AddressLines>
<Country>
<CountryName fmt:LineNumber="4">Switzerland</CountryName>
</Country>
<Locality>
<LocalityName fmt:LineNumber="3"fmt:ElementPosition="2">Ottenbach
</LocalityName>
</Locality>
<Thoroughfare>
<ThoroughfareName fmt:FollowingIndicator="str." fmt:ElementPosition="1"
fmt:LineNumber="2">Jonen</ThoroughfareName>
<ThoroughfareNumber>
<Number fmt:ElementPosition="2" fmt:LineNumber="2">25</Number>
</ThoroughfareNumber>
</Thoroughfare>
<Postal>
<PostalCode>
<PostalCodeNumber>
<Number fmt:LineNumber="3" fmt:ElementPosition="1">8913</Number>
</PostalCodeNumber>
</PostalCode>
</Postal>
</AddressDetails>
|
...