File: gpx-extensions-1.1.xsd

package info (click to toggle)
josm 0.0.svn18646%2Bdfsg-1
  • links: PTS, VCS
  • area: main
  • in suites: bookworm
  • size: 216,968 kB
  • sloc: java: 389,442; xml: 199,920; perl: 10,155; jsp: 265; sh: 182; makefile: 114; javascript: 74; python: 29
file content (38 lines) | stat: -rw-r--r-- 1,689 bytes parent folder | download | duplicates (6)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
<?xml version="1.0" encoding="UTF-8"?>
<schema targetNamespace="http://josm.openstreetmap.de/gpx-extensions-1.1"
    elementFormDefault="qualified"
    xmlns="http://www.w3.org/2001/XMLSchema"
    xmlns:xsd="http://www.w3.org/2001/XMLSchema"
    xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
    xmlns:josm="http://josm.openstreetmap.de/gpx-extensions-1.1"
    xsi:schemaLocation="http://josm.openstreetmap.de/gpx-extensions-1.1 http://josm.openstreetmap.de/gpx-extensions-1.1.xsd">
    
    <!-- true, if gpx data has been downloaded from the osm server -->
    <!-- it this case, JOSM improves the rendering of clouds of anonymous TrackPoints -->
    <element name="from-server" type="boolean"/>
    
    <!-- the following properties are only set for marker layer export -->
    <element name="offset" type="decimal"/>
    <element name="sync-offset" type="decimal"/>
    <element name="text" type="string" />
    
    <xsd:element name="layerPreferences" type="josm:preferences_type">
        <xsd:annotation>
            <xsd:documentation>
                The layerPreferences contain the preferences that can be set for the layer, e.g. in the "Customize track drawing" dialog in JOSM.
            </xsd:documentation>
        </xsd:annotation>
    </xsd:element>

    <xsd:complexType name="preferences_type">
        <xsd:sequence>
            <xsd:element name="entry" type="josm:entry_type" minOccurs="0" />
        </xsd:sequence>
    </xsd:complexType>

    <xsd:complexType name="entry_type">
        <xsd:attribute name="key" type="xsd:string" use="required" />
        <xsd:attribute name="value" type="xsd:string" use="required" />
    </xsd:complexType>

</schema>