{
    "title": "ApprovalsFilter",
    "$schema": "http://json-schema.org/draft-04/schema#",
    "javaType": "com.sos.joc.model.security.foureyes.ApprovalsFilter",
    "type": "object",
    "properties": {
        "requestors": {
            "type": "array",
            "uniqueItems": true,
            "items": {
                "type": "string",
                "pattern": "^[^<>]*$",
                "maxLength": 255,
                "minLength": 1
            }
        },
        "approvers": {
            "type": "array",
            "uniqueItems": true,
            "items": {
                "type": "string",
                "pattern": "^[^<>]*$",
                "maxLength": 255,
                "minLength": 1
            }
        },
        "requestorStates": {
            "type": "array",
            "uniqueItems": true,
            "items": {
                "javaType": "com.sos.joc.model.security.foureyes.RequestorState",
                "type": "string",
                "enum": [
                    "REQUESTED",
                    "WITHDRAWN",
                    "EXECUTED"
                ]
            }
        },
        "approverStates": {
            "type": "array",
            "uniqueItems": true,
            "items": {
                "javaType": "com.sos.joc.model.security.foureyes.ApproverState",
                "type": "string",
                "enum": [
                    "PENDING",
                    "APPROVED",
                    "REJECTED"
                ]
            }
        },
        "limit": {
            "type": "integer",
            "default": 10000
        }
    },
    "additionalProperties": false
}