{
    "title": "status of resuming or suspension",
    "$schema": "http://json-schema.org/draft-04/schema#",
    "javaType": "com.sos.joc.model.workflow.WorkflowState",
    "type": "object",
    "properties": {
        "deliveryDate": {
            "description": "Value is UTC timestamp in ISO 8601 YYYY-MM-DDThh:mm:ss.sZ or empty",
            "type": "string",
            "format": "date-time"
        },
        "surveyDate": {
            "description": "Value is UTC timestamp in ISO 8601 YYYY-MM-DDThh:mm:ss.sZ or empty",
            "type": "string",
            "format": "date-time"
        },
        "state": {
            "javaType": "com.sos.controller.model.common.SyncState",
            "type": "object",
            "required": [
                "severity",
                "_text"
            ],
            "properties": {
                "severity": {
                    "type": "integer"
                },
                "_text": {
                    "javaType": "com.sos.controller.model.common.SyncStateText",
                    "description": "SUSPENDED, OUTSTANDING only for Workflows",
                    "type": "string",
                    "enum": [
                        "IN_SYNC",
                        "NOT_IN_SYNC",
                        "NOT_DEPLOYED",
                        "SUSPENDED",
                        "OUTSTANDING",
                        "UNKNOWN"
                    ]
                }
            }
        },
        "confirmedAgentNames": {
            "description": "only specified, if state._text != OUTSTANDING",
            "type": "array",
            "uniqueItems": true,
            "items": {
                "type": "string",
                "pattern": "^[^<>]*$",
                "maxLength": 255
            }
        },
        "notConfirmedAgentNames": {
            "description": "only specified, if state._text == OUTSTANDING",
            "type": "array",
            "uniqueItems": true,
            "items": {
                "type": "string",
                "pattern": "^[^<>]*$",
                "maxLength": 255
            }
        }
    },
    "additionalProperties": false
}