MappedFieldType

public enum MappedFieldType : String, Codable

Undocumented

  • This field is a simple string

    Declaration

    Swift

    case string
  • This field is a numeric value. It should be treated as an int

    Declaration

    Swift

    case number
  • This field is a floating point / double value. UI field rules should determine precision

    Declaration

    Swift

    case decimal
  • This field is a true/false

    Declaration

    Swift

    case bool
  • This field is a unix timestamp (ms) - it should be shown as a date - ensure you apply the correct timezone

    Declaration

    Swift

    case date
  • This field is a unix timestamp (ms) - it should be shown as a time - ensure you apply the correct timezone

    Declaration

    Swift

    case time
  • This field is a unix timestamp (ms) - it should be shown as a full date + time - ensure you apply the correct timezone

    Declaration

    Swift

    case timestamp
  • dob

    This field is a date of birth - it should be shown as a date with UTC applied as the timezone

    Declaration

    Swift

    case dob
  • This field is in cm - it should be shown as either cm (metric) or feet + inches (imperial)

    Declaration

    Swift

    case height
  • This field is in kg - it should be shown as either kg (metric) or lb (imperial)

    Declaration

    Swift

    case weight
  • This field is in km - it should be shown in either km (metric) or mi (imperial

    Declaration

    Swift

    case distanceKilometers = "distancekm"
  • This field is in meters/second - it should be shown in either km/h (metric) or mi/h (imperial)

    Declaration

    Swift

    case speedMetersPerSecond = "speedms"
  • This field is in km/hour - it should be shown in either km/h (metric) or mi/h (imperial)

    Declaration

    Swift

    case speedKilometersPerHour = "speedkmh"
  • This field is in meters - it should be shown in either km (metric) or mi (imperial). Note also this may be negative

    Declaration

    Swift

    case distanceFixedMeterToKilometersOrMiles = "distancefixedmtrtokmmi"
  • This field is in meters - it should be shown in either meters (metric) or feet (imperial). Note also this may be negative

    Note

    we use this for altitude

    Declaration

    Swift

    case distanceFixedMeterToMetersOrFeet = "distancefixedmtrtomtrfeet"
  • This field is in meters - it should be shown in either km (metric) or mi (imperial). Note also this may be negative

    Declaration

    Swift

    case distanceMeters = "distancemtr"
  • This field is in watts. It should be an int value >= 0. A sane maxiumum value would be 2000

    Declaration

    Swift

    case watts
  • This field is in watts/kg. It should always be shown as w/kg regardless of metric/imperial preference

    Declaration

    Swift

    case wattsPerKilogram = "wattskg"
  • This field is in beats per minute. It should be an int value > 0. A sane value ramge would be 30 - 220

    Declaration

    Swift

    case beatsPerMinute = "bpm"
  • This field is in revolutions per minute. It should be an int value >= 0. A sane maxiumum value would be 200

    Declaration

    Swift

    case revolutionsPerMinute = "rpm"
  • This field is a timezone string. It could be either a short Java Timezone ID or a long timezone name

    Declaration

    Swift

    case timezone
  • This field is a locale string. It could be either a short or long Java locale name

    Declaration

    Swift

    case locale
  • This field is a enum. The enum value (name) will be returned in this field. See other meta data about this field for the class type

    Declaration

    Swift

    case `enum` = "enumm"
  • This field is a text field. It should use a multi-line formatted text input field. It may contain HTML

    Declaration

    Swift

    case text
  • This field is a collection. See other meta data about this field for collection member class

    Declaration

    Swift

    case collection
  • This field is a colour. It will be a hex #FFF style colour or a string based colour word.

    Declaration

    Swift

    case colour
  • This field is in seconds. It should be formatted as a duration

    Declaration

    Swift

    case duration
  • This field is in degrees celsius. It should be shown as C (metric) of F (imperial)

    Declaration

    Swift

    case temperature
  • This field is in neuton meters (torque). It will be an int value

    Declaration

    Swift

    case neutonMeters = "nm"
  • This field is a percentage (0-100) and represents haemoglobin percent

    Declaration

    Swift

    case haemoglobinPercentage = "hbp"
  • This field is haemoglobin concentrate

    Declaration

    Swift

    case haemoglobinConcentrate = "hbc"
  • This field represents gradient / slope. ie 7% climb

    Declaration

    Swift

    case grade
  • This field is in grams

    Declaration

    Swift

    case grams
  • This field is in mg

    Declaration

    Swift

    case milligrams
  • This field is in ml

    Declaration

    Swift

    case milliliter
  • This field is in kCal

    Declaration

    Swift

    case calories
  • This field is either a lat or long value

    Declaration

    Swift

    case latlon
  • url

    This field is a URL string. It may be a full URL or a relative URL to this site

    Declaration

    Swift

    case url
  • This field is a bitmask - see additional metadata for a reference to the enum which defines the mask offsets

    Declaration

    Swift

    case mask
  • This field is an RPE score - 0 - 10. This may be a decimal on some systems and integers on others

    Declaration

    Swift

    case rpeScore = "rpe"
  • This field is an TQR score - 0 - 10. This may be a decimal on some systems and integers on others

    Declaration

    Swift

    case tqrScore = "tqr"
  • This field is a percentage

    Declaration

    Swift

    case percentage
  • This field is a numeric field and should be displayed to 1 decimal place

    Declaration

    Swift

    case decimal1
  • This field is a numeric field and should be displayed to 2 decimal place2

    Declaration

    Swift

    case decimal2
  • This field is in joules

    Declaration

    Swift

    case joules
  • Undocumented

    Declaration

    Swift

    case mbar
  • This field is in degrees (ie wind direction)

    Declaration

    Swift

    case degrees
  • Undocumented

    Declaration

    Swift

    case millimeter
  • This field is in kilo-joules

    Declaration

    Swift

    case kilojoules = "kj"
  • This field is in milliseconds - it should be parsed as a duration

    Declaration

    Swift

    case milliseconds = "ms"
  • Undocumented

    Declaration

    Swift

    case volts
  • Undocumented

    Declaration

    Swift

    case tScore = "tscore"
  • vam

    This field is vertical ascent meters (meters/second elevation gain) - it should always be shown as m/s regardless of metric/imperial

    Declaration

    Swift

    case vam
  • This field is in minutes and should be parsed as a duration

    Declaration

    Swift

    case durationmins
  • 1-10 (0 being unset 1 being worst 9 being best)

    Declaration

    Swift

    case rating9
  • 1-5 (0 being unset 1 being worst 5 being best)

    Declaration

    Swift

    case rating5
  • 1-5 - with 1/5 being bad and 3 being best

    Declaration

    Swift

    case rating5m
  • Undocumented

    Declaration

    Swift

    case zscore
  • This field is in milliseconds and should be parsed as a duration

    Declaration

    Swift

    case durationMilliseconds = "durationms"
  • This field is in hours and should be parsed as a duration

    Declaration

    Swift

    case durationHours = "durationhrs"
  • This field is in days and should be parsed as a duration

    Declaration

    Swift

    case durationDays = "durationdays"
  • This field is a simple count. ie >=0 int

    Declaration

    Swift

    case count
  • Undocumented

    Declaration

    Swift

    case steps
  • This field is either a URL to video media or it is a tag which can be used to play a YouTube video

    Declaration

    Swift

    case media
  • Urine Osmolality - mOsm/kg

    Declaration

    Swift

    case mosmg
  • 1-5 (0 being unset 5 being worst 1 being best)

    Declaration

    Swift

    case rating51
  • Percentage to 1 decimal place

    Declaration

    Swift

    case percentage1
  • blood oxygen saturation

    Declaration

    Swift

    case spo2
  • stroke per minute

    Declaration

    Swift

    case strokePerMinute = "strokepm"
  • stroke len (decimal in meters)

    Declaration

    Swift

    case strokeLength = "strokelen"
  • Undocumented

    Declaration

    Swift

    case zeroOffset = "zerooffset"
  • Undocumented

    Declaration

    Swift

    case slope
  • mins to complete a km or mile (running) - see PaceUtils*/

    Declaration

    Swift

    case pace
  • knm

    kN/m

    Declaration

    Swift

    case knm
  • centimetres

    Declaration

    Swift

    case centimetres = "cm"
  • thrust (s)

    Declaration

    Swift

    case thrust
  • Percentage to 2 decimal place

    Declaration

    Swift

    case percentage2
  • kN/m / kg

    Declaration

    Swift

    case knmkg
  • tsb

    Undocumented

    Declaration

    Swift

    case tsb
  • g

    g-force

    Declaration

    Swift

    case g
  • rsscribe FootStrike

    Declaration

    Swift

    case rsstrike
  • n

    Force[N]

    Declaration

    Swift

    case n
  • a

    Acceleration

    Declaration

    Swift

    case a
  • Respiration rate - Breaths/minute

    Declaration

    Swift

    case respiration
  • Garmin MTB dynamics - 0-1 Smooth 1-20 Moderate 20+ rough

    Declaration

    Swift

    case flow
  • Garmin MTB dynamics - 0-20 (Easy) 20-40 (moderate) Hard 40+

    Declaration

    Swift

    case grit
  • Sum of all grit in a ride / 1000

    Declaration

    Swift

    case kgrit
  • watt-hour - unit of energy equivalent to one watt (1 W) of power expended for one hour (1 h) of time. The watt-hour is not a standard unit in any formal system but it is commonly used in electrical applications. An energy expenditure of 1 Wh represents 3600 joules (3.600 x 103 J)

    Declaration

    Swift

    case wattHour = "wh"