ProjectCycle
labelstringrequired
What the project calls a cycle; "Cycle" when it names it nothing.
Possible values: non-empty and <= 20 characters
length_daysintegerrequired
Possible values: >= 1 and <= 42
starts_onstring<date>required
The calendar day the FIRST cycle starts on.
timezonestringrequired
Possible values: non-empty and <= 64 characters
current objectrequired
oneOf
- ProjectCurrentCycle
- null
numberintegerrequired
Possible values: >= 1
starts_onstring<date>required
ends_onstring<date>required
days_leftintegerrequired
Whole days after today until this cycle ends; 0 on its last day.
Possible values: >= 0
upcomingbooleanrequired
True before the first cycle starts; number is then 1 and the dates are those of the first cycle.
starts_in_daysintegerrequired
Days until the first cycle starts; 0 once it has started.
Possible values: >= 0
ProjectCycle
{
"label": "string",
"length_days": 0,
"starts_on": "2024-07-29",
"timezone": "string",
"current": {
"number": 0,
"starts_on": "2024-07-29",
"ends_on": "2024-07-29",
"days_left": 0,
"upcoming": true,
"starts_in_days": 0
}
}