
{
    "publish": [{
        "title": "Publish a message",
        "description": "Publish a message to a topic",
        "run_check": true,
        "request": {
            "topic": "user",
            "message": {"id": "1", "type": "signup", "user": "john"}
        },
        "response": {}
    }],
    "subscribe": [{
        "title": "Subscribe to a topic",
        "description": "Subscribe to messages on a given topic",
        "run_check": false,
        "request": {
            "topic": "user"
        },
        "response": {
            "topic": "events",
            "message": {"id": "1", "type": "signup", "user": "john"}
        }
    }]
}
