{
    "title": "JOC cluster response",
    "$schema": "http://json-schema.org/draft-04/schema#",
    "javaType": "com.sos.joc.model.cluster.ClusterResponse",
    "type": "object",
    "required": [
        "deliveryDate",
        "type",
        "state"
    ],
    "properties": {
        "deliveryDate": {
            "description": "Value is UTC timestamp in ISO 8601 YYYY-MM-DDThh:mm:ss.sZ or empty",
            "type": "string",
            "format": "date-time"
        },
        "type": {
            "javaType": "com.sos.joc.model.cluster.common.ClusterServices",
            "type": "string",
            "enum": [
                "cluster",
                "history",
                "dailyplan",
                "cleanup",
                "monitor",
                "lognotification"
            ],
            "javaEnumNames": [
                "cluster",
                "history",
                "dailyplan",
                "cleanup",
                "monitor",
                "lognotification"
            ]
        },
        "state": {
            "javaType": "com.sos.joc.model.cluster.common.state.JocClusterState",
            "type": "string",
            "enum": [
                "STARTED",
                "RUNNING",
                "STOPPED",
                "RESTARTED",
                "ALREADY_STARTED",
                "ALREADY_RUNNING",
                "ALREADY_STOPPED",
                "SWITCH_MEMBER",
                "MISSING_CONFIGURATION",
                "MISSING_HANDLERS",
                "MISSING_LICENSE",
                "ERROR",
                "COMPLETED",
                "UNCOMPLETED"
            ],
            "javaEnumNames": [
                "STARTED",
                "RUNNING",
                "STOPPED",
                "RESTARTED",
                "ALREADY_STARTED",
                "ALREADY_RUNNING",
                "ALREADY_STOPPED",
                "SWITCH_MEMBER",
                "MISSING_CONFIGURATION",
                "MISSING_HANDLERS",
                "MISSING_LICENSE",
                "ERROR",
                "COMPLETED",
                "UNCOMPLETED"
            ]
        }
    }
}