JSON_ZoneSearch

JSON message about the result of zone status

{
  "ZoneSearch":{
    "searchID":"", 
/*required, string type, search ID, which is used to confirm the upper-level platform or system. If the platform or the system is the same one during two searching, the search history will be saved in the memory to speed up next searching*/
    "responseStatusStrg":"", 
/*required, string type, search status: "OK"-searching completed, "NO MATCH"-no matched results, "MORE"-searching for more results*/
    "numOfMatches": , 
/*required, integer32, number of returned results this time*/
    "totalMatches": , 
/*required, integer32, total number of matched results*/
    "ZoneList":[{
      "Zone":{
        "id": , 
/*required, integer type, zone No.*/
        "name":"", 
/*optional, string type, zone name*/
        "status":"", 
/*optional, string type, zone status: "notRelated"-not linked, "online", "offline", "trigger", "breakDown"-fault, "heartbeatAbnormal"-heartbeat exception*/
        "tamperEvident": , 
/*optional, boolean type, zone tampering status: "true"-tampered, "false"-not tampered*/
        "shielded": , 
/*optional, boolean type, zone shielding status: "true"-shielded, "false"-not shielded*/
        "bypassed": , 
/*optional, boolean type, whether the zone is bypassed: "true"-yes, "false"-no*/
        "armed": , 
/*required, boolean type, whether the zone is armed: "true"-yes, "false"-no*/
        "isArming": , 
/*optional, boolean type, whether the zone is armed, this node can only be set to "true"*/
        "alarm": , 
/*optional, boolean type, whether the alarm is triggered in the zone: "true-yes, "false"-no*/
        "charge":"", 
/*optional, string type, state of charge of the zone: "normal", "lowPower"-low battery*/
        "signal": , 
/*optional, integer type, signal strength, it is between 0 and 255*/
        "subSystemNo ": , 
/*optional, integer type, partition No.*/
        "zoneAttrib":"",
/*optional, string, zone attribute: "wired", "wireless". If this node is not returned, the default zone attribute is "wireless"*/
        "RelatedChanList":[{
/*optional, list of linked channel No.*/
          "RelatedChan":{
            "relator":"", 
/*required, string type, device linked to the channel when the alarm is triggered*/
            "cameraSeq":"", 
/*optional, string type, camera serial No.*/
            "relatedChan": 
/*optional, integer type, linked channel No.*/
          }
        }],
        "detectorType":  "test",
/*optional, string, type of the detector linked to the zone*/
        "model":  "DS-PM1-O8-WE",	
/*optional, enum, model, subType:string, "DS-PM1-O8-WE", "DS-PM1-O2-WE"*/
        "zoneType":  "Instant",
/*optional, string, zone type: "Instant"-instant zone, "Delay"-delay zone, "Follow"-follow zone, "Perimeter"-perimeter zone, "24hNoSound"-24-hour silent zone, "Emergency"-panic zone, "Fire"-fire zone, "Gas"-gas zone, "Medical"-medical zone, "Timeout"-timeout zone, "Non-Alarm"-disabled zone, "Key"-key zone*/
        "InputList": [	
/*optional, array, list of input status*/
         {
          "id":  1,	
/*required, int, input ID*/
          "enabled":  true,	
/*required, boolean, whether it is enabled*/
          "mode":  "NO"	
/*optional, enum, input type: "rolling shutter", "NC" (always closed), "NO" (always open)*/
         }
        ],
        "humidity":  10,	
/*optional, int, humidity, the value is between 10% and 90%*/
        "healthStatus":  "normal",
/*optional, string, read-only, health status: "normal", "fault"*/
        "antiMaskingEnabled":  true,
/*optional, boolean, read-only, whether to enable anti-masking: true-enable,false-disable*/
        "mountingType":  "wall",
/*optional, string, read-only, mounting type: "wall", "ceiling"*/
        "magnetOpenStatus":  true,
/*optional, boolean, whether the magnetic contact is open: true (open), false (closed)*/
        "devIndex":  "test",	
/*optional, string, device ID, the maximum length is 64 bytes*/
        "devName":  "test",	
/*optional, string, device name, the maximum length is 64 bytes*/
        "isAvailable":  true,	
/*optional, boolean, whether the partition is available: true (default), false*/
        "isBypassedAvailable":  true,	
/*optional, boolean, whether bypass is configurable: true (yes), false (no). By default, it is configurable*/
        "version":  "test",
/*optional, string, detector version No., the maximum length is 32 bytes*/
        "pirCamConnected":  true, 
/*optional, boolean, whether the outdoor tri-tech detector and PIR camera are connected: true (yes), false (no)*/
        "accessModuleType":  "transmitter",
/*optional, enum, access module type: "transmitter", "localTransmitter", "multiTransmitter", "localZone", "keypad"*/
        "relatedAccessModuleID":  1,
/*optional, int, linked access module ID*/
        "address":  254,
/*optional, int, wired (extended) module address, this node works with accessModuleType*/
        "deviceNo":  1
/*optional, int, device ID, range:[1,1000]*/
      }
    }]
  }
}