wpsWatch Event Type

The new integration provides the ability to add tag information to camera trap events. 

 

The Camera Trap event type will need to be updated to accept this new data.

  • If the site has added custom fields to their Camera Trap reports, you will need to reconcile their custom fields with the addition of the new ones. 
  • If they are just using the standard Camera Name, Camera Make, and Camera Version fields, you can just copy and paste the entire text below:

 

Name

Camera Trap

Value: cameratrap_rep

{
    "schema": {
        "$schema": "http://json-schema.org/draft-04/schema#",
        "title": "Auto-generated schema, from incoming data.",
        "type": "object",
        "properties": {
            "cameratraprep_camera-name": {
                "type": "string",
                "title": "Deployment Name"
            },
            "cameratraprep_camera-make": {
                "type": "string",
                "title": "Camera ID"
            },
            "cameratraprep_camera-version": {
                "type": "string",
                "title": "Camera Version"
            },
            "cameratraprep_battery-level": {
                "type": "number",
                "title": "Battery Level (%)",
                "minimum": 0,
                "maximum": 100
            },
            "tags": {
                "type": "string",
                "title": "Tags"
            },
            "tag_count_array": {
                "type": "array",
                "title": "Detections",
                "items": {
                    "type": "object",
                    "title": "Detection",
                    "properties": {
                        "tag": {
                            "type": "string",
                            "title": "Tag"
                        },
                        "count": {
                            "type": "number",
                            "title": "Count"
                        }
                    }
                }
            }
        }
    },
    "definition": [
        {
            "key": "cameratraprep_camera-name",
            "htmlClass": "col-lg-6"
        },
        {
            "key": "cameratraprep_camera-make",
            "htmlClass": "col-lg-6"
        },
        {
            "key": "cameratraprep_camera-version",
            "htmlClass": "col-lg-6"
        },
        {
            "key": "cameratraprep_battery-level",
            "htmlClass": "col-lg-6"
        },
        {
            "key": "tag_count_array"
        }
    ]
}

 

Important: Make sure that the token used for the integration has permissions to the Event Category hosting this event type (e.g., Monitoring).