# Time Step

A time step consists of granularity and the number of steps. For instance, you can specify yearly steps by settings the granularity to Years and the number of steps to 1. Half-yearly steps can be specified by setting the granularity to Months and the number of steps to 6.

ParameterTypeDescriptionExample Value
granularityTimeGranularitygranularity of the time stepsmonths
stepintegernumber of time steps1

## TimeGranularity

The granularity of the time steps can take one of the following values.

VariantDescription
millismilliseconds
secondsseconds
minutesminutes
hourshours
daysdays
monthsmonths
yearsyears

# Example JSON

{
"granularity": "months",
"step": 1
}