| 1 |
<?xml version="1.0" encoding="UTF-8"?> |
| 2 |
<schema targetNamespace="http://josm.openstreetmap.de/gpx-extensions-1.1" |
| 3 |
elementFormDefault="qualified" |
| 4 |
xmlns="http://www.w3.org/2001/XMLSchema" |
| 5 |
xmlns:xsd="http://www.w3.org/2001/XMLSchema" |
| 6 |
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" |
| 7 |
xmlns:josm="http://josm.openstreetmap.de/gpx-extensions-1.1" |
| 8 |
xsi:schemaLocation="http://josm.openstreetmap.de/gpx-extensions-1.1 http://josm.openstreetmap.de/gpx-extensions-1.1.xsd"> |
| 9 |
|
| 10 |
|
| 11 |
|
| 12 |
<element name="from-server" type="boolean"/> |
| 13 |
|
| 14 |
|
| 15 |
<element name="offset" type="decimal"/> |
| 16 |
<element name="sync-offset" type="decimal"/> |
| 17 |
<element name="text" type="string" /> |
| 18 |
|
| 19 |
<xsd:element name="layerPreferences" type="josm:preferences_type"> |
| 20 |
<xsd:annotation> |
| 21 |
<xsd:documentation> |
| 22 |
The layerPreferences contain the preferences that can be set for the layer, e.g. in the "Customize track drawing" dialog in JOSM. |
| 23 |
</xsd:documentation> |
| 24 |
</xsd:annotation> |
| 25 |
</xsd:element> |
| 26 |
|
| 27 |
<xsd:complexType name="preferences_type"> |
| 28 |
<xsd:sequence> |
| 29 |
<xsd:element name="entry" type="josm:entry_type" minOccurs="0" /> |
| 30 |
</xsd:sequence> |
| 31 |
</xsd:complexType> |
| 32 |
|
| 33 |
<xsd:complexType name="entry_type"> |
| 34 |
<xsd:attribute name="key" type="xsd:string" use="required" /> |
| 35 |
<xsd:attribute name="value" type="xsd:string" use="required" /> |
| 36 |
</xsd:complexType> |
| 37 |
|
| 38 |
</schema> |