{
    "title": "set key filter",
    "$schema": "http://json-schema.org/draft-04/schema#",
    "javaType": "com.sos.joc.model.publish.SetKeyFilter",
    "type": "object",
    "required": [
        "keys"
    ],
    "properties": {
        "keys": {
            "javaType": "com.sos.joc.model.sign.JocKeyPair",
            "type": "object",
            "required": [
                "keyAlgorithm"
            ],
            "properties": {
                "privateKey": {
                    "type": "string"
                },
                "publicKey": {
                    "type": "string"
                },
                "keyID": {
                    "type": "string"
                },
                "certificate": {
                    "type": "string"
                },
                "validUntil": {
                    "type": "string",
                    "format": "date-time"
                },
                "keyType": {
                    "type": "string"
                },
                "keyAlgorithm": {
                    "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
                }
            }
        }
    }
}