{
    "title": "History Collection Of Deployment Items",
    "$schema": "http://json-schema.org/draft-04/schema#",
    "javaType": "com.sos.joc.model.publish.DepHistory",
    "type": "object",
    "required": [
        "depHistory"
    ],
    "properties": {
        "deliveryDate": {
            "description": "Value is UTC timestamp in ISO 8601 YYYY-MM-DDThh:mm:ss.sZ or empty",
            "type": "string",
            "format": "date-time"
        },
        "depHistory": {
            "type": "array",
            "items": {
                "javaType": "com.sos.joc.model.publish.DepHistoryItem",
                "type": "object",
                "properties": {
                    "account": {
                        "type": "string",
                        "pattern": "^[^<>]*$",
                        "maxLength": 255
                    },
                    "path": {
                        "type": "string",
                        "pattern": "^[^<>]*$",
                        "maxLength": 255
                    },
                    "folder": {
                        "type": "string",
                        "pattern": "^[^<>]*$",
                        "maxLength": 255
                    },
                    "controllerId": {
                        "type": "string",
                        "pattern": "^[^<>]*$",
                        "maxLength": 255
                    },
                    "commitId": {
                        "type": "string",
                        "pattern": "^[^<>]*$",
                        "maxLength": 255
                    },
                    "version": {
                        "type": "string",
                        "pattern": "^[^<>]*$",
                        "maxLength": 255
                    },
                    "deployType": {
                        "type": "string",
                        "pattern": "^[^<>]*$",
                        "maxLength": 255
                    },
                    "operation": {
                        "type": "string",
                        "pattern": "^[^<>]*$",
                        "maxLength": 255
                    },
                    "state": {
                        "type": "string",
                        "pattern": "^[^<>]*$",
                        "maxLength": 255
                    },
                    "deploymentDate": {
                        "type": "string",
                        "format": "date-time"
                    },
                    "deleteDate": {
                        "type": "string",
                        "format": "date-time"
                    },
                    "invConfigurationId": {
                        "type": "number",
                        "format": "utc-millisec",
                        "minimum": 0
                    },
                    "deploymentId": {
                        "type": "number",
                        "format": "utc-millisec",
                        "minimum": 0
                    }
                }
            }
        }
    }
}