{
    "$schema": "https://json-schema.org/draft/2020-12/schema",
    "title": "Quantel Options",
    "type": "object",
    "properties": {
        "gatewayUrl": {
            "type": "string",
            "ui:title": "Gateway URL",
            "description": "Url to the quantel gateway"
        },
        "ISAUrlMaster": {
            "type": "string",
            "ui:title": "ISA URL (Master)",
            "description": "Location of the ISA manager to be connected to first of all"
        },
        "ISAUrlBackup": {
            "type": "string",
            "ui:title": "ISA URL (Backup)",
            "description": "Optional backup ISA manager for the gateway to switch to in the event of failure of the master"
        },
        "zoneId": {
            "type": "string",
            "ui:title": "Zone ID",
            "description": "The ID of the zone to use. If omitted, will be using 'default'",
            "default": "default"
        },
        "serverId": {
            "type": "integer",
            "ui:title": "Quantel Server ID",
            "description": "The id of the server to control. An integer"
        },
        "allowCloneClips": {
            "type": "boolean",
            "ui:title": "Allow cloning of clips if on wrong server/pool",
            "description": "If set: If a clip turns out to be on the wrong server, an attempt to copy the clip will be done",
            "default": false
        },
        "suppressDisconnectTime": {
            "type": "integer",
            "ui:title": "Time to suppress disconnection warnings for",
            "description": "If the ISA goes down the gateway will temporarily emit a disconnection warning, this is a false flag when a backup ISA is available. This option will suppress the disconnection warning for a number of ms to give the system time to switch without warnings."
        }
    },
    "required": [
        "gatewayUrl",
        "ISAUrlMaster",
        "serverId"
    ],
    "additionalProperties": false
}
