RuleInfo message in JSON format
{ "RuleInfo":{ "reqAdminRights": , /*required, boolean, whether the administrator permission is required: "true"-yes, "false"-no*/ "enableCardNoLenAuto": , /*optional, boolean, whether to enable length self-adaption of the card serial No. The priority of this field is higher than len*/ "RuleList":[{ /*rule list, which contains rules for collecting different types of data*/ "dataType":"", /*required, string, data type: "name", "employeeNo"-employee No., "IDCardNo"-ID card No., "IDCardSerialNo"-ID card serial No., "IDCardDetails"-ID card details, "card", "fingprint"-fingerprint, "face"*/ "enable": , /*required, boolean, whether to collect and display: "true"-collect and display, "false"-not collect and display*/ "uniqueCheck": , /*dependency, boolean, whether to enable uniqueness verification: "true"-yes, "false" (default) or this field is not returned-no. This field is valid when dataType is "name". For other data types, this field is the read-only optional parameter*/ "len": , /*dependency, integer, data length, this field is valid when dataType is "name", "enployeeNo" or "card". The default data length of name is 128. For other data types, this field is the read-only optional parameter. If it is not supported, this field will not be returned*/ "num": , /*dependency, integer, number of collected data, this field is valid when dataType is "fingerprint" or "card"*/ "fingerprintIDs": /*dependency, integer, ID list of fingerprints that need to be collected, this field is valid when dataType is "fingerprint"*/ }], "enableLocalIssueCard": true, /*optional, boolean, whether to enable issuing smart cards locally*/ "isLocalStorage": false /*optional, boolean, whether to store face picture and fingerprint information in the device locally*/ } }