{
    "title": "JS Lock Edit configuration",
    "$schema": "http://json-schema.org/draft-04/schema#",
    "javaType": "com.sos.joc.model.inventory.lock.LockEdit",
    "type": "object",
    "extends": {
        "javaType": "com.sos.joc.model.inventory.ConfigurationObject"
    },
    "properties": {
        "configuration": {
            "javaType": "com.sos.inventory.model.lock.Lock",
            "type": "object",
            "javaInterfaces": [
                "com.sos.joc.model.common.IConfigurationObject",
                "com.sos.joc.model.common.IDeployObject",
                "com.sos.inventory.model.common.IInventoryObject"
            ],
            "required": [
                "limit"
            ],
            "propertyOrder": [
                "TYPE",
                "version",
                "limit"
            ],
            "description": "deploy object with fixed property 'TYPE':'Lock'",
            "properties": {
                "TYPE": {
                    "javaType": "com.sos.inventory.model.deploy.DeployType",
                    "type": "string",
                    "enum": [
                        "Workflow",
                        "JobClass",
                        "Lock",
                        "FileWatch",
                        "JobResource",
                        "Board"
                    ],
                    "javaEnumNames": [
                        "Workflow",
                        "JobClass",
                        "Lock",
                        "FileWatch",
                        "JobResource",
                        "Board"
                    ],
                    "default": "Workflow"
                },
                "version": {
                    "description": "inventory repository version",
                    "type": "string",
                    "pattern": "[0-9]+\\.[0-9]+\\.[0-9]+",
                    "default": "1.5.2",
                    "maxLength": 20
                },
                "limit": {
                    "type": "integer",
                    "minimum": 0,
                    "default": 1
                },
                "documentationName": {
                    "type": "string",
                    "pattern": "^[^<>]*$",
                    "maxLength": 255
                },
                "title": {
                    "type": "string",
                    "pattern": "^[^<>]*$",
                    "maxLength": 255
                }
            },
            "additionalProperties": false
        }
    }
}