Documentation for CityGML

Complex Type: AddressDetails

[Table of contents]

Super-types: None
Sub-types: None
Name AddressDetails
Used by (from the same schema document) Element AddressDetails
Abstract no
XML Instance Representation
<...
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..*]
</...>
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:complexType name="AddressDetails">
<xs:sequence>
<xs:element name="PostalServiceElements" minOccurs="0">
<xs:complexType>
<xs:sequence>
<xs:element name="AddressIdentifier" minOccurs="0" maxOccurs="unbounded">
<xs:complexType mixed="true">
<xs:attribute name="IdentifierType"/>
<xs:attribute name="Type"/>
<xs:attributeGroup ref=" grPostal "/>
<xs:anyAttribute namespace="##other"/>
</xs:complexType>
</xs:element>
<xs:element name="EndorsementLineCode" minOccurs="0">
<xs:complexType mixed="true">
<xs:attribute name="Type"/>
<xs:attributeGroup ref=" grPostal "/>
<xs:anyAttribute namespace="##other"/>
</xs:complexType>
</xs:element>
<xs:element name="KeyLineCode" minOccurs="0">
<xs:complexType mixed="true">
<xs:attribute name="Type"/>
<xs:attributeGroup ref=" grPostal "/>
<xs:anyAttribute namespace="##other"/>
</xs:complexType>
</xs:element>
<xs:element name="Barcode" minOccurs="0">
<xs:complexType mixed="true">
<xs:attribute name="Type"/>
<xs:attributeGroup ref=" grPostal "/>
<xs:anyAttribute namespace="##other"/>
</xs:complexType>
</xs:element>
<xs:element name="SortingCode" minOccurs="0">
<xs:complexType>
<xs:attribute name="Type"/>
<xs:attributeGroup ref=" grPostal "/>
</xs:complexType>
</xs:element>
<xs:element name="AddressLatitude" minOccurs="0">
<xs:complexType mixed="true">
<xs:attribute name="Type"/>
<xs:attributeGroup ref=" grPostal "/>
<xs:anyAttribute namespace="##other"/>
</xs:complexType>
</xs:element>
<xs:element name="AddressLatitudeDirection" minOccurs="0">
<xs:complexType mixed="true">
<xs:attribute name="Type"/>
<xs:attributeGroup ref=" grPostal "/>
<xs:anyAttribute namespace="##other"/>
</xs:complexType>
</xs:element>
<xs:element name="AddressLongitude" minOccurs="0">
<xs:complexType mixed="true">
<xs:attribute name="Type"/>
<xs:attributeGroup ref=" grPostal "/>
<xs:anyAttribute namespace="##other"/>
</xs:complexType>
</xs:element>
<xs:element name="AddressLongitudeDirection" minOccurs="0">
<xs:complexType mixed="true">
<xs:attribute name="Type"/>
<xs:attributeGroup ref=" grPostal "/>
<xs:anyAttribute namespace="##other"/>
</xs:complexType>
</xs:element>
<xs:element name="SupplementaryPostalServiceData" minOccurs="0" maxOccurs="unbounded">
<xs:complexType mixed="true">
<xs:attribute name="Type"/>
<xs:attributeGroup ref=" grPostal "/>
<xs:anyAttribute namespace="##other"/>
</xs:complexType>
</xs:element>
<xs:any namespace="##other" minOccurs="0" maxOccurs="unbounded"/>
</xs:sequence>
<xs:attribute name="Type"/>
<xs:anyAttribute namespace="##other"/>
</xs:complexType>
</xs:element>
<xs:choice minOccurs="0">
<xs:element name="Address">
<xs:complexType mixed="true">
<xs:attribute name="Type"/>
<xs:attributeGroup ref=" grPostal "/>
<xs:anyAttribute namespace="##other"/>
</xs:complexType>
</xs:element>
<xs:element name="AddressLines" type=" AddressLinesType "/>
<xs:element name="Country">
<xs:complexType>
<xs:sequence>
<xs:element ref=" AddressLine " minOccurs="0" maxOccurs="unbounded"/>
<xs:element name="CountryNameCode" minOccurs="0" maxOccurs="unbounded">
<xs:complexType mixed="true">
<xs:attribute name="Scheme"/>
<xs:attributeGroup ref=" grPostal "/>
<xs:anyAttribute namespace="##other"/>
</xs:complexType>
</xs:element>
<xs:element ref=" CountryName " minOccurs="0" maxOccurs="unbounded"/>
<xs:choice minOccurs="0">
<xs:element ref=" AdministrativeArea "/>
<xs:element ref=" Locality "/>
<xs:element ref=" Thoroughfare "/>
</xs:choice>
<xs:any namespace="##other" minOccurs="0" maxOccurs="unbounded"/>
</xs:sequence>
<xs:anyAttribute namespace="##other"/>
</xs:complexType>
</xs:element>
<xs:element ref=" AdministrativeArea "/>
<xs:element ref=" Locality "/>
<xs:element ref=" Thoroughfare "/>
</xs:choice>
<xs:any namespace="##other" minOccurs="0" maxOccurs="unbounded"/>
</xs:sequence>
<xs:attribute name="AddressType"/>
<xs:attribute name="CurrentStatus"/>
<xs:attribute name="ValidFromDate"/>
<xs:attribute name="ValidToDate"/>
<xs:attribute name="Usage"/>
<xs:attributeGroup ref=" grPostal "/>
<xs:attribute name="AddressDetailsKey"/>
<xs:anyAttribute namespace="##other"/>
</xs:complexType>