{
    "title": "Register Cluster Watch Agent",
    "$schema": "http://json-schema.org/draft-04/schema#",
    "javaType": "com.sos.joc.model.agent.RegisterClusterWatchAgent",
    "type": "object",
    "required": [
        "agentId",
        "agentName",
        "url"
    ],
    "properties": {
        "agentId": {
            "type": "string",
            "pattern": "^[^<>]*$",
            "maxLength": 255,
            "minLength": 1
        },
        "agentName": {
            "type": "string",
            "pattern": "^[^<>]*$",
            "maxLength": 255,
            "minLength": 1
        },
        "url": {
            "type": "string",
            "pattern": "^[^<>]*$",
            "maxLength": 255,
            "minLength": 1
        },
        "asStandaloneAgent": {
            "type": "boolean",
            "default": false
        },
        "primaryDirectorId": {
            "type": "string",
            "pattern": "^[^<>]*$",
            "maxLength": 255
        }
    },
    "additionalProperties": false
}