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