Documentation for TrainingCenterDatabasev1

Table of Contents

top

Schema Document Properties

Target Namespace http://www.garmin.com/xmlschemas/TrainingCenterDatabase/v1
Element and Attribute Namespaces
  • Global element and attribute declarations belong to this schema's target namespace.
  • By default, local element declarations belong to this schema's target namespace.
  • By default, local attribute declarations have no namespace.
Documentation This schema defines the Garmin Training Center file format.

Declared Namespaces

Prefix Namespace
Default namespace http://www.garmin.com/xmlschemas/TrainingCenterDatabase/v1
xml http://www.w3.org/XML/1998/namespace
xsd http://www.w3.org/2001/XMLSchema
tc1 http://www.garmin.com/xmlschemas/TrainingCenterDatabase/v1
Schema Component Representation
<xsd:schema targetNamespace="http://www.garmin.com/xmlschemas/TrainingCenterDatabase/v1" elementFormDefault="qualified">
...
</xsd:schema>
top

Global Declarations

Element: TrainingCenterDatabase

Name TrainingCenterDatabase
Type TrainingCenterDatabase_t
Nillable no
Abstract no
Logical Diagram
XML Instance Representation
<TrainingCenterDatabase>
<History> History_t </History> [0..1]
<Workouts> Workouts_t
<!--
Uniqueness Constraint - WorkoutNameMustBeUnique
Selector - tc1:Workout
Field(s) - tc1:Name
-->
</Workouts> [0..1]

'The workouts stored in a workout file should have unique names.'

<Courses> Courses_t
<!--
Uniqueness Constraint - CourseNameMustBeUnique
Selector - tc1:Course
Field(s) - tc1:Name
-->
</Courses> [0..1]

'The courses stored in a course file should have unique names.'

<Extensions> Extensions_t </Extensions> [0..1]

'You can extend Training Center by adding your own elements from another schema here.'

</TrainingCenterDatabase>
Diagram
h-1242790748 h1209008142
Schema Component Representation
<xsd:element name="TrainingCenterDatabase" type=" TrainingCenterDatabase_t "/>
top

Global Definitions

Complex Type: AbstractStep_t

Super-types: None
Sub-types:
Name AbstractStep_t
Used by (from the same schema document) Complex Type Workout_t , Complex Type Repeat_t
Abstract yes
XML Instance Representation
<...>
<StepId> StepId_t </StepId> [1]
</...>
Diagram
h-1715602751
Schema Component Representation
<xsd:complexType name="AbstractStep_t" abstract="true">
<xsd:sequence>
<xsd:element name="StepId" type=" StepId_t "/>
</xsd:sequence>
</xsd:complexType>
top

Complex Type: ActivityLap_t

Super-types: None
Sub-types: None
Name ActivityLap_t
Used by (from the same schema document) Complex Type NextSport_t , Complex Type Run_t
Abstract no
XML Instance Representation
<...
StartTime=" xsd:dateTime [1]">
<TotalTimeSeconds> xsd:double </TotalTimeSeconds> [1]
<DistanceMeters> xsd:double </DistanceMeters> [1]
<MaximumSpeed> xsd:double </MaximumSpeed> [0..1]
<Calories> xsd:unsignedShort </Calories> [1]
<AverageHeartRateBpm> xsd:unsignedByte </AverageHeartRateBpm> [0..1]
<MaximumHeartRateBpm> xsd:unsignedByte </MaximumHeartRateBpm> [0..1]
<Intensity> Intensity_t </Intensity> [1]
<Cadence> xsd:unsignedByte </Cadence> [0..1]
<TriggerMethod> TriggerMethod_t </TriggerMethod> [1]
<Track> Track_t </Track> [0..*]
<Notes> xsd:string </Notes> [0..1]
<Extensions> Extensions_t </Extensions> [0..1]

'You can extend Training Center by adding your own elements from another schema here.'

</...>
Diagram
h-1858375229 h-390687927 h-337524133 h1209008142
Schema Component Representation
<xsd:complexType name="ActivityLap_t">
<xsd:sequence>
<xsd:element name="TotalTimeSeconds" type=" xsd:double "/>
<xsd:element name="DistanceMeters" type=" xsd:double "/>
<xsd:element name="MaximumSpeed" type=" xsd:double " minOccurs="0"/>
<xsd:element name="Calories" type=" xsd:unsignedShort "/>
<xsd:element name="AverageHeartRateBpm" type=" xsd:unsignedByte " minOccurs="0"/>
<xsd:element name="MaximumHeartRateBpm" type=" xsd:unsignedByte " minOccurs="0"/>
<xsd:element name="Intensity" type=" Intensity_t "/>
<xsd:element name="Cadence" type=" xsd:unsignedByte " minOccurs="0"/>
<xsd:element name="TriggerMethod" type=" TriggerMethod_t "/>
<xsd:element name="Track" type=" Track_t " minOccurs="0" maxOccurs="unbounded"/>
<xsd:element name="Notes" type=" xsd:string " minOccurs="0"/>
<xsd:element name="Extensions" type=" Extensions_t " minOccurs="0"/>
</xsd:sequence>
<xsd:attribute name="StartTime" type=" xsd:dateTime " use="required"/>
</xsd:complexType>
top

Complex Type: Cadence_t

Super-types: Target_t < Cadence_t (by extension)
Sub-types: None
Name Cadence_t
Abstract no
XML Instance Representation
<...>
<Low> xsd:double </Low> [1]
<High> xsd:double </High> [1]
</...>
Diagram
Schema Component Representation
<xsd:complexType name="Cadence_t">
<xsd:complexContent>
<xsd:extension base=" Target_t ">
<xsd:sequence>
<xsd:element name="Low" type=" xsd:double "/>
<xsd:element name="High" type=" xsd:double "/>
</xsd:sequence>
</xsd:extension>
</xsd:complexContent>
</xsd:complexType>
top

Complex Type: CaloriesBurned_t

Super-types: Duration_t < CaloriesBurned_t (by extension)
Sub-types: None
Name CaloriesBurned_t
Abstract no
XML Instance Representation
<...>
<Calories> xsd:unsignedShort </Calories> [1]
</...>
Diagram
Schema Component Representation
<xsd:complexType name="CaloriesBurned_t">
<xsd:complexContent>
<xsd:extension base=" Duration_t ">
<xsd:sequence>
<xsd:element name="Calories" type=" xsd:unsignedShort "/>
</xsd:sequence>
</xsd:extension>
</xsd:complexContent>
</xsd:complexType>
top

Complex Type: CourseFolder_t

Super-types: None
Sub-types: None
Name CourseFolder_t
Used by (from the same schema document) Complex Type Courses_t , Complex Type CourseFolder_t
Abstract no
XML Instance Representation
<...
Name=" xsd:string [1]">
<Folder> CourseFolder_t </Folder> [0..*]
<Course> Course_t
<!--
Uniqueness Constraint - CourseNamesMustBeUnique
Selector - tc1:Course
Field(s) - tc1:Name
-->
</Course> [0..*]
<Notes> xsd:string </Notes> [0..1]
<Extensions> Extensions_t </Extensions> [0..1]

'You can extend Training Center by adding your own elements from another schema here.'

</...>
Diagram
h1209008142
Schema Component Representation
<xsd:complexType name="CourseFolder_t">
<xsd:sequence>
<xsd:element name="Folder" type=" CourseFolder_t " minOccurs="0" maxOccurs="unbounded"/>
<xsd:element name="Course" type=" Course_t " minOccurs="0" maxOccurs="unbounded">
<xsd:unique name="CourseNamesMustBeUnique">
<xsd:selector xpath="tc1:Course"/>
<xsd:field xpath="tc1:Name"/>
</xsd:unique>
</xsd:element>
<xsd:element name="Notes" type=" xsd:string " minOccurs="0"/>
<xsd:element name="Extensions" type=" Extensions_t " minOccurs="0"/>
</xsd:sequence>
<xsd:attribute name="Name" type=" xsd:string " use="required"/>
</xsd:complexType>
top

