{
    "title": "notification collection of monitors",
    "$schema": "http://json-schema.org/draft-04/schema#",
    "description": "",
    "javaType": "com.sos.joc.model.monitoring.NotificationAnswer",
    "type": "object",
    "required": [
        "deliveryDate",
        "monitors"
    ],
    "properties": {
        "deliveryDate": {
            "description": "Value is UTC timestamp in ISO 8601 YYYY-MM-DDThh:mm:ss.sZ or empty",
            "type": "string",
            "format": "date-time"
        },
        "monitors": {
            "type": "array",
            "items": {
                "javaType": "com.sos.joc.model.monitoring.MonitorItem",
                "type": "object",
                "required": [
                    "type",
                    "name",
                    "configuration",
                    "message",
                    "error",
                    "created"
                ],
                "properties": {
                    "type": {
                        "javaType": "com.sos.joc.model.common.MonitoringMonitorTypeText",
                        "type": "string",
                        "enum": [
                            "COMMAND",
                            "MAIL",
                            "NSCA",
                            "JMS"
                        ]
                    },
                    "name": {
                        "type": "string"
                    },
                    "configuration": {
                        "type": "string"
                    },
                    "message": {
                        "type": "string"
                    },
                    "error": {
                        "type": "string"
                    },
                    "created": {
                        "description": "Value is UTC timestamp in ISO 8601 YYYY-MM-DDThh:mm:ss.sZ or empty",
                        "type": "string",
                        "format": "date-time"
                    }
                }
            }
        }
    }
}