<xs:all> <xs:element maxOccurs="1" minOccurs="0" 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="0" name="locality" type="xs:string"/>
<xs:element maxOccurs="1" minOccurs="0" name="region" type="xs:string"/>
<xs:element maxOccurs="1" minOccurs="0" 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>