Data - TimeSpanDoc

The TimeSpanDoc document is a data document that contains the properties and a data values for an individual time span instance.

Field Data Type Required Default Description
id String Yes - A unique identifier that is referenced by all other documents see section Unique Id Generation.
timeSpanType Fixed String Yes Interval A fixed string value describing the type of the timespan. Valid options are: Interval, Lap, Year, Month, Day, Hour, Minute, Second, Version, Revision, Period, Measurement, Test, Run, Experiment.
number 64-bit Long No - An integer value associated with the marker instance.
startTime 64-bit Long Yes - A 64-bit Long timestamp specifying the start time of the marker instance. The timestamp represents the number of nanoseconds since the reference time of midnight, 1st January 1970.
endTime 64-bit Long Yes - A 64-bit Long timestamp specifying the end time of the marker instance. The timestamp represents the number of nanoseconds since the reference time of midnight, 1st January 1970.
duration 64-bit Long Yes - A 64-bit Long timestamp specifying the duration of the marker instance. The timestamp represents the number of nanoseconds since the reference time of midnight, 1st January 1970.
source String No - A free form string describing the data source for the marker instance.
markerType String Yes - A free form string describing the marker instance type.
type Fixed String Fixed TimeSpanDoc The fixed value is always set to TimeSpanDoc.