Right now I have this structure in JSON
"Types":[
{
"LowCadence":[
{
"Reinforcement":"-1",
"Weight":"100",
"Message":"Pay attention. You're running low cadence. Your cadence is %d steps per minute."
}
]
},
{
"NormalCadence":[
{
"Reinforcement":"0",
"Weight":"100",
"Message":"Great, your cadence is on target. Cadence is %d steps per minute.",
"EnforcementSound":"ding"
}
]
},
{
"HighCadence":[
{
"Reinforcement":"1",
"Weight":"100",
"Message":"Slow down. You're running over your planned cadence. Cadence is %d steps per minute."
}
]
}
]
But I would like it to have this structure
Does anyone know how to write it in JSON?