{
    "title": "agent cluster state",
    "id": "schemas/jobscheduler/agentClusterState",
    "$schema": "http://json-schema.org/draft-04/schema#",
    "javaType": "com.sos.joc.model.jobscheduler.AgentClusterState",
    "type": "object",
    "required": [
        "severity",
        "_text"
    ],
    "properties": {
        "severity": {
            "description": "0=all Agents are running, 1=some Agents are unreachable but not all, 2=all Agents are unreachable",
            "type": "integer"
        },
        "_text": {
            "id": "schemas/jobscheduler/agentClusterStateText",
            "javaType": "com.sos.joc.model.jobscheduler.AgentClusterStateText",
            "type": "string",
            "enum": [
                "ALL_AGENTS_ARE_RUNNING",
                "ONLY_SOME_AGENTS_ARE_RUNNING",
                "ALL_AGENTS_ARE_UNREACHABLE"
            ]
        }
    }
}