{
    "title": "collection of daily plan dates",
    "$schema": "http://json-schema.org/draft-04/schema#",
    "description": "",
    "javaType": "com.sos.joc.model.dailyplan.history.MainResponse",
    "type": "object",
    "required": [
        "deliveryDate"
    ],
    "properties": {
        "deliveryDate": {
            "description": "Value is UTC timestamp in ISO 8601 YYYY-MM-DDThh:mm:ss.sZ or empty",
            "type": "string",
            "format": "date-time"
        },
        "dates": {
            "type": "array",
            "items": {
                "javaType": "com.sos.joc.model.dailyplan.history.items.DateItem",
                "type": "object",
                "required": [
                    "date",
                    "countTotal",
                    "countSubmitted"
                ],
                "properties": {
                    "date": {
                        "description": "Value is UTC timestamp in ISO 8601 YYYY-MM-DDThh:mm:ss.sZ or empty",
                        "type": "string",
                        "format": "date-time"
                    },
                    "countTotal": {
                        "type": "number",
                        "format": "utc-millisec",
                        "minimum": 0
                    },
                    "countSubmitted": {
                        "type": "number",
                        "format": "utc-millisec",
                        "minimum": 0
                    },
                    "controllers": {
                        "type": "array",
                        "items": {
                            "javaType": "com.sos.joc.model.dailyplan.history.items.ControllerItem",
                            "type": "object",
                            "required": [
                                "controllerId",
                                "countTotal",
                                "countSubmitted"
                            ],
                            "properties": {
                                "controllerId": {
                                    "type": "string",
                                    "pattern": "^[^/\\<>?:\"|*]*$",
                                    "maxLength": 100
                                },
                                "countTotal": {
                                    "type": "number",
                                    "format": "utc-millisec",
                                    "minimum": 0
                                },
                                "countSubmitted": {
                                    "type": "number",
                                    "format": "utc-millisec",
                                    "minimum": 0
                                }
                            }
                        }
                    }
                }
            }
        }
    }
}