{
    "title": "Obstacle",
    "$schema": "http://json-schema.org/draft-04/schema#",
    "javaType": "com.sos.joc.model.order.Obstacle",
    "type": "object",
    "required": [
        "type"
    ],
    "properties": {
        "type": {
            "javaType": "com.sos.joc.model.order.ObstacleType",
            "type": "string",
            "enum": [
                "OrderNotExisting",
                "WaitingForAdmission",
                "JobParallelismLimitReached",
                "WorkflowIsSuspended"
            ],
            "javaEnumNames": [
                "OrderNotExisting",
                "WaitingForAdmission",
                "JobParallelismLimitReached",
                "WorkflowIsSuspended"
            ]
        },
        "until": {
            "description": "Value is UTC timestamp in ISO 8601 YYYY-MM-DDThh:mm:ss.sZ or empty",
            "type": "string",
            "format": "date-time"
        }
    },
    "additionalProperties": false
}