Definition Type: Element
Name: Premise
Namespace: urn:oasis:names:tc:ciq:xsdschema:xAL:2.0
Containing Schema: xAL.xsd
Abstract
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
Collapse XSD Schema Diagram:
Drilldown into Premise in schema xal_xsd Drilldown into PostalCode in schema xal_xsd Drilldown into MailStop in schema xal_xsd Drilldown into Firm in schema xal_xsd Drilldown into SubPremise in schema xal_xsd Drilldown into BuildingName in schema xal_xsd Drilldown into PremiseNumberSuffix in schema xal_xsd Drilldown into PremiseNumberPrefix in schema xal_xsd Drilldown into PremiseNumberRange in schema xal_xsd Drilldown into PremiseNumber in schema xal_xsd Drilldown into PremiseLocation in schema xal_xsd Drilldown into PremiseName in schema xal_xsd Drilldown into AddressLine in schema xal_xsd Drilldown into PremiseThoroughfareConnector in schema xal_xsd Drilldown into PremiseDependencyType in schema xal_xsd Drilldown into PremiseDependency in schema xal_xsd Drilldown into Type in schema xal_xsdXSD Diagram of Premise in schema xal_xsd (OASIS Election Markup Language (EML))
Collapse XSD Schema Code:
<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>
Collapse Child Elements:
Name Type Min Occurs Max Occurs
AddressLine xal:AddressLine 0 unbounded
PremiseName xal:PremiseName 0 unbounded
PremiseLocation xal:PremiseLocation (1) (1)
PremiseNumber xal:PremiseNumber (1) unbounded
PremiseNumberRange xal:PremiseNumberRange (1) (1)
PremiseNumberPrefix xal:PremiseNumberPrefix 0 unbounded
PremiseNumberSuffix xal:PremiseNumberSuffix 0 unbounded
BuildingName xal:BuildingName 0 unbounded
SubPremise xal:SubPremise 0 unbounded
Firm xal:Firm 0 (1)
MailStop xal:MailStop 0 (1)
PostalCode xal:PostalCode 0 (1)
Premise xal:Premise 0 (1)
<xs:any> Allowed namespace: '##other' 0 unbounded
Collapse Child Attributes:
Name Type Default Value Use
Type xal:Type (Optional)
PremiseDependency xal:PremiseDependency (Optional)
PremiseDependencyType xal:PremiseDependencyType (Optional)
PremiseThoroughfareConnector xal:PremiseThoroughfareConnector (Optional)
<anyAttribute> Allowed namespace: '##other'
Collapse Comments:
blog comments powered by Disqus