Xentara v2.0.4
User Manual
JSON Format for Timers

A JSON object describing a timer has the following syntax:

{
"@Timer": {
"name": "Timer 1",
"UUID": "1c436db9-b261-4896-bb39-9cacb0993365",
"ACL": { ... },
"period": "0.5ms",
"offset": "0",
"sequence": 0
}
}

Object Members
nameA string value containing the name of the timer. The name is used to construct the timer’s primary key.
UUIDA string value containing the unique UUID of the timer.
ACLAn optional JSON object containing the element ACL of the timer. The format of the object is described under JSON Format for ACLs.
periodA string value containing the period of the timer. The format of the string is described under JSON Format for Time Intervals.
offsetA string value containing the offset of the timer. The timer will be offset by the specified time interval compared to a timer with offset 0. A positive offset will make the timer fire later, a negative offset will make the timer fire earlier. The format of the string is described under JSON Format for Time Intervals.
sequenceAn optional integer value containing the sequence number of the timer. The sequence number is used to fine-tune the in which concurrent timers are executed. If you do not specify a sequence number, a sequence number of 0 will be used.