Complex Type: CourseLap_t

Super-types: None
Sub-types: None
Name CourseLap_t
Used by (from the same schema document) Complex Type Course_t
Abstract no
XML Instance Representation
<...>
<TotalTimeSeconds> xsd:double </TotalTimeSeconds> [1]
<DistanceMeters> xsd:double </DistanceMeters> [1]
<BeginPosition> Position_t </BeginPosition> [0..1]
<BeginAltitudeMeters> xsd:double </BeginAltitudeMeters> [0..1]
<EndPosition> Position_t </EndPosition> [0..1]
<EndAltitudeMeters> xsd:double </EndAltitudeMeters> [0..1]
<AverageHeartRateBpm> xsd:unsignedByte </AverageHeartRateBpm> [0..1]
<MaximumHeartRateBpm> xsd:unsignedByte </MaximumHeartRateBpm> [0..1]
<Intensity> Intensity_t </Intensity> [1]
<Cadence> xsd:unsignedByte </Cadence> [0..1]
<Extensions> Extensions_t </Extensions> [0..1]

'You can extend Training Center by adding your own elements from another schema here.'

</...>
Diagram
h-441796317 h-441796317 h-1858375229 h1209008142
Schema Component Representation
<xsd:complexType name="CourseLap_t">
<xsd:sequence>
<xsd:element name="TotalTimeSeconds" type=" xsd:double "/>
<xsd:element name="DistanceMeters" type=" xsd:double "/>
<xsd:element name="BeginPosition" type=" Position_t " minOccurs="0"/>
<xsd:element name="BeginAltitudeMeters" type=" xsd:double " minOccurs="0"/>
<xsd:element name="EndPosition" type=" Position_t " minOccurs="0"/>
<xsd:element name="EndAltitudeMeters" type=" xsd:double " minOccurs="0"/>
<xsd:element name="AverageHeartRateBpm" type=" xsd:unsignedByte " minOccurs="0"/>
<xsd:element name="MaximumHeartRateBpm" type=" xsd:unsignedByte " minOccurs="0"/>
<xsd:element name="Intensity" type=" Intensity_t "/>
<xsd:element name="Cadence" type=" xsd:unsignedByte " minOccurs="0"/>
<xsd:element name="Extensions" type=" Extensions_t " minOccurs="0"/>
</xsd:sequence>
</xsd:complexType>
top

Complex Type: CoursePoint_t

Super-types: None
Sub-types: None
Name CoursePoint_t
Used by (from the same schema document) Complex Type Course_t
Abstract no
XML Instance Representation
<...>
<Name> CoursePointName_t </Name> [1]
<Time> xsd:dateTime </Time> [1]
<Position> Position_t </Position> [1]
<AltitudeMeters> xsd:double </AltitudeMeters> [0..1]
<PointType> CoursePointType_t </PointType> [1]
<Notes> xsd:string </Notes> [0..1]
<Extensions> Extensions_t </Extensions> [0..1]

'You can extend Training Center by adding your own elements from another schema here.'

</...>
Diagram
h2111388784 h-441796317 h-1989549729 h1209008142
Schema Component Representation
<xsd:complexType name="CoursePoint_t">
<xsd:sequence>
<xsd:element name="Name" type=" CoursePointName_t "/>
<xsd:element name="Time" type=" xsd:dateTime "/>
<xsd:element name="Position" type=" Position_t "/>
<xsd:element name="AltitudeMeters" type=" xsd:double " minOccurs="0"/>
<xsd:element name="PointType" type=" CoursePointType_t "/>
<xsd:element name="Notes" type=" xsd:string " minOccurs="0"/>
<xsd:element name="Extensions" type=" Extensions_t " minOccurs="0"/>
</xsd:sequence>
</xsd:complexType>
top

Complex Type: Course_t

Super-types: None
Sub-types: None
Name Course_t
Used by (from the same schema document) Complex Type CourseFolder_t
Abstract no
XML Instance Representation
<...>
<Name> RestrictedToken_t </Name> [1]
<Lap> CourseLap_t </Lap> [0..*]
<Track> Track_t </Track> [0..*]
<Notes> xsd:string </Notes> [0..1]
<CoursePoint> CoursePoint_t </CoursePoint> [0..*]
<Extensions> Extensions_t </Extensions> [0..1]

'You can extend Training Center by adding your own elements from another schema here.'

</...>
Diagram
h-1224749842 h-774485552 h-337524133 h-1601432443 h1209008142
Schema Component Representation
<xsd:complexType name="Course_t">
<xsd:sequence>
<xsd:element name="Name" type=" RestrictedToken_t "/>
<xsd:element name="Lap" type=" CourseLap_t " minOccurs="0" maxOccurs="unbounded"/>
<xsd:element name="Track" type=" Track_t " minOccurs="0" maxOccurs="unbounded"/>
<xsd:element name="Notes" type=" xsd:string " minOccurs="0"/>
<xsd:element name="CoursePoint" type=" CoursePoint_t " minOccurs="0" maxOccurs="unbounded"/>
<xsd:element name="Extensions" type=" Extensions_t " minOccurs="0"/>
</xsd:sequence>
</xsd:complexType>
top

Complex Type: Courses_t

Super-types: None
Sub-types: None
Name Courses_t
Used by (from the same schema document) Complex Type TrainingCenterDatabase_t
Abstract no
XML Instance Representation
<...>
<CourseFolder> CourseFolder_t
<!--
Uniqueness Constraint - CourseSubFolderNamesMustBeUnique
Selector - tc1:CourseFolder
Field(s) - @Name
-->
</CourseFolder> [1]
<Extensions> Extensions_t </Extensions> [0..1]

'You can extend Training Center by adding your own elements from another schema here.'

</...>
Diagram
h1209008142
Schema Component Representation
<xsd:complexType name="Courses_t">
<xsd:sequence>
<xsd:element name="CourseFolder" type=" CourseFolder_t ">
<xsd:unique name="CourseSubFolderNamesMustBeUnique">
<xsd:selector xpath="tc1:CourseFolder"/>
<xsd:field xpath="@Name"/>
</xsd:unique>
</xsd:element>
<xsd:element name="Extensions" type=" Extensions_t " minOccurs="0"/>
</xsd:sequence>
</xsd:complexType>
top

Complex Type: CustomHeartRateZone_t

Super-types: Zone_t < CustomHeartRateZone_t (by extension)
Sub-types: None
Name CustomHeartRateZone_t
Abstract no
XML Instance Representation
<...>
<Low> HeartRateValue_t </Low> [1]
<High> HeartRateValue_t </High> [1]
</...>
Diagram
Schema Component Representation
<xsd:complexType name="CustomHeartRateZone_t">
<xsd:complexContent>
<xsd:extension base=" Zone_t ">
<xsd:sequence>
<xsd:element name="Low" type=" HeartRateValue_t "/>
<xsd:element name="High" type=" HeartRateValue_t "/>
</xsd:sequence>
</xsd:extension>
</xsd:complexContent>
</xsd:complexType>
top

Complex Type: CustomSpeedZone_t

Super-types: Zone_t < CustomSpeedZone_t (by extension)
Sub-types: None
Name CustomSpeedZone_t
Abstract no
XML Instance Representation
<...>
<ViewAs> SpeedType_t </ViewAs> [1]
<LowInMetersPerSecond> SpeedInMetersPerSecond_t </LowInMetersPerSecond> [1]
<HighInMetersPerSecond> SpeedInMetersPerSecond_t </HighInMetersPerSecond> [1]
</...>
Diagram
Schema Component Representation
<xsd:complexType name="CustomSpeedZone_t">
<xsd:complexContent>
<xsd:extension base=" Zone_t ">
<xsd:sequence>
<xsd:element name="ViewAs" type=" SpeedType_t "/>
<xsd:element name="LowInMetersPerSecond" type=" SpeedInMetersPerSecond_t "/>
<xsd:element name="HighInMetersPerSecond" type=" SpeedInMetersPerSecond_t "/>
</xsd:sequence>
</xsd:extension>
</xsd:complexContent>
</xsd:complexType>
top

