JSON message about schedule configuration capability of uploading files to platform
{
"ScheduleCap":{
"enabled":{
/*required, whether to enable this capability*/
"opt":"true,false"
},
"TimeBlockList":{
"size": ,
/*number of time periods that can be contained in the schedule*/
"TimeBlock":{
/*days of the week: 1-Monday, 2-Tuesday, 3-Wednesday, 4-Thursday, 5-Friday, 6-Saturday, 7-Sunday*/
"dayOfWeek":{
"@opt":"1,2,3,4,5,6,7"
},
"TimeRange":{
"supportBeginTime": ,
/*boolean, whether it supports setting start time: true; this node will not be returned if it is not supported*/
"supportEndTime":
/*boolean, whether it supports setting end time: true; this node will not be returned if it is not supported*/
}
}
}
}
}
Setting different time periods for each day in a week is not supported; if different time periods are configured for each day, only the first group of TimeRange will be used, and the time is only accurate to minute.