{
    "properties": {
        "health": {
            "maximum": 3,
            "minimum": 0,
            "title": "Node health status",
            "type": "integer"
        },
        "help": {
            "title": "Node health check output",
            "type": "string"
        },
        "host_ip": {
            "pattern": "^[\\w\\.]+$",
            "title": "Host IP from ip-detect script",
            "type": "string"
        },
        "role": {
            "enum": [
                "master",
                "agent",
                "unknown"
            ],
            "title": "Node Type",
            "type": "string"
        }
    },
    "required": [
        "host_ip",
        "role",
        "health"
    ],
    "type": "object"
}