Complex Type: Distance_t

Super-types: Duration_t < Distance_t (by extension)
Sub-types: None
Name Distance_t
Abstract no
XML Instance Representation
<...>
<Meters> xsd:unsignedShort </Meters> [1]
</...>
Diagram
Schema Component Representation
<xsd:complexType name="Distance_t">
<xsd:complexContent>
<xsd:extension base=" Duration_t ">
<xsd:sequence>
<xsd:element name="Meters" type=" xsd:unsignedShort "/>
</xsd:sequence>
</xsd:extension>
</xsd:complexContent>
</xsd:complexType>
top

Complex Type: Duration_t

Super-types: None
Sub-types:
Name Duration_t
Used by (from the same schema document) Complex Type Step_t
Abstract yes
XML Instance Representation
<.../>
Diagram
Schema Component Representation
<xsd:complexType name="Duration_t" abstract="true"/>
top

Complex Type: Extensions_t

Super-types: None
Sub-types: None
Name Extensions_t
Used by (from the same schema document) Complex Type TrainingCenterDatabase_t , Complex Type History_t , Complex Type HistoryFolder_t , Complex Type MultiSportFolder_t , Complex Type Run_t , Complex Type Plan_t , Complex Type ActivityLap_t , Complex Type Trackpoint_t , Complex Type Workouts_t , Complex Type WorkoutFolder_t , Complex Type Workout_t , Complex Type Courses_t , Complex Type CourseFolder_t , Complex Type Course_t , Complex Type CourseLap_t , Complex Type CoursePoint_t
Abstract no
XML Instance Representation
<...>
Allow any elements from a namespace other than this schema's namespace (lax validation). [0..*]
</...>
Diagram
Schema Component Representation
<xsd:complexType name="Extensions_t">
<xsd:sequence>
<xsd:any namespace="##other" processContents="lax" minOccurs="0" maxOccurs="unbounded"/>
</xsd:sequence>
</xsd:complexType>
top

Complex Type: FirstSport_t

Super-types: None
Sub-types: None
Name FirstSport_t
Used by (from the same schema document) Complex Type MultiSportSession_t
Abstract no
XML Instance Representation
<...
Sport=" Sport_t [1]">
<Run> Run_t </Run> [1]
</...>
Diagram
h-1110475173 h-1268901308
Schema Component Representation
<xsd:complexType name="FirstSport_t">
<xsd:sequence>
<xsd:element name="Run" type=" Run_t "/>
</xsd:sequence>
<xsd:attribute name="Sport" type=" Sport_t " use="required"/>
</xsd:complexType>
top

Complex Type: HeartRateAbove_t

Super-types: Duration_t < HeartRateAbove_t (by extension)
Sub-types: None
Name HeartRateAbove_t
Abstract no
XML Instance Representation
<...>
<HeartRate> HeartRateValue_t </HeartRate> [1]
</...>
Diagram
Schema Component Representation
<xsd:complexType name="HeartRateAbove_t">
<xsd:complexContent>
<xsd:extension base=" Duration_t ">
<xsd:sequence>
<xsd:element name="HeartRate" type=" HeartRateValue_t "/>
</xsd:sequence>
</xsd:extension>
</xsd:complexContent>
</xsd:complexType>
top

Complex Type: HeartRateAsPercentOfMax_t

Super-types: HeartRateValue_t < HeartRateAsPercentOfMax_t (by extension)
Sub-types: None
Name HeartRateAsPercentOfMax_t
Abstract no
XML Instance Representation
<...>
<Value> PercentOfMax_t </Value> [1]
</...>
Diagram
Schema Component Representation
<xsd:complexType name="HeartRateAsPercentOfMax_t">
<xsd:complexContent>
<xsd:extension base=" HeartRateValue_t ">
<xsd:sequence>
<xsd:element name="Value" type=" PercentOfMax_t "/>
</xsd:sequence>
</xsd:extension>
</xsd:complexContent>
</xsd:complexType>
top

Complex Type: HeartRateBelow_t

Super-types: Duration_t < HeartRateBelow_t (by extension)
Sub-types: None
Name HeartRateBelow_t
Abstract no
XML Instance Representation
<...>
<HeartRate> HeartRateValue_t </HeartRate> [1]
</...>
Diagram
Schema Component Representation
<xsd:complexType name="HeartRateBelow_t">
<xsd:complexContent>
<xsd:extension base=" Duration_t ">
<xsd:sequence>
<xsd:element name="HeartRate" type=" HeartRateValue_t "/>
</xsd:sequence>
</xsd:extension>
</xsd:complexContent>
</xsd:complexType>
top

Complex Type: HeartRateInBeatsPerMinute_t

Super-types: HeartRateValue_t < HeartRateInBeatsPerMinute_t (by extension)
Sub-types: None
Name HeartRateInBeatsPerMinute_t
Abstract no
XML Instance Representation
<...>
<Value> xsd:unsignedByte </Value> [1]
</...>
Diagram
Schema Component Representation
<xsd:complexType name="HeartRateInBeatsPerMinute_t">
<xsd:complexContent>
<xsd:extension base=" HeartRateValue_t ">
<xsd:sequence>
<xsd:element name="Value" type=" xsd:unsignedByte "/>
</xsd:sequence>
</xsd:extension>
</xsd:complexContent>
</xsd:complexType>
top

Complex Type: HeartRateValue_t

Super-types: None
Sub-types:
Name HeartRateValue_t
Used by (from the same schema document) Complex Type HeartRateAbove_t , Complex Type HeartRateBelow_t , Complex Type CustomHeartRateZone_t , Complex Type CustomHeartRateZone_t
Abstract yes
XML Instance Representation
<.../>
Diagram
Schema Component Representation
<xsd:complexType name="HeartRateValue_t" abstract="true"/>
top

Complex Type: HeartRate_t

Super-types: Target_t < HeartRate_t (by extension)
Sub-types: None
Name HeartRate_t
Abstract no
XML Instance Representation
<...>
<HeartRateZone> Zone_t </HeartRateZone> [1]
</...>
Diagram
Schema Component Representation
<xsd:complexType name="HeartRate_t">
<xsd:complexContent>
<xsd:extension base=" Target_t ">
<xsd:sequence>
<xsd:element name="HeartRateZone" type=" Zone_t "/>
</xsd:sequence>
</xsd:extension>
</xsd:complexContent>
</xsd:complexType>
top

Complex Type: HistoryFolder_t

Super-types: None
Sub-types: None
Name HistoryFolder_t
Used by (from the same schema document) Complex Type History_t , Complex Type History_t , Complex Type History_t , Complex Type HistoryFolder_t
Abstract no
XML Instance Representation
<...
Name=" xsd:string [1]">
<Folder> HistoryFolder_t </Folder> [0..*]
<Run> Run_t </Run> [0..*]
<Week> Week_t </Week> [0..*]
<Notes> xsd:string </Notes> [0..1]
<Extensions> Extensions_t </Extensions> [0..1]

'You can extend Training Center by adding your own elements from another schema here.'

</...>
Diagram
h-1110475173 h63120302 h1209008142
Schema Component Representation
<xsd:complexType name="HistoryFolder_t">
<xsd:sequence>
<xsd:element name="Folder" type=" HistoryFolder_t " minOccurs="0" maxOccurs="unbounded"/>
<xsd:element name="Run" type=" Run_t " minOccurs="0" maxOccurs="unbounded"/>
<xsd:element name="Week" type=" Week_t " minOccurs="0" maxOccurs="unbounded"/>
<xsd:element name="Notes" type=" xsd:string " minOccurs="0"/>
<xsd:element name="Extensions" type=" Extensions_t " minOccurs="0"/>
</xsd:sequence>
<xsd:attribute name="Name" type=" xsd:string " use="required"/>
</xsd:complexType>
top

Complex Type: History_t

