{
    "states": [
        {
            "name": "gateState",
            "type": "String",
            "allowedValues": ["open", "closed", "opening", "closing"]
        }
    ],
    "actions": [
        {
            "name": "open"
        },
        {
            "name": "close"
        },
        {
            "name": "stop"
        }
    ]
}
