Back to SwissRETS

noNamespace
complexType address

Super Types
{http://www.w3.org/2001/XMLSchema}anyType
|
+--{}address (restriction)

Properties
This component is not nillable.

Model
<...>
(countryCode ; locality ; region? ; postalCode ; postOfficeBoxNumber? ; street? ; streetNumber? ; streetAddition? ; subunit? ; geo)
</...>


Nested Element Summary
 countryCode
          
 geo
          
xs:stringlocality
          
xs:stringpostalCode
          
xs:stringpostOfficeBoxNumber
          
xs:stringregion
          
xs:stringstreet
          
xs:stringstreetAddition
          
xs:stringstreetNumber
          
xs:bytesubunit
          
Source
<xs:complexType name="address">
<xs:all>
<xs:element maxOccurs="1" minOccurs="1" name="countryCode">
<xs:simpleType>
<xs:restriction base="xs:string">
<xs:minLength value="2"/>
<xs:maxLength value="2"/>
<xs:pattern value="[A-Z]{2}"/>
</xs:restriction>
</xs:simpleType>
</xs:element>
<xs:element maxOccurs="1" minOccurs="1" name="locality" type="xs:string"/>
<xs:element maxOccurs="1" minOccurs="0" name="region" type="xs:string"/>
<xs:element maxOccurs="1" minOccurs="1" name="postalCode" type="xs:string"/>
<xs:element maxOccurs="1" minOccurs="0" name="postOfficeBoxNumber" type="xs:string"/>
<xs:element maxOccurs="1" minOccurs="0" name="street" type="xs:string"/>
<xs:element maxOccurs="1" minOccurs="0" name="streetNumber" type="xs:string"/>
<xs:element maxOccurs="1" minOccurs="0" name="streetAddition" type="xs:string"/>
<xs:element maxOccurs="1" minOccurs="0" name="subunit" type="xs:byte"/>
<xs:element maxOccurs="1" minOccurs="0" name="geo">
<xs:complexType>
<xs:all>
<xs:element maxOccurs="1" minOccurs="1" name="latitude" type="xs:float"/>
<xs:element maxOccurs="1" minOccurs="1" name="longitude" type="xs:float"/>
<xs:element maxOccurs="1" minOccurs="0" name="elevation" type="xs:float"/>
</xs:all>
</xs:complexType>
</xs:element>
</xs:all>
</xs:complexType>

Back to SwissRETS

Submit a bug or a feature.
Created by xsddoc, a sub project of xframe, hosted at http://xframe.sourceforge.net.