1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139 140 141 142 143 144 145 146 147 148 149 150 151 152 153 154 155 156 157 158 159 160 161 162 163 164 165 166 167 168 169 170 171 172 173 174 175 176 177 178 179 180 181 182 183 184 185 186 187 188 189 190 191 192 193 194 195 196 197 198 199 200 201 202 203 204 205 206 207 208 209 210 211 212 213 214 215 216 217 218 219 220 221 222 223 224 225 226 227 228 229 230 231 232 233 234 235 236 237 238 239 240 241 242 243 244 245 246 247 248 249 250 251 252 253 254 255 256 257 258 259 260 261 262 263 264 265 266 267 268 269 270 271 272 273 274 275 276 277 278 279 280 281 282 283 284 285 286 287 288 289 290 291 292 293 294 295 296 297 298 299 300 301 302 303 304 305 306 307 308 309 310 311 312 313 314 315 316 317 318 319 320 321 322 323 324 325 326 327 328 329 330 331 332 333 334 335 336 337 338 339 340 341 342 343 344 345 346 347 348 349 350 351 352 353 354 355 356 357 358 359 360 361 362 363 364 365 366 367 368 369 370 371 372 373 374 375 376 377 378 379 380 381 382 383 384 385 386 387 388 389 390 391 392 393 394 395 396 397 398 399 400 401 402 403 404 405 406 407 408 409 410 411 412 413 414 415 416 417 418 419 420 421 422 423 424 425 426 427 428 429 430 431 432 433 434 435 436 437 438 439 440 441 442 443 444 445 446 447 448 449 450 451 452 453 454 455 456 457 458 459 460 461 462 463 464 465 466 467 468 469 470 471 472 473 474 475 476 477 478 479 480 481 482 483 484 485 486 487 488 489 490 491 492 493 494 495 496 497 498 499 500 501 502 503 504 505 506 507 508 509 510 511 512 513 514 515 516 517 518 519 520 521 522 523 524 525 526 527 528 529 530 531 532 533 534 535 536 537 538 539 540 541 542 543 544 545 546 547 548 549 550 551 552 553 554 555 556 557 558 559 560 561 562 563 564 565 566 567 568 569 570 571 572 573 574 575 576 577 578 579 580 581 582 583 584 585 586 587 588 589 590 591 592 593 594 595 596 597 598 599 600 601 602 603 604 605 606 607 608 609 610 611 612 613 614 615 616 617 618 619 620 621 622 623 624 625 626 627 628 629 630 631 632 633 634 635 636 637 638 639 640 641 642 643 644 645 646 647 648 649 650 651 652 653 654 655 656 657 658 659 660 661 662 663 664 665 666 667 668 669 670 671 672 673 674 675 676 677 678 679 680 681 682 683 684 685 686 687 688 689 690 691 692 693 694 695 696 697 698 699 700 701 702 703 704 705 706 707 708 709 710 711 712 713 714 715 716 717 718 719 720 721 722 723 724 725 726 727 728 729 730 731 732 733 734 735 736 737 738 739 740 741 742 743 744 745 746 747 748 749 750 751 752 753 754 755 756 757 758 759 760 761 762 763 764 765 766 767 768 769 770 771 772 773 774 775 776 777 778 779 780 781 782 783 784 785 786 787 788 789 790 791 792 793 794 795 796 797 798 799 800 801 802 803 804 805 806 807 808 809 810 811 812 813 814 815 816 817 818 819 820 821 822 823 824 825 826 827 828 829 830 831 832 833 834 835 836 837 838 839 840 841 842 843 844 845 846 847 848 849 850 851 852 853 854 855 856 857 858 859 860 861 862 863 864 865 866 867 868 869 870 871 872 873 874 875 876 877 878 879 880 881 882 883 884 885 886 887 888 889 890 891 892 893 894 895 896 897 898 899 900 901 902 903 904 905 906 907 908 909 910 911 912 913 914 915 916 917 918 919 920 921 922 923 924 925 926 927 928 929 930 931 932 933 934 935 936 937 938 939 940 941 942 943 944 945 946 947 948 949 950 951 952 953 954 955 956 957 958 959 960 961 962 963 964 965 966 967 968 969 970 971 972 973 974 975 976 977 978 979 980 981 982 983 984 985 986 987 988 989 990 991 992 993 994 995 996 997 998 999 1000 1001 1002 1003 1004 1005 1006 1007 1008 1009 1010 1011 1012 1013 1014 1015 1016 1017 1018 1019 1020 1021 1022 1023 1024 1025 1026 1027 1028 1029 1030 1031 1032 1033 1034 1035 1036 1037 1038 1039 1040 1041 1042 1043 1044 1045 1046 1047 1048 1049 1050 1051 1052 1053 1054 1055 1056 1057 1058 1059 1060 1061 1062 1063 1064 1065 1066 1067 1068 1069 1070 1071 1072 1073 1074 1075 1076 1077 1078 1079 1080 1081 1082 1083 1084 1085 1086 1087 1088 1089 1090 1091 1092 1093 1094 1095 1096 1097 1098 1099 1100 1101 1102 1103 1104 1105 1106 1107 1108 1109 1110 1111 1112 1113 1114 1115 1116 1117 1118 1119 1120 1121 1122 1123 1124 1125 1126 1127 1128 1129 1130 1131 1132 1133 1134 1135 1136 1137 1138 1139 1140 1141 1142 1143 1144 1145 1146 1147 1148 1149 1150 1151 1152 1153 1154 1155 1156 1157 1158 1159 1160 1161 1162 1163 1164 1165 1166 1167 1168 1169 1170 1171 1172 1173 1174 1175 1176 1177 1178 1179 1180 1181 1182 1183 1184 1185 1186 1187 1188 1189 1190 1191 1192 1193 1194 1195 1196 1197 1198 1199 1200 1201 1202 1203 1204 1205 1206 1207 1208 1209 1210 1211 1212 1213 1214 1215 1216 1217 1218 1219 1220 1221 1222 1223 1224 1225 1226 1227 1228 1229 1230 1231 1232 1233 1234 1235 1236 1237 1238 1239 1240 1241 1242 1243 1244 1245 1246 1247 1248 1249 1250 1251 1252 1253 1254 1255 1256 1257 1258 1259 1260 1261 1262 1263 1264 1265 1266 1267 1268 1269 1270 1271 1272 1273 1274 1275 1276 1277 1278 1279 1280 1281 1282 1283 1284 1285 1286 1287 1288 1289 1290 1291 1292 1293 1294 1295 1296 1297 1298 1299 1300 1301 1302 1303 1304 1305 1306 1307 1308 1309 1310 1311 1312 1313 1314 1315 1316 1317 1318 1319 1320 1321 1322 1323 1324 1325 1326 1327 1328 1329 1330 1331 1332 1333 1334 1335 1336 1337 1338 1339 1340 1341 1342 1343 1344 1345 1346 1347 1348 1349 1350 1351 1352 1353 1354 1355 1356 1357 1358 1359 1360 1361 1362 1363 1364 1365 1366 1367 1368 1369 1370 1371 1372 1373 1374 1375 1376 1377 1378 1379 1380 1381 1382 1383 1384 1385 1386 1387 1388 1389 1390 1391 1392 1393 1394 1395 1396 1397 1398 1399 1400 1401 1402 1403 1404 1405 1406 1407 1408 1409 1410 1411 1412 1413 1414 1415 1416 1417 1418 1419 1420 1421 1422 1423 1424 1425 1426 1427 1428 1429 1430 1431 1432 1433 1434 1435 1436 1437 1438 1439 1440 1441 1442 1443 1444 1445 1446 1447 1448 1449 1450 1451 1452 1453 1454 1455 1456 1457 1458 1459 1460 1461 1462 1463 1464 1465 1466 1467 1468 1469 1470 1471 1472 1473 1474 1475 1476 1477 1478 1479 1480 1481 1482 1483 1484 1485 1486 1487 1488 1489 1490 1491 1492 1493 1494 1495 1496 1497 1498 1499 1500 1501 1502 1503 1504 1505 1506 1507 1508 1509 1510 1511 1512 1513 1514 1515 1516 1517 1518 1519 1520 1521 1522 1523 1524 1525 1526 1527 1528 1529 1530 1531 1532 1533 1534 1535 1536 1537 1538 1539 1540 1541 1542 1543 1544 1545 1546 1547 1548 1549 1550 1551 1552 1553 1554 1555 1556 1557 1558 1559 1560 1561 1562 1563 1564 1565 1566 1567 1568 1569 1570 1571 1572 1573 1574 1575 1576 1577 1578 1579 1580 1581 1582 1583 1584 1585 1586 1587 1588 1589 1590 1591 1592 1593 1594 1595 1596 1597 1598 1599 1600 1601 1602 1603 1604 1605 1606 1607 1608 1609 1610 1611 1612 1613 1614 1615 1616 1617 1618 1619 1620 1621 1622 1623 1624 1625 1626 1627 1628 1629 1630 1631 1632 1633 1634 1635 1636 1637 1638 1639 1640 1641 1642 1643 1644 1645 1646 1647 1648 1649 1650 1651 1652 1653 1654 1655 1656 1657 1658 1659 1660 1661 1662 1663 1664 1665 1666 1667 1668 1669 1670 1671 1672 1673 1674 1675 1676 1677 1678 1679 1680
|
<?xml version="1.0" encoding="UTF-8"?>
<!--Modified by Ram Kumar (MSI) on 24 July 2002-->
<xs:schema targetNamespace="urn:oasis:names:tc:ciq:xsdschema:xAL:2.0" xmlns:xs="http://www.w3.org/2001/XMLSchema" xmlns="urn:oasis:names:tc:ciq:xsdschema:xAL:2.0" elementFormDefault="qualified">
<xs:annotation>
<xs:documentation>xAL: eXtensible Address Language
This is an XML document type definition (DTD) for
defining addresses.
Original Date of Creation: 1 March 2001
Copyright(c) 2000, OASIS. All Rights Reserved [http://www.oasis-open.org]
Contact: Customer Information Quality Technical Committee, OASIS
http://www.oasis-open.org/committees/ciq
VERSION: 2.0 [MAJOR RELEASE] Date of Creation: 01 May 2002
Last Update: 24 July 2002
Previous Version: 1.3</xs:documentation>
</xs:annotation>
<xs:annotation>
<xs:documentation>Common Attributes:Type - If not documented then it means, possible values of Type not limited to: Official, Unique, Abbreviation, OldName, Synonym
Code:Address element codes are used by groups like postal groups like ECCMA, ADIS, UN/PROLIST for postal services</xs:documentation>
</xs:annotation>
<xs:attributeGroup name="grPostal">
<xs:attribute name="Code">
<xs:annotation>
<xs:documentation>Used by postal services to encode the name of the element.</xs:documentation>
</xs:annotation>
</xs:attribute>
</xs:attributeGroup>
<xs:element name="xAL">
<xs:annotation>
<xs:documentation>Root element for a list of addresses</xs:documentation>
</xs:annotation>
<xs:complexType>
<xs:sequence>
<xs:element ref="AddressDetails" maxOccurs="unbounded"/>
<xs:any namespace="##other" minOccurs="0" maxOccurs="unbounded"/>
</xs:sequence>
<xs:attribute name="Version">
<xs:annotation>
<xs:documentation>Specific to DTD to specify the version number of DTD</xs:documentation>
</xs:annotation>
</xs:attribute>
<xs:anyAttribute namespace="##other"/>
</xs:complexType>
</xs:element>
<xs:element name="AddressDetails" type="AddressDetails">
<xs:annotation>
<xs:documentation>This container defines the details of the address. Can define multiple addresses including tracking address history</xs:documentation>
</xs:annotation>
</xs:element>
<xs:complexType name="AddressDetails">
<xs:sequence>
<xs:element name="PostalServiceElements" minOccurs="0">
<xs:annotation>
<xs:documentation>Postal authorities use specific postal service data to expedient delivery of mail</xs:documentation>
</xs:annotation>
<xs:complexType>
<xs:sequence>
<xs:element name="AddressIdentifier" minOccurs="0" maxOccurs="unbounded">
<xs:annotation>
<xs:documentation>A unique identifier of an address assigned by postal authorities. Example: DPID in Australia</xs:documentation>
</xs:annotation>
<xs:complexType mixed="true">
<xs:attribute name="IdentifierType">
<xs:annotation>
<xs:documentation>Type of identifier. eg. DPID as in Australia</xs:documentation>
</xs:annotation>
</xs:attribute>
<xs:attribute name="Type"/>
<xs:attributeGroup ref="grPostal"/>
<xs:anyAttribute namespace="##other"/>
</xs:complexType>
</xs:element>
<xs:element name="EndorsementLineCode" minOccurs="0">
<xs:annotation>
<xs:documentation>Directly affects postal service distribution</xs:documentation>
</xs:annotation>
<xs:complexType mixed="true">
<xs:attribute name="Type">
<xs:annotation>
<xs:documentation>Specific to postal service</xs:documentation>
</xs:annotation>
</xs:attribute>
<xs:attributeGroup ref="grPostal"/>
<xs:anyAttribute namespace="##other"/>
</xs:complexType>
</xs:element>
<xs:element name="KeyLineCode" minOccurs="0">
<xs:annotation>
<xs:documentation>Required for some postal services</xs:documentation>
</xs:annotation>
<xs:complexType mixed="true">
<xs:attribute name="Type">
<xs:annotation>
<xs:documentation>Specific to postal service</xs:documentation>
</xs:annotation>
</xs:attribute>
<xs:attributeGroup ref="grPostal"/>
<xs:anyAttribute namespace="##other"/>
</xs:complexType>
</xs:element>
<xs:element name="Barcode" minOccurs="0">
<xs:annotation>
<xs:documentation>Required for some postal services</xs:documentation>
</xs:annotation>
<xs:complexType mixed="true">
<xs:attribute name="Type">
<xs:annotation>
<xs:documentation>Specific to postal service</xs:documentation>
</xs:annotation>
</xs:attribute>
<xs:attributeGroup ref="grPostal"/>
<xs:anyAttribute namespace="##other"/>
</xs:complexType>
</xs:element>
<xs:element name="SortingCode" minOccurs="0">
<xs:annotation>
<xs:documentation>Used for sorting addresses. Values may for example be CEDEX 16 (France)</xs:documentation>
</xs:annotation>
<xs:complexType>
<xs:attribute name="Type">
<xs:annotation>
<xs:documentation>Specific to postal service</xs:documentation>
</xs:annotation>
</xs:attribute>
<xs:attributeGroup ref="grPostal"/>
</xs:complexType>
</xs:element>
<xs:element name="AddressLatitude" minOccurs="0">
<xs:annotation>
<xs:documentation>Latitude of delivery address</xs:documentation>
</xs:annotation>
<xs:complexType mixed="true">
<xs:attribute name="Type">
<xs:annotation>
<xs:documentation>Specific to postal service</xs:documentation>
</xs:annotation>
</xs:attribute>
<xs:attributeGroup ref="grPostal"/>
<xs:anyAttribute namespace="##other"/>
</xs:complexType>
</xs:element>
<xs:element name="AddressLatitudeDirection" minOccurs="0">
<xs:annotation>
<xs:documentation>Latitude direction of delivery address;N = North and S = South</xs:documentation>
</xs:annotation>
<xs:complexType mixed="true">
<xs:annotation>
<xs:documentation>Specific to postal service</xs:documentation>
</xs:annotation>
<xs:attribute name="Type"/>
<xs:attributeGroup ref="grPostal"/>
<xs:anyAttribute namespace="##other"/>
</xs:complexType>
</xs:element>
<xs:element name="AddressLongitude" minOccurs="0">
<xs:annotation>
<xs:documentation>Longtitude of delivery address</xs:documentation>
</xs:annotation>
<xs:complexType mixed="true">
<xs:attribute name="Type">
<xs:annotation>
<xs:documentation>Specific to postal service</xs:documentation>
</xs:annotation>
</xs:attribute>
<xs:attributeGroup ref="grPostal"/>
<xs:anyAttribute namespace="##other"/>
</xs:complexType>
</xs:element>
<xs:element name="AddressLongitudeDirection" minOccurs="0">
<xs:annotation>
<xs:documentation>Longtitude direction of delivery address;N=North and S=South</xs:documentation>
</xs:annotation>
<xs:complexType mixed="true">
<xs:attribute name="Type">
<xs:annotation>
<xs:documentation>Specific to postal service</xs:documentation>
</xs:annotation>
</xs:attribute>
<xs:attributeGroup ref="grPostal"/>
<xs:anyAttribute namespace="##other"/>
</xs:complexType>
</xs:element>
<xs:element name="SupplementaryPostalServiceData" minOccurs="0" maxOccurs="unbounded">
<xs:annotation>
<xs:documentation>any postal service elements not covered by the container can be represented using this element</xs:documentation>
</xs:annotation>
<xs:complexType mixed="true">
<xs:attribute name="Type">
<xs:annotation>
<xs:documentation>Specific to postal service</xs:documentation>
</xs:annotation>
</xs:attribute>
<xs:attributeGroup ref="grPostal"/>
<xs:anyAttribute namespace="##other"/>
</xs:complexType>
</xs:element>
<xs:any namespace="##other" minOccurs="0" maxOccurs="unbounded"/>
</xs:sequence>
<xs:attribute name="Type">
<xs:annotation>
<xs:documentation>USPS, ECMA, UN/PROLIST, etc</xs:documentation>
</xs:annotation>
</xs:attribute>
<xs:anyAttribute namespace="##other"/>
</xs:complexType>
</xs:element>
<xs:choice minOccurs="0">
<xs:annotation>
<xs:documentation>Use the most suitable option. Country contains the most detailed information while Locality is missing Country and AdminArea</xs:documentation>
</xs:annotation>
<xs:element name="Address">
<xs:annotation>
<xs:documentation>Address as one line of free text</xs:documentation>
</xs:annotation>
<xs:complexType mixed="true">
<xs:attribute name="Type">
<xs:annotation>
<xs:documentation>Postal, residential, corporate, etc</xs:documentation>
</xs:annotation>
</xs:attribute>
<xs:attributeGroup ref="grPostal"/>
<xs:anyAttribute namespace="##other"/>
</xs:complexType>
</xs:element>
<xs:element name="AddressLines" type="AddressLinesType">
<xs:annotation>
<xs:documentation>Container for Address lines</xs:documentation>
</xs:annotation>
</xs:element>
<xs:element name="Country">
<xs:annotation>
<xs:documentation>Specification of a country</xs:documentation>
</xs:annotation>
<xs:complexType>
<xs:sequence>
<xs:element ref="AddressLine" minOccurs="0" maxOccurs="unbounded"/>
<xs:element name="CountryNameCode" minOccurs="0" maxOccurs="unbounded">
<xs:annotation>
<xs:documentation>A country code according to the specified scheme</xs:documentation>
</xs:annotation>
<xs:complexType mixed="true">
<xs:attribute name="Scheme">
<xs:annotation>
<xs:documentation>Country code scheme possible values, but not limited to: iso.3166-2, iso.3166-3 for two and three character country codes.</xs:documentation>
</xs:annotation>
</xs:attribute>
<xs:attributeGroup ref="grPostal"/>
<xs:anyAttribute namespace="##other"/>
</xs:complexType>
</xs:element>
<xs:element ref="CountryName" minOccurs="0" maxOccurs="unbounded"/>
<xs:choice minOccurs="0">
<xs:element ref="AdministrativeArea"/>
<xs:element ref="Locality"/>
<xs:element ref="Thoroughfare"/>
</xs:choice>
<xs:any namespace="##other" minOccurs="0" maxOccurs="unbounded"/>
</xs:sequence>
<xs:anyAttribute namespace="##other"/>
</xs:complexType>
</xs:element>
<xs:element ref="AdministrativeArea"/>
<xs:element ref="Locality"/>
<xs:element ref="Thoroughfare"/>
</xs:choice>
<xs:any namespace="##other" minOccurs="0" maxOccurs="unbounded"/>
</xs:sequence>
<xs:attribute name="AddressType">
<xs:annotation>
<xs:documentation>Type of address. Example: Postal, residential,business, primary, secondary, etc</xs:documentation>
</xs:annotation>
</xs:attribute>
<xs:attribute name="CurrentStatus">
<xs:annotation>
<xs:documentation>Moved, Living, Investment, Deceased, etc..</xs:documentation>
</xs:annotation>
</xs:attribute>
<xs:attribute name="ValidFromDate">
<xs:annotation>
<xs:documentation>Start Date of the validity of address</xs:documentation>
</xs:annotation>
</xs:attribute>
<xs:attribute name="ValidToDate">
<xs:annotation>
<xs:documentation>End date of the validity of address</xs:documentation>
</xs:annotation>
</xs:attribute>
<xs:attribute name="Usage">
<xs:annotation>
<xs:documentation>Communication, Contact, etc.</xs:documentation>
</xs:annotation>
</xs:attribute>
<xs:attributeGroup ref="grPostal"/>
<xs:attribute name="AddressDetailsKey">
<xs:annotation>
<xs:documentation>Key identifier for the element for not reinforced references from other elements. Not required to be unique for the document to be valid, but application may get confused if not unique. Extend this schema adding unique contraint if needed.</xs:documentation>
</xs:annotation>
</xs:attribute>
<xs:anyAttribute namespace="##other"/>
</xs:complexType>
<xs:complexType name="AddressLinesType">
<xs:sequence>
<xs:element ref="AddressLine" maxOccurs="unbounded"/>
<xs:any namespace="##other" minOccurs="0" maxOccurs="unbounded"/>
</xs:sequence>
<xs:anyAttribute namespace="##other"/>
</xs:complexType>
<xs:complexType name="BuildingNameType" mixed="true">
<xs:attribute name="Type"/>
<xs:attribute name="TypeOccurrence">
<xs:annotation>
<xs:documentation>Occurrence of the building name before/after the type. eg. EGIS BUILDING where name appears before type</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:complexType name="DependentLocalityType">
<xs:sequence>
<xs:element ref="AddressLine" minOccurs="0" maxOccurs="unbounded"/>
<xs:element name="DependentLocalityName" minOccurs="0" maxOccurs="unbounded">
<xs:annotation>
<xs:documentation>Name of the dependent locality</xs:documentation>
</xs:annotation>
<xs:complexType mixed="true">
<xs:attribute name="Type"/>
<xs:attributeGroup ref="grPostal"/>
<xs:anyAttribute namespace="##other"/>
</xs:complexType>
</xs:element>
<xs:element name="DependentLocalityNumber" minOccurs="0">
<xs:annotation>
<xs:documentation>Number of the dependent locality. Some areas are numbered. Eg. SECTOR 5 in a Suburb as in India or SOI SUKUMVIT 10 as in Thailand</xs:documentation>
</xs:annotation>
<xs:complexType mixed="true">
<xs:attribute name="NameNumberOccurrence">
<xs:annotation>
<xs:documentation>Eg. SECTOR occurs before 5 in SECTOR 5</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 ref="PostBox"/>
<xs:element name="LargeMailUser" type="LargeMailUserType">
<xs:annotation>
<xs:documentation>Specification of a large mail user address. Examples of large mail users are postal companies, companies in France with a cedex number, hospitals and airports with their own post code. Large mail user addresses do not have a street name with premise name or premise number in countries like Netherlands. But they have a POBox and street also in countries like France</xs:documentation>
</xs:annotation>
</xs:element>
<xs:element ref="PostOffice"/>
<xs:element name="PostalRoute" type="PostalRouteType">
<xs:annotation>
<xs:documentation> A Postal van is specific for a route as in Is`rael, Rural route</xs:documentation>
</xs:annotation>
</xs:element>
</xs:choice>
<xs:element ref="Thoroughfare" minOccurs="0"/>
<xs:element ref="Premise" minOccurs="0"/>
<xs:element name="DependentLocality" type="DependentLocalityType" minOccurs="0">
<xs:annotation>
<xs:documentation>Dependent localities are Districts within cities/towns, locality divisions, postal
divisions of cities, suburbs, etc. DependentLocality is a recursive element, but no nesting deeper than two exists (Locality-DependentLocality-DependentLocality).</xs:documentation>
</xs:annotation>
</xs:element>
<xs:element ref="PostalCode" minOccurs="0"/>
<xs:any namespace="##other" minOccurs="0" maxOccurs="unbounded"/>
</xs:sequence>
<xs:attribute name="Type">
<xs:annotation>
<xs:documentation>City or IndustrialEstate, etc</xs:documentation>
</xs:annotation>
</xs:attribute>
<xs:attribute name="UsageType">
<xs:annotation>
<xs:documentation>Postal or Political - Sometimes locations must be distinguished between postal system, and physical locations as defined by a political system</xs:documentation>
</xs:annotation>
</xs:attribute>
<xs:attribute name="Connector">
<xs:annotation>
<xs:documentation>"VIA" as in Hill Top VIA Parish where Parish is a locality and Hill Top is a dependent locality</xs:documentation>
</xs:annotation>
</xs:attribute>
<xs:attribute name="Indicator">
<xs:annotation>
<xs:documentation>Eg. Erode (Dist) where (Dist) is the Indicator</xs:documentation>
</xs:annotation>
</xs:attribute>
<xs:anyAttribute namespace="##other"/>
</xs:complexType>
<xs:complexType name="FirmType">
<xs:sequence>
<xs:element ref="AddressLine" minOccurs="0" maxOccurs="unbounded"/>
<xs:element name="FirmName" minOccurs="0" maxOccurs="unbounded">
<xs:annotation>
<xs:documentation>Name of the firm</xs:documentation>
</xs:annotation>
<xs:complexType mixed="true">
<xs:attribute name="Type"/>
<xs:attributeGroup ref="grPostal"/>
<xs:anyAttribute namespace="##other"/>
</xs:complexType>
</xs:element>
<xs:element ref="Department" minOccurs="0" maxOccurs="unbounded"/>
<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:any namespace="##other" minOccurs="0" maxOccurs="unbounded"/>
</xs:sequence>
<xs:attribute name="Type"/>
<xs:anyAttribute namespace="##other"/>
</xs:complexType>
<xs:complexType name="LargeMailUserType">
<xs:sequence>
<xs:element ref="AddressLine" minOccurs="0" maxOccurs="unbounded"/>
<xs:element name="LargeMailUserName" minOccurs="0" maxOccurs="unbounded">
<xs:annotation>
<xs:documentation>Name of the large mail user. eg. Smith Ford International airport</xs:documentation>
</xs:annotation>
<xs:complexType mixed="true">
<xs:attribute name="Type" type="xs:string">
<xs:annotation>
<xs:documentation>Airport, Hospital, etc</xs:documentation>
</xs:annotation>
</xs:attribute>
<xs:attribute name="Code" type="xs:string"/>
<xs:anyAttribute namespace="##other"/>
</xs:complexType>
</xs:element>
<xs:element name="LargeMailUserIdentifier" minOccurs="0">
<xs:annotation>
<xs:documentation>Specification of the identification number of a large mail user. An example are the Cedex codes in France.</xs:documentation>
</xs:annotation>
<xs:complexType mixed="true">
<xs:attribute name="Type" type="xs:string">
<xs:annotation>
<xs:documentation>CEDEX Code</xs:documentation>
</xs:annotation>
</xs:attribute>
<xs:attribute name="Indicator">
<xs:annotation>
<xs:documentation>eg. Building 429 in which Building is the Indicator</xs:documentation>
</xs:annotation>
</xs:attribute>
<xs:attributeGroup ref="grPostal"/>
<xs:anyAttribute namespace="##other"/>
</xs:complexType>
</xs:element>
<xs:element name="BuildingName" type="BuildingNameType" minOccurs="0" maxOccurs="unbounded">
<xs:annotation>
<xs:documentation>Name of the building</xs:documentation>
</xs:annotation>
</xs:element>
<xs:element ref="Department" minOccurs="0"/>
<xs:element ref="PostBox" minOccurs="0"/>
<xs:element ref="Thoroughfare" minOccurs="0"/>
<xs:element ref="PostalCode" minOccurs="0"/>
<xs:any namespace="##other" minOccurs="0" maxOccurs="unbounded"/>
</xs:sequence>
<xs:attribute name="Type" type="xs:string"/>
<xs:anyAttribute namespace="##other"/>
</xs:complexType>
<xs:complexType name="MailStopType">
<xs:sequence>
<xs:element ref="AddressLine" minOccurs="0" maxOccurs="unbounded"/>
<xs:element name="MailStopName" minOccurs="0">
<xs:annotation>
<xs:documentation>Name of the the Mail Stop. eg. MSP, MS, etc</xs:documentation>
</xs:annotation>
<xs:complexType mixed="true">
<xs:attribute name="Type"/>
<xs:attributeGroup ref="grPostal"/>
<xs:anyAttribute namespace="##other"/>
</xs:complexType>
</xs:element>
<xs:element name="MailStopNumber" minOccurs="0">
<xs:annotation>
<xs:documentation>Number of the Mail stop. eg. 123 in MS 123</xs:documentation>
</xs:annotation>
<xs:complexType mixed="true">
<xs:attribute name="NameNumberSeparator">
<xs:annotation>
<xs:documentation>"-" in MS-123</xs:documentation>
</xs:annotation>
</xs:attribute>
<xs:attributeGroup ref="grPostal"/>
<xs:anyAttribute namespace="##other"/>
</xs:complexType>
</xs:element>
<xs:any namespace="##other" minOccurs="0" maxOccurs="unbounded"/>
</xs:sequence>
<xs:attribute name="Type"/>
<xs:anyAttribute namespace="##other"/>
</xs:complexType>
<xs:complexType name="PostalRouteType">
<xs:sequence>
<xs:element ref="AddressLine" minOccurs="0" maxOccurs="unbounded"/>
<xs:choice>
<xs:element name="PostalRouteName" maxOccurs="unbounded">
<xs:annotation>
<xs:documentation> Name of the Postal Route</xs:documentation>
</xs:annotation>
<xs:complexType mixed="true">
<xs:attribute name="Type"/>
<xs:attributeGroup ref="grPostal"/>
<xs:anyAttribute namespace="##other"/>
</xs:complexType>
</xs:element>
<xs:element name="PostalRouteNumber">
<xs:annotation>
<xs:documentation> Number of the Postal Route</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="PostBox" minOccurs="0"/>
<xs:any namespace="##other" minOccurs="0" maxOccurs="unbounded"/>
</xs:sequence>
<xs:attribute name="Type"/>
<xs:anyAttribute namespace="##other"/>
</xs:complexType>
<xs:complexType name="SubPremiseType">
<xs:sequence>
<xs:element ref="AddressLine" minOccurs="0" maxOccurs="unbounded"/>
<xs:element name="SubPremiseName" minOccurs="0" maxOccurs="unbounded">
<xs:annotation>
<xs:documentation> Name of the SubPremise</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</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="SubPremiseLocation">
<xs:annotation>
<xs:documentation> Name of the SubPremise Location. eg. LOBBY, BASEMENT, GROUND FLOOR, etc...</xs:documentation>
</xs:annotation>
<xs:complexType mixed="true">
<xs:attributeGroup ref="grPostal"/>
</xs:complexType>
</xs:element>
<xs:element name="SubPremiseNumber" minOccurs="0" maxOccurs="unbounded">
<xs:annotation>
<xs:documentation> Specification of the identifier of a sub-premise. Examples of sub-premises are apartments and suites. sub-premises in a building are often uniquely identified by means of consecutive
identifiers. The identifier can be a number, a letter or any combination of the two. In the latter case, the identifier includes exactly one variable (range) part, which is either a
number or a single letter that is surrounded by fixed parts at the left (prefix) or the right (postfix).</xs:documentation>
</xs:annotation>
<xs:complexType mixed="true">
<xs:attribute name="Indicator">
<xs:annotation>
<xs:documentation>"TH" in 12TH which is a floor number, "NO." in NO.1, "#" in APT #12, etc.</xs:documentation>
</xs:annotation>
</xs:attribute>
<xs:attribute name="IndicatorOccurrence">
<xs:annotation>
<xs:documentation>"No." occurs before 1 in No.1, or TH occurs after 12 in 12TH</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="NumberTypeOccurrence">
<xs:annotation>
<xs:documentation>12TH occurs "before" FLOOR (a type of subpremise) in 12TH FLOOR</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="PremiseNumberSeparator">
<xs:annotation>
<xs:documentation>"/" in 12/14 Archer Street where 12 is sub-premise number and 14 is premise number</xs:documentation>
</xs:annotation>
</xs:attribute>
<xs:attribute name="Type"/>
<xs:attributeGroup ref="grPostal"/>
<xs:anyAttribute namespace="##other"/>
</xs:complexType>
</xs:element>
</xs:choice>
<xs:element name="SubPremiseNumberPrefix" minOccurs="0" maxOccurs="unbounded">
<xs:annotation>
<xs:documentation> Prefix of the sub premise number. eg. A in A-12</xs:documentation>
</xs:annotation>
<xs:complexType mixed="true">
<xs:attribute name="NumberPrefixSeparator">
<xs:annotation>
<xs:documentation>A-12 where 12 is number and A is prefix and "-" is the separator</xs:documentation>
</xs:annotation>
</xs:attribute>
<xs:attribute name="Type"/>
<xs:attributeGroup ref="grPostal"/>
<xs:anyAttribute namespace="##other"/>
</xs:complexType>
</xs:element>
<xs:element name="SubPremiseNumberSuffix" minOccurs="0" maxOccurs="unbounded">
<xs:annotation>
<xs:documentation> Suffix of the sub premise number. eg. A in 12A</xs:documentation>
</xs:annotation>
<xs:complexType mixed="true">
<xs:attribute name="NumberSuffixSeparator">
<xs:annotation>
<xs:documentation>12-A where 12 is number and A is suffix and "-" is the separator</xs:documentation>
</xs:annotation>
</xs:attribute>
<xs:attribute name="Type"/>
<xs:attributeGroup ref="grPostal"/>
<xs:anyAttribute namespace="##other"/>
</xs:complexType>
</xs:element>
<xs:element name="BuildingName" type="BuildingNameType" minOccurs="0" maxOccurs="unbounded">
<xs:annotation>
<xs:documentation>Name of the building</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: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 name="SubPremise" type="SubPremiseType" minOccurs="0">
<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. SubPremiseType: Specification of the name of a sub-premise type. Possible values not limited to: Suite, Appartment, Floor, Unknown
Multiple levels within a premise by recursively calling SubPremise Eg. Level 4, Suite 2, Block C</xs:documentation>
</xs:annotation>
</xs:element>
<xs:any namespace="##other" minOccurs="0" maxOccurs="unbounded"/>
</xs:sequence>
<xs:attribute name="Type"/>
<xs:anyAttribute namespace="##other"/>
</xs:complexType>
<xs:complexType name="ThoroughfareLeadingTypeType" mixed="true">
<xs:attribute name="Type"/>
<xs:attributeGroup ref="grPostal"/>
<xs:anyAttribute namespace="##other"/>
</xs:complexType>
<xs:complexType name="ThoroughfareNameType" mixed="true">
<xs:attribute name="Type"/>
<xs:attributeGroup ref="grPostal"/>
<xs:anyAttribute namespace="##other"/>
</xs:complexType>
<xs:complexType name="ThoroughfarePostDirectionType" mixed="true">
<xs:attribute name="Type"/>
<xs:attributeGroup ref="grPostal"/>
<xs:anyAttribute namespace="##other"/>
</xs:complexType>
<xs:complexType name="ThoroughfarePreDirectionType" mixed="true">
<xs:attribute name="Type"/>
<xs:attributeGroup ref="grPostal"/>
<xs:anyAttribute namespace="##other"/>
</xs:complexType>
<xs:complexType name="ThoroughfareTrailingTypeType" mixed="true">
<xs:attribute name="Type"/>
<xs:attributeGroup ref="grPostal"/>
<xs:anyAttribute namespace="##other"/>
</xs:complexType>
<xs:element name="AddressLine">
<xs:annotation>
<xs:documentation>Free format address representation. An address can have more than one line. The order of the AddressLine elements must be preserved.</xs:documentation>
</xs:annotation>
<xs:complexType mixed="true">
<xs:attribute name="Type">
<xs:annotation>
<xs:documentation>Defines the type of address line. eg. Street, Address Line 1, etc.</xs:documentation>
</xs:annotation>
</xs:attribute>
<xs:attributeGroup ref="grPostal"/>
<xs:anyAttribute namespace="##other"/>
</xs:complexType>
</xs:element>
<xs:element name="Locality">
<xs:annotation>
<xs:documentation>Locality is one level lower than adminisstrative area. Eg.: cities, reservations and any other built-up areas.</xs:documentation>
</xs:annotation>
<xs:complexType>
<xs:sequence>
<xs:element ref="AddressLine" minOccurs="0" maxOccurs="unbounded"/>
<xs:element name="LocalityName" minOccurs="0" maxOccurs="unbounded">
<xs:annotation>
<xs:documentation>Name of the locality</xs:documentation>
</xs:annotation>
<xs:complexType mixed="true">
<xs:attribute name="Type"/>
<xs:attributeGroup ref="grPostal"/>
<xs:anyAttribute namespace="##other"/>
</xs:complexType>
</xs:element>
<xs:choice minOccurs="0">
<xs:element ref="PostBox"/>
<xs:element name="LargeMailUser" type="LargeMailUserType">
<xs:annotation>
<xs:documentation>Specification of a large mail user address. Examples of large mail users are postal companies, companies in France with a cedex number, hospitals and airports with their own post code. Large mail user addresses do not have a street name with premise name or premise number in countries like Netherlands. But they have a POBox and street also in countries like France</xs:documentation>
</xs:annotation>
</xs:element>
<xs:element ref="PostOffice"/>
<xs:element name="PostalRoute" type="PostalRouteType">
<xs:annotation>
<xs:documentation>A Postal van is specific for a route as in Is`rael, Rural route</xs:documentation>
</xs:annotation>
</xs:element>
</xs:choice>
<xs:element ref="Thoroughfare" minOccurs="0"/>
<xs:element ref="Premise" minOccurs="0"/>
<xs:element name="DependentLocality" type="DependentLocalityType" minOccurs="0">
<xs:annotation>
<xs:documentation>Dependent localities are Districts within cities/towns, locality divisions, postal
divisions of cities, suburbs, etc. DependentLocality is a recursive element, but no nesting deeper than two exists (Locality-DependentLocality-DependentLocality).</xs:documentation>
</xs:annotation>
</xs:element>
<xs:element ref="PostalCode" minOccurs="0"/>
<xs:any namespace="##other" minOccurs="0" maxOccurs="unbounded"/>
</xs:sequence>
<xs:attribute name="Type">
<xs:annotation>
<xs:documentation>Possible values not limited to: City, IndustrialEstate, etc</xs:documentation>
</xs:annotation>
</xs:attribute>
<xs:attribute name="UsageType">
<xs:annotation>
<xs:documentation>Postal or Political - Sometimes locations must be distinguished between postal system, and physical locations as defined by a political system</xs:documentation>
</xs:annotation>
</xs:attribute>
<xs:attribute name="Indicator">
<xs:annotation>
<xs:documentation>Erode (Dist) where (Dist) is the Indicator</xs:documentation>
</xs:annotation>
</xs:attribute>
<xs:anyAttribute namespace="##other"/>
</xs:complexType>
</xs:element>
<xs:element name="Thoroughfare">
<xs:annotation>
<xs:documentation>Specification of a thoroughfare. A thoroughfare could be a rd, street, canal, river, etc. Note dependentlocality in a street. For example, in some countries, a large street will
have many subdivisions with numbers. Normally the subdivision name is the same as the road name, but with a number to identifiy it. Eg. SOI SUKUMVIT 3, SUKUMVIT RD, BANGKOK</xs:documentation>
</xs:annotation>
<xs:complexType>
<xs:sequence>
<xs:element ref="AddressLine" minOccurs="0" maxOccurs="unbounded"/>
<xs:choice minOccurs="0" maxOccurs="unbounded">
<xs:element ref="ThoroughfareNumber"/>
<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>
</xs:choice>
<xs:element ref="ThoroughfareNumberPrefix" minOccurs="0" maxOccurs="unbounded"/>
<xs:element ref="ThoroughfareNumberSuffix" minOccurs="0" maxOccurs="unbounded"/>
<xs:element name="ThoroughfarePreDirection" type="ThoroughfarePreDirectionType" minOccurs="0">
<xs:annotation>
<xs:documentation>North Baker Street, where North is the pre-direction. The direction appears before the name.</xs:documentation>
</xs:annotation>
</xs:element>
<xs:element name="ThoroughfareLeadingType" type="ThoroughfareLeadingTypeType" minOccurs="0">
<xs:annotation>
<xs:documentation>Appears before the thoroughfare name. Ed. Spanish: Avenida Aurora, where Avenida is the leading type / French: Rue Moliere, where Rue is the leading type.</xs:documentation>
</xs:annotation>
</xs:element>
<xs:element name="ThoroughfareName" type="ThoroughfareNameType" minOccurs="0" maxOccurs="unbounded">
<xs:annotation>
<xs:documentation>Specification of the name of a Thoroughfare (also dependant street name): street name, canal name, etc.</xs:documentation>
</xs:annotation>
</xs:element>
<xs:element name="ThoroughfareTrailingType" type="ThoroughfareTrailingTypeType" minOccurs="0">
<xs:annotation>
<xs:documentation>Appears after the thoroughfare name. Ed. British: Baker Lane, where Lane is the trailing type.</xs:documentation>
</xs:annotation>
</xs:element>
<xs:element name="ThoroughfarePostDirection" type="ThoroughfarePostDirectionType" minOccurs="0">
<xs:annotation>
<xs:documentation>221-bis Baker Street North, where North is the post-direction. The post-direction appears after the name.</xs:documentation>
</xs:annotation>
</xs:element>
<xs:element name="DependentThoroughfare" minOccurs="0">
<xs:annotation>
<xs:documentation>DependentThroughfare is related to a street; occurs in GB, IE, ES, PT</xs:documentation>
</xs:annotation>
<xs:complexType>
<xs:sequence>
<xs:element ref="AddressLine" minOccurs="0" maxOccurs="unbounded"/>
<xs:element name="ThoroughfarePreDirection" type="ThoroughfarePreDirectionType" minOccurs="0">
<xs:annotation>
<xs:documentation>North Baker Street, where North is the pre-direction. The direction appears before the name.</xs:documentation>
</xs:annotation>
</xs:element>
<xs:element name="ThoroughfareLeadingType" type="ThoroughfareLeadingTypeType" minOccurs="0">
<xs:annotation>
<xs:documentation>Appears before the thoroughfare name. Ed. Spanish: Avenida Aurora, where Avenida is the leading type / French: Rue Moliere, where Rue is the leading type.</xs:documentation>
</xs:annotation>
</xs:element>
<xs:element name="ThoroughfareName" type="ThoroughfareNameType" minOccurs="0" maxOccurs="unbounded">
<xs:annotation>
<xs:documentation>Specification of the name of a Thoroughfare (also dependant street name): street name, canal name, etc.</xs:documentation>
</xs:annotation>
</xs:element>
<xs:element name="ThoroughfareTrailingType" type="ThoroughfareTrailingTypeType" minOccurs="0">
<xs:annotation>
<xs:documentation>Appears after the thoroughfare name. Ed. British: Baker Lane, where Lane is the trailing type.</xs:documentation>
</xs:annotation>
</xs:element>
<xs:element name="ThoroughfarePostDirection" type="ThoroughfarePostDirectionType" minOccurs="0">
<xs:annotation>
<xs:documentation>221-bis Baker Street North, where North is the post-direction. The post-direction appears after the name.</xs:documentation>
</xs:annotation>
</xs:element>
<xs:any namespace="##other" minOccurs="0" maxOccurs="unbounded"/>
</xs:sequence>
<xs:attribute name="Type"/>
<xs:anyAttribute namespace="##other"/>
</xs:complexType>
</xs:element>
<xs:choice minOccurs="0">
<xs:element name="DependentLocality" type="DependentLocalityType">
<xs:annotation>
<xs:documentation>Dependent localities are Districts within cities/towns, locality divisions, postal
divisions of cities, suburbs, etc. DependentLocality is a recursive element, but no nesting deeper than two exists (Locality-DependentLocality-DependentLocality).</xs:documentation>
</xs:annotation>
</xs:element>
<xs:element ref="Premise"/>
<xs:element name="Firm" type="FirmType">
<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:element ref="PostalCode"/>
</xs:choice>
<xs:any namespace="##other" minOccurs="0" maxOccurs="unbounded"/>
</xs:sequence>
<xs:attribute name="Type"/>
<xs:attribute name="DependentThoroughfares">
<xs:annotation>
<xs:documentation>Does this thoroughfare have a a dependent thoroughfare? Corner of street X, etc</xs:documentation>
</xs:annotation>
<xs:simpleType>
<xs:restriction base="xs:NMTOKEN">
<xs:enumeration value="Yes"/>
<xs:enumeration value="No"/>
</xs:restriction>
</xs:simpleType>
</xs:attribute>
<xs:attribute name="DependentThoroughfaresIndicator">
<xs:annotation>
<xs:documentation>Corner of, Intersection of</xs:documentation>
</xs:annotation>
</xs:attribute>
<xs:attribute name="DependentThoroughfaresConnector">
<xs:annotation>
<xs:documentation>Corner of Street1 AND Street 2 where AND is the Connector</xs:documentation>
</xs:annotation>
</xs:attribute>
<xs:attribute name="DependentThoroughfaresType">
<xs:annotation>
<xs:documentation>STS in GEORGE and ADELAIDE STS, RDS IN A and B RDS, etc. Use only when both the street types are the same</xs:documentation>
</xs:annotation>
</xs:attribute>
<xs:anyAttribute namespace="##other"/>
</xs:complexType>
</xs:element>
<xs:element name="AdministrativeArea">
<xs:annotation>
<xs:documentation>Examples of administrative areas are provinces counties, special regions (such as "Rijnmond"), etc.</xs:documentation>
</xs:annotation>
<xs:complexType>
<xs:sequence>
<xs:element ref="AddressLine" minOccurs="0" maxOccurs="unbounded"/>
<xs:element name="AdministrativeAreaName" minOccurs="0" maxOccurs="unbounded">
<xs:annotation>
<xs:documentation> Name of the administrative area. eg. MI in USA, NSW in Australia</xs:documentation>
</xs:annotation>
<xs:complexType mixed="true">
<xs:attribute name="Type"/>
<xs:attributeGroup ref="grPostal"/>
<xs:anyAttribute namespace="##other"/>
</xs:complexType>
</xs:element>
<xs:element name="SubAdministrativeArea" minOccurs="0">
<xs:annotation>
<xs:documentation> Specification of a sub-administrative area. An example of a sub-administrative areas is a county. There are two places where the name of an administrative
area can be specified and in this case, one becomes sub-administrative area.</xs:documentation>
</xs:annotation>
<xs:complexType>
<xs:sequence>
<xs:element ref="AddressLine" minOccurs="0" maxOccurs="unbounded"/>
<xs:element name="SubAdministrativeAreaName" minOccurs="0" maxOccurs="unbounded">
<xs:annotation>
<xs:documentation> Name of the sub-administrative area</xs:documentation>
</xs:annotation>
<xs:complexType mixed="true">
<xs:attribute name="Type"/>
<xs:attributeGroup ref="grPostal"/>
<xs:anyAttribute namespace="##other"/>
</xs:complexType>
</xs:element>
<xs:choice minOccurs="0">
<xs:element ref="Locality"/>
<xs:element ref="PostOffice"/>
<xs:element ref="PostalCode"/>
</xs:choice>
<xs:any namespace="##other" minOccurs="0" maxOccurs="unbounded"/>
</xs:sequence>
<xs:attribute name="Type">
<xs:annotation>
<xs:documentation>Province or State or County or Kanton, etc</xs:documentation>
</xs:annotation>
</xs:attribute>
<xs:attribute name="UsageType">
<xs:annotation>
<xs:documentation>Postal or Political - Sometimes locations must be distinguished between postal system, and physical locations as defined by a political system</xs:documentation>
</xs:annotation>
</xs:attribute>
<xs:attribute name="Indicator">
<xs:annotation>
<xs:documentation>Erode (Dist) where (Dist) is the Indicator</xs:documentation>
</xs:annotation>
</xs:attribute>
<xs:anyAttribute namespace="##other"/>
</xs:complexType>
</xs:element>
<xs:choice minOccurs="0">
<xs:element ref="Locality"/>
<xs:element ref="PostOffice"/>
<xs:element ref="PostalCode"/>
</xs:choice>
<xs:any namespace="##other" minOccurs="0" maxOccurs="unbounded"/>
</xs:sequence>
<xs:attribute name="Type">
<xs:annotation>
<xs:documentation>Province or State or County or Kanton, etc</xs:documentation>
</xs:annotation>
</xs:attribute>
<xs:attribute name="UsageType">
<xs:annotation>
<xs:documentation>Postal or Political - Sometimes locations must be distinguished between postal system, and physical locations as defined by a political system</xs:documentation>
</xs:annotation>
</xs:attribute>
<xs:attribute name="Indicator">
<xs:annotation>
<xs:documentation>Erode (Dist) where (Dist) is the Indicator</xs:documentation>
</xs:annotation>
</xs:attribute>
<xs:anyAttribute namespace="##other"/>
</xs:complexType>
</xs:element>
<xs:element name="PostOffice">
<xs:annotation>
<xs:documentation>Specification of a post office. Examples are a rural post office where post is delivered and a post office containing post office boxes.</xs:documentation>
</xs:annotation>
<xs:complexType>
<xs:sequence>
<xs:element ref="AddressLine" minOccurs="0" maxOccurs="unbounded"/>
<xs:choice>
<xs:element name="PostOfficeName" minOccurs="0" maxOccurs="unbounded">
<xs:annotation>
<xs:documentation>Specification of the name of the post office. This can be a rural postoffice where post is delivered or a post office containing post office boxes.</xs:documentation>
</xs:annotation>
<xs:complexType mixed="true">
<xs:attribute name="Type"/>
<xs:attributeGroup ref="grPostal"/>
<xs:anyAttribute namespace="##other"/>
</xs:complexType>
</xs:element>
<xs:element name="PostOfficeNumber" minOccurs="0">
<xs:annotation>
<xs:documentation>Specification of the number of the postoffice. Common in rural postoffices</xs:documentation>
</xs:annotation>
<xs:complexType mixed="true">
<xs:attribute name="Indicator">
<xs:annotation>
<xs:documentation>MS in MS 62, # in MS # 12, etc.</xs:documentation>
</xs:annotation>
</xs:attribute>
<xs:attribute name="IndicatorOccurrence">
<xs:annotation>
<xs:documentation>MS occurs before 62 in MS 62</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>
<xs:element name="PostalRoute" type="PostalRouteType" minOccurs="0">
<xs:annotation>
<xs:documentation>A Postal van is specific for a route as in Is`rael, Rural route</xs:documentation>
</xs:annotation>
</xs:element>
<xs:element ref="PostBox" minOccurs="0"/>
<xs:element ref="PostalCode" minOccurs="0"/>
<xs:any namespace="##other" minOccurs="0" maxOccurs="unbounded"/>
</xs:sequence>
<xs:attribute name="Type">
<xs:annotation>
<xs:documentation>Could be a Mobile Postoffice Van as in Isreal</xs:documentation>
</xs:annotation>
</xs:attribute>
<xs:attribute name="Indicator">
<xs:annotation>
<xs:documentation>eg. Kottivakkam (P.O) here (P.O) is the Indicator</xs:documentation>
</xs:annotation>
</xs:attribute>
<xs:anyAttribute namespace="##other"/>
</xs:complexType>
</xs:element>
<xs:element name="PostalCode">
<xs:annotation>
<xs:documentation>PostalCode is the container element for either simple or complex (extended) postal codes. Type: Area Code, Postcode, etc.</xs:documentation>
</xs:annotation>
<xs:complexType>
<xs:sequence>
<xs:element ref="AddressLine" minOccurs="0" maxOccurs="unbounded"/>
<xs:element name="PostalCodeNumber" minOccurs="0" maxOccurs="unbounded">
<xs:annotation>
<xs:documentation>Specification of a postcode. The postcode is formatted according to country-specific rules. Example: SW3 0A8-1A, 600074, 2067</xs:documentation>
</xs:annotation>
<xs:complexType mixed="true">
<xs:attribute name="Type">
<xs:annotation>
<xs:documentation>Old Postal Code, new code, etc</xs:documentation>
</xs:annotation>
</xs:attribute>
<xs:attributeGroup ref="grPostal"/>
<xs:anyAttribute namespace="##other"/>
</xs:complexType>
</xs:element>
<xs:element name="PostalCodeNumberExtension" minOccurs="0" maxOccurs="unbounded">
<xs:annotation>
<xs:documentation>Examples are: 1234 (USA), 1G (UK), etc.</xs:documentation>
</xs:annotation>
<xs:complexType mixed="true">
<xs:attribute name="Type">
<xs:annotation>
<xs:documentation>Delivery Point Suffix, New Postal Code, etc..</xs:documentation>
</xs:annotation>
</xs:attribute>
<xs:attribute name="NumberExtensionSeparator">
<xs:annotation>
<xs:documentation>The separator between postal code number and the extension. Eg. "-"</xs:documentation>
</xs:annotation>
</xs:attribute>
<xs:attributeGroup ref="grPostal"/>
<xs:anyAttribute namespace="##other"/>
</xs:complexType>
</xs:element>
<xs:element name="PostTown" minOccurs="0">
<xs:annotation>
<xs:documentation>A post town is not the same as a locality. A post town can encompass a collection of (small) localities. It can also be a subpart of a locality. An actual post town in Norway is "Bergen".</xs:documentation>
</xs:annotation>
<xs:complexType>
<xs:sequence>
<xs:element ref="AddressLine" minOccurs="0" maxOccurs="unbounded"/>
<xs:element name="PostTownName" minOccurs="0" maxOccurs="unbounded">
<xs:annotation>
<xs:documentation>Name of the post town</xs:documentation>
</xs:annotation>
<xs:complexType mixed="true">
<xs:attribute name="Type"/>
<xs:attributeGroup ref="grPostal"/>
<xs:anyAttribute namespace="##other"/>
</xs:complexType>
</xs:element>
<xs:element name="PostTownSuffix" minOccurs="0">
<xs:annotation>
<xs:documentation>GENERAL PO in MIAMI GENERAL PO</xs:documentation>
</xs:annotation>
<xs:complexType mixed="true">
<xs:attributeGroup ref="grPostal"/>
<xs:anyAttribute namespace="##other"/>
</xs:complexType>
</xs:element>
</xs:sequence>
<xs:attribute name="Type">
<xs:annotation>
<xs:documentation>eg. village, town, suburb, etc</xs:documentation>
</xs:annotation>
</xs:attribute>
<xs:anyAttribute namespace="##other"/>
</xs:complexType>
</xs:element>
<xs:any namespace="##other" minOccurs="0" maxOccurs="unbounded"/>
</xs:sequence>
<xs:attribute name="Type">
<xs:annotation>
<xs:documentation>Area Code, Postcode, Delivery code as in NZ, etc</xs:documentation>
</xs:annotation>
</xs:attribute>
<xs:anyAttribute namespace="##other"/>
</xs:complexType>
</xs:element>
<xs:element name="PostBox">
<xs:annotation>
<xs:documentation>Specification of a postbox like mail delivery point. Only a single postbox number can be specified. Examples of postboxes are POBox, free mail numbers, etc.</xs:documentation>
</xs:annotation>
<xs:complexType>
<xs:sequence>
<xs:element ref="AddressLine" minOccurs="0" maxOccurs="unbounded"/>
<xs:element name="PostBoxNumber">
<xs:annotation>
<xs:documentation>Specification of the number of a postbox</xs:documentation>
</xs:annotation>
<xs:complexType mixed="true">
<xs:attributeGroup ref="grPostal"/>
<xs:anyAttribute namespace="##other"/>
</xs:complexType>
</xs:element>
<xs:element name="PostBoxNumberPrefix" minOccurs="0">
<xs:annotation>
<xs:documentation>Specification of the prefix of the post box number. eg. A in POBox:A-123</xs:documentation>
</xs:annotation>
<xs:complexType mixed="true">
<xs:attribute name="NumberPrefixSeparator">
<xs:annotation>
<xs:documentation>A-12 where 12 is number and A is prefix and "-" is the separator</xs:documentation>
</xs:annotation>
</xs:attribute>
<xs:attributeGroup ref="grPostal"/>
<xs:anyAttribute namespace="##other"/>
</xs:complexType>
</xs:element>
<xs:element name="PostBoxNumberSuffix" minOccurs="0">
<xs:annotation>
<xs:documentation>Specification of the suffix of the post box number. eg. A in POBox:123A</xs:documentation>
</xs:annotation>
<xs:complexType mixed="true">
<xs:attribute name="NumberSuffixSeparator">
<xs:annotation>
<xs:documentation>12-A where 12 is number and A is suffix and "-" is the separator</xs:documentation>
</xs:annotation>
</xs:attribute>
<xs:attributeGroup ref="grPostal"/>
<xs:anyAttribute namespace="##other"/>
</xs:complexType>
</xs:element>
<xs:element name="PostBoxNumberExtension" minOccurs="0">
<xs:annotation>
<xs:documentation>Some countries like USA have POBox as 12345-123</xs:documentation>
</xs:annotation>
<xs:complexType mixed="true">
<xs:attribute name="NumberExtensionSeparator">
<xs:annotation>
<xs:documentation>"-" is the NumberExtensionSeparator in POBOX:12345-123</xs:documentation>
</xs:annotation>
</xs:attribute>
<xs:anyAttribute namespace="##other"/>
</xs:complexType>
</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:element ref="PostalCode" minOccurs="0"/>
<xs:any namespace="##other" minOccurs="0" maxOccurs="unbounded"/>
</xs:sequence>
<xs:attribute name="Type">
<xs:annotation>
<xs:documentation>Possible values are, not limited to: POBox and Freepost.</xs:documentation>
</xs:annotation>
</xs:attribute>
<xs:attribute name="Indicator">
<xs:annotation>
<xs:documentation>LOCKED BAG NO:1234 where the Indicator is NO: and Type is LOCKED BAG</xs:documentation>
</xs:annotation>
</xs:attribute>
<xs:anyAttribute namespace="##other"/>
</xs:complexType>
</xs:element>
<xs:element name="Department">
<xs:annotation>
<xs:documentation>Subdivision in the firm: School of Physics at Victoria University (School of Physics is the department)</xs:documentation>
</xs:annotation>
<xs:complexType>
<xs:sequence>
<xs:element ref="AddressLine" minOccurs="0" maxOccurs="unbounded"/>
<xs:element name="DepartmentName" minOccurs="0" maxOccurs="unbounded">
<xs:annotation>
<xs:documentation>Specification of the name of a department.</xs:documentation>
</xs:annotation>
<xs:complexType mixed="true">
<xs:attribute name="Type"/>
<xs:attributeGroup ref="grPostal"/>
<xs:anyAttribute namespace="##other"/>
</xs:complexType>
</xs:element>
<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:any namespace="##other" minOccurs="0" maxOccurs="unbounded"/>
</xs:sequence>
<xs:attribute name="Type">
<xs:annotation>
<xs:documentation>School in Physics School, Division in Radiology division of school of physics</xs:documentation>
</xs:annotation>
</xs:attribute>
<xs:anyAttribute namespace="##other"/>
</xs:complexType>
</xs:element>
<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>
<xs:element name="ThoroughfareNumberPrefix">
<xs:annotation>
<xs:documentation>Prefix before the number. A in A12 Archer Street</xs:documentation>
</xs:annotation>
<xs:complexType mixed="true">
<xs:annotation>
<xs:documentation>A-12 where 12 is number and A is prefix and "-" is the separator</xs:documentation>
</xs:annotation>
<xs:attribute name="NumberPrefixSeparator"/>
<xs:attribute name="Type"/>
<xs:attributeGroup ref="grPostal"/>
<xs:anyAttribute namespace="##other"/>
</xs:complexType>
</xs:element>
<xs:element name="ThoroughfareNumberSuffix">
<xs:annotation>
<xs:documentation>Suffix after the number. A in 12A Archer Street</xs:documentation>
</xs:annotation>
<xs:complexType mixed="true">
<xs:attribute name="NumberSuffixSeparator">
<xs:annotation>
<xs:documentation>NEAR, ADJACENT TO, etc</xs:documentation>
<xs:documentation>12-A where 12 is number and A is suffix and "-" is the separator</xs:documentation>
</xs:annotation>
</xs:attribute>
<xs:attribute name="Type"/>
<xs:attributeGroup ref="grPostal"/>
<xs:anyAttribute namespace="##other"/>
</xs:complexType>
</xs:element>
<xs:element name="ThoroughfareNumber">
<xs:annotation>
<xs:documentation>Eg.: 23 Archer street or 25/15 Zero Avenue, etc</xs:documentation>
</xs:annotation>
<xs:complexType mixed="true">
<xs:attribute name="NumberType">
<xs:annotation>
<xs:documentation>12 Archer Street is "Single" and 12-14 Archer Street is "Range"</xs:documentation>
</xs:annotation>
<xs:simpleType>
<xs:restriction base="xs:NMTOKEN">
<xs:enumeration value="Single"/>
<xs:enumeration value="Range"/>
</xs:restriction>
</xs:simpleType>
</xs:attribute>
<xs:attribute name="Type"/>
<xs:attribute name="Indicator">
<xs:annotation>
<xs:documentation>No. in Street No.12 or "#" in Street # 12, etc.</xs:documentation>
</xs:annotation>
</xs:attribute>
<xs:attribute name="IndicatorOccurrence">
<xs:annotation>
<xs:documentation>No.12 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="NumberOccurrence">
<xs:annotation>
<xs:documentation>23 Archer St, Archer Street 23, St Archer 23</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:attributeGroup ref="grPostal"/>
<xs:anyAttribute namespace="##other"/>
</xs:complexType>
</xs:element>
<xs:element name="PremiseNumber">
<xs:annotation>
<xs:documentation>Specification of the identifier of the premise (house, building, etc). Premises in a street are often uniquely identified by means of consecutive identifiers. The identifier can be a number, a letter or any combination of the two.</xs:documentation>
</xs:annotation>
<xs:complexType mixed="true">
<xs:attribute name="NumberType">
<xs:annotation>
<xs:documentation>Building 12-14 is "Range" and Building 12 is "Single"</xs:documentation>
</xs:annotation>
<xs:simpleType>
<xs:restriction base="xs:NMTOKEN">
<xs:enumeration value="Single"/>
<xs:enumeration value="Range"/>
</xs:restriction>
</xs:simpleType>
</xs:attribute>
<xs:attribute name="Type"/>
<xs:attribute name="Indicator">
<xs:annotation>
<xs:documentation>No. in House No.12, # in #12, etc.</xs:documentation>
</xs:annotation>
</xs:attribute>
<xs:attribute name="IndicatorOccurrence">
<xs:annotation>
<xs:documentation>No. occurs before 12 No.12</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="NumberTypeOccurrence">
<xs:annotation>
<xs:documentation>12 in BUILDING 12 occurs "after" premise type BUILDING</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:element name="PremiseNumberPrefix">
<xs:annotation>
<xs:documentation>A in A12</xs:documentation>
</xs:annotation>
<xs:complexType>
<xs:simpleContent>
<xs:extension base="xs:string">
<xs:attribute name="NumberPrefixSeparator">
<xs:annotation>
<xs:documentation>A-12 where 12 is number and A is prefix and "-" is the separator</xs:documentation>
</xs:annotation>
</xs:attribute>
<xs:attribute name="Type"/>
<xs:attributeGroup ref="grPostal"/>
<xs:anyAttribute namespace="##other"/>
</xs:extension>
</xs:simpleContent>
</xs:complexType>
</xs:element>
<xs:element name="PremiseNumberSuffix">
<xs:annotation>
<xs:documentation>A in 12A</xs:documentation>
</xs:annotation>
<xs:complexType mixed="true">
<xs:attribute name="NumberSuffixSeparator">
<xs:annotation>
<xs:documentation>12-A where 12 is number and A is suffix and "-" is the separator</xs:documentation>
</xs:annotation>
</xs:attribute>
<xs:attribute name="Type"/>
<xs:attributeGroup ref="grPostal"/>
<xs:anyAttribute namespace="##other"/>
</xs:complexType>
</xs:element>
<xs:element name="CountryName">
<xs:annotation>
<xs:documentation>Specification of the name of a country.</xs:documentation>
</xs:annotation>
<xs:complexType mixed="true">
<xs:attribute name="Type">
<xs:annotation>
<xs:documentation>Old name, new name, etc</xs:documentation>
</xs:annotation>
</xs:attribute>
<xs:attributeGroup ref="grPostal"/>
<xs:anyAttribute namespace="##other"/>
</xs:complexType>
</xs:element>
</xs:schema>
|