{
    "title": "configurations",
    "$schema": "http://json-schema.org/draft-04/schema#",
    "javaType": "com.sos.joc.model.configuration.Configurations",
    "type": "object",
    "required": [
        "deliveryDate",
        "configurations"
    ],
    "properties": {
        "deliveryDate": {
            "description": "Current date of the JOC server/REST service. Value is UTC timestamp in ISO 8601 YYYY-MM-DDThh:mm:ss.sZ",
            "type": "string",
            "format": "date-time"
        },
        "configurations": {
            "type": "array",
            "items": {
                "javaType": "com.sos.joc.model.configuration.Configuration",
                "type": "object",
                "required": [
                    "id"
                ],
                "properties": {
                    "jobschedulerId": {
                        "type": "string",
                        "pattern": "^[^/\\<>?:\"|*]*$",
                        "maxLength": 100
                    },
                    "id": {
                        "type": "number",
                        "format": "utc-millisec",
                        "minimum": 0
                    },
                    "account": {
                        "type": "string",
                        "pattern": "^[^<>]*$",
                        "maxLength": 255
                    },
                    "configurationType": {
                        "javaType": "com.sos.joc.model.configuration.ConfigurationType",
                        "type": "string",
                        "enum": [
                            "CUSTOMIZATION",
                            "IGNORELIST",
                            "PROFILE",
                            "SETTING"
                        ]
                    },
                    "objectType": {
                        "javaType": "com.sos.joc.model.configuration.ConfigurationObjectType",
                        "type": "string",
                        "enum": [
                            "JOB",
                            "JOBCHAIN",
                            "ORDER",
                            "PROCESSCLASS",
                            "AGENTCLUSTER",
                            "LOCK",
                            "SCHEDULE",
                            "FOLDER",
                            "JOBSCHEDULER",
                            "DAILYPLAN",
                            "TASK_HISTORY",
                            "ORDER_HISTORY",
                            "YADE",
                            "YADE_HISTORY",
                            "EVENT",
                            "AUDITLOG"
                        ]
                    },
                    "name": {
                        "type": "string",
                        "pattern": "^[^<>]*$",
                        "maxLength": 255
                    },
                    "shared": {
                        "type": "boolean",
                        "default": false
                    },
                    "configurationItem": {
                        "type": "string",
                        "pattern": "^[^<>]*$"
                    }
                }
            }
        }
    }
}