{
    "title": "HistoricOutcomes",
    "$schema": "http://json-schema.org/draft-04/schema#",
    "type": "object",
    "javaType": "com.sos.jobscheduler.model.workflow.HistoricOutcome",
    "properties": {
        "position": {
            "description": "Actually, each even item is a string, each odd item is an integer",
            "type": "array",
            "items": {
                "anyOf": [
                    {
                        "type": "integer"
                    },
                    {
                        "type": "string"
                    }
                ]
            }
        },
        "outcome": {
            "javaType": "com.sos.jobscheduler.model.common.Outcome",
            "type": "object",
            "properties": {
                "required": [
                    "TYPE"
                ],
                "TYPE": {
                    "javaType": "com.sos.jobscheduler.model.common.OutcomeType",
                    "type": "string",
                    "enum": [
                        "Succeeded",
                        "Failed",
                        "Disrupted",
                        "Cancelled"
                    ],
                    "javaEnumNames": [
                        "Succeeded",
                        "Failed",
                        "Disrupted",
                        "Cancelled"
                    ]
                },
                "namedValues": {
                    "description": "a map for arbitrary key-value pairs",
                    "javaType": "com.sos.jobscheduler.model.common.Variables",
                    "type": "object",
                    "properties": {
                        "returnCode": {
                            "type": "integer"
                        }
                    },
                    "additionalProperties": {
                        "type": "string"
                    }
                }
            },
            "additionalProperties": false
        }
    },
    "additionalProperties": false
}