{
    "title": "FourEyesResponse",
    "$schema": "http://json-schema.org/draft-04/schema#",
    "javaType": "com.sos.joc.model.security.foureyes.FourEyesResponse",
    "type": "object",
    "extends": {
        "javaType": "com.sos.joc.model.security.foureyes.ApprovalBase",
        "type": "object",
        "properties": {
            "requestor": {
                "type": "string",
                "pattern": "^[^<>]*$",
                "maxLength": 255,
                "minLength": 1
            },
            "requestUrl": {
                "type": "string",
                "pattern": "^[^<>]*$",
                "maxLength": 255,
                "minLength": 1
            },
            "requestBody": {
                "type": "object",
                "javaType": "com.sos.joc.model.security.foureyes.RequestBody",
                "additionalProperties": true
            },
            "category": {
                "javaType": "com.sos.joc.model.audit.CategoryType",
                "type": "string",
                "enum": [
                    "INVENTORY",
                    "CONTROLLER",
                    "DAILYPLAN",
                    "OTHERS",
                    "DEPLOYMENT",
                    "DOCUMENTATIONS",
                    "CERTIFICATES",
                    "IDENTITY",
                    "SETTINGS",
                    "MONITORING",
                    "UNKNOWN"
                ]
            }
        },
        "additionalProperties": false
    },
    "properties": {
        "deliveryDate": {
            "description": "Value is UTC timestamp in ISO 8601 YYYY-MM-DDThh:mm:ss.sZ or empty",
            "type": "string",
            "format": "date-time"
        },
        "message": {
            "type": "string",
            "pattern": "^[^<>]*$",
            "maxLength": 255,
            "minLength": 1
        },
        "approvers": {
            "type": "array",
            "items": {
                "javaType": "com.sos.joc.model.security.foureyes.Approver",
                "type": "object",
                "required": [
                    "accountName",
                    "firstName",
                    "lastName"
                ],
                "properties": {
                    "accountName": {
                        "type": "string",
                        "pattern": "^[^<>]*$",
                        "maxLength": 255,
                        "minLength": 1
                    },
                    "firstName": {
                        "type": "string",
                        "pattern": "^[^<>]*$",
                        "maxLength": 30,
                        "minLength": 1
                    },
                    "lastName": {
                        "type": "string",
                        "pattern": "^[^<>]*$",
                        "maxLength": 30,
                        "minLength": 1
                    },
                    "email": {
                        "type": "string",
                        "pattern": "^[^<>]*$",
                        "maxLength": 255
                    }
                },
                "additionalProperties": false
            }
        }
    },
    "additionalProperties": false
}