{
    "title": "monitoring collection of notifications",
    "$schema": "http://json-schema.org/draft-04/schema#",
    "description": "",
    "javaType": "com.sos.joc.model.monitoring.ControllersAnswer",
    "type": "object",
    "required": [
        "deliveryDate",
        "controllers"
    ],
    "properties": {
        "deliveryDate": {
            "description": "Value is UTC timestamp in ISO 8601 YYYY-MM-DDThh:mm:ss.sZ or empty",
            "type": "string",
            "format": "date-time"
        },
        "controllers": {
            "type": "array",
            "items": {
                "javaType": "com.sos.joc.model.monitoring.ControllerItem",
                "type": "object",
                "required": [
                    "controllerId",
                    "entries"
                ],
                "properties": {
                    "controllerId": {
                        "type": "string",
                        "pattern": "^[^/\\<>?:\"|*]*$",
                        "maxLength": 100
                    },
                    "url": {
                        "type": "string",
                        "pattern": "^[^<>]*$",
                        "maxLength": 255,
                        "minLength": 1
                    },
                    "previousEntry": {
                        "javaType": "com.sos.joc.model.monitoring.ControllerItemEntryItem",
                        "type": "object",
                        "required": [
                            "totalRunningTime",
                            "readyTime"
                        ],
                        "properties": {
                            "totalRunningTime": {
                                "type": "number",
                                "format": "utc-millisec",
                                "minimum": 0
                            },
                            "readyTime": {
                                "description": "Value is UTC timestamp in ISO 8601 YYYY-MM-DDThh:mm:ss.sZ or empty",
                                "type": "string",
                                "format": "date-time"
                            },
                            "lastKnownTime": {
                                "description": "Value is UTC timestamp in ISO 8601 YYYY-MM-DDThh:mm:ss.sZ or empty",
                                "type": "string",
                                "format": "date-time"
                            }
                        }
                    },
                    "entries": {
                        "type": "array",
                        "items": {
                            "javaType": "com.sos.joc.model.monitoring.ControllerItemEntryItem",
                            "type": "object",
                            "required": [
                                "totalRunningTime",
                                "readyTime"
                            ],
                            "properties": {
                                "totalRunningTime": {
                                    "type": "number",
                                    "format": "utc-millisec",
                                    "minimum": 0
                                },
                                "readyTime": {
                                    "description": "Value is UTC timestamp in ISO 8601 YYYY-MM-DDThh:mm:ss.sZ or empty",
                                    "type": "string",
                                    "format": "date-time"
                                },
                                "lastKnownTime": {
                                    "description": "Value is UTC timestamp in ISO 8601 YYYY-MM-DDThh:mm:ss.sZ or empty",
                                    "type": "string",
                                    "format": "date-time"
                                }
                            }
                        }
                    }
                }
            }
        }
    }
}