{
    "title": "dependencies",
    "$schema": "http://json-schema.org/draft-04/schema#",
    "javaType": "com.sos.joc.model.inventory.dependencies.get.RequestedResponseItem",
    "type": "object",
    "properties": {
        "name": {
            "type": "string"
        },
        "type": {
            "javaType": "com.sos.joc.model.inventory.common.ConfigurationType",
            "type": "string",
            "enum": [
                "FOLDER",
                "WORKFLOW",
                "JOBCLASS",
                "JOBRESOURCE",
                "LOCK",
                "NOTICEBOARD",
                "FILEORDERSOURCE",
                "WORKINGDAYSCALENDAR",
                "NONWORKINGDAYSCALENDAR",
                "SCHEDULE",
                "INCLUDESCRIPT",
                "JOBTEMPLATE",
                "DEPLOYMENTDESCRIPTOR",
                "DESCRIPTORFOLDER"
            ]
        },
        "configuration": {
            "javaType": "com.sos.joc.model.inventory.dependencies.get.EnforcedConfigurationObject",
            "type": "object",
            "extends": {
                "javaType": "com.sos.joc.model.inventory.ConfigurationObject"
            },
            "anyOf": [
                {
                    "required": [
                        "path",
                        "objectType"
                    ]
                },
                {
                    "required": [
                        "id"
                    ]
                }
            ],
            "properties": {
                "enforce": {
                    "type": "boolean"
                }
            },
            "additionalProperties": false
        },
        "references": {
            "type": "array",
            "uniqueItems": true,
            "items": {
                "javaType": "com.sos.joc.model.inventory.dependencies.get.EnforcedConfigurationObject",
                "type": "object",
                "extends": {
                    "javaType": "com.sos.joc.model.inventory.ConfigurationObject"
                },
                "anyOf": [
                    {
                        "required": [
                            "path",
                            "objectType"
                        ]
                    },
                    {
                        "required": [
                            "id"
                        ]
                    }
                ],
                "properties": {
                    "enforce": {
                        "type": "boolean"
                    }
                },
                "additionalProperties": false
            }
        },
        "referencedBy": {
            "type": "array",
            "uniqueItems": true,
            "items": {
                "javaType": "com.sos.joc.model.inventory.dependencies.get.EnforcedConfigurationObject",
                "type": "object",
                "extends": {
                    "javaType": "com.sos.joc.model.inventory.ConfigurationObject"
                },
                "anyOf": [
                    {
                        "required": [
                            "path",
                            "objectType"
                        ]
                    },
                    {
                        "required": [
                            "id"
                        ]
                    }
                ],
                "properties": {
                    "enforce": {
                        "type": "boolean"
                    }
                },
                "additionalProperties": false
            }
        }
    },
    "additionalProperties": false
}