{
    "title": "protocol, host, port, account",
    "id": "schemas/yade/protocolFragment",
    "$schema": "http://json-schema.org/draft-04/schema#",
    "javaType": "com.sos.joc.model.yade.ProtocolFragment",
    "type": "object",
    "description": "compact=true -> only required fields",
    "required": [
        "protocol",
        "host"
    ],
    "properties": {
        "host": {
            "type": "string"
        },
        "protocol": {
            "id": "schemas/yade/protocol",
            "javaType": "com.sos.joc.model.yade.Protocol",
            "type": "string",
            "enum": [
                "LOCAL",
                "FTP",
                "FTPS",
                "SFTP",
                "HTTP",
                "HTTPS",
                "WEBDAV",
                "WEBDAVS",
                "SMB"
            ]
        },
        "port": {
            "id": "schemas/common/nonNegativeInteger",
            "type": "integer",
            "minimum": 0
        },
        "account": {
            "type": "string"
        }
    }
}