{
    "$schema": "http://json-schema.org/draft-04/schema#",
    "type": "object",
    "title": "Gate configuration",
    "properties": {
        "name": {
            "propertyOrder": 10,
            "title": "Name",
            "type": "string"
        },
        "address": {
            "propertyOrder": 11,
            "title": "Address",
            "type": "string"
        },
        "desc": {
            "propertyOrder": 20,
            "title": "Description",
            "type": "string"
        },
        "inFlightThreshold": {
            "propertyOrder": 40,
            "title": "Max in-flight messages",
            "type": "integer",
            "minimum": 1
        },
        "noSinkDropMessages": {
            "propertyOrder": 41,
            "title": "Drop messages when no sinks connected",
            "type": "boolean"
        }
    },
    "additionalProperties": true,
    "required": [
        "name",
        "address",
        "inFlightThreshold",
        "noSinkDropMessages"
    ],
    "definitions": {}
}