{
    "title": "locks (permanent part)",
    "$schema": "http://json-schema.org/draft-04/schema#",
    "javaType": "com.sos.joc.model.lock.LocksP",
    "type": "object",
    "required": [
        "deliveryDate",
        "locks"
    ],
    "properties": {
        "deliveryDate": {
            "description": "Date time. Value is UTC timestamp in ISO 8601 YYYY-MM-DDThh:mm:ss.sZ",
            "type": "string",
            "format": "date-time"
        },
        "locks": {
            "type": "array",
            "items": {
                "javaType": "com.sos.joc.model.lock.LockP",
                "type": "object",
                "description": "Limit of non-exclusive tasks of the lock. This attribute is undefined iff non-exclusive tasks can start unlimited",
                "required": [
                    "surveyDate",
                    "path",
                    "name"
                ],
                "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"
                    },
                    "maxNonExclusive": {
                        "type": "integer",
                        "minimum": 0
                    },
                    "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
                    }
                }
            }
        }
    }
}