Bump version to 6.4-15
[LibreOffice.git] / sfx2 / classification / xAL-types.xsd
blob0522990072dc705edddfef9c09e98d9d8a0c6b5a
1 <?xml version="1.0" encoding="UTF-8"?>
2 <xs:schema xmlns="urn:oasis:names:tc:ciq:xal:3" xmlns:xs="http://www.w3.org/2001/XMLSchema" targetNamespace="urn:oasis:names:tc:ciq:xal:3" elementFormDefault="qualified" attributeFormDefault="qualified">
3 <xs:annotation>
4 <xs:documentation>
5 Specification Name: OASIS CIQ TC - extensible AddressLanguage Types (xAL-types)
6 Description: Defines the W3C schema that provides enumeration lists to support xNL v3.0
7 (Using XML Schema based standard code list/enumeration mechanism - OPTION 1 AND DEFAULT)
8 Produced by: OASIS Customer Information Quality Technical Committee
9 URL: http://www.oasis-open.org/committees/ciq
10 Version: 3.0
11 Status: Committee Specification
12 Copyright: 2006-07, OASIS, http://www.oasis-open.org
13 Last Modified: 18 September 2007
14 Last Modified by: Ram Kumar, Chair, OASIS CIQ TC
16 NOTE: This is the schema that users can customise the enumeration lists to meet their
17 exchange requirements. The enumeration values provided are ONLY SAMPLES and
18 is not complete. It is up to the application to decide what the values should be. To achieve
19 interoperability between applications using this specification, it is recommended that an
20 SLA/agreement is in place as to what the enumeration values will be used in this file
21 </xs:documentation>
22 </xs:annotation>
23 <xs:simpleType name="AddressTypeList">
24 <xs:annotation>
25 <xs:documentation>A list of types of addresses</xs:documentation>
26 </xs:annotation>
27 <xs:restriction base="xs:normalizedString">
28 <xs:enumeration value="Airport"/>
29 <xs:enumeration value="Business"/>
30 <xs:enumeration value="CaravanPark"/>
31 <xs:enumeration value="CommercialPark"/>
32 <xs:enumeration value="CommunityDevelopment"/>
33 <xs:enumeration value="EducationalInstitution"/>
34 <xs:enumeration value="Entertainment"/>
35 <xs:enumeration value="Hospital"/>
36 <xs:enumeration value="Location"/>
37 <xs:enumeration value="Marina"/>
38 <xs:enumeration value="MilitaryBase"/>
39 <xs:enumeration value="OverseasMilitary"/>
40 <xs:enumeration value="Port"/>
41 <xs:enumeration value="Primary"/>
42 <xs:enumeration value="RecreationalPark"/>
43 <xs:enumeration value="Resort"/>
44 <xs:enumeration value="RetirementVillage"/>
45 <xs:enumeration value="Rural"/>
46 <xs:enumeration value="Secondary"/>
47 <xs:enumeration value="ShoppingCentre"/>
48 <xs:enumeration value="SportingCentre"/>
49 <xs:enumeration value="Urban"/>
50 </xs:restriction>
51 </xs:simpleType>
52 <xs:simpleType name="AddressIDTypeList">
53 <xs:annotation>
54 <xs:documentation>A list of types of address identifiers </xs:documentation>
55 </xs:annotation>
56 <xs:restriction base="xs:normalizedString"/>
57 </xs:simpleType>
58 <xs:simpleType name="AddressLineTypeList">
59 <xs:annotation>
60 <xs:documentation>A list of types of address line, e.g. street details, locality details</xs:documentation>
61 </xs:annotation>
62 <xs:restriction base="xs:normalizedString"/>
63 </xs:simpleType>
64 <xs:simpleType name="AddressUsageList">
65 <xs:annotation>
66 <xs:documentation>A list of types of usage of the address</xs:documentation>
67 </xs:annotation>
68 <xs:restriction base="xs:normalizedString">
69 <xs:enumeration value="Business"/>
70 <xs:enumeration value="Billing"/>
71 <xs:enumeration value="Communication"/>
72 <xs:enumeration value="Contact"/>
73 <xs:enumeration value="Mailing"/>
74 <xs:enumeration value="Personal"/>
75 <xs:enumeration value="Postal"/>
76 <xs:enumeration value="Residential"/>
77 </xs:restriction>
78 </xs:simpleType>
79 <xs:simpleType name="AdministrativeAreaTypeList">
80 <xs:annotation>
81 <xs:documentation>A list of administrative area types</xs:documentation>
82 </xs:annotation>
83 <xs:restriction base="xs:normalizedString">
84 <xs:enumeration value="City">
85 <xs:annotation>
86 <xs:documentation>Only name of the administrative area without its type, e.g. NSW, CA, Quebec</xs:documentation>
87 </xs:annotation>
88 </xs:enumeration>
89 <xs:enumeration value="State">
90 <xs:annotation>
91 <xs:documentation>The type of the area, e.g. state, district, province, etc.</xs:documentation>
92 </xs:annotation>
93 </xs:enumeration>
94 <xs:enumeration value="Territory"/>
95 <xs:enumeration value="Province"/>
96 </xs:restriction>
97 </xs:simpleType>
98 <xs:simpleType name="AdministrativeAreaNameTypeList">
99 <xs:annotation>
100 <xs:documentation>A list of administrative area name element types</xs:documentation>
101 </xs:annotation>
102 <xs:restriction base="xs:normalizedString">
103 <xs:enumeration value="Name">
104 <xs:annotation>
105 <xs:documentation>Name of the administrative area</xs:documentation>
106 </xs:annotation>
107 </xs:enumeration>
108 <xs:enumeration value="Number"/>
109 <xs:enumeration value="ReferenceLocation">
110 <xs:annotation>
111 <xs:documentation>Reference location information in support of the administrative area. e.g. Territory of France</xs:documentation>
112 </xs:annotation>
113 </xs:enumeration>
114 <xs:enumeration value="Type">
115 <xs:annotation>
116 <xs:documentation>Other supporting information </xs:documentation>
117 </xs:annotation>
118 </xs:enumeration>
119 </xs:restriction>
120 </xs:simpleType>
121 <xs:simpleType name="AdministrativeAreaNameCodeList">
122 <xs:annotation>
123 <xs:documentation>A list of codes for name of administrative area</xs:documentation>
124 </xs:annotation>
125 <xs:restriction base="xs:normalizedString"/>
126 </xs:simpleType>
127 <xs:simpleType name="CountryNameTypeList">
128 <xs:annotation>
129 <xs:documentation>A list of country name element types</xs:documentation>
130 </xs:annotation>
131 <xs:restriction base="xs:normalizedString">
132 <xs:enumeration value="Name">
133 <xs:annotation>
134 <xs:documentation>Name of the country e.g. AUSTRALIA</xs:documentation>
135 </xs:annotation>
136 </xs:enumeration>
137 <xs:enumeration value="Type">
138 <xs:annotation>
139 <xs:documentation>Although a Country, could be classified as a territory of a country. For example, "NOUVELLE CALEDONIE" is a territory of "FRANCE".</xs:documentation>
140 </xs:annotation>
141 </xs:enumeration>
142 </xs:restriction>
143 </xs:simpleType>
144 <xs:simpleType name="CountryNameCodeList">
145 <xs:annotation>
146 <xs:documentation>A list of codes for name of country</xs:documentation>
147 </xs:annotation>
148 <xs:restriction base="xs:normalizedString"/>
149 </xs:simpleType>
150 <xs:simpleType name="DatumCodeList">
151 <xs:annotation>
152 <xs:documentation>A list of codes for datum</xs:documentation>
153 </xs:annotation>
154 <xs:restriction base="xs:normalizedString"/>
155 </xs:simpleType>
156 <xs:simpleType name="DeliveryModeList">
157 <xs:annotation>
158 <xs:documentation>A list of codes for mode of delivery of address</xs:documentation>
159 </xs:annotation>
160 <xs:restriction base="xs:normalizedString"/>
161 </xs:simpleType>
162 <xs:simpleType name="DirectionTypeList">
163 <xs:annotation>
164 <xs:documentation>A list of directions for geo-coordinates</xs:documentation>
165 </xs:annotation>
166 <xs:restriction base="xs:normalizedString">
167 <xs:enumeration value="East"/>
168 <xs:enumeration value="West"/>
169 <xs:enumeration value="North"/>
170 <xs:enumeration value="South"/>
171 </xs:restriction>
172 </xs:simpleType>
173 <xs:simpleType name="IdentifierElementTypeList">
174 <xs:annotation>
175 <xs:documentation>A list of name types for commonly used Number type</xs:documentation>
176 </xs:annotation>
177 <xs:restriction base="xs:normalizedString">
178 <xs:enumeration value="Name">
179 <xs:annotation>
180 <xs:documentation>Applicable to mail box office names such as PO BOX, GPO BOX, MAIL BAG NO., etc. </xs:documentation>
181 </xs:annotation>
182 </xs:enumeration>
183 <xs:enumeration value="RangeFrom">
184 <xs:annotation>
185 <xs:documentation>Indicates that the element contains the lower value of a range, e.g. 25 in 25-37</xs:documentation>
186 </xs:annotation>
187 </xs:enumeration>
188 <xs:enumeration value="Range">
189 <xs:annotation>
190 <xs:documentation>Indicates that the value is a range, e.g. 25-37</xs:documentation>
191 </xs:annotation>
192 </xs:enumeration>
193 <xs:enumeration value="RangeTo">
194 <xs:annotation>
195 <xs:documentation>Indicates that the element contains the top value of a range, e.g. 25 in 25-37</xs:documentation>
196 </xs:annotation>
197 </xs:enumeration>
198 <xs:enumeration value="Prefix">
199 <xs:annotation>
200 <xs:documentation>Indicates that the element contains some value that is important, but not exactly the number itself. E.g. PoBox can be a prefix in PoBox 2020, street no. A-15, where A is the prefix and 15 is the number</xs:documentation>
201 </xs:annotation>
202 </xs:enumeration>
203 <xs:enumeration value="Suffix">
204 <xs:annotation>
205 <xs:documentation>Indicates that the element contains some value that is important, but not exactly the number itself. E.g. 'bis' in '45 bis'</xs:documentation>
206 </xs:annotation>
207 </xs:enumeration>
208 <xs:enumeration value="Number">
209 <xs:annotation>
210 <xs:documentation>Indicates that the value is number, e.g. 2020 in PoBox 2020. The actual value can be alpha-numeric. </xs:documentation>
211 </xs:annotation>
212 </xs:enumeration>
213 <xs:enumeration value="Separator">
214 <xs:annotation>
215 <xs:documentation>Indicates that the value is a separator that is expected to be preserved. Examples are / - #, as in 15-A where "-" is the separator</xs:documentation>
216 </xs:annotation>
217 </xs:enumeration>
218 <xs:enumeration value="Extension">
219 <xs:annotation>
220 <xs:documentation>Indicates that the value is an extension number of some identifier, e.g. 01 in Private Bag 2330-01, where the main number of the private bag is 2330, 12345-1223 in post code where 1223 is the extension</xs:documentation>
221 </xs:annotation>
222 </xs:enumeration>
223 </xs:restriction>
224 </xs:simpleType>
225 <xs:simpleType name="LocalityNameTypeList">
226 <xs:annotation>
227 <xs:documentation>A list of locality name element types such as name of locality, reference data in support of locality</xs:documentation>
228 </xs:annotation>
229 <xs:restriction base="xs:normalizedString">
230 <xs:enumeration value="Name">
231 <xs:annotation>
232 <xs:documentation>Name of the locality</xs:documentation>
233 </xs:annotation>
234 </xs:enumeration>
235 <xs:enumeration value="Number"/>
236 <xs:enumeration value="ReferenceLocation">
237 <xs:annotation>
238 <xs:documentation>Any reference locality data in support of the locality. e.g. Next town north of Town A, via-town name</xs:documentation>
239 </xs:annotation>
240 </xs:enumeration>
241 <xs:enumeration value="Type">
242 <xs:annotation>
243 <xs:documentation>Other supporting information </xs:documentation>
244 </xs:annotation>
245 </xs:enumeration>
246 </xs:restriction>
247 </xs:simpleType>
248 <xs:simpleType name="LocalityNameCodeList">
249 <xs:annotation>
250 <xs:documentation>A list of codes for name of locality</xs:documentation>
251 </xs:annotation>
252 <xs:restriction base="xs:normalizedString"/>
253 </xs:simpleType>
254 <xs:simpleType name="LocalityTypeList">
255 <xs:annotation>
256 <xs:documentation>A list of locality name types such as Municipality, Village, Area, etc</xs:documentation>
257 </xs:annotation>
258 <xs:restriction base="xs:normalizedString">
259 <xs:enumeration value="Municipality"/>
260 <xs:enumeration value="PostTown"/>
261 <xs:enumeration value="Place"/>
262 <xs:enumeration value="Suburb"/>
263 <xs:enumeration value="Town"/>
264 <xs:enumeration value="Village"/>
265 <xs:enumeration value="Area"/>
266 <xs:enumeration value="Zone"/>
267 </xs:restriction>
268 </xs:simpleType>
269 <xs:simpleType name="MeridianCodeList">
270 <xs:annotation>
271 <xs:documentation>A list of meridian codes</xs:documentation>
272 </xs:annotation>
273 <xs:restriction base="xs:normalizedString"/>
274 </xs:simpleType>
275 <xs:simpleType name="PostOfficeTypeList">
276 <xs:annotation>
277 <xs:documentation>A list of types of postal delivery offices</xs:documentation>
278 </xs:annotation>
279 <xs:restriction base="xs:normalizedString"/>
280 </xs:simpleType>
281 <xs:simpleType name="PostalDeliveryPointTypeList">
282 <xs:annotation>
283 <xs:documentation>A list of postal delivery point types</xs:documentation>
284 </xs:annotation>
285 <xs:restriction base="xs:normalizedString">
286 <xs:enumeration value="GPOBox"/>
287 <xs:enumeration value="POBox"/>
288 <xs:enumeration value="LockedBag"/>
289 <xs:enumeration value="MailStop"/>
290 <xs:enumeration value="PigeonHole"/>
291 <xs:enumeration value="PrivateBag"/>
292 </xs:restriction>
293 </xs:simpleType>
294 <xs:simpleType name="ProjectionCodeList">
295 <xs:annotation>
296 <xs:documentation>A list of codes for projection</xs:documentation>
297 </xs:annotation>
298 <xs:restriction base="xs:normalizedString"/>
299 </xs:simpleType>
300 <xs:simpleType name="PremisesElementTypeList">
301 <xs:annotation>
302 <xs:documentation>A list of name types for premises</xs:documentation>
303 </xs:annotation>
304 <xs:restriction base="xs:normalizedString">
305 <xs:enumeration value="Name">
306 <xs:annotation>
307 <xs:documentation>Names of Premises such as airport, hospital, university, military base, etc. Can also be the name of the building or house or apartment</xs:documentation>
308 </xs:annotation>
309 </xs:enumeration>
310 <xs:enumeration value="Location">
311 <xs:annotation>
312 <xs:documentation>Where in the building/landmark the premises is located, e.g. lobby, ground floor, penthouse, or where in a larger complex (e.g. airport) the address is located.</xs:documentation>
313 </xs:annotation>
314 </xs:enumeration>
315 <xs:enumeration value="SubPremisesConnector">
316 <xs:annotation>
317 <xs:documentation>Free text description that is required to logically connect the 2 premises</xs:documentation>
318 </xs:annotation>
319 </xs:enumeration>
320 <xs:enumeration value="InternalThoroughfare">
321 <xs:annotation>
322 <xs:documentation>Roads and streets within boundaries of larger complexes/premises such as hospitals, airports, etc.</xs:documentation>
323 </xs:annotation>
324 </xs:enumeration>
325 <xs:enumeration value="ReferenceLocation">
326 <xs:annotation>
327 <xs:documentation>Free text description of some other location and how this premises relates to it, e.g. 300m from water station, new the police station, etc.</xs:documentation>
328 </xs:annotation>
329 </xs:enumeration>
330 <xs:enumeration value="Type">
331 <xs:annotation>
332 <xs:documentation>additional supporting information</xs:documentation>
333 </xs:annotation>
334 </xs:enumeration>
335 </xs:restriction>
336 </xs:simpleType>
337 <xs:simpleType name="PremisesTypeList">
338 <xs:annotation>
339 <xs:documentation>A list of premises type</xs:documentation>
340 </xs:annotation>
341 <xs:restriction base="xs:normalizedString">
342 <xs:enumeration value="Airport"/>
343 <xs:enumeration value="Area"/>
344 <xs:enumeration value="Building"/>
345 <xs:enumeration value="Farm"/>
346 <xs:enumeration value="Hospital"/>
347 <xs:enumeration value="House"/>
348 <xs:enumeration value="LandMark"/>
349 <xs:enumeration value="LargeMailUser"/>
350 <xs:enumeration value="Lot"/>
351 <xs:enumeration value="RailwayStation"/>
352 <xs:enumeration value="ShoppingComplex"/>
353 <xs:enumeration value="University"/>
354 <xs:enumeration value="Unit"/>
355 </xs:restriction>
356 </xs:simpleType>
357 <xs:simpleType name="RuralDeliveryTypeList">
358 <xs:annotation>
359 <xs:documentation>A list of rural delivery types such as road, air, water</xs:documentation>
360 </xs:annotation>
361 <xs:restriction base="xs:normalizedString"/>
362 </xs:simpleType>
363 <xs:simpleType name="SubAdministrativeAreaNameTypeList">
364 <xs:annotation>
365 <xs:documentation>A list of sub administrative area name element types</xs:documentation>
366 </xs:annotation>
367 <xs:restriction base="xs:normalizedString">
368 <xs:enumeration value="Name">
369 <xs:annotation>
370 <xs:documentation>Name of the sub administrative area</xs:documentation>
371 </xs:annotation>
372 </xs:enumeration>
373 <xs:enumeration value="Number"/>
374 <xs:enumeration value="ReferenceLocation">
375 <xs:annotation>
376 <xs:documentation>Reference location information in support of the sub administrative area</xs:documentation>
377 </xs:annotation>
378 </xs:enumeration>
379 <xs:enumeration value="Type">
380 <xs:annotation>
381 <xs:documentation>Other supporting information </xs:documentation>
382 </xs:annotation>
383 </xs:enumeration>
384 </xs:restriction>
385 </xs:simpleType>
386 <xs:simpleType name="SubAdministrativeAreaNameCodeList">
387 <xs:annotation>
388 <xs:documentation>A list of codes for name of sub administrative area</xs:documentation>
389 </xs:annotation>
390 <xs:restriction base="xs:normalizedString"/>
391 </xs:simpleType>
392 <xs:simpleType name="SubAdministrativeAreaTypeList">
393 <xs:annotation>
394 <xs:documentation>A list of sub administrative area name types</xs:documentation>
395 </xs:annotation>
396 <xs:restriction base="xs:normalizedString">
397 <xs:enumeration value="County"/>
398 <xs:enumeration value="District"/>
399 <xs:enumeration value="Province"/>
400 <xs:enumeration value="Region"/>
401 </xs:restriction>
402 </xs:simpleType>
403 <xs:simpleType name="SubLocalityNameTypeList">
404 <xs:annotation>
405 <xs:documentation>A list of sub locality name element types</xs:documentation>
406 </xs:annotation>
407 <xs:restriction base="xs:normalizedString">
408 <xs:enumeration value="Name"/>
409 <xs:enumeration value="Number"/>
410 <xs:enumeration value="ReferenceLocation"/>
411 <xs:enumeration value="Type">
412 <xs:annotation>
413 <xs:documentation>Other supporting information </xs:documentation>
414 </xs:annotation>
415 </xs:enumeration>
416 </xs:restriction>
417 </xs:simpleType>
418 <xs:simpleType name="SubLocalityNameCodeList">
419 <xs:annotation>
420 <xs:documentation>A list of codes for names of sub locality</xs:documentation>
421 </xs:annotation>
422 <xs:restriction base="xs:normalizedString"/>
423 </xs:simpleType>
424 <xs:simpleType name="SubLocalityTypeList">
425 <xs:annotation>
426 <xs:documentation>A list of sub locality types</xs:documentation>
427 </xs:annotation>
428 <xs:restriction base="xs:normalizedString">
429 <xs:enumeration value="Municipality"/>
430 <xs:enumeration value="Village"/>
431 </xs:restriction>
432 </xs:simpleType>
433 <xs:simpleType name="SubPremisesTypeList">
434 <xs:annotation>
435 <xs:documentation>A list of sub premises types</xs:documentation>
436 </xs:annotation>
437 <xs:restriction base="xs:normalizedString">
438 <xs:enumeration value="Room"/>
439 <xs:enumeration value="Suite"/>
440 <xs:enumeration value="Apartment"/>
441 <xs:enumeration value="Shop"/>
442 <xs:enumeration value="Office"/>
443 <xs:enumeration value="Unit"/>
444 </xs:restriction>
445 </xs:simpleType>
446 <xs:simpleType name="ThoroughfareNameTypeList">
447 <xs:annotation>
448 <xs:documentation>A list of name element types for thoroughfare</xs:documentation>
449 </xs:annotation>
450 <xs:restriction base="xs:normalizedString">
451 <xs:enumeration value="NameOnly">
452 <xs:annotation>
453 <xs:documentation>Just the name part, such as Baker in Baker Street.</xs:documentation>
454 </xs:annotation>
455 </xs:enumeration>
456 <xs:enumeration value="PreDirection">
457 <xs:annotation>
458 <xs:documentation>North Archer Street, where "North" is PreDirection</xs:documentation>
459 </xs:annotation>
460 </xs:enumeration>
461 <xs:enumeration value="PostDirection">
462 <xs:annotation>
463 <xs:documentation>Archer Street North, where "North" is PostDirection</xs:documentation>
464 </xs:annotation>
465 </xs:enumeration>
466 <xs:enumeration value="NameAndNumber">
467 <xs:annotation>
468 <xs:documentation>This value indicates that the element contains the street name and street number. E.g. 39 Baker Street. Use this when you do not want to break the thoroughfare into atomic types</xs:documentation>
469 </xs:annotation>
470 </xs:enumeration>
471 <xs:enumeration value="NameAndType">
472 <xs:annotation>
473 <xs:documentation>Baker Street, where Baker is Name and Street is Type</xs:documentation>
474 </xs:annotation>
475 </xs:enumeration>
476 <xs:enumeration value="NameNumberAndType">
477 <xs:annotation>
478 <xs:documentation>21 Archer Street (Full thoroughfare details)</xs:documentation>
479 </xs:annotation>
480 </xs:enumeration>
481 <xs:enumeration value="Unstructured">
482 <xs:annotation>
483 <xs:documentation>Full details of a thoroughfare in a single line (unstructured)
484 e.g. 39 Baker Street North</xs:documentation>
485 </xs:annotation>
486 </xs:enumeration>
487 <xs:enumeration value="SubThoroughfareConnector">
488 <xs:annotation>
489 <xs:documentation>When more than one street name is required to identify the location this type can be used to connect them with values such as CORNER OF or VIA.</xs:documentation>
490 </xs:annotation>
491 </xs:enumeration>
492 <xs:enumeration value="ReferenceLocation">
493 <xs:annotation>
494 <xs:documentation>Free text description of some other location and how this thoroughfare relates to it, e.g. 300m from water station, new the police station, etc.</xs:documentation>
495 </xs:annotation>
496 </xs:enumeration>
497 <xs:enumeration value="Type">
498 <xs:annotation>
499 <xs:documentation>Additional description like intersection, cross streets, etc</xs:documentation>
500 </xs:annotation>
501 </xs:enumeration>
502 </xs:restriction>
503 </xs:simpleType>
504 <xs:simpleType name="ThoroughfareTypeList">
505 <xs:annotation>
506 <xs:documentation>A list of types for thoroughfare (e.g. STREET, ROAD, CRT)</xs:documentation>
507 </xs:annotation>
508 <xs:restriction base="xs:normalizedString"/>
509 </xs:simpleType>
510 </xs:schema>