complexType buildingIdentificationType
diagram index_p297.png
namespace http://www.ech.ch/xmlns/eCH-0129/5
children eCH-0129:EGID eCH-0129:street eCH-0129:houseNumber eCH-0129:zipCode eCH-0129:nameOfBuilding eCH-0129:EGRID eCH-0129:cadasterAreaNumber eCH-0129:number eCH-0129:realestateType eCH-0129:officialBuildingNo eCH-0129:localID eCH-0129:municipality
used by
elements buildingType/buildingIdentification buildingOnlyType/buildingIdentification
source <xs:complexType name="buildingIdentificationType">
 
<xs:sequence>
   
<xs:choice>
     
<xs:element name="EGID" type="eCH-0129:EGIDType"/>
     
<xs:sequence>
       
<xs:element name="street" type="eCH-0010:streetType"/>
       
<xs:element name="houseNumber" type="eCH-0010:houseNumberType"/>
       
<xs:element name="zipCode" type="eCH-0010:swissZipCodeType"/>
       
<xs:element name="nameOfBuilding" type="eCH-0129:nameOfBuildingType" minOccurs="0"/>
     
</xs:sequence>
     
<xs:sequence>
       
<xs:choice>
         
<xs:element name="EGRID" type="eCH-0129:EGRIDType"/>
         
<xs:sequence>
           
<xs:element name="cadasterAreaNumber" type="eCH-0129:cadasterAreaNumberType"/>
           
<xs:element name="number">
             
<xs:simpleType>
               
<xs:restriction base="xs:token">
                 
<xs:minLength value="1"/>
                 
<xs:maxLength value="12"/>
               
</xs:restriction>
             
</xs:simpleType>
           
</xs:element>
           
<xs:element name="realestateType" type="eCH-0129:realestateTypeType" minOccurs="0"/>
         
</xs:sequence>
       
</xs:choice>
       
<xs:element name="officialBuildingNo" type="eCH-0129:officialBuildingNoType"/>
     
</xs:sequence>
   
</xs:choice>
   
<xs:element name="localID" type="eCH-0129:namedIdType" maxOccurs="unbounded"/>
   
<xs:element name="municipality" type="eCH-0007:municipalityIdType"/>
 
</xs:sequence>
</xs:complexType>

element buildingIdentificationType/EGID
diagram index_p298.png
namespace http://www.ech.ch/xmlns/eCH-0129/5
type eCH-0129:EGIDType
properties
content simple
facets
Kind Value Annotation
minInclusive 1
maxInclusive 900000000
source <xs:element name="EGID" type="eCH-0129:EGIDType"/>

element buildingIdentificationType/street
diagram index_p299.png
namespace http://www.ech.ch/xmlns/eCH-0129/5
type eCH-0010:streetType
properties
content simple
facets
Kind Value Annotation
maxLength 60
source <xs:element name="street" type="eCH-0010:streetType"/>

element buildingIdentificationType/houseNumber
diagram index_p300.png
namespace http://www.ech.ch/xmlns/eCH-0129/5
type eCH-0010:houseNumberType
properties
content simple
facets
Kind Value Annotation
maxLength 12
source <xs:element name="houseNumber" type="eCH-0010:houseNumberType"/>

element buildingIdentificationType/zipCode
diagram index_p301.png
namespace http://www.ech.ch/xmlns/eCH-0129/5
type eCH-0010:swissZipCodeType
properties
content simple
facets
Kind Value Annotation
minInclusive 1000
maxInclusive 9999
source <xs:element name="zipCode" type="eCH-0010:swissZipCodeType"/>

element buildingIdentificationType/nameOfBuilding
diagram index_p302.png
namespace http://www.ech.ch/xmlns/eCH-0129/5
type eCH-0129:nameOfBuildingType
properties
minOcc 0
maxOcc 1
content simple
facets
Kind Value Annotation
minLength 3
maxLength 40
source <xs:element name="nameOfBuilding" type="eCH-0129:nameOfBuildingType" minOccurs="0"/>

element buildingIdentificationType/EGRID
diagram index_p303.png
namespace http://www.ech.ch/xmlns/eCH-0129/5
type eCH-0129:EGRIDType
properties
content simple
facets
Kind Value Annotation
maxLength 14
source <xs:element name="EGRID" type="eCH-0129:EGRIDType"/>

element buildingIdentificationType/cadasterAreaNumber
diagram index_p304.png
namespace http://www.ech.ch/xmlns/eCH-0129/5
type eCH-0129:cadasterAreaNumberType
properties
content simple
source <xs:element name="cadasterAreaNumber" type="eCH-0129:cadasterAreaNumberType"/>

element buildingIdentificationType/number
diagram index_p305.png
namespace http://www.ech.ch/xmlns/eCH-0129/5
type restriction of xs:token
properties
content simple
facets
Kind Value Annotation
minLength 1
maxLength 12
source <xs:element name="number">
 
<xs:simpleType>
   
<xs:restriction base="xs:token">
     
<xs:minLength value="1"/>
     
<xs:maxLength value="12"/>
   
</xs:restriction>
 
</xs:simpleType>
</xs:element>

element buildingIdentificationType/realestateType
diagram index_p306.png
namespace http://www.ech.ch/xmlns/eCH-0129/5
type eCH-0129:realestateTypeType
properties
minOcc 0
maxOcc 1
content simple
facets
Kind Value Annotation
enumeration 1
enumeration 2
enumeration 3
enumeration 4
enumeration 5
enumeration 6
enumeration 7
enumeration 8
source <xs:element name="realestateType" type="eCH-0129:realestateTypeType" minOccurs="0"/>

element buildingIdentificationType/officialBuildingNo
diagram index_p307.png
namespace http://www.ech.ch/xmlns/eCH-0129/5
type eCH-0129:officialBuildingNoType
properties
content simple
facets
Kind Value Annotation
minLength 1
maxLength 12
source <xs:element name="officialBuildingNo" type="eCH-0129:officialBuildingNoType"/>

element buildingIdentificationType/localID
diagram index_p308.png
namespace http://www.ech.ch/xmlns/eCH-0129/5
type eCH-0129:namedIdType
properties
minOcc 1
maxOcc unbounded
content complex
children eCH-0129:IdCategory eCH-0129:Id
source <xs:element name="localID" type="eCH-0129:namedIdType" maxOccurs="unbounded"/>

element buildingIdentificationType/municipality
diagram index_p309.png
namespace http://www.ech.ch/xmlns/eCH-0129/5
type eCH-0007:municipalityIdType
properties
content simple
facets
Kind Value Annotation
minInclusive 1
maxInclusive 9999
totalDigits 4
source <xs:element name="municipality" type="eCH-0007:municipalityIdType"/>


XML Schema documentation generated by XMLSpy Schema Editor http://www.altova.com/xmlspy