source: josm/trunk/data/maps.xsd@ 6679

Last change on this file since 6679 was 5618, checked in by simon04, 12 years ago

see #8254 - adapt maps.xsd for wms_endpoint

File size: 20.0 KB
RevLine 
[4440]1<?xml version="1.0" encoding="UTF-8"?>
2<xs:schema xmlns:xs="http://www.w3.org/2001/XMLSchema" targetNamespace="http://josm.openstreetmap.de/maps-1.0"
3 xmlns:tns="http://josm.openstreetmap.de/maps-1.0" elementFormDefault="qualified">
4
5 <xs:simpleType name="latitude">
6 <xs:restriction base="xs:decimal">
7 <xs:minInclusive value="-90" />
8 <xs:maxInclusive value="+90" />
9 </xs:restriction>
10 </xs:simpleType>
11
12 <xs:simpleType name="longitude">
13 <xs:restriction base="xs:decimal">
14 <xs:minInclusive value="-180" />
15 <xs:maxInclusive value="+180" />
16 </xs:restriction>
17 </xs:simpleType>
18
19 <xs:simpleType name="type">
20 <xs:restriction base="xs:string">
21 <xs:enumeration value="wms" />
[5618]22 <xs:enumeration value="wms_endpoint" />
[4440]23 <xs:enumeration value="tms" />
24 <xs:enumeration value="html" />
25 <xs:enumeration value="bing" />
26 <xs:enumeration value="scanex" />
27 </xs:restriction>
28 </xs:simpleType>
29
30 <xs:simpleType name="zoom">
31 <xs:restriction base="xs:integer">
[4717]32 <xs:minInclusive value="1" />
33 <xs:maxInclusive value="22" />
[4440]34 </xs:restriction>
35 </xs:simpleType>
36
37 <xs:complexType name="eula">
38 <xs:simpleContent>
39 <xs:extension base="xs:anyURI" >
40 <xs:attribute name="mandatory" type="xs:boolean" use="optional" />
41 </xs:extension>
42 </xs:simpleContent>
43 </xs:complexType>
44
45 <xs:complexType name="attribution-text">
46 <xs:simpleContent>
47 <xs:extension base="xs:string">
48 <xs:attribute name="mandatory" type="xs:boolean" use="optional" />
49 </xs:extension>
50 </xs:simpleContent>
51 </xs:complexType>
52
53 <xs:complexType name="point">
54 <xs:attribute name="lat" type="tns:latitude" use="required" />
55 <xs:attribute name="lon" type="tns:longitude" use="required" />
56 </xs:complexType>
57
58 <xs:complexType name="shape">
59 <xs:sequence>
60 <xs:element name="point" minOccurs="3" maxOccurs="999" type="tns:point" />
61 </xs:sequence>
62 </xs:complexType>
63
64 <xs:complexType name="bounds">
65 <xs:sequence>
66 <xs:element name="shape" minOccurs="0" maxOccurs="100" type="tns:shape" />
67 </xs:sequence>
68 <xs:attribute name="min-lat" type="tns:latitude" use="required" />
69 <xs:attribute name="min-lon" type="tns:longitude" use="required" />
70 <xs:attribute name="max-lat" type="tns:latitude" use="required" />
71 <xs:attribute name="max-lon" type="tns:longitude" use="required" />
72 </xs:complexType>
73
74 <xs:complexType name="projections">
75 <xs:sequence>
76 <!-- TODO: find an easy way to validate projections codes -->
77 <xs:element name="code" minOccurs="0" maxOccurs="unbounded" type="xs:string" />
78 </xs:sequence>
79 </xs:complexType>
80
81 <!-- ISO3166-1, taken from http://www.iso.org/iso/country_codes/iso_3166_code_lists.htm + "EU" for Europe -->
82 <xs:simpleType name="iso3166">
83 <xs:restriction base="xs:string">
84 <!-- EUROPE (JOSM ONLY) -->
85 <xs:enumeration value="EU" />
86 <!-- AFGHANISTAN -->
87 <xs:enumeration value="AF" />
88 <!-- ÅLAND ISLANDS -->
89 <xs:enumeration value="AX" />
90 <!-- ALBANIA -->
91 <xs:enumeration value="AL" />
92 <!-- ALGERIA -->
93 <xs:enumeration value="DZ" />
94 <!-- AMERICAN SAMOA -->
95 <xs:enumeration value="AS" />
96 <!-- ANDORRA -->
97 <xs:enumeration value="AD" />
98 <!-- ANGOLA -->
99 <xs:enumeration value="AO" />
100 <!-- ANGUILLA -->
101 <xs:enumeration value="AI" />
102 <!-- ANTARCTICA -->
103 <xs:enumeration value="AQ" />
104 <!-- ANTIGUA AND BARBUDA -->
105 <xs:enumeration value="AG" />
106 <!-- ARGENTINA -->
107 <xs:enumeration value="AR" />
108 <!-- ARMENIA -->
109 <xs:enumeration value="AM" />
110 <!-- ARUBA -->
111 <xs:enumeration value="AW" />
112 <!-- AUSTRALIA -->
113 <xs:enumeration value="AU" />
114 <!-- AUSTRIA -->
115 <xs:enumeration value="AT" />
116 <!-- AZERBAIJAN -->
117 <xs:enumeration value="AZ" />
118 <!-- BAHAMAS -->
119 <xs:enumeration value="BS" />
120 <!-- BAHRAIN -->
121 <xs:enumeration value="BH" />
122 <!-- BANGLADESH -->
123 <xs:enumeration value="BD" />
124 <!-- BARBADOS -->
125 <xs:enumeration value="BB" />
126 <!-- BELARUS -->
127 <xs:enumeration value="BY" />
128 <!-- BELGIUM -->
129 <xs:enumeration value="BE" />
130 <!-- BELIZE -->
131 <xs:enumeration value="BZ" />
132 <!-- BENIN -->
133 <xs:enumeration value="BJ" />
134 <!-- BERMUDA -->
135 <xs:enumeration value="BM" />
136 <!-- BHUTAN -->
137 <xs:enumeration value="BT" />
138 <!-- BOLIVIA, PLURINATIONAL STATE OF -->
139 <xs:enumeration value="BO" />
140 <!-- BONAIRE, SINT EUSTATIUS AND SABA -->
141 <xs:enumeration value="BQ" />
142 <!-- BOSNIA AND HERZEGOVINA -->
143 <xs:enumeration value="BA" />
144 <!-- BOTSWANA -->
145 <xs:enumeration value="BW" />
146 <!-- BOUVET ISLAND -->
147 <xs:enumeration value="BV" />
148 <!-- BRAZIL -->
149 <xs:enumeration value="BR" />
150 <!-- BRITISH INDIAN OCEAN TERRITORY -->
151 <xs:enumeration value="IO" />
152 <!-- BRUNEI DARUSSALAM -->
153 <xs:enumeration value="BN" />
154 <!-- BULGARIA -->
155 <xs:enumeration value="BG" />
156 <!-- BURKINA FASO -->
157 <xs:enumeration value="BF" />
158 <!-- BURUNDI -->
159 <xs:enumeration value="BI" />
160 <!-- CAMBODIA -->
161 <xs:enumeration value="KH" />
162 <!-- CAMEROON -->
163 <xs:enumeration value="CM" />
164 <!-- CANADA -->
165 <xs:enumeration value="CA" />
166 <!-- CAPE VERDE -->
167 <xs:enumeration value="CV" />
168 <!-- CAYMAN ISLANDS -->
169 <xs:enumeration value="KY" />
170 <!-- CENTRAL AFRICAN REPUBLIC -->
171 <xs:enumeration value="CF" />
172 <!-- CHAD -->
173 <xs:enumeration value="TD" />
174 <!-- CHILE -->
175 <xs:enumeration value="CL" />
176 <!-- CHINA -->
177 <xs:enumeration value="CN" />
178 <!-- CHRISTMAS ISLAND -->
179 <xs:enumeration value="CX" />
180 <!-- COCOS (KEELING) ISLANDS -->
181 <xs:enumeration value="CC" />
182 <!-- COLOMBIA -->
183 <xs:enumeration value="CO" />
184 <!-- COMOROS -->
185 <xs:enumeration value="KM" />
186 <!-- CONGO -->
187 <xs:enumeration value="CG" />
188 <!-- CONGO, THE DEMOCRATIC REPUBLIC OF THE -->
189 <xs:enumeration value="CD" />
190 <!-- COOK ISLANDS -->
191 <xs:enumeration value="CK" />
192 <!-- COSTA RICA -->
193 <xs:enumeration value="CR" />
194 <!-- CÔTE D'IVOIRE -->
195 <xs:enumeration value="CI" />
196 <!-- CROATIA -->
197 <xs:enumeration value="HR" />
198 <!-- CUBA -->
199 <xs:enumeration value="CU" />
200 <!-- CURAÇAO -->
201 <xs:enumeration value="CW" />
202 <!-- CYPRUS -->
203 <xs:enumeration value="CY" />
204 <!-- CZECH REPUBLIC -->
205 <xs:enumeration value="CZ" />
206 <!-- DENMARK -->
207 <xs:enumeration value="DK" />
208 <!-- DJIBOUTI -->
209 <xs:enumeration value="DJ" />
210 <!-- DOMINICA -->
211 <xs:enumeration value="DM" />
212 <!-- DOMINICAN REPUBLIC -->
213 <xs:enumeration value="DO" />
214 <!-- ECUADOR -->
215 <xs:enumeration value="EC" />
216 <!-- EGYPT -->
217 <xs:enumeration value="EG" />
218 <!-- EL SALVADOR -->
219 <xs:enumeration value="SV" />
220 <!-- EQUATORIAL GUINEA -->
221 <xs:enumeration value="GQ" />
222 <!-- ERITREA -->
223 <xs:enumeration value="ER" />
224 <!-- ESTONIA -->
225 <xs:enumeration value="EE" />
226 <!-- ETHIOPIA -->
227 <xs:enumeration value="ET" />
228 <!-- FALKLAND ISLANDS (MALVINAS) -->
229 <xs:enumeration value="FK" />
230 <!-- FAROE ISLANDS -->
231 <xs:enumeration value="FO" />
232 <!-- FIJI -->
233 <xs:enumeration value="FJ" />
234 <!-- FINLAND -->
235 <xs:enumeration value="FI" />
236 <!-- FRANCE -->
237 <xs:enumeration value="FR" />
238 <!-- FRENCH GUIANA -->
239 <xs:enumeration value="GF" />
240 <!-- FRENCH POLYNESIA -->
241 <xs:enumeration value="PF" />
242 <!-- FRENCH SOUTHERN TERRITORIES -->
243 <xs:enumeration value="TF" />
244 <!-- GABON -->
245 <xs:enumeration value="GA" />
246 <!-- GAMBIA -->
247 <xs:enumeration value="GM" />
248 <!-- GEORGIA -->
249 <xs:enumeration value="GE" />
250 <!-- GERMANY -->
251 <xs:enumeration value="DE" />
252 <!-- GHANA -->
253 <xs:enumeration value="GH" />
254 <!-- GIBRALTAR -->
255 <xs:enumeration value="GI" />
256 <!-- GREECE -->
257 <xs:enumeration value="GR" />
258 <!-- GREENLAND -->
259 <xs:enumeration value="GL" />
260 <!-- GRENADA -->
261 <xs:enumeration value="GD" />
262 <!-- GUADELOUPE -->
263 <xs:enumeration value="GP" />
264 <!-- GUAM -->
265 <xs:enumeration value="GU" />
266 <!-- GUATEMALA -->
267 <xs:enumeration value="GT" />
268 <!-- GUERNSEY -->
269 <xs:enumeration value="GG" />
270 <!-- GUINEA -->
271 <xs:enumeration value="GN" />
272 <!-- GUINEA-BISSAU -->
273 <xs:enumeration value="GW" />
274 <!-- GUYANA -->
275 <xs:enumeration value="GY" />
276 <!-- HAITI -->
277 <xs:enumeration value="HT" />
278 <!-- HEARD ISLAND AND MCDONALD ISLANDS -->
279 <xs:enumeration value="HM" />
280 <!-- HOLY SEE (VATICAN CITY STATE) -->
281 <xs:enumeration value="VA" />
282 <!-- HONDURAS -->
283 <xs:enumeration value="HN" />
284 <!-- HONG KONG -->
285 <xs:enumeration value="HK" />
286 <!-- HUNGARY -->
287 <xs:enumeration value="HU" />
288 <!-- ICELAND -->
289 <xs:enumeration value="IS" />
290 <!-- INDIA -->
291 <xs:enumeration value="IN" />
292 <!-- INDONESIA -->
293 <xs:enumeration value="ID" />
294 <!-- IRAN, ISLAMIC REPUBLIC OF -->
295 <xs:enumeration value="IR" />
296 <!-- IRAQ -->
297 <xs:enumeration value="IQ" />
298 <!-- IRELAND -->
299 <xs:enumeration value="IE" />
300 <!-- ISLE OF MAN -->
301 <xs:enumeration value="IM" />
302 <!-- ISRAEL -->
303 <xs:enumeration value="IL" />
304 <!-- ITALY -->
305 <xs:enumeration value="IT" />
306 <!-- JAMAICA -->
307 <xs:enumeration value="JM" />
308 <!-- JAPAN -->
309 <xs:enumeration value="JP" />
310 <!-- JERSEY -->
311 <xs:enumeration value="JE" />
312 <!-- JORDAN -->
313 <xs:enumeration value="JO" />
314 <!-- KAZAKHSTAN -->
315 <xs:enumeration value="KZ" />
316 <!-- KENYA -->
317 <xs:enumeration value="KE" />
318 <!-- KIRIBATI -->
319 <xs:enumeration value="KI" />
320 <!-- KOREA, DEMOCRATIC PEOPLE'S REPUBLIC OF -->
321 <xs:enumeration value="KP" />
322 <!-- KOREA, REPUBLIC OF -->
323 <xs:enumeration value="KR" />
324 <!-- KUWAIT -->
325 <xs:enumeration value="KW" />
326 <!-- KYRGYZSTAN -->
327 <xs:enumeration value="KG" />
328 <!-- LAO PEOPLE'S DEMOCRATIC REPUBLIC -->
329 <xs:enumeration value="LA" />
330 <!-- LATVIA -->
331 <xs:enumeration value="LV" />
332 <!-- LEBANON -->
333 <xs:enumeration value="LB" />
334 <!-- LESOTHO -->
335 <xs:enumeration value="LS" />
336 <!-- LIBERIA -->
337 <xs:enumeration value="LR" />
338 <!-- LIBYAN ARAB JAMAHIRIYA -->
339 <xs:enumeration value="LY" />
340 <!-- LIECHTENSTEIN -->
341 <xs:enumeration value="LI" />
342 <!-- LITHUANIA -->
343 <xs:enumeration value="LT" />
344 <!-- LUXEMBOURG -->
345 <xs:enumeration value="LU" />
346 <!-- MACAO -->
347 <xs:enumeration value="MO" />
348 <!-- MACEDONIA, THE FORMER YUGOSLAV REPUBLIC OF -->
349 <xs:enumeration value="MK" />
350 <!-- MADAGASCAR -->
351 <xs:enumeration value="MG" />
352 <!-- MALAWI -->
353 <xs:enumeration value="MW" />
354 <!-- MALAYSIA -->
355 <xs:enumeration value="MY" />
356 <!-- MALDIVES -->
357 <xs:enumeration value="MV" />
358 <!-- MALI -->
359 <xs:enumeration value="ML" />
360 <!-- MALTA -->
361 <xs:enumeration value="MT" />
362 <!-- MARSHALL ISLANDS -->
363 <xs:enumeration value="MH" />
364 <!-- MARTINIQUE -->
365 <xs:enumeration value="MQ" />
366 <!-- MAURITANIA -->
367 <xs:enumeration value="MR" />
368 <!-- MAURITIUS -->
369 <xs:enumeration value="MU" />
370 <!-- MAYOTTE -->
371 <xs:enumeration value="YT" />
372 <!-- MEXICO -->
373 <xs:enumeration value="MX" />
374 <!-- MICRONESIA, FEDERATED STATES OF -->
375 <xs:enumeration value="FM" />
376 <!-- MOLDOVA, REPUBLIC OF -->
377 <xs:enumeration value="MD" />
378 <!-- MONACO -->
379 <xs:enumeration value="MC" />
380 <!-- MONGOLIA -->
381 <xs:enumeration value="MN" />
382 <!-- MONTENEGRO -->
383 <xs:enumeration value="ME" />
384 <!-- MONTSERRAT -->
385 <xs:enumeration value="MS" />
386 <!-- MOROCCO -->
387 <xs:enumeration value="MA" />
388 <!-- MOZAMBIQUE -->
389 <xs:enumeration value="MZ" />
390 <!-- MYANMAR -->
391 <xs:enumeration value="MM" />
392 <!-- NAMIBIA -->
393 <xs:enumeration value="NA" />
394 <!-- NAURU -->
395 <xs:enumeration value="NR" />
396 <!-- NEPAL -->
397 <xs:enumeration value="NP" />
398 <!-- NETHERLANDS -->
399 <xs:enumeration value="NL" />
400 <!-- NEW CALEDONIA -->
401 <xs:enumeration value="NC" />
402 <!-- NEW ZEALAND -->
403 <xs:enumeration value="NZ" />
404 <!-- NICARAGUA -->
405 <xs:enumeration value="NI" />
406 <!-- NIGER -->
407 <xs:enumeration value="NE" />
408 <!-- NIGERIA -->
409 <xs:enumeration value="NG" />
410 <!-- NIUE -->
411 <xs:enumeration value="NU" />
412 <!-- NORFOLK ISLAND -->
413 <xs:enumeration value="NF" />
414 <!-- NORTHERN MARIANA ISLANDS -->
415 <xs:enumeration value="MP" />
416 <!-- NORWAY -->
417 <xs:enumeration value="NO" />
418 <!-- OMAN -->
419 <xs:enumeration value="OM" />
420 <!-- PAKISTAN -->
421 <xs:enumeration value="PK" />
422 <!-- PALAU -->
423 <xs:enumeration value="PW" />
424 <!-- PALESTINIAN TERRITORY, OCCUPIED -->
425 <xs:enumeration value="PS" />
426 <!-- PANAMA -->
427 <xs:enumeration value="PA" />
428 <!-- PAPUA NEW GUINEA -->
429 <xs:enumeration value="PG" />
430 <!-- PARAGUAY -->
431 <xs:enumeration value="PY" />
432 <!-- PERU -->
433 <xs:enumeration value="PE" />
434 <!-- PHILIPPINES -->
435 <xs:enumeration value="PH" />
436 <!-- PITCAIRN -->
437 <xs:enumeration value="PN" />
438 <!-- POLAND -->
439 <xs:enumeration value="PL" />
440 <!-- PORTUGAL -->
441 <xs:enumeration value="PT" />
442 <!-- PUERTO RICO -->
443 <xs:enumeration value="PR" />
444 <!-- QATAR -->
445 <xs:enumeration value="QA" />
446 <!-- RÉUNION -->
447 <xs:enumeration value="RE" />
448 <!-- ROMANIA -->
449 <xs:enumeration value="RO" />
450 <!-- RUSSIAN FEDERATION -->
451 <xs:enumeration value="RU" />
452 <!-- RWANDA -->
453 <xs:enumeration value="RW" />
454 <!-- SAINT BARTHÉLEMY -->
455 <xs:enumeration value="BL" />
456 <!-- SAINT HELENA, ASCENSION AND TRISTAN DA CUNHA -->
457 <xs:enumeration value="SH" />
458 <!-- SAINT KITTS AND NEVIS -->
459 <xs:enumeration value="KN" />
460 <!-- SAINT LUCIA -->
461 <xs:enumeration value="LC" />
462 <!-- SAINT MARTIN (FRENCH PART) -->
463 <xs:enumeration value="MF" />
464 <!-- SAINT PIERRE AND MIQUELON -->
465 <xs:enumeration value="PM" />
466 <!-- SAINT VINCENT AND THE GRENADINES -->
467 <xs:enumeration value="VC" />
468 <!-- SAMOA -->
469 <xs:enumeration value="WS" />
470 <!-- SAN MARINO -->
471 <xs:enumeration value="SM" />
472 <!-- SAO TOME AND PRINCIPE -->
473 <xs:enumeration value="ST" />
474 <!-- SAUDI ARABIA -->
475 <xs:enumeration value="SA" />
476 <!-- SENEGAL -->
477 <xs:enumeration value="SN" />
478 <!-- SERBIA -->
479 <xs:enumeration value="RS" />
480 <!-- SEYCHELLES -->
481 <xs:enumeration value="SC" />
482 <!-- SIERRA LEONE -->
483 <xs:enumeration value="SL" />
484 <!-- SINGAPORE -->
485 <xs:enumeration value="SG" />
486 <!-- SINT MAARTEN (DUTCH PART) -->
487 <xs:enumeration value="SX" />
488 <!-- SLOVAKIA -->
489 <xs:enumeration value="SK" />
490 <!-- SLOVENIA -->
491 <xs:enumeration value="SI" />
492 <!-- SOLOMON ISLANDS -->
493 <xs:enumeration value="SB" />
494 <!-- SOMALIA -->
495 <xs:enumeration value="SO" />
496 <!-- SOUTH AFRICA -->
497 <xs:enumeration value="ZA" />
498 <!-- SOUTH GEORGIA AND THE SOUTH SANDWICH ISLANDS -->
499 <xs:enumeration value="GS" />
500 <!-- SOUTH SUDAN -->
501 <xs:enumeration value="SS" />
502 <!-- SPAIN -->
503 <xs:enumeration value="ES" />
504 <!-- SRI LANKA -->
505 <xs:enumeration value="LK" />
506 <!-- SUDAN -->
507 <xs:enumeration value="SD" />
508 <!-- SURINAME -->
509 <xs:enumeration value="SR" />
510 <!-- SVALBARD AND JAN MAYEN -->
511 <xs:enumeration value="SJ" />
512 <!-- SWAZILAND -->
513 <xs:enumeration value="SZ" />
514 <!-- SWEDEN -->
515 <xs:enumeration value="SE" />
516 <!-- SWITZERLAND -->
517 <xs:enumeration value="CH" />
518 <!-- SYRIAN ARAB REPUBLIC -->
519 <xs:enumeration value="SY" />
520 <!-- TAIWAN, PROVINCE OF CHINA -->
521 <xs:enumeration value="TW" />
522 <!-- TAJIKISTAN -->
523 <xs:enumeration value="TJ" />
524 <!-- TANZANIA, UNITED REPUBLIC OF -->
525 <xs:enumeration value="TZ" />
526 <!-- THAILAND -->
527 <xs:enumeration value="TH" />
528 <!-- TIMOR-LESTE -->
529 <xs:enumeration value="TL" />
530 <!-- TOGO -->
531 <xs:enumeration value="TG" />
532 <!-- TOKELAU -->
533 <xs:enumeration value="TK" />
534 <!-- TONGA -->
535 <xs:enumeration value="TO" />
536 <!-- TRINIDAD AND TOBAGO -->
537 <xs:enumeration value="TT" />
538 <!-- TUNISIA -->
539 <xs:enumeration value="TN" />
540 <!-- TURKEY -->
541 <xs:enumeration value="TR" />
542 <!-- TURKMENISTAN -->
543 <xs:enumeration value="TM" />
544 <!-- TURKS AND CAICOS ISLANDS -->
545 <xs:enumeration value="TC" />
546 <!-- TUVALU -->
547 <xs:enumeration value="TV" />
548 <!-- UGANDA -->
549 <xs:enumeration value="UG" />
550 <!-- UKRAINE -->
551 <xs:enumeration value="UA" />
552 <!-- UNITED ARAB EMIRATES -->
553 <xs:enumeration value="AE" />
554 <!-- UNITED KINGDOM -->
555 <xs:enumeration value="GB" />
556 <!-- UNITED STATES -->
557 <xs:enumeration value="US" />
558 <!-- UNITED STATES MINOR OUTLYING ISLANDS -->
559 <xs:enumeration value="UM" />
560 <!-- URUGUAY -->
561 <xs:enumeration value="UY" />
562 <!-- UZBEKISTAN -->
563 <xs:enumeration value="UZ" />
564 <!-- VANUATU -->
565 <xs:enumeration value="VU" />
566 <!-- VENEZUELA, BOLIVARIAN REPUBLIC OF -->
567 <xs:enumeration value="VE" />
568 <!-- VIET NAM -->
569 <xs:enumeration value="VN" />
570 <!-- VIRGIN ISLANDS, BRITISH -->
571 <xs:enumeration value="VG" />
572 <!-- VIRGIN ISLANDS, U.S. -->
573 <xs:enumeration value="VI" />
574 <!-- WALLIS AND FUTUNA -->
575 <xs:enumeration value="WF" />
576 <!-- WESTERN SAHARA -->
577 <xs:enumeration value="EH" />
578 <!-- YEMEN -->
579 <xs:enumeration value="YE" />
580 <!-- ZAMBIA -->
581 <xs:enumeration value="ZM" />
582 <!-- ZIMBABWE -->
583 <xs:enumeration value="ZW" />
584 </xs:restriction>
585 </xs:simpleType>
586
587 <xs:complexType name="imagery">
588 <xs:sequence>
589 <xs:element name="entry" minOccurs="0" maxOccurs="unbounded">
590 <xs:complexType>
[4449]591 <xs:all>
[4440]592 <!-- The name of the imagery source -->
593 <xs:element name="name" minOccurs="1" maxOccurs="1" type="xs:string" />
594 <!-- The type. Can be tms, wms and html. In addition, there are the special types bing and scanex
595 with hardcoded behaviour. -->
596 <xs:element name="type" minOccurs="1" maxOccurs="1" type="tns:type" />
597 <!-- To define as default server for this type -->
598 <xs:element name="default" minOccurs="0" maxOccurs="1" type="xs:boolean" />
599 <!-- The URL of the service. Can contain templates, e.g. {zoom} will be replaced by the current
600 zoom level (see below). The list of services is a XML document, so the '&' character is represented by
601 '&amp;'. Alternatively, the URL can be wrapped in a <![CDATA[...]]> section. -->
[4449]602 <xs:element name="url" minOccurs="1" maxOccurs="1" type="xs:string" />
[4440]603 <!-- A list of supported projections (inside <code> tags) -->
604 <xs:element name="projections" minOccurs="0" maxOccurs="1" type="tns:projections" />
605 <!-- TMS only: The minimum zoom level -->
606 <xs:element name="min-zoom" minOccurs="0" maxOccurs="1" type="tns:zoom" />
607 <!-- TMS only: The maximum zoom level. For higher scales, the images of the maximum level is enlarged. -->
608 <xs:element name="max-zoom" minOccurs="0" maxOccurs="1" type="tns:zoom" />
609 <!-- The area of use, e.g. <bounds min-lat='45.7' min-lon='5.9' max-lat='55.0' max-lon='17.3'/> -->
610 <xs:element name="bounds" minOccurs="0" maxOccurs="1" type="tns:bounds" />
611 <!-- A link to an EULA text that has to be accepted by the user, before the imagery source is added. -->
612 <xs:element name="eula" minOccurs="0" maxOccurs="1" type="tns:eula" />
613 <!-- The attribution text to be shown all the time on the map. -->
614 <xs:element name="attribution-text" minOccurs="0" maxOccurs="1" type="tns:attribution-text" />
615 <!-- A link that is opened, when the user clicks on the attribution text -->
616 <xs:element name="attribution-url" minOccurs="0" maxOccurs="1" type="xs:anyURI" />
[4493]617 <!-- A image that is displayed as attribution for the imagery background -->
618 <xs:element name="logo-image" minOccurs="0" maxOccurs="1" type="xs:string" />
619 <!-- A link that is opened, when the user clicks on the logo image -->
620 <xs:element name="logo-url" minOccurs="0" maxOccurs="1" type="xs:anyURI" />
621 <!-- terms-of-use text (if missing, default tou text will be used, unless terms-of-use-url is also missing) -->
622 <xs:element name="terms-of-use-text" minOccurs="0" maxOccurs="1" type="xs:string" />
[4440]623 <!-- A link that is opened, when the user clicks on the terms-of-use text -->
624 <xs:element name="terms-of-use-url" minOccurs="0" maxOccurs="1" type="xs:string" />
625 <!-- The ISO 3166 country code -->
626 <xs:element name="country-code" minOccurs="0" maxOccurs="1" type="tns:iso3166" />
[4713]627 <!-- A base64-encoded image that is displayed as menu/toolbar icon -->
628 <xs:element name="icon" minOccurs="0" maxOccurs="1" type="xs:string" />
[4449]629 </xs:all>
[4440]630 </xs:complexType>
631 </xs:element>
632 </xs:sequence>
633 </xs:complexType>
634
635 <xs:element name="imagery" type="tns:imagery" />
636
[4449]637</xs:schema>
Note: See TracBrowser for help on using the repository browser.