Super-types: None
Sub-types: None
Name History_t
Used by (from the same schema document) Complex Type TrainingCenterDatabase_t
Abstract no
XML Instance Representation
<...>
<Running> HistoryFolder_t </Running> [1]
<Biking> HistoryFolder_t </Biking> [1]
<Other> HistoryFolder_t </Other> [1]
<MultiSport> MultiSportFolder_t </MultiSport> [1]
<Extensions> Extensions_t </Extensions> [0..1]

'You can extend Training Center by adding your own elements from another schema here.'

</...>
Diagram
h-1082711438 h-1082711438 h-1082711438 h1016373507 h1209008142
Schema Component Representation
<xsd:complexType name="History_t">
<xsd:sequence>
<xsd:element name="Running" type=" HistoryFolder_t "/>
<xsd:element name="Biking" type=" HistoryFolder_t "/>
<xsd:element name="Other" type=" HistoryFolder_t "/>
<xsd:element name="MultiSport" type=" MultiSportFolder_t "/>
<xsd:element name="Extensions" type=" Extensions_t " minOccurs="0"/>
</xsd:sequence>
</xsd:complexType>
top

Complex Type: MultiSportFolder_t

Super-types: None
Sub-types: None
Name MultiSportFolder_t
Used by (from the same schema document) Complex Type History_t , Complex Type MultiSportFolder_t
Abstract no
XML Instance Representation
<...
Name=" xsd:string [1]">
<Folder> MultiSportFolder_t </Folder> [0..*]
<MultiSportSession> MultiSportSession_t </MultiSportSession> [0..*]
<Week> Week_t </Week> [0..*]
<Notes> xsd:string </Notes> [0..1]
<Extensions> Extensions_t </Extensions> [0..1]

'You can extend Training Center by adding your own elements from another schema here.'

</...>
Diagram
h1523116267 h63120302 h1209008142
Schema Component Representation
<xsd:complexType name="MultiSportFolder_t">
<xsd:sequence>
<xsd:element name="Folder" type=" MultiSportFolder_t " minOccurs="0" maxOccurs="unbounded"/>
<xsd:element name="MultiSportSession" type=" MultiSportSession_t " minOccurs="0" maxOccurs="unbounded"/>
<xsd:element name="Week" type=" Week_t " minOccurs="0" maxOccurs="unbounded"/>
<xsd:element name="Notes" type=" xsd:string " minOccurs="0"/>
<xsd:element name="Extensions" type=" Extensions_t " minOccurs="0"/>
</xsd:sequence>
<xsd:attribute name="Name" type=" xsd:string " use="required"/>
</xsd:complexType>
top

Complex Type: MultiSportSession_t

Super-types: None
Sub-types: None
Name MultiSportSession_t
Used by (from the same schema document) Complex Type MultiSportFolder_t
Abstract no
XML Instance Representation
<...>
<FirstSport> FirstSport_t </FirstSport> [1]
<NextSport> NextSport_t </NextSport> [0..*]
<Notes> xsd:string </Notes> [0..1]
</...>
Diagram
h-1476803938 h-1320281519
Schema Component Representation
<xsd:complexType name="MultiSportSession_t">
<xsd:sequence>
<xsd:element name="FirstSport" type=" FirstSport_t "/>
<xsd:element name="NextSport" type=" NextSport_t " minOccurs="0" maxOccurs="unbounded"/>
<xsd:element name="Notes" type=" xsd:string " minOccurs="0"/>
</xsd:sequence>
</xsd:complexType>
top

Complex Type: NextSport_t

Super-types: None
Sub-types: None
Name NextSport_t
Used by (from the same schema document) Complex Type MultiSportSession_t
Abstract no
XML Instance Representation
<...
Sport=" Sport_t [1]">
<Transition> ActivityLap_t </Transition> [0..1]
<Run> Run_t </Run> [1]
</...>
Diagram
h400344220 h-1110475173 h-1268901308
Schema Component Representation
<xsd:complexType name="NextSport_t">
<xsd:sequence>
<xsd:element name="Transition" type=" ActivityLap_t " minOccurs="0"/>
<xsd:element name="Run" type=" Run_t "/>
</xsd:sequence>
<xsd:attribute name="Sport" type=" Sport_t " use="required"/>
</xsd:complexType>
top

Complex Type: None_t

Super-types: Target_t < None_t (by extension)
Sub-types: None
Name None_t
Abstract no
XML Instance Representation
<.../>
Diagram
h709223627
Schema Component Representation
<xsd:complexType name="None_t">
<xsd:complexContent>
<xsd:extension base=" Target_t "/>
</xsd:complexContent>
</xsd:complexType>
top

Complex Type: Plan_t

Super-types: None
Sub-types: None
Name Plan_t
Used by (from the same schema document) Complex Type Training_t
Abstract no
XML Instance Representation
<...
Type=" TrainingType_t [1]"
IntervalWorkout=" xsd:boolean [1]">
<Name> RestrictedToken_t </Name> [0..1]
<Extensions> Extensions_t </Extensions> [0..1]

'You can extend Training Center by adding your own elements from another schema here.'

</...>
Diagram
h-1224749842 h1209008142 h1407593966
Schema Component Representation
<xsd:complexType name="Plan_t">
<xsd:sequence>
<xsd:element name="Name" type=" RestrictedToken_t " minOccurs="0"/>
<xsd:element name="Extensions" type=" Extensions_t " minOccurs="0"/>
</xsd:sequence>
<xsd:attribute name="Type" type=" TrainingType_t " use="required"/>
<xsd:attribute name="IntervalWorkout" type=" xsd:boolean " use="required"/>
</xsd:complexType>
top

Complex Type: Position_t

Super-types: None
Sub-types: None
Name Position_t
Used by (from the same schema document) Complex Type Trackpoint_t , Complex Type CourseLap_t , Complex Type CourseLap_t , Complex Type CoursePoint_t
Abstract no
XML Instance Representation
<...>
<LatitudeDegrees> DegreesLatitude_t </LatitudeDegrees> [1]
<LongitudeDegrees> DegreesLongitude_t </LongitudeDegrees> [1]
</...>
Diagram
h-938660349 h93690242
Schema Component Representation
<xsd:complexType name="Position_t">
<xsd:sequence>
<xsd:element name="LatitudeDegrees" type=" DegreesLatitude_t "/>
<xsd:element name="LongitudeDegrees" type=" DegreesLongitude_t "/>
</xsd:sequence>
</xsd:complexType>
top

Complex Type: PredefinedHeartRateZone_t

Super-types: Zone_t < PredefinedHeartRateZone_t (by extension)
Sub-types: None
Name PredefinedHeartRateZone_t
Abstract no
XML Instance Representation
<...>
<Number> HeartRateZoneNumbers_t </Number> [1]
</...>
Diagram
Schema Component Representation
<xsd:complexType name="PredefinedHeartRateZone_t">
<xsd:complexContent>
<xsd:extension base=" Zone_t ">
<xsd:sequence>
<xsd:element name="Number" type=" HeartRateZoneNumbers_t "/>
</xsd:sequence>
</xsd:extension>
</xsd:complexContent>
</xsd:complexType>
top

Complex Type: PredefinedSpeedZone_t

Super-types: Zone_t < PredefinedSpeedZone_t (by extension)
Sub-types: None
Name PredefinedSpeedZone_t
Abstract no
XML Instance Representation
<...>
<Number> SpeedZoneNumbers_t </Number> [1]
</...>
Diagram
Schema Component Representation
<xsd:complexType name="PredefinedSpeedZone_t">
<xsd:complexContent>
<xsd:extension base=" Zone_t ">
<xsd:sequence>
<xsd:element name="Number" type=" SpeedZoneNumbers_t "/>
</xsd:sequence>
</xsd:extension>
</xsd:complexContent>
</xsd:complexType>
top

Complex Type: QuickWorkout_t

