{
    "$schema": "http://json-schema.org/draft-04/schema#",
    "title": "Celium node request",
    "description": "Format of requests to Celium nodes",
    "type": "object",
    "properties": {
        "commands": {
            "description": "Array of commands",
            "type": "array",
            "minItems": 1,
            "items": {
                "type": "object",
                "properties": {
                    "name": {
                        "description": "Name of command",
                        "type": "string"
                    },
                    "params": {
                        "description": "Array of command params with key => value pairs",
                        "type": "object"
                    }
                },
                "required": [
                    "name"
                ]
            }
        }
    }
}