JSON message about person management capability
{
"PersonInfo":{
"id":{
/*required, string, user No.*/
"@min":4,
/*minimum value of length range*/
"@max":32
/*maximum value of length range*/
},
"name":{
/*requird, string, user name*/
"@min":4,
/*minimum value of length range*/
"@max":32
/*maximum value of length range*/
},
"password":{
/*required, string, user password*/
"@min":6,
/*minimum value of length range*/
"@max":32
/*maximum value of length range*/
},
"filePermission":{
/*required, boolean, whether to assign file search permission*/
"@opt":"true,false"
},
"mobile":{
/*optional, string, user contacts*/
"@min":4,
/*minimum value of length range*/
"@max":12
/*maximum value of length range*/
},
"filePermissionsuper":{
/*required, boolean, whether it has the permission of super administrator*/
"@opt":"true,false"
},
"collectStatus":{
/*required, boolean, whether the face data is collected by this person, it is read-only*/
"@opt":"true,false"
},
"deviceId":{
/*required, string, body camera ID*/
"@min":4,
/*minimum length of the range*/
"@max":12
/*maximum length of the range*/
},
}
}