{
    "title": "item of step history collection of one order run",
    "$schema": "http://json-schema.org/draft-04/schema#",
    "javaType": "com.sos.joc.model.order.OrderStepHistoryItem",
    "type": "object",
    "required": [
        "node",
        "job",
        "step",
        "startTime",
        "taskId"
    ],
    "properties": {
        "node": {
            "type": "string"
        },
        "job": {
            "description": "absolute path based on live folder of a JobScheduler object.",
            "type": "string",
            "pattern": "^(/|(/[^/\\<>?:\"|*]+)+)$",
            "maxLength": 255
        },
        "step": {
            "type": "integer",
            "minimum": 0
        },
        "startTime": {
            "description": "Value is UTC timestamp in ISO 8601 YYYY-MM-DDThh:mm:ss.sZ or empty",
            "type": "string",
            "format": "date-time"
        },
        "endTime": {
            "description": "Value is UTC timestamp in ISO 8601 YYYY-MM-DDThh:mm:ss.sZ or empty",
            "type": "string",
            "format": "date-time"
        },
        "taskId": {
            "type": "string"
        },
        "clusterMember": {
            "type": "integer",
            "minimum": 0
        },
        "exitCode": {
            "type": "integer",
            "minimum": 0
        },
        "error": {
            "javaType": "com.sos.joc.model.common.Err",
            "type": "object",
            "required": [
                "code",
                "message"
            ],
            "properties": {
                "code": {
                    "type": "string",
                    "pattern": "^[^<>]*$",
                    "maxLength": 255
                },
                "message": {
                    "type": "string"
                }
            }
        },
        "agent": {
            "description": "agent url",
            "type": "string"
        }
    }
}