{
    "title": "schedule with delivery date (permanent part)",
    "$schema": "http://json-schema.org/draft-04/schema#",
    "javaType": "com.sos.joc.model.schedule.ScheduleP200",
    "type": "object",
    "properties": {
        "deliveryDate": {
            "description": "Date time. Value is UTC timestamp in ISO 8601 YYYY-MM-DDThh:mm:ss.sZ",
            "type": "string",
            "format": "date-time"
        },
        "schedule": {
            "javaType": "com.sos.joc.model.schedule.ScheduleP",
            "type": "object",
            "required": [
                "surveyDate",
                "path",
                "name",
                "usedByOrders",
                "usedByJobs"
            ],
            "properties": {
                "surveyDate": {
                    "description": "Date of the inventory data. Value is UTC timestamp in ISO 8601 YYYY-MM-DDThh:mm:ss.sZ",
                    "type": "string",
                    "format": "date-time"
                },
                "path": {
                    "description": "absolute path based on live folder of a JobScheduler object.",
                    "type": "string",
                    "pattern": "^(/|(/[^/\\<>?:\"|*]+)+)$",
                    "maxLength": 255
                },
                "name": {
                    "type": "string"
                },
                "title": {
                    "type": "string"
                },
                "substitute": {
                    "javaType": "com.sos.joc.model.schedule.Substitute",
                    "type": "object",
                    "required": [
                        "path",
                        "validFrom",
                        "validTo"
                    ],
                    "properties": {
                        "path": {
                            "description": "absolute path based on live folder of a JobScheduler object.",
                            "type": "string",
                            "pattern": "^(/|(/[^/\\<>?:\"|*]+)+)$",
                            "maxLength": 255
                        },
                        "validFrom": {
                            "description": "Value is UTC timestamp in ISO 8601 YYYY-MM-DDThh:mm:ss.sZ or empty",
                            "type": "string",
                            "format": "date-time"
                        },
                        "validTo": {
                            "description": "Value is UTC timestamp in ISO 8601 YYYY-MM-DDThh:mm:ss.sZ or empty",
                            "type": "string",
                            "format": "date-time"
                        }
                    }
                },
                "substitutedBy": {
                    "type": "array",
                    "items": {
                        "javaType": "com.sos.joc.model.schedule.Substitute",
                        "type": "object",
                        "required": [
                            "path",
                            "validFrom",
                            "validTo"
                        ],
                        "properties": {
                            "path": {
                                "description": "absolute path based on live folder of a JobScheduler object.",
                                "type": "string",
                                "pattern": "^(/|(/[^/\\<>?:\"|*]+)+)$",
                                "maxLength": 255
                            },
                            "validFrom": {
                                "description": "Value is UTC timestamp in ISO 8601 YYYY-MM-DDThh:mm:ss.sZ or empty",
                                "type": "string",
                                "format": "date-time"
                            },
                            "validTo": {
                                "description": "Value is UTC timestamp in ISO 8601 YYYY-MM-DDThh:mm:ss.sZ or empty",
                                "type": "string",
                                "format": "date-time"
                            }
                        }
                    }
                },
                "usedByOrders": {
                    "type": "array",
                    "items": {
                        "type": "object",
                        "properties": {
                            "jobChain": {
                                "description": "absolute path based on live folder of a JobScheduler object.",
                                "type": "string",
                                "pattern": "^(/|(/[^/\\<>?:\"|*]+)+)$",
                                "maxLength": 255
                            },
                            "orderId": {
                                "type": "string"
                            }
                        }
                    }
                },
                "usedByJobs": {
                    "type": "array",
                    "items": {
                        "type": "object",
                        "properties": {
                            "job": {
                                "description": "absolute path based on live folder of a JobScheduler object.",
                                "type": "string",
                                "pattern": "^(/|(/[^/\\<>?:\"|*]+)+)$",
                                "maxLength": 255
                            }
                        }
                    }
                },
                "configurationDate": {
                    "description": "Value is UTC timestamp in ISO 8601 YYYY-MM-DDThh:mm:ss.sZ or empty",
                    "type": "string",
                    "format": "date-time"
                },
                "documentation": {
                    "description": "absolute path based on live folder of a JobScheduler object.",
                    "type": "string",
                    "pattern": "^(/|(/[^/\\<>?:\"|*]+)+)$",
                    "maxLength": 255
                }
            }
        }
    }
}