Super-types: None
Sub-types: None
Name QuickWorkout_t
Used by (from the same schema document) Complex Type Training_t
Abstract no
XML Instance Representation
<...>
<TotalTimeSeconds> xsd:double </TotalTimeSeconds> [1]
<DistanceMeters> xsd:double </DistanceMeters> [1]
</...>
Diagram
Schema Component Representation
<xsd:complexType name="QuickWorkout_t">
<xsd:sequence>
<xsd:element name="TotalTimeSeconds" type=" xsd:double "/>
<xsd:element name="DistanceMeters" type=" xsd:double "/>
</xsd:sequence>
</xsd:complexType>
top

Complex Type: Repeat_t

Super-types: AbstractStep_t < Repeat_t (by extension)
Sub-types: None
Name Repeat_t
Abstract no
XML Instance Representation
<...>
<StepId> StepId_t </StepId> [1]
<Repetitions> Repetitions_t </Repetitions> [1]
<Child> AbstractStep_t </Child> [1..*]
</...>
Diagram
Schema Component Representation
<xsd:complexType name="Repeat_t">
<xsd:complexContent>
<xsd:extension base=" AbstractStep_t ">
<xsd:sequence>
<xsd:element name="Repetitions" type=" Repetitions_t "/>
<xsd:element name="Child" type=" AbstractStep_t " maxOccurs="unbounded"/>
</xsd:sequence>
</xsd:extension>
</xsd:complexContent>
</xsd:complexType>
top

Complex Type: Run_t

Super-types: None
Sub-types: None
Name Run_t
Used by (from the same schema document) Complex Type HistoryFolder_t , Complex Type FirstSport_t , Complex Type NextSport_t
Abstract no
XML Instance Representation
<...>
<Lap> ActivityLap_t </Lap> [1..*]
<Notes> xsd:string </Notes> [0..1]
<Training> Training_t </Training> [0..1]
<Extensions> Extensions_t </Extensions> [0..1]

'You can extend Training Center by adding your own elements from another schema here.'

</...>
Diagram
h400344220 h462094484 h1209008142
Schema Component Representation
<xsd:complexType name="Run_t">
<xsd:sequence>
<xsd:element name="Lap" type=" ActivityLap_t " maxOccurs="unbounded"/>
<xsd:element name="Notes" type=" xsd:string " minOccurs="0"/>
<xsd:element name="Training" type=" Training_t " minOccurs="0"/>
<xsd:element name="Extensions" type=" Extensions_t " minOccurs="0"/>
</xsd:sequence>
</xsd:complexType>
top

Complex Type: Speed_t

Super-types: Target_t < Speed_t (by extension)
Sub-types: None
Name Speed_t
Abstract no
XML Instance Representation
<...>
<SpeedZone> Zone_t </SpeedZone> [1]
</...>
Diagram
Schema Component Representation
<xsd:complexType name="Speed_t">
<xsd:complexContent>
<xsd:extension base=" Target_t ">
<xsd:sequence>
<xsd:element name="SpeedZone" type=" Zone_t "/>
</xsd:sequence>
</xsd:extension>
</xsd:complexContent>
</xsd:complexType>
top

Complex Type: Step_t

Super-types: AbstractStep_t < Step_t (by extension)
Sub-types: None
Name Step_t
Abstract no
XML Instance Representation
<...>
<StepId> StepId_t </StepId> [1]
<Name> RestrictedToken_t </Name> [0..1]
<Duration> Duration_t </Duration> [1]
<Intensity> Intensity_t </Intensity> [1]
<Target> Target_t </Target> [1]
</...>
Diagram
Schema Component Representation
<xsd:complexType name="Step_t">
<xsd:complexContent>
<xsd:extension base=" AbstractStep_t ">
<xsd:sequence>
<xsd:element name="Name" type=" RestrictedToken_t " minOccurs="0"/>
<xsd:element name="Duration" type=" Duration_t "/>
<xsd:element name="Intensity" type=" Intensity_t "/>
<xsd:element name="Target" type=" Target_t "/>
</xsd:sequence>
</xsd:extension>
</xsd:complexContent>
</xsd:complexType>
top

Complex Type: Target_t

Super-types: None
Sub-types:
Name Target_t
Used by (from the same schema document) Complex Type Step_t
Abstract yes
XML Instance Representation
<.../>
Diagram
Schema Component Representation
<xsd:complexType name="Target_t" abstract="true"/>
top

Complex Type: Time_t

Super-types: Duration_t < Time_t (by extension)
Sub-types: None
Name Time_t
Abstract no
XML Instance Representation
<...>
<Seconds> xsd:unsignedShort </Seconds> [1]
</...>
Diagram
Schema Component Representation
<xsd:complexType name="Time_t">
<xsd:complexContent>
<xsd:extension base=" Duration_t ">
<xsd:sequence>
<xsd:element name="Seconds" type=" xsd:unsignedShort "/>
</xsd:sequence>
</xsd:extension>
</xsd:complexContent>
</xsd:complexType>
top

Complex Type: Track_t

Super-types: None
Sub-types: None
Name Track_t
Used by (from the same schema document) Complex Type ActivityLap_t , Complex Type Course_t
Abstract no
XML Instance Representation
<...>
<Trackpoint> Trackpoint_t </Trackpoint> [1..*]
</...>
Diagram
h666013407
Schema Component Representation
<xsd:complexType name="Track_t">
<xsd:sequence>
<xsd:element name="Trackpoint" type=" Trackpoint_t " maxOccurs="unbounded"/>
</xsd:sequence>
</xsd:complexType>
top

Complex Type: Trackpoint_t

Super-types: None
Sub-types: None
Name Trackpoint_t
Used by (from the same schema document) Complex Type Track_t
Abstract no
XML Instance Representation
<...>
<Time> xsd:dateTime </Time> [1]
<Position> Position_t </Position> [0..1]
<AltitudeMeters> xsd:double </AltitudeMeters> [0..1]
<DistanceMeters> xsd:double </DistanceMeters> [0..1]
<HeartRateBpm> xsd:unsignedByte </HeartRateBpm> [0..1]
<Cadence> xsd:unsignedByte </Cadence> [0..1]
<SensorState> SensorState_t </SensorState> [0..1]
<Extensions> Extensions_t </Extensions> [0..1]

'You can extend Training Center by adding your own elements from another schema here.'

</...>
Diagram
h-441796317 h-1174482233 h1209008142
Schema Component Representation
<xsd:complexType name="Trackpoint_t">
<xsd:sequence>
<xsd:element name="Time" type=" xsd:dateTime "/>
<xsd:element name="Position" type=" Position_t " minOccurs="0"/>
<xsd:element name="AltitudeMeters" type=" xsd:double " minOccurs="0"/>
<xsd:element name="DistanceMeters" type=" xsd:double " minOccurs="0"/>
<xsd:element name="HeartRateBpm" type=" xsd:unsignedByte " minOccurs="0"/>
<xsd:element name="Cadence" type=" xsd:unsignedByte " minOccurs="0"/>
<xsd:element name="SensorState" type=" SensorState_t " minOccurs="0"/>
<xsd:element name="Extensions" type=" Extensions_t " minOccurs="0"/>
</xsd:sequence>
</xsd:complexType>
top

Complex Type: TrainingCenterDatabase_t

Super-types: None
Sub-types: None
Name TrainingCenterDatabase_t
Used by (from the same schema document) Element TrainingCenterDatabase
Abstract no
XML Instance Representation
<...>
<History> History_t </History> [0..1]
<Workouts> Workouts_t
<!--
Uniqueness Constraint - WorkoutNameMustBeUnique
Selector - tc1:Workout
Field(s) - tc1:Name
-->
</Workouts> [0..1]

'The workouts stored in a workout file should have unique names.'

<Courses> Courses_t
<!--
Uniqueness Constraint - CourseNameMustBeUnique
Selector - tc1:Course
Field(s) - tc1:Name
-->
</Courses> [0..1]

'The courses stored in a course file should have unique names.'

<Extensions> Extensions_t </Extensions> [0..1]

'You can extend Training Center by adding your own elements from another schema here.'

