~ubuntu-branches/ubuntu/natty/pytrainer/natty-proposed

« back to all changes in this revision

Viewing changes to schemas/garmintools.xsd

  • Committer: Bazaar Package Importer
  • Author(s): Alessio Treglia
  • Date: 2010-02-04 06:07:11 UTC
  • mfrom: (4.1.3 sid)
  • Revision ID: james.westby@ubuntu.com-20100204060711-25n5aw66w5egeiph
Tags: 1.7.1-1ubuntu1
* Merge from debian testing, remaining changes:
  - debian/control:
    + Replace Depends on iceweasel with firefox | abrowser.
    + Bump python-dev,debhelper build-dependencies.
    - Drop dependency on python-glade2 (libglade -> gtkbuilder transition).
  - debian/rules:
    + Append --install-laoyut=deb to setup.py install to prevent a build
      failure with Python 2.6.

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
<?xml version="1.0" encoding="UTF-8"?>
 
2
<xsd:schema xmlns:xsd="http://www.w3.org/2001/XMLSchema">
 
3
  <xsd:element name="root" type="root_type"/>
 
4
        <xsd:complexType name="root_type">
 
5
                <xsd:sequence>
 
6
                        <xsd:element name="run" type="run_type" minOccurs="1" maxOccurs="unbounded" />
 
7
                        <xsd:element name="lap" type="lap_type" minOccurs="0" maxOccurs="unbounded" />
 
8
                        <xsd:element name="track" type="track_type" minOccurs="0" maxOccurs="unbounded" />
 
9
                        <xsd:element name="point" type="point_type" minOccurs="0" maxOccurs="unbounded" />
 
10
                </xsd:sequence>
 
11
        </xsd:complexType>
 
12
        <xsd:complexType name="run_type">
 
13
                <xsd:sequence>
 
14
                        <xsd:element name="laps" type="laps_type" minOccurs="0" />
 
15
                </xsd:sequence>
 
16
                <xsd:attribute name="type" type="xsd:string" use="required"/>
 
17
                <xsd:attribute name="track" type="xsd:string" use="optional"/>
 
18
                <xsd:attribute name="sport" type="xsd:string" use="optional"/>
 
19
                <xsd:attribute name="multisport" type="xsd:string" use="optional"/>
 
20
        </xsd:complexType>
 
21
        <xsd:complexType name="laps_type">
 
22
                <xsd:attribute name="first" type="xsd:string" use="optional"/>
 
23
                <xsd:attribute name="last" type="xsd:string" use="optional"/>
 
24
        </xsd:complexType>
 
25
        <xsd:complexType name="lap_type">
 
26
                <xsd:sequence>
 
27
                        <xsd:element name="begin_pos" type="position_type" minOccurs="0" />
 
28
                        <xsd:element name="end_pos" type="position_type" minOccurs="0" />
 
29
                        <xsd:element name="max_speed" type="xsd:float" minOccurs="0" />
 
30
                        <xsd:element name="calories" type="xsd:positiveInteger" minOccurs="0" />
 
31
                        <xsd:element name="avg_hr" type="xsd:positiveInteger" minOccurs="0" />
 
32
                        <xsd:element name="max_hr" type="xsd:positiveInteger" minOccurs="0" />
 
33
                        <xsd:element name="intensity" type="xsd:string" minOccurs="0" />
 
34
                        <xsd:element name="unknown" type="xsd:string" minOccurs="0" />
 
35
                </xsd:sequence>
 
36
                <xsd:attribute name="type" type="xsd:string" use="required"/>
 
37
                <xsd:attribute name="index" type="xsd:string" use="optional"/>
 
38
                <xsd:attribute name="start" type="xsd:string" use="optional"/>
 
39
                <xsd:attribute name="duration" type="xsd:string" use="optional"/>
 
40
                <xsd:attribute name="distance" type="xsd:string" use="optional"/>
 
41
                <xsd:attribute name="trigger" type="xsd:string" use="optional"/>
 
42
        </xsd:complexType>
 
43
        <xsd:complexType name="position_type">
 
44
                <xsd:attribute name="lat" type="xsd:string" use="optional"/>
 
45
                <xsd:attribute name="lon" type="xsd:string" use="optional"/>
 
46
        </xsd:complexType>
 
47
        <xsd:complexType name="track_type">
 
48
                <xsd:attribute name="type" type="xsd:string" use="required"/>
 
49
                <xsd:attribute name="index" type="xsd:string" use="optional"/>
 
50
        </xsd:complexType>
 
51
        <xsd:complexType name="point_type">
 
52
                <xsd:attribute name="type" type="xsd:string" use="optional"/>
 
53
                <xsd:attribute name="time" type="xsd:string" use="required"/>
 
54
                <xsd:attribute name="lat" type="xsd:string" use="optional"/>
 
55
                <xsd:attribute name="lon" type="xsd:string" use="optional"/>
 
56
                <xsd:attribute name="alt" type="xsd:string" use="optional"/>
 
57
                <xsd:attribute name="distance" type="xsd:string" use="optional"/>
 
58
                <xsd:attribute name="hr" type="xsd:string" use="optional"/>
 
59
        </xsd:complexType>
 
60
</xsd:schema>