{
    "title": "Filter for different Git command apis",
    "$schema": "http://json-schema.org/draft-04/schema#",
    "javaType": "com.sos.joc.model.publish.git.commands.CommonFilter",
    "type": "object",
    "required": [
        "folder",
        "category"
    ],
    "properties": {
        "folder": {
            "type": "string",
            "pattern": "^[^<>]*$",
            "maxLength": 255
        },
        "category": {
            "javaType": "com.sos.joc.model.publish.repository.Category",
            "type": "string",
            "enum": [
                "LOCAL",
                "ROLLOUT"
            ],
            "javaEnumNames": [
                "LOCAL",
                "ROLLOUT"
            ]
        },
        "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
                }
            }
        }
    }
}