Documentation for CityGML

Element: AddressDetails

[Table of contents]

Name AddressDetails
Used by (from the same schema document) Element xAL
Type AddressDetails
Nillable no
Abstract no
Documentation This container defines the details of the address. Can define multiple addresses including tracking address history
Logical Diagram
XML Instance Representation
<AddressDetails
AddressType="anySimpleType [0..1]

'Type of address. Example: Postal, residential,business, primary, secondary, etc'

"

CurrentStatus="anySimpleType [0..1]

'Moved, Living, Investment, Deceased, etc..'

"

ValidFromDate="anySimpleType [0..1]

'Start Date of the validity of address'

"

ValidToDate="anySimpleType [0..1]

'End date of the validity of address'

"

Usage="anySimpleType [0..1]

'Communication, Contact, etc.'

"

Code="anySimpleType [0..1]

'Used by postal services to encode the name of the element.'

"

AddressDetailsKey="anySimpleType [0..1]

'Key identifier for the element for not reinforced references from other elements. Not required to be unique for the document to be valid, but application may get confused if not unique. Extend this schema adding unique contraint if needed.'

"
Allow any attributes from a namespace other than this schema's namespace (strict validation).
>
<PostalServiceElements
Type="anySimpleType [0..1]

'USPS, ECMA, UN/PROLIST, etc'

"
Allow any attributes from a namespace other than this schema's namespace (strict validation).
> [0..1]

'Postal authorities use specific postal service data to expedient delivery of mail'


<AddressIdentifier
IdentifierType="anySimpleType [0..1]

'Type of identifier. eg. DPID as in Australia'

"

Type="anySimpleType [0..1]"
Code="anySimpleType [0..1]

'Used by postal services to encode the name of the element.'

"
Allow any attributes from a namespace other than this schema's namespace (strict validation).
/> [0..*]

'A unique identifier of an address assigned by postal authorities. Example: DPID in Australia'

<EndorsementLineCode
Type="anySimpleType [0..1]

'Specific to postal service'

"

Code="anySimpleType [0..1]

'Used by postal services to encode the name of the element.'

"
Allow any attributes from a namespace other than this schema's namespace (strict validation).
/> [0..1]

'Directly affects postal service distribution'

<KeyLineCode
Type="anySimpleType [0..1]

'Specific to postal service'

"

Code="anySimpleType [0..1]

'Used by postal services to encode the name of the element.'

"
Allow any attributes from a namespace other than this schema's namespace (strict validation).
/> [0..1]

'Required for some postal services'

<Barcode
Type="anySimpleType [0..1]

'Specific to postal service'

"

Code="anySimpleType [0..1]

'Used by postal services to encode the name of the element.'

"
Allow any attributes from a namespace other than this schema's namespace (strict validation).
/> [0..1]

'Required for some postal services'

<SortingCode
Type="anySimpleType [0..1]

'Specific to postal service'

"

Code="anySimpleType [0..1]

'Used by postal services to encode the name of the element.'

"
/> [0..1]

'Used for sorting addresses. Values may for example be CEDEX 16 (France)'

<AddressLatitude
Type="anySimpleType [0..1]

'Specific to postal service'

"

Code="anySimpleType [0..1]

'Used by postal services to encode the name of the element.'

"
Allow any attributes from a namespace other than this schema's namespace (strict validation).
/> [0..1]

'Latitude of delivery address'

<AddressLatitudeDirection
Type="anySimpleType [0..1]"
Code="anySimpleType [0..1]

'Used by postal services to encode the name of the element.'

"
Allow any attributes from a namespace other than this schema's namespace (strict validation).
/> [0..1]

'Latitude direction of delivery address;N = North and S = South'

<AddressLongitude
Type="anySimpleType [0..1]

'Specific to postal service'

"

Code="anySimpleType [0..1]

'Used by postal services to encode the name of the element.'

"
Allow any attributes from a namespace other than this schema's namespace (strict validation).
/> [0..1]

'Longtitude of delivery address'

<AddressLongitudeDirection
Type="anySimpleType [0..1]

'Specific to postal service'

"

Code="anySimpleType [0..1]

'Used by postal services to encode the name of the element.'

"
Allow any attributes from a namespace other than this schema's namespace (strict validation).
/> [0..1]

'Longtitude direction of delivery address;N=North and S=South'

<SupplementaryPostalServiceData
Type="anySimpleType [0..1]

'Specific to postal service'

"

Code="anySimpleType [0..1]

'Used by postal services to encode the name of the element.'

"
Allow any attributes from a namespace other than this schema's namespace (strict validation).
/> [0..*]

'any postal service elements not covered by the container can be represented using this element'

Allow any elements from a namespace other than this schema's namespace (strict validation). [0..*]
</PostalServiceElements>
Start Choice [0..1]

'Use the most suitable option. Country contains the most detailed information while Locality is missing Country and AdminArea'


<Address
Type="anySimpleType [0..1]

'Postal, residential, corporate, etc'

"

Code="anySimpleType [0..1]

'Used by postal services to encode the name of the element.'

"
Allow any attributes from a namespace other than this schema's namespace (strict validation).
/> [1]

'Address as one line of free text'

<AddressLines> AddressLinesType </AddressLines> [1]

'Container for Address lines'

<Country
Allow any attributes from a namespace other than this schema's namespace (strict validation).
> [1]

'Specification of a country'


<AddressLine> ... </AddressLine> [0..*]
<CountryNameCode
Scheme="anySimpleType [0..1]

'Country code scheme possible values, but not limited to: iso.3166-2, iso.3166-3 for two and three character country codes.'

"

Code="anySimpleType [0..1]

'Used by postal services to encode the name of the element.'

"
Allow any attributes from a namespace other than this schema's namespace (strict validation).
/> [0..*]

'A country code according to the specified scheme'

<CountryName> ... </CountryName> [0..*]
Start Choice [0..1]
<AdministrativeArea> ... </AdministrativeArea> [1]
<Locality> ... </Locality> [1]
<Thoroughfare> ... </Thoroughfare> [1]
End Choice
Allow any elements from a namespace other than this schema's namespace (strict validation). [0..*]
</Country>
<AdministrativeArea> ... </AdministrativeArea> [1]
<Locality> ... </Locality> [1]
<Thoroughfare> ... </Thoroughfare> [1]
End Choice
Allow any elements from a namespace other than this schema's namespace (strict validation). [0..*]
</AddressDetails>
Diagram
h447686930 h447686930 h447686930 h447686930 h447686930 h447686930 h447686930 h447686930 h447686930 h447686930 h447686930 h1885024549 h447686930 h1785796190 h-268392162 h-1063940250 h1704720079 h-268392162 h-1063940250 h1704720079 h447686930
Schema Component Representation
<xs:element name="AddressDetails" type=" AddressDetails "/>