{
    "title": "Approvers",
    "$schema": "http://json-schema.org/draft-04/schema#",
    "javaType": "com.sos.joc.model.security.foureyes.Approvers",
    "type": "object",
    "required": [
        "deliveryDate",
        "approvers"
    ],
    "properties": {
        "deliveryDate": {
            "description": "Value is UTC timestamp in ISO 8601 YYYY-MM-DDThh:mm:ss.sZ or empty",
            "type": "string",
            "format": "date-time"
        },
        "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
}