<xs:element name="Premise">
<xs:annotation>
<xs:documentation>Specification of a single premise, for example a house or a building. The premise as a whole has a unique premise (house) number or a premise name. There could be more than
one premise in a street referenced in an address. For example a building address near a major shopping centre or raiwlay station</xs:documentation>
</xs:annotation>
<xs:complexType>
<xs:sequence>
<xs:element ref="AddressLine" minOccurs="0" maxOccurs="unbounded" />
<xs:element name="PremiseName" minOccurs="0" maxOccurs="unbounded">
<xs:annotation>
<xs:documentation>Specification of the name of the premise (house, building, park, farm, etc). A premise name is specified when the premise cannot be addressed using a street name plus premise (house) number.</xs:documentation>
</xs:annotation>
<xs:complexType mixed="true">
<xs:attribute name="Type" />
<xs:attribute name="TypeOccurrence">
<xs:annotation>
<xs:documentation>EGIS Building where EGIS occurs before Building, DES JARDINS occurs after COMPLEXE DES JARDINS</xs:documentation>
</xs:annotation>
<xs:simpleType>
<xs:restriction base="xs:NMTOKEN">
<xs:enumeration value="Before" />
<xs:enumeration value="After" />
</xs:restriction>
</xs:simpleType>
</xs:attribute>
<xs:attributeGroup ref="grPostal" />
<xs:anyAttribute namespace="##other" />
</xs:complexType>
</xs:element>
<xs:choice minOccurs="0">
<xs:element name="PremiseLocation">
<xs:annotation>
<xs:documentation>LOBBY, BASEMENT, GROUND FLOOR, etc...</xs:documentation>
</xs:annotation>
<xs:complexType mixed="true">
<xs:attributeGroup ref="grPostal" />
<xs:anyAttribute namespace="##other" />
</xs:complexType>
</xs:element>
<xs:choice>
<xs:element ref="PremiseNumber" maxOccurs="unbounded" />
<xs:element name="PremiseNumberRange">
<xs:annotation>
<xs:documentation>Specification for defining the premise number range. Some premises have number as Building C1-C7</xs:documentation>
</xs:annotation>
<xs:complexType>
<xs:sequence>
<xs:element name="PremiseNumberRangeFrom">
<xs:annotation>
<xs:documentation>Start number details of the premise number range</xs:documentation>
</xs:annotation>
<xs:complexType>
<xs:sequence>
<xs:element ref="AddressLine" minOccurs="0" maxOccurs="unbounded" />
<xs:element ref="PremiseNumberPrefix" minOccurs="0" maxOccurs="unbounded" />
<xs:element ref="PremiseNumber" maxOccurs="unbounded" />
<xs:element ref="PremiseNumberSuffix" minOccurs="0" maxOccurs="unbounded" />
</xs:sequence>
</xs:complexType>
</xs:element>
<xs:element name="PremiseNumberRangeTo">
<xs:annotation>
<xs:documentation>End number details of the premise number range</xs:documentation>
</xs:annotation>
<xs:complexType>
<xs:sequence>
<xs:element ref="AddressLine" minOccurs="0" maxOccurs="unbounded" />
<xs:element ref="PremiseNumberPrefix" minOccurs="0" maxOccurs="unbounded" />
<xs:element ref="PremiseNumber" maxOccurs="unbounded" />
<xs:element ref="PremiseNumberSuffix" minOccurs="0" maxOccurs="unbounded" />
</xs:sequence>
</xs:complexType>
</xs:element>
</xs:sequence>
<xs:attribute name="RangeType">
<xs:annotation>
<xs:documentation>Eg. Odd or even number range</xs:documentation>
</xs:annotation>
</xs:attribute>
<xs:attribute name="Indicator">
<xs:annotation>
<xs:documentation>Eg. No. in Building No:C1-C5</xs:documentation>
</xs:annotation>
</xs:attribute>
<xs:attribute name="Separator">
<xs:annotation>
<xs:documentation>"-" in 12-14 or "Thru" in 12 Thru 14 etc.</xs:documentation>
</xs:annotation>
</xs:attribute>
<xs:attribute name="Type" />
<xs:attribute name="IndicatorOccurence">
<xs:annotation>
<xs:documentation>No.12-14 where "No." is before actual street number</xs:documentation>
</xs:annotation>
<xs:simpleType>
<xs:restriction base="xs:NMTOKEN">
<xs:enumeration value="Before" />
<xs:enumeration value="After" />
</xs:restriction>
</xs:simpleType>
</xs:attribute>
<xs:attribute name="NumberRangeOccurence">
<xs:annotation>
<xs:documentation>Building 23-25 where the number occurs after building name</xs:documentation>
</xs:annotation>
<xs:simpleType>
<xs:restriction base="xs:NMTOKEN">
<xs:enumeration value="BeforeName" />
<xs:enumeration value="AfterName" />
<xs:enumeration value="BeforeType" />
<xs:enumeration value="AfterType" />
</xs:restriction>
</xs:simpleType>
</xs:attribute>
</xs:complexType>
</xs:element>
</xs:choice>
</xs:choice>
<xs:element ref="PremiseNumberPrefix" minOccurs="0" maxOccurs="unbounded" />
<xs:element ref="PremiseNumberSuffix" minOccurs="0" maxOccurs="unbounded" />
<xs:element name="BuildingName" type="BuildingNameType" minOccurs="0" maxOccurs="unbounded">
<xs:annotation>
<xs:documentation>Specification of the name of a building.</xs:documentation>
</xs:annotation>
</xs:element>
<xs:choice>
<xs:element name="SubPremise" type="SubPremiseType" minOccurs="0" maxOccurs="unbounded">
<xs:annotation>
<xs:documentation>Specification of a single sub-premise. Examples of sub-premises are apartments and suites. Each sub-premise should be uniquely identifiable.</xs:documentation>
</xs:annotation>
</xs:element>
<xs:element name="Firm" type="FirmType" minOccurs="0">
<xs:annotation>
<xs:documentation>Specification of a firm, company, organization, etc. It can be specified as part of an address that contains a street or a postbox. It is therefore different from a large mail user address, which contains no street.</xs:documentation>
</xs:annotation>
</xs:element>
</xs:choice>
<xs:element name="MailStop" type="MailStopType" minOccurs="0">
<xs:annotation>
<xs:documentation>A MailStop is where the the mail is delivered to within a premise/subpremise/firm or a facility.</xs:documentation>
</xs:annotation>
</xs:element>
<xs:element ref="PostalCode" minOccurs="0" />
<xs:element ref="Premise" minOccurs="0" />
<xs:any namespace="##other" minOccurs="0" maxOccurs="unbounded" />
</xs:sequence>
<xs:attribute name="Type">
<xs:annotation>
<xs:documentation>COMPLEXE in COMPLEX DES JARDINS, A building, station, etc</xs:documentation>
</xs:annotation>
</xs:attribute>
<xs:attribute name="PremiseDependency">
<xs:annotation>
<xs:documentation>STREET, PREMISE, SUBPREMISE, PARK, FARM, etc</xs:documentation>
</xs:annotation>
</xs:attribute>
<xs:attribute name="PremiseDependencyType">
<xs:annotation>
<xs:documentation>NEAR, ADJACENT TO, etc</xs:documentation>
</xs:annotation>
</xs:attribute>
<xs:attribute name="PremiseThoroughfareConnector">
<xs:annotation>
<xs:documentation>DES, DE, LA, LA, DU in RUE DU BOIS. These terms connect a premise/thoroughfare type and premise/thoroughfare name. Terms may appear with names AVE DU BOIS</xs:documentation>
</xs:annotation>
</xs:attribute>
<xs:anyAttribute namespace="##other" />
</xs:complexType>
</xs:element>
|