{
    "title": "ResponseDeployables",
    "$schema": "http://json-schema.org/draft-04/schema#",
    "javaType": "com.sos.joc.model.inventory.deploy.ResponseDeployables",
    "type": "object",
    "properties": {
        "deliveryDate": {
            "description": "Value is UTC timestamp in ISO 8601 YYYY-MM-DDThh:mm:ss.sZ or empty",
            "type": "string",
            "format": "date-time"
        },
        "deployables": {
            "type": "array",
            "items": {
                "javaType": "com.sos.joc.model.inventory.deploy.ResponseDeployableTreeItem",
                "type": "object",
                "properties": {
                    "id": {
                        "type": "number",
                        "format": "utc-millisec",
                        "minimum": 0
                    },
                    "folder": {
                        "description": "absolute path of an object.",
                        "type": "string",
                        "pattern": "^(/|(/[^/\\\\<>?:\"|*]+)+)$",
                        "maxLength": 255,
                        "minLength": 1
                    },
                    "objectName": {
                        "type": "string",
                        "pattern": "^[^<>]*$",
                        "maxLength": 255
                    },
                    "account": {
                        "type": "string",
                        "pattern": "^[^<>]*$",
                        "maxLength": 100
                    },
                    "objectType": {
                        "javaType": "com.sos.joc.model.inventory.common.ConfigurationType",
                        "type": "string",
                        "enum": [
                            "FOLDER",
                            "WORKFLOW",
                            "JOBCLASS",
                            "JOBRESOURCE",
                            "LOCK",
                            "NOTICEBOARD",
                            "FILEORDERSOURCE",
                            "WORKINGDAYSCALENDAR",
                            "NONWORKINGDAYSCALENDAR",
                            "SCHEDULE",
                            "JOB"
                        ]
                    },
                    "valid": {
                        "type": "boolean"
                    },
                    "deleted": {
                        "type": "boolean"
                    },
                    "deployed": {
                        "type": "boolean"
                    },
                    "deployablesVersions": {
                        "type": "array",
                        "items": {
                            "javaType": "com.sos.joc.model.inventory.deploy.ResponseDeployableVersion",
                            "type": "object",
                            "properties": {
                                "id": {
                                    "type": "number",
                                    "format": "utc-millisec",
                                    "minimum": 0
                                },
                                "commitId": {
                                    "type": "string",
                                    "pattern": "^[^<>]*$",
                                    "maxLength": 255
                                },
                                "deploymentId": {
                                    "type": "number",
                                    "format": "utc-millisec",
                                    "minimum": 0
                                },
                                "deploymentPath": {
                                    "description": "absolute path of an object.",
                                    "type": "string",
                                    "pattern": "^(/|(/[^/\\\\<>?:\"|*]+)+)$",
                                    "maxLength": 255,
                                    "minLength": 1
                                },
                                "deploymentOperation": {
                                    "type": "string",
                                    "pattern": "^[^<>]*$",
                                    "maxLength": 255
                                },
                                "versionDate": {
                                    "description": "Value is UTC timestamp in ISO 8601 YYYY-MM-DDThh:mm:ss.sZ or empty",
                                    "type": "string",
                                    "format": "date-time"
                                },
                                "versions": {
                                    "type": "array",
                                    "items": {
                                        "javaType": "com.sos.joc.model.inventory.common.ResponseItemDeployment",
                                        "type": "object",
                                        "properties": {
                                            "deploymentId": {
                                                "type": "number",
                                                "format": "utc-millisec",
                                                "minimum": 0
                                            },
                                            "path": {
                                                "description": "absolute path of an object.",
                                                "type": "string",
                                                "pattern": "^(/|(/[^/\\\\<>?:\"|*]+)+)$",
                                                "maxLength": 255,
                                                "minLength": 1
                                            },
                                            "controllerId": {
                                                "type": "string",
                                                "pattern": "^[^/\\<>?:\"|*]*$",
                                                "maxLength": 100
                                            },
                                            "version": {
                                                "type": "string",
                                                "pattern": "^[^<>]*$",
                                                "maxLength": 255
                                            },
                                            "deploymentDate": {
                                                "description": "Value is UTC timestamp in ISO 8601 YYYY-MM-DDThh:mm:ss.sZ or empty",
                                                "type": "string",
                                                "format": "date-time"
                                            }
                                        }
                                    },
                                    "uniqueItems": true
                                }
                            }
                        },
                        "uniqueItems": true
                    }
                }
            },
            "uniqueItems": true
        }
    }
}