{
    "type": "trafficNet",
    "extends": "map",
    "definitions": {
        "camera_link_system": {
            "id": "camera_link_system",
            "type": "function",
            "tags": [
                "method"
            ],
            "returnVariations": [
                "Unknown error: Unable to access to local computer",
                "error: No internet access.",
                "error: This device is not registered on any police network",
                1
            ],
            "returns": [
                "number",
                "string"
            ]
        },
        "locate_vehicle": {
            "id": "locate_vehicle",
            "type": "function",
            "tags": [
                "method"
            ],
            "arguments": [
                {
                    "label": "licensePlate",
                    "type": "string"
                },
                {
                    "label": "password",
                    "type": "string"
                }
            ],
            "returnVariations": [
                "Error: This user cannot access the global camera system for another 24 hours.",
                "Error: This network has disabled access to the traffic cameras.",
                "error: Workstation not found. Unable to get the credentials info from ${credentials}",
                "error: Incorrect password. Access denied.",
                "Unknown error: Unable to access to local computer",
                "error: Invalid license plate.",
                "Error: Unable to use the camera at this time. Too many calls.",
                "error: No internet access.",
                "error: This device is not registered on any police network",
                "locate_vehicle: License plate not found.",
                "The vehicle could not be located in the camera system at this time.",
                1
            ],
            "returns": [
                "number",
                "string",
                "null"
            ]
        },
        "get_credentials_info": {
            "id": "get_credentials_info",
            "type": "function",
            "tags": [
                "method"
            ],
            "returnVariations": [
                "Unknown error: Unable to access to local computer",
                "error: No internet access.",
                "error: This device is not registered on any police network",
                "${job} ${name}"
            ],
            "returns": [
                "string"
            ]
        }
    }
}
