{
    "title": "lock object (permanent part)",
    "id": "schemas/lock/lock_p",
    "$schema": "http://json-schema.org/draft-04/schema#",
    "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": {
            "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"
        },
        "maxNonExclusive": {
            "id": "schemas/common/nonNegativeInteger",
            "type": "integer",
            "minimum": 0
        },
        "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"
        },
        "documentation": {
            "id": "schemas/common/path",
            "description": "absolute path based on live folder of a JobScheduler object.",
            "type": "string",
            "pattern": "/([^/]+/)*[^/]+"
        }
    }
}