</...>
Diagram
h-1242790748 h1209008142
Schema Component Representation
<xsd:complexType name="TrainingCenterDatabase_t">
<xsd:sequence>
<xsd:element name="History" type=" History_t " minOccurs="0"/>
<xsd:element name="Workouts" type=" Workouts_t " minOccurs="0">
<xsd:unique name="WorkoutNameMustBeUnique">
<xsd:selector xpath="tc1:Workout"/>
<xsd:field xpath="tc1:Name"/>
</xsd:unique>
</xsd:element>
<xsd:element name="Courses" type=" Courses_t " minOccurs="0">
<xsd:unique name="CourseNameMustBeUnique">
<xsd:selector xpath="tc1:Course"/>
<xsd:field xpath="tc1:Name"/>
</xsd:unique>
</xsd:element>
<xsd:element name="Extensions" type=" Extensions_t " minOccurs="0"/>
</xsd:sequence>
</xsd:complexType>
top

Complex Type: Training_t

Super-types: None
Sub-types: None
Name Training_t
Used by (from the same schema document) Complex Type Run_t
Abstract no
XML Instance Representation
<...
VirtualPartner=" xsd:boolean [1]">
<QuickWorkoutResults> QuickWorkout_t </QuickWorkoutResults> [0..1]
<Plan> Plan_t </Plan> [0..1]
</...>
Diagram
h-992641110 h-130935389
Schema Component Representation
<xsd:complexType name="Training_t">
<xsd:sequence>
<xsd:element name="QuickWorkoutResults" type=" QuickWorkout_t " minOccurs="0"/>
<xsd:element name="Plan" type=" Plan_t " minOccurs="0"/>
</xsd:sequence>
<xsd:attribute name="VirtualPartner" type=" xsd:boolean " use="required"/>
</xsd:complexType>
top

Complex Type: UserInitiated_t

Super-types: Duration_t < UserInitiated_t (by extension)
Sub-types: None
Name UserInitiated_t
Abstract no
XML Instance Representation
<.../>
Diagram
h-591331634
Schema Component Representation
<xsd:complexType name="UserInitiated_t">
<xsd:complexContent>
<xsd:extension base=" Duration_t "/>
</xsd:complexContent>
</xsd:complexType>
top

Complex Type: Week_t

Super-types: None
Sub-types: None
Name Week_t
Used by (from the same schema document) Complex Type HistoryFolder_t , Complex Type MultiSportFolder_t
Abstract no
XML Instance Representation
<...
StartDay=" xsd:date [1]">
<Notes> xsd:string </Notes> [0..1]
</...>
Diagram
Schema Component Representation
<xsd:complexType name="Week_t">
<xsd:sequence>
<xsd:element name="Notes" type=" xsd:string " minOccurs="0"/>
</xsd:sequence>
<xsd:attribute name="StartDay" type=" xsd:date " use="required"/>
</xsd:complexType>
top

Complex Type: WorkoutFolder_t

Super-types: None
Sub-types: None
Name WorkoutFolder_t
Used by (from the same schema document) Complex Type Workouts_t , Complex Type Workouts_t , Complex Type Workouts_t , Complex Type WorkoutFolder_t
Abstract no
XML Instance Representation
<...
Name=" xsd:string [1]">
<Folder> WorkoutFolder_t
<!--
Uniqueness Constraint - SubFolderNamesMustBeUnique
Selector - tc1:Folder
Field(s) - @Name
-->
</Folder> [0..*]
<Workout> Workout_t
<!--
Uniqueness Constraint - StepIdMustBeUnique
Selector - .//*
Field(s) - tc1:StepId
-->
</Workout> [0..*]

'The StepId should be unique within a workout and should not exceed 20. This restricts the number of steps in a workout to 20.'

<Extensions> Extensions_t </Extensions> [0..1]

'You can extend Training Center by adding your own elements from another schema here.'

</...>
Diagram
h1209008142 h1209008142
Schema Component Representation
<xsd:complexType name="WorkoutFolder_t">
<xsd:sequence>
<xsd:element name="Folder" type=" WorkoutFolder_t " minOccurs="0" maxOccurs="unbounded">
<xsd:unique name="SubFolderNamesMustBeUnique">
<xsd:selector xpath="tc1:Folder"/>
<xsd:field xpath="@Name"/>
</xsd:unique>
</xsd:element>
<xsd:element name="Workout" type=" Workout_t " minOccurs="0" maxOccurs="unbounded">
<xsd:unique name="StepIdMustBeUnique">
<xsd:selector xpath=".//*"/>
<xsd:field xpath="tc1:StepId"/>
</xsd:unique>
</xsd:element>
<xsd:element name="Extensions" type=" Extensions_t " minOccurs="0"/>
</xsd:sequence>
<xsd:attribute name="Name" type=" xsd:string " use="required"/>
</xsd:complexType>
top

Complex Type: Workout_t

Super-types: None
Sub-types: None
Name Workout_t
Used by (from the same schema document) Complex Type WorkoutFolder_t
Abstract no
XML Instance Representation
<...>
<Name> RestrictedToken_t </Name> [1]
<Step> AbstractStep_t </Step> [1..*]
<ScheduledOn> xsd:date </ScheduledOn> [0..*]
<Notes> xsd:string </Notes> [0..1]
<Extensions> Extensions_t </Extensions> [0..1]

'You can extend Training Center by adding your own elements from another schema here.'

</...>
Diagram
h-1224749842 h-23635384 h1209008142
Schema Component Representation
<xsd:complexType name="Workout_t">
<xsd:sequence>
<xsd:element name="Name" type=" RestrictedToken_t "/>
<xsd:element name="Step" type=" AbstractStep_t " maxOccurs="unbounded"/>
<xsd:element name="ScheduledOn" type=" xsd:date " minOccurs="0" maxOccurs="unbounded"/>
<xsd:element name="Notes" type=" xsd:string " minOccurs="0"/>
<xsd:element name="Extensions" type=" Extensions_t " minOccurs="0"/>
</xsd:sequence>
</xsd:complexType>
top

Complex Type: Workouts_t

Super-types: None
Sub-types: None
Name Workouts_t
Used by (from the same schema document) Complex Type TrainingCenterDatabase_t
Abstract no
XML Instance Representation
<...>
<Running> WorkoutFolder_t
<!--
Uniqueness Constraint - RunningSubFolderNamesMustBeUnique
Selector - tc1:Folder
Field(s) - @Name
-->
</Running> [1]
<Biking> WorkoutFolder_t
<!--
Uniqueness Constraint - BikingSubFolderNamesMustBeUnique
Selector - tc1:Folder
Field(s) - @Name
-->
</Biking> [1]
<Other> WorkoutFolder_t
<!--
Uniqueness Constraint - OtherSubFolderNamesMustBeUnique
Selector - tc1:Folder
Field(s) - @Name
-->
</Other> [1]
<Extensions> Extensions_t </Extensions> [0..1]

'You can extend Training Center by adding your own elements from another schema here.'

</...>
Diagram
h1209008142
Schema Component Representation
<xsd:complexType name="Workouts_t">
<xsd:sequence>
<xsd:element name="Running" type=" WorkoutFolder_t ">
<xsd:unique name="RunningSubFolderNamesMustBeUnique">
<xsd:selector xpath="tc1:Folder"/>
<xsd:field xpath="@Name"/>
</xsd:unique>
</xsd:element>
<xsd:element name="Biking" type=" WorkoutFolder_t ">
<xsd:unique name="BikingSubFolderNamesMustBeUnique">
<xsd:selector xpath="tc1:Folder"/>
<xsd:field xpath="@Name"/>
</xsd:unique>
</xsd:element>
<xsd:element name="Other" type=" WorkoutFolder_t ">
<xsd:unique name="OtherSubFolderNamesMustBeUnique">
<xsd:selector xpath="tc1:Folder"/>
<xsd:field xpath="@Name"/>
</xsd:unique>
</xsd:element>
<xsd:element name="Extensions" type=" Extensions_t " minOccurs="0"/>
</xsd:sequence>
</xsd:complexType>
top

Complex Type: Zone_t

