{
    "title": "add order in return code",
    "$schema": "http://json-schema.org/draft-04/schema#",
    "javaType": "com.sos.joc.model.joe.order.ReturnCodeAddOrder",
    "type": "object",
    "required": [
        "xmlns",
        "jobChain"
    ],
    "properties": {
        "xmlns": {
            "type": "string",
            "default": "https://jobscheduler-plugins.sos-berlin.com/NodeOrderPlugin"
        },
        "jobChain": {
            "type": "string"
        },
        "id": {
            "type": "string"
        },
        "params": {
            "javaType": "com.sos.joc.model.joe.common.Params",
            "type": "object",
            "properties": {
                "includes": {
                    "xmlElement": "include",
                    "type": "array",
                    "items": {
                        "javaType": "com.sos.joc.model.joe.common.ParamInclude",
                        "xmlElement": "include",
                        "type": "object",
                        "properties": {
                            "file": {
                                "type": "string"
                            },
                            "liveFile": {
                                "type": "string"
                            },
                            "node": {
                                "type": "string"
                            }
                        }
                    }
                },
                "copyParams": {
                    "decription": "Only valid in start_job and add_order. Possible values for 'from' is task or order.",
                    "type": "array",
                    "uniqueItems": true,
                    "items": {
                        "type": "object",
                        "javaType": "com.sos.joc.model.joe.common.CopyParams",
                        "xmlElement": "copy_params",
                        "required": [
                            "from"
                        ],
                        "properties": {
                            "from": {
                                "type": "string"
                            }
                        }
                    }
                },
                "paramList": {
                    "xmlElement": "param",
                    "type": "array",
                    "items": {
                        "javaType": "com.sos.joc.model.joe.common.Param",
                        "type": "object",
                        "required": [
                            "name",
                            "value"
                        ],
                        "properties": {
                            "name": {
                                "type": "string"
                            },
                            "value": {
                                "type": "string"
                            }
                        }
                    }
                }
            }
        }
    }
}