{
    "title": "jobs for wizard",
    "$schema": "http://json-schema.org/draft-04/schema#",
    "javaType": "com.sos.joc.model.wizard.Jobs",
    "type": "object",
    "required": [
        "deliveryDate",
        "jobs"
    ],
    "properties": {
        "deliveryDate": {
            "description": "Value is UTC timestamp in ISO 8601 YYYY-MM-DDThh:mm:ss.sZ or empty",
            "type": "string",
            "format": "date-time"
        },
        "jobs": {
            "description": "job items without params",
            "type": "array",
            "items": {
                "javaType": "com.sos.joc.model.wizard.Job",
                "type": "object",
                "required": [
                    "docPath",
                    "assignReference"
                ],
                "properties": {
                    "deliveryDate": {
                        "description": "Value is UTC timestamp in ISO 8601 YYYY-MM-DDThh:mm:ss.sZ or empty",
                        "type": "string",
                        "format": "date-time"
                    },
                    "docPath": {
                        "description": "absolute path of an object.",
                        "type": "string",
                        "pattern": "^(/|(/[^/\\\\<>?:\"|*]+)+)$",
                        "maxLength": 255,
                        "minLength": 1
                    },
                    "docName": {
                        "type": "string",
                        "pattern": "^[^<>]*$",
                        "maxLength": 255
                    },
                    "assignReference": {
                        "type": "string",
                        "pattern": "^[^<>]*$",
                        "maxLength": 255
                    },
                    "title": {
                        "type": "string",
                        "pattern": "^[^<>]*$",
                        "maxLength": 255
                    },
                    "javaClass": {
                        "type": "string",
                        "pattern": "^[^<>]*$",
                        "maxLength": 255
                    },
                    "params": {
                        "type": "array",
                        "items": {
                            "type": "object",
                            "javaType": "com.sos.joc.model.wizard.Param",
                            "properties": {
                                "name": {
                                    "type": "string",
                                    "pattern": "^[^<>]*$",
                                    "maxLength": 255
                                },
                                "required": {
                                    "type": "boolean"
                                },
                                "defaultValue": {
                                    "type": "string"
                                },
                                "description": {
                                    "description": "string in html format",
                                    "type": "string"
                                }
                            }
                        }
                    }
                }
            }
        }
    }
}