Super-types: None
Sub-types:
Name Zone_t
Used by (from the same schema document) Complex Type Speed_t , Complex Type HeartRate_t
Abstract yes
XML Instance Representation
<.../>
Diagram
Schema Component Representation
<xsd:complexType name="Zone_t" abstract="true"/>
top

Simple Type: CoursePointName_t

Super-types: xsd:token < CoursePointName_t (by restriction)
Sub-types: None
Name CoursePointName_t
Used by (from the same schema document) Complex Type CoursePoint_t
Content
  • Base XSD Type: token
  • length >= 1
Diagram
Schema Component Representation
<xsd:simpleType name="CoursePointName_t">
<xsd:restriction base=" xsd:token ">
<xsd:minLength value="1"/>
<xsd:maxLength value="10"/>
</xsd:restriction>
</xsd:simpleType>
top

Simple Type: CoursePointType_t

Super-types: xsd:token < CoursePointType_t (by restriction)
Sub-types: None
Name CoursePointType_t
Used by (from the same schema document) Complex Type CoursePoint_t
Content
  • Base XSD Type: token
  • value comes from list: {'Generic'|'Summit'|'Valley'|'Water'|'Food'|'Danger'|'Left'|'Right'|'Straight'|'First Aid'|'4th Category'|'3rd Category'|'2nd Category'|'1st Category'|'Hors Category'|'Sprint'}
Diagram
Schema Component Representation
<xsd:simpleType name="CoursePointType_t">
<xsd:restriction base=" xsd:token ">
<xsd:enumeration value="Generic"/>
<xsd:enumeration value="Summit"/>
<xsd:enumeration value="Valley"/>
<xsd:enumeration value="Water"/>
<xsd:enumeration value="Food"/>
<xsd:enumeration value="Danger"/>
<xsd:enumeration value="Left"/>
<xsd:enumeration value="Right"/>
<xsd:enumeration value="Straight"/>
<xsd:enumeration value="First Aid"/>
<xsd:enumeration value="4th Category"/>
<xsd:enumeration value="3rd Category"/>
<xsd:enumeration value="2nd Category"/>
<xsd:enumeration value="1st Category"/>
<xsd:enumeration value="Hors Category"/>
<xsd:enumeration value="Sprint"/>
</xsd:restriction>
</xsd:simpleType>
top

Simple Type: DegreesLatitude_t

Super-types: xsd:double < DegreesLatitude_t (by restriction)
Sub-types: None
Name DegreesLatitude_t
Used by (from the same schema document) Complex Type Position_t
Content
  • Base XSD Type: double
  • -90.0 <= value <= 90.0
Documentation
Diagram
Schema Component Representation
<xsd:simpleType name="DegreesLatitude_t">
<xsd:restriction base=" xsd:double ">
<xsd:maxInclusive value="90.0"/>
<xsd:minInclusive value="-90.0"/>
</xsd:restriction>
</xsd:simpleType>
top

Simple Type: DegreesLongitude_t

Super-types: xsd:double < DegreesLongitude_t (by restriction)
Sub-types: None
Name DegreesLongitude_t
Used by (from the same schema document) Complex Type Position_t
Content
  • Base XSD Type: double
  • -180.0 <= value < 180.0
Documentation
Diagram
Schema Component Representation
<xsd:simpleType name="DegreesLongitude_t">
<xsd:restriction base=" xsd:double ">
<xsd:maxExclusive value="180.0"/>
<xsd:minInclusive value="-180.0"/>
</xsd:restriction>
</xsd:simpleType>
top

Simple Type: HeartRateZoneNumbers_t

Super-types: xsd:positiveInteger < HeartRateZoneNumbers_t (by restriction)
Sub-types: None
Name HeartRateZoneNumbers_t
Used by (from the same schema document) Complex Type PredefinedHeartRateZone_t
Content
  • Base XSD Type: positiveInteger
  • value <= 5
Diagram
Schema Component Representation
<xsd:simpleType name="HeartRateZoneNumbers_t">
<xsd:restriction base=" xsd:positiveInteger ">
<xsd:maxInclusive value="5"/>
</xsd:restriction>
</xsd:simpleType>
top

Simple Type: Intensity_t

Super-types: xsd:token < Intensity_t (by restriction)
Sub-types: None
Name Intensity_t
Used by (from the same schema document) Complex Type ActivityLap_t , Complex Type Step_t , Complex Type CourseLap_t
Content
  • Base XSD Type: token
  • value comes from list: {'Active'|'Resting'}
Diagram
Schema Component Representation
<xsd:simpleType name="Intensity_t">
<xsd:restriction base=" xsd:token ">
<xsd:enumeration value="Active"/>
<xsd:enumeration value="Resting"/>
</xsd:restriction>
</xsd:simpleType>
top

Simple Type: PercentOfMax_t

Super-types: xsd:unsignedByte < PercentOfMax_t (by restriction)
Sub-types: None
Name PercentOfMax_t
Used by (from the same schema document) Complex Type HeartRateAsPercentOfMax_t
Content
  • Base XSD Type: unsignedByte
  • 0 <= value <= 100
Diagram
Schema Component Representation
<xsd:simpleType name="PercentOfMax_t">
<xsd:restriction base=" xsd:unsignedByte ">
<xsd:minInclusive value="0"/>
<xsd:maxInclusive value="100"/>
</xsd:restriction>
</xsd:simpleType>
top

Simple Type: Repetitions_t

Super-types: xsd:positiveInteger < Repetitions_t (by restriction)
Sub-types: None
Name Repetitions_t
Used by (from the same schema document) Complex Type Repeat_t
Content
  • Base XSD Type: positiveInteger
  • 2 <= value <= 99
Diagram
Schema Component Representation
<xsd:simpleType name="Repetitions_t">
<xsd:restriction base=" xsd:positiveInteger ">
<xsd:minInclusive value="2"/>
<xsd:maxInclusive value="99"/>
</xsd:restriction>
</xsd:simpleType>
top

Simple Type: RestrictedToken_t

Super-types: xsd:token < RestrictedToken_t (by restriction)
Sub-types: None
Name RestrictedToken_t
Used by (from the same schema document) Complex Type Plan_t , Complex Type Workout_t , Complex Type Step_t , Complex Type Course_t
Content
  • Base XSD Type: token
  • length >= 1
Diagram
Schema Component Representation
<xsd:simpleType name="RestrictedToken_t">
<xsd:restriction base=" xsd:token ">
<xsd:minLength value="1"/>
<xsd:maxLength value="15"/>
</xsd:restriction>
</xsd:simpleType>
top

Simple Type: SensorState_t

Super-types: xsd:token < SensorState_t (by restriction)
Sub-types: None
Name SensorState_t
Used by (from the same schema document) Complex Type Trackpoint_t
Content
  • Base XSD Type: token
  • value comes from list: {'Present'|'Absent'}
Diagram
Schema Component Representation
<xsd:simpleType name="SensorState_t">
<xsd:restriction base=" xsd:token ">
<xsd:enumeration value="Present"/>
<xsd:enumeration value="Absent"/>
</xsd:restriction>
</xsd:simpleType>
top

Simple Type: SpeedInMetersPerSecond_t

Super-types: xsd:double < SpeedInMetersPerSecond_t (by restriction)
Sub-types: None
Name SpeedInMetersPerSecond_t
Used by (from the same schema document) Complex Type CustomSpeedZone_t , Complex Type CustomSpeedZone_t
Content
  • Base XSD Type: double
  • value > 0
Diagram
Schema Component Representation
<xsd:simpleType name="SpeedInMetersPerSecond_t">
<xsd:restriction base=" xsd:double ">
<xsd:minExclusive value="0"/>
</xsd:restriction>
</xsd:simpleType>
top

Simple Type: SpeedType_t

Super-types: xsd:token < SpeedType_t (by restriction)
Sub-types: None
Name SpeedType_t
Used by (from the same schema document) Complex Type CustomSpeedZone_t
Content
  • Base XSD Type: token
  • value comes from list: {'Pace'|'Speed'}
