{
    "title": "set generate client/server certificates filter",
    "$schema": "http://json-schema.org/draft-04/schema#",
    "javaType": "com.sos.joc.model.publish.GenerateClientServerCertificateFilter",
    "type": "object",
    "required": [
        "commonName",
        "organizationUnit",
        "organization",
        "countryCode"
    ],
    "properties": {
        "commonName": {
            "type": "string"
        },
        "organizationUnit": {
            "type": "string"
        },
        "organization": {
            "type": "string"
        },
        "countryCode": {
            "type": "string"
        },
        "location": {
            "type": "string"
        },
        "state": {
            "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
                }
            }
        }
    }
}