<xs:element name="ThoroughfareNumberRange">
<xs:annotation>
<xs:documentation>A container to represent a range of numbers (from x thru y)for a thoroughfare. eg. 1-2 Albert Av</xs:documentation>
</xs:annotation>
<xs:complexType>
<xs:sequence>
<xs:element ref="AddressLine" minOccurs="0" maxOccurs="unbounded" />
<xs:element name="ThoroughfareNumberFrom">
<xs:annotation>
<xs:documentation>Starting number in the range</xs:documentation>
</xs:annotation>
<xs:complexType mixed="true">
<xs:sequence>
<xs:element ref="AddressLine" minOccurs="0" maxOccurs="unbounded" />
<xs:element ref="ThoroughfareNumberPrefix" minOccurs="0" maxOccurs="unbounded" />
<xs:element ref="ThoroughfareNumber" maxOccurs="unbounded" />
<xs:element ref="ThoroughfareNumberSuffix" minOccurs="0" maxOccurs="unbounded" />
</xs:sequence>
<xs:attributeGroup ref="grPostal" />
<xs:anyAttribute namespace="##other" />
</xs:complexType>
</xs:element>
<xs:element name="ThoroughfareNumberTo">
<xs:annotation>
<xs:documentation>Ending number in the range</xs:documentation>
</xs:annotation>
<xs:complexType mixed="true">
<xs:sequence>
<xs:element ref="AddressLine" minOccurs="0" maxOccurs="unbounded" />
<xs:element ref="ThoroughfareNumberPrefix" minOccurs="0" maxOccurs="unbounded" />
<xs:element ref="ThoroughfareNumber" maxOccurs="unbounded" />
<xs:element ref="ThoroughfareNumberSuffix" minOccurs="0" maxOccurs="unbounded" />
</xs:sequence>
<xs:attributeGroup ref="grPostal" />
<xs:anyAttribute namespace="##other" />
</xs:complexType>
</xs:element>
</xs:sequence>
<xs:attribute name="RangeType">
<xs:annotation>
<xs:documentation>Thoroughfare number ranges are odd or even</xs:documentation>
</xs:annotation>
<xs:simpleType>
<xs:restriction base="xs:NMTOKEN">
<xs:enumeration value="Odd" />
<xs:enumeration value="Even" />
</xs:restriction>
</xs:simpleType>
</xs:attribute>
<xs:attribute name="Indicator">
<xs:annotation>
<xs:documentation>"No." No.12-13</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="IndicatorOccurrence">
<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="NumberRangeOccurrence">
<xs:annotation>
<xs:documentation>23-25 Archer St, where number appears before 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:attribute name="Type" />
<xs:attributeGroup ref="grPostal" />
<xs:anyAttribute namespace="##other" />
</xs:complexType>
</xs:element>
|