{
    "title": "read agents",
    "$schema": "http://json-schema.org/draft-04/schema#",
    "javaType": "com.sos.joc.model.agent.ReadAgentsV",
    "type": "object",
    "required": [
        "controllerId"
    ],
    "properties": {
        "controllerId": {
            "type": "string",
            "pattern": "^[^/\\<>?:\"|*]*$",
            "maxLength": 100,
            "minLength": 1
        },
        "agentIds": {
            "type": "array",
            "items": {
                "type": "string",
                "pattern": "^[^<>]*$",
                "maxLength": 255,
                "minLength": 1
            }
        },
        "urls": {
            "type": "array",
            "items": {
                "type": "string",
                "pattern": "^[^<>]*$",
                "maxLength": 255,
                "minLength": 1
            }
        },
        "states": {
            "type": "array",
            "items": {
                "javaType": "com.sos.joc.model.agent.AgentStateText",
                "type": "string",
                "enum": [
                    "COUPLED",
                    "RESETTING",
                    "RESET",
                    "COUPLINGFAILED",
                    "SHUTDOWN",
                    "UNKNOWN"
                ]
            }
        },
        "onlyEnabledAgents": {
            "type": "boolean",
            "default": false
        },
        "compact": {
            "description": "controls if the object's data is compact or detailed",
            "type": "boolean",
            "default": false
        }
    },
    "additionalProperties": false
}