{
    "title": "set Root CA private key and/or certificate filter",
    "$schema": "http://json-schema.org/draft-04/schema#",
    "javaType": "com.sos.joc.model.publish.SetRootCaFilter",
    "type": "object",
    "anyOf": [
        {
            "required": [
                "privateKey"
            ]
        },
        {
            "required": [
                "certificate"
            ]
        }
    ],
    "properties": {
        "privateKey": {
            "type": "string"
        },
        "certificate": {
            "type": "string"
        },
        "auditLog": {
            "javaType": "com.sos.joc.model.audit.AuditParams",
            "type": "object",
            "properties": {
                "comment": {
                    "type": "string",
                    "pattern": "^[^<>]*$",
                    "maxLength": 255
                },
                "timeSpent": {
                    "type": "integer",
                    "minimum": 0
                },
                "ticketLink": {
                    "type": "string",
                    "pattern": "^[^<>]*$",
                    "maxLength": 255
                }
            }
        }
    }
}