Debian Codegraph @

schemas/README

raw
1 This folder contains the schemas that are relevant to pytrainer
2 (though they are NOT all supported yet)
3
4 The schemas are:
5 Topografix_gpx11.xsd - The base GPX schema from Topografix (version 1.1)
6 Cluetrust_gpxdata10.xsd - The Cluetrust (also known as GPXDATA) extensions used by pytrainer for heartrate (and lap) support
7 GarminTrainingCenterDatabase_v1.xsd - Garmin Training Center version 1
8 GarminTrainingCenterDatabase_v2.xsd - Garmin Training Center version 2 (TCX)
9
10 Internally pytrainer uses Topografix_gpx11.xsd with Cluetrust_gpxdata10.xsd extensions
11
12 validate_gpsfile.py is a command line tool that allows files to be validated against the schemas (requires lxml)
13 Usage: validate_gpsfile.py [options] filename
14
15 Options:
16 -h, --help show this help message and exit
17 -s SCHEMA, --schema=SCHEMA
18 specify schema to validate FILE against
19 -v, --verbose show extra information (including why validation
20 fails)
21
22 If a schema is not specified the tool will try to validate against all four schemas