{
    "$schema": "http://json-schema.org/draft-04/schema#",
    "description": "Configuration for a JGroups channel.",
    "type": "object",
    "javaType": "com.xiantrimble.dropwizard.jgroups.config.ChannelConfiguration",
    "required": [
        "stack"
    ],
    "properties": {
        "name": {
            "type": "string"
        },
        "stack": {
            "type": "array",
            "items": {
                "type": "object",
                "description": "Protocol configuration with the additional properties providing the named properties.",
                "javaType": "com.xiantrimble.dropwizard.jgroups.config.Protocol",
                "properties": {
                    "protocol": {
                        "type": "string",
                        "description": "The name of the protocol, with the same resolution rules as in the standard JGroups configuration."
                    }
                }
            }
        }
    }
}