JSON message about AI rule configuration capability
{
"AIRuleConfigCap":{
"LineCrossingTargetStatisticsMode":{
/*optional, line crossing target counting mode; if this node is returned, it indicates the mode is supported; otherwise not supported*/
"mode":{
/*required, string, line crossing counting mode: ScheduledCounting (schedule counting), BatchCounting (counting in batches), ManualCounting (manual counting)*/
"@opt":["ScheduledCounting", "BatchCounting", "ManualCounting"]
},
"BatchCounting":{
/*required, parameters of counting in batches*/
"timeInterval":{
/*required, int, counting interval, range: [1,60]min, default value: 5min*/
"@min":1,
"@max":60,
"@def":5
}
},
"ScheduledCounting":{
/*required, schedule counting parameters*/
"@size":4
/*required, int, the maximum number of supported time ranges for scheduled counting*/
}
},
"RuleNameInfo":{
/*optional, rule name configuration parameters; if this node is returned, it indicates that custom rule name configuration is supported and displayed on stream; otherwise not supported*/
"rulName":{
/*required, the maximum supported length of rule name*/
"@min":1,
/*required, int, the minimum length*/
"@max":64
/*required, int, the maximum length*/
}
}
}
}