{
    "title": "schedule (permant part)",
    "id": "schemas/schedule/schedule_p",
    "$schema": "http://json-schema.org/draft-04/schema#",
    "javaType": "com.sos.joc.model.schedule.ScheduleP",
    "type": "object",
    "required": [
        "surveyDate",
        "path",
        "name",
        "usedByOrders",
        "usedByJobs"
    ],
    "properties": {
        "surveyDate": {
            "id": "schemas/common/surveyDate_p",
            "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": {
            "id": "schemas/common/path",
            "description": "absolute path based on live folder of a JobScheduler object.",
            "type": "string",
            "pattern": "/([^/]+/)*[^/]+"
        },
        "name": {
            "type": "string"
        },
        "title": {
            "type": "string"
        },
        "substitute": {
            "type": "object",
            "properties": {
                "path": {
                    "id": "schemas/common/path",
                    "description": "absolute path based on live folder of a JobScheduler object.",
                    "type": "string",
                    "pattern": "/([^/]+/)*[^/]+"
                },
                "validFrom": {
                    "id": "schemas/common/timestamp",
                    "description": "Value is UTC timestamp in ISO 8601 YYYY-MM-DDThh:mm:ss.sZ or empty",
                    "type": "string",
                    "format": "date-time"
                },
                "validTo": {
                    "id": "schemas/common/timestamp",
                    "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": {
                        "id": "schemas/common/path",
                        "description": "absolute path based on live folder of a JobScheduler object.",
                        "type": "string",
                        "pattern": "/([^/]+/)*[^/]+"
                    },
                    "orderId": {
                        "type": "string"
                    }
                }
            }
        },
        "usedByJobs": {
            "type": "array",
            "items": {
                "type": "object",
                "properties": {
                    "job": {
                        "id": "schemas/common/path",
                        "description": "absolute path based on live folder of a JobScheduler object.",
                        "type": "string",
                        "pattern": "/([^/]+/)*[^/]+"
                    }
                }
            }
        },
        "configurationDate": {
            "id": "schemas/common/timestamp",
            "description": "Value is UTC timestamp in ISO 8601 YYYY-MM-DDThh:mm:ss.sZ or empty",
            "type": "string",
            "format": "date-time"
        }
    }
}