complexType "PostalAddressType"
Namespace:
Content:
complex, 1 attribute, 9 elements
Defined:
Includes:
definitions of 1 attribute, 9 elements
Used:
XML Representation Summary
<...
    type
 = 
("postOfficeBoxAddress" | "streetAddress" | "militaryAddress" | "undefined") : "undefined"
    >
   
Content: 
CountryCode?, CountryName?, PostalCode?, Region*, State?, Municipality?, MunicipalityNumber?, Hamlet?, DeliveryAddress?
</...>
Content Model Elements (9):
All Direct / Indirect Based Elements (1):
Known Usage Locations
Annotation
compare PostAdresseTyp
XML Source (w/o annotations (9); see within schema source)
<xs:complexType name="PostalAddressType">
<xs:sequence>
<xs:element minOccurs="0" name="CountryCode">
<xs:simpleType>
<xs:restriction base="xs:string">
<xs:pattern value="[A-Z]{2}"/>
</xs:restriction>
</xs:simpleType>
</xs:element>
<xs:element minOccurs="0" name="CountryName" type="xs:string"/>
<xs:element minOccurs="0" name="PostalCode" type="xs:string"/>
<xs:element maxOccurs="unbounded" minOccurs="0" name="Region" type="xs:string"/>
<xs:element minOccurs="0" name="State" type="xs:string"/>
<xs:element minOccurs="0" name="Municipality" type="xs:string"/>
<xs:element minOccurs="0" name="MunicipalityNumber" type="xs:string"/>
<xs:element minOccurs="0" name="Hamlet" type="xs:string"/>
<xs:element minOccurs="0" name="DeliveryAddress">
<xs:complexType>
<xs:sequence>
<xs:element minOccurs="0" name="StreetName" type="xs:string"/>
<xs:element minOccurs="0" name="BuildingNumber" type="xs:string"/>
<xs:element minOccurs="0" name="Unit" type="xs:string"/>
<xs:element minOccurs="0" name="DoorNumber" type="xs:string"/>
</xs:sequence>
</xs:complexType>
</xs:element>
</xs:sequence>
<xs:attribute default="undefined" name="type">
<xs:simpleType>
<xs:restriction base="xs:string">
<xs:enumeration value="postOfficeBoxAddress"/>
<xs:enumeration value="streetAddress"/>
<xs:enumeration value="militaryAddress"/>
<xs:enumeration value="undefined"/>
</xs:restriction>
</xs:simpleType>
</xs:attribute>
</xs:complexType>
Attribute Detail (all declarations; defined in this component only; 1/1)
type
Type:
anonymous (restriction of xs:string)
Use:
optional
Attribute Value
enumeration of xs:string
Enumeration:
"postOfficeBoxAddress", "streetAddress", "militaryAddress", "undefined"
Default:
"undefined"
Anonymous simpleType
Type Derivation Tree
xs:string (restriction)
  simpleType
Derivation:
restriction of xs:string
Facets:
enumeration:
"postOfficeBoxAddress", "streetAddress", "militaryAddress", "undefined"
XML Source (see within schema source)
<xs:attribute default="undefined" name="type">
<xs:simpleType>
<xs:restriction base="xs:string">
<xs:enumeration value="postOfficeBoxAddress"/>
<xs:enumeration value="streetAddress"/>
<xs:enumeration value="militaryAddress"/>
<xs:enumeration value="undefined"/>
</xs:restriction>
</xs:simpleType>
</xs:attribute>
Content Element Detail (all declarations; defined in this component only; 9/9)
CountryCode
Type:
anonymous (restriction of xs:string), simple content
Code for the country, use ISO or internatinal Postalstandard, compare Staatscode
Simple Content
xs:string
Pattern:
[A-Z]{2}
XML Source (w/o annotations (1); see within schema source)
<xs:element minOccurs="0" name="CountryCode">
<xs:simpleType>
<xs:restriction base="xs:string">
<xs:pattern value="[A-Z]{2}"/>
</xs:restriction>
</xs:simpleType>
</xs:element>

CountryName
Type:
xs:string, predefined, simple content
Name of the country, use ISO Name, or international Postal Standard, compare Staatsname
XML Source (w/o annotations (1); see within schema source)
<xs:element minOccurs="0" name="CountryName" type="xs:string"/>

DeliveryAddress
Type:
anonymous, complex content
XML Source (see within schema source)
<xs:element minOccurs="0" name="DeliveryAddress">
<xs:complexType>
<xs:sequence>
<xs:element minOccurs="0" name="StreetName" type="xs:string"/>
<xs:element minOccurs="0" name="BuildingNumber" type="xs:string"/>
<xs:element minOccurs="0" name="Unit" type="xs:string"/>
<xs:element minOccurs="0" name="DoorNumber" type="xs:string"/>
</xs:sequence>
</xs:complexType>
</xs:element>

Hamlet
Type:
xs:string, predefined, simple content
ZMR use, compare Ortschaft
XML Source (w/o annotations (1); see within schema source)
<xs:element minOccurs="0" name="Hamlet" type="xs:string"/>

Municipality
Type:
xs:string, predefined, simple content
compare Gemeinde
XML Source (w/o annotations (1); see within schema source)
<xs:element minOccurs="0" name="Municipality" type="xs:string"/>

MunicipalityNumber
Type:
xs:string, predefined, simple content
compare Gemeindekennzahl
XML Source (w/o annotations (1); see within schema source)
<xs:element minOccurs="0" name="MunicipalityNumber" type="xs:string"/>

PostalCode
Type:
xs:string, predefined, simple content
ZIP, compare Postleitzahl
XML Source (w/o annotations (1); see within schema source)
<xs:element minOccurs="0" name="PostalCode" type="xs:string"/>

Region
Type:
xs:string, predefined, simple content
compare Region
XML Source (w/o annotations (1); see within schema source)
<xs:element maxOccurs="unbounded" minOccurs="0" name="Region" type="xs:string"/>

State
Type:
xs:string, predefined, simple content
compare Bundesland
XML Source (w/o annotations (1); see within schema source)
<xs:element minOccurs="0" name="State" type="xs:string"/>

XML schema documentation generated with DocFlex/XML RE 1.8.0 using DocFlex/XML XSDDoc 2.2.0 template set