Diagram
Schema Component Representation
<xsd:simpleType name="SpeedType_t">
<xsd:restriction base=" xsd:token ">
<xsd:enumeration value="Pace"/>
<xsd:enumeration value="Speed"/>
</xsd:restriction>
</xsd:simpleType>
top

Simple Type: SpeedZoneNumbers_t

Super-types: xsd:positiveInteger < SpeedZoneNumbers_t (by restriction)
Sub-types: None
Name SpeedZoneNumbers_t
Used by (from the same schema document) Complex Type PredefinedSpeedZone_t
Content
  • Base XSD Type: positiveInteger
  • value <= 10
Diagram
Schema Component Representation
<xsd:simpleType name="SpeedZoneNumbers_t">
<xsd:restriction base=" xsd:positiveInteger ">
<xsd:maxInclusive value="10"/>
</xsd:restriction>
</xsd:simpleType>
top

Simple Type: Sport_t

Super-types: xsd:token < Sport_t (by restriction)
Sub-types: None
Name Sport_t
Used by (from the same schema document) Complex Type FirstSport_t , Complex Type NextSport_t
Content
  • Base XSD Type: token
  • value comes from list: {'Running'|'Biking'|'Other'}
Diagram
Schema Component Representation
<xsd:simpleType name="Sport_t">
<xsd:restriction base=" xsd:token ">
<xsd:enumeration value="Running"/>
<xsd:enumeration value="Biking"/>
<xsd:enumeration value="Other"/>
</xsd:restriction>
</xsd:simpleType>
top

Simple Type: StepId_t

Super-types: xsd:positiveInteger < StepId_t (by restriction)
Sub-types: None
Name StepId_t
Used by (from the same schema document) Complex Type AbstractStep_t
Content
  • Base XSD Type: positiveInteger
  • value <= 20
Diagram
Schema Component Representation
<xsd:simpleType name="StepId_t">
<xsd:restriction base=" xsd:positiveInteger ">
<xsd:maxInclusive value="20"/>
</xsd:restriction>
</xsd:simpleType>
top

Simple Type: TrainingType_t

Super-types: xsd:token < TrainingType_t (by restriction)
Sub-types: None
Name TrainingType_t
Used by (from the same schema document) Complex Type Plan_t
Content
  • Base XSD Type: token
  • value comes from list: {'Workout'|'Course'}
Diagram
Schema Component Representation
<xsd:simpleType name="TrainingType_t">
<xsd:restriction base=" xsd:token ">
<xsd:enumeration value="Workout"/>
<xsd:enumeration value="Course"/>
</xsd:restriction>
</xsd:simpleType>
top

Simple Type: TriggerMethod_t

Super-types: xsd:token < TriggerMethod_t (by restriction)
Sub-types: None
Name TriggerMethod_t
Used by (from the same schema document) Complex Type ActivityLap_t
Content
  • Base XSD Type: token
  • value comes from list: {'Manual'|'Distance'|'Location'|'Time'|'HeartRate'}
Diagram
Schema Component Representation
<xsd:simpleType name="TriggerMethod_t">
<xsd:restriction base=" xsd:token ">
<xsd:enumeration value="Manual"/>
<xsd:enumeration value="Distance"/>
<xsd:enumeration value="Location"/>
<xsd:enumeration value="Time"/>
<xsd:enumeration value="HeartRate"/>
</xsd:restriction>
</xsd:simpleType>
top

Legend

Complex Type:

Schema Component Type

AusAddress

Schema Component Name
Super-types: Address < AusAddress (by extension)
Sub-types:
  • QLDAddress (by restriction)
If this schema component is a type definition, its type hierarchy is shown in a gray-bordered box.
Name AusAddress
Abstract no
The table above displays the properties of this schema component.
XML Instance Representation
<... country="Australia" >
<unitNo> string </unitNo> [0..1]
<houseNo> string </houseNo> [1]
<street> string </street> [1]
Start Choice [1]
<city> string </city> [1]
<town> string </town> [1]
End Choice
<state> AusStates </state> [1]
<postcode> string <<pattern = [1-9][0-9]{3}>> </postcode> [1]
</...>

The XML Instance Representation table above shows the schema component's content as an XML instance.

Schema Component Representation
<complexType name="AusAddress">
<complexContent>
<extension base=" Address ">
<sequence>
<element name="state" type=" AusStates "/>
<element name="postcode">
<simpleType>
<restriction base=" string ">
<pattern value="[1-9][0-9]{3}"/>
</restriction>
</simpleType>
</element>
</sequence>
<attribute name="country" type=" string " fixed="Australia"/>
</extension>
</complexContent>
</complexType>
The Schema Component Representation table above displays the underlying XML representation of the schema component. (Annotations are not shown.)
top

Glossary

Abstract (Applies to complex type definitions and element declarations). An abstract element or complex type cannot used to validate an element instance. If there is a reference to an abstract element, only element declarations that can substitute the abstract element can be used to validate the instance. For references to abstract type definitions, only derived types can be used.

All Model Group Child elements can be provided in any order in instances. See: http://www.w3.org/TR/xmlschema-1/#element-all.

Choice Model Group Only one from the list of child elements and model groups can be provided in instances. See: http://www.w3.org/TR/xmlschema-1/#element-choice.

Collapse Whitespace Policy Replace tab, line feed, and carriage return characters with space character (Unicode character 32). Then, collapse contiguous sequences of space characters into single space character, and remove leading and trailing space characters.

Disallowed Substitutions (Applies to element declarations). If substitution is specified, then substitution group members cannot be used in place of the given element declaration to validate element instances. If derivation methods, e.g. extension, restriction, are specified, then the given element declaration will not validate element instances that have types derived from the element declaration's type using the specified derivation methods. Normally, element instances can override their declaration's type by specifying an xsi:type attribute.

Key Constraint Like Uniqueness Constraint, but additionally requires that the specified value(s) must be provided. See: http://www.w3.org/TR/xmlschema-1/#cIdentity-constraint_Definitions.

Key Reference Constraint Ensures that the specified value(s) must match value(s) from a Key Constraint or Uniqueness Constraint. See: http://www.w3.org/TR/xmlschema-1/#cIdentity-constraint_Definitions.

Model Group Groups together element content, specifying the order in which the element content can occur and the number of times the group of element content may be repeated. See: http://www.w3.org/TR/xmlschema-1/#Model_Groups.

Nillable (Applies to element declarations). If an element declaration is nillable, instances can use the xsi:nil attribute. The xsi:nil attribute is the boolean attribute, nil, from the http://www.w3.org/2001/XMLSchema-instance namespace. If an element instance has an xsi:nil attribute set to true, it can be left empty, even though its element declaration may have required content.

Notation A notation is used to identify the format of a piece of data. Values of elements and attributes that are of type, NOTATION, must come from the names of declared notations. See: http://www.w3.org/TR/xmlschema-1/#cNotation_Declarations.

Preserve Whitespace Policy Preserve whitespaces exactly as they appear in instances.

Prohibited Derivations (Applies to type definitions). Derivation methods that cannot be used to create sub-types from a given type definition.

Prohibited Substitutions (Applies to complex type definitions). Prevents sub-types that have been derived using the specified derivation methods from validating element instances in place of the given type definition.

Replace Whitespace Policy Replace tab, line feed, and carriage return characters with space character (Unicode character 32).

Sequence Model Group Child elements and model groups must be provided in the specified order in instances. See: http://www.w3.org/TR/xmlschema-1/#element-sequence.

Substitution Group Elements that are members of a substitution group can be used wherever the head element of the substitution group is referenced.

Substitution Group Exclusions (Applies to element declarations). Prohibits element declarations from nominating themselves as being able to substitute a given element declaration, if they have types that are derived from the original element's type using the specified derivation methods.

Target Namespace The target namespace identifies the namespace that components in this schema belongs to. If no target namespace is provided, then the schema components do not belong to any namespace.

Uniqueness Constraint Ensures uniqueness of an element/attribute value, or a combination of values, within a specified scope. See: http://www.w3.org/TR/xmlschema-1/#cIdentity-constraint_Definitions.

top