{
    "title": "save and response configuration",
    "id": "schemas/configuration/configuration",
    "$schema": "http://json-schema.org/draft-04/schema#",
    "javaType": "com.sos.joc.model.configuration.Configuration",
    "type": "object",
    "required": [
        "id"
    ],
    "properties": {
        "jobschedulerId": {
            "type": "string"
        },
        "id": {
            "id": "schemas/common/nonNegativeLong",
            "type": "string",
            "format": "utc-millisec"
        },
        "account": {
            "type": "string"
        },
        "configurationType": {
            "id": "schemas/configuration/type",
            "javaType": "com.sos.joc.model.configuration.ConfigurationType",
            "type": "string",
            "enum": [
                "CUSTOMIZATION",
                "IGNORELIST",
                "PROFILE",
                "SETTING"
            ]
        },
        "objectType": {
            "id": "schemas/configuration/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"
            ]
        },
        "name": {
            "description": "required if configurationType equals CUSTOMIZATION",
            "type": "string"
        },
        "shared": {
            "type": "boolean",
            "default": false
        },
        "configurationItem": {
            "description": "JSON object as string,  depends on configuration type",
            "type": "string"
        }
    }
}