{
    "$schema": "http://json-schema.org/draft-04/schema#",
    "title": "Action",
    "type": "object",
    "properties": {
        "target": {
            "type": "string",
            "description": "The **generatedIdentifier** given by iFLUX Server. See the API `GET actionTargets` or GET `actionTargets/:id`"
        },
        "type": {
            "type": "string",
            "description": "Valid URL defining the action type."
        },
        "properties": {
            "type": "object",
            "description": "Free object that contains the transformation done by the rule evaluation. If no transformation, the event is sent as the properties. In this case, refers to `POST /events`.",
            "properties": {
                "*": {
                    "type": "object"
                }
            }
        }
    },
    "required": [
        "target",
        "type",
        "properties"
    ]
}
