{
    "title": "auditLog details",
    "$schema": "http://json-schema.org/draft-04/schema#",
    "javaType": "com.sos.joc.model.audit.AuditLogDetails",
    "type": "object",
    "required": [
        "deliveryDate",
        "auditLogDetails"
    ],
    "properties": {
        "deliveryDate": {
            "description": "Value is UTC timestamp in ISO 8601 YYYY-MM-DDThh:mm:ss.sZ or empty",
            "type": "string",
            "format": "date-time"
        },
        "auditLogDetails": {
            "type": "array",
            "items": {
                "javaType": "com.sos.joc.model.audit.AuditLogDetailItem",
                "type": "object",
                "required": [
                    "path",
                    "type"
                ],
                "properties": {
                    "path": {
                        "type": "string",
                        "pattern": "^[^<>]*$",
                        "maxLength": 255
                    },
                    "type": {
                        "javaType": "com.sos.joc.model.audit.ObjectType",
                        "type": "string",
                        "enum": [
                            "WORKFLOW",
                            "JOBCLASS",
                            "JOBRESOURCE",
                            "LOCK",
                            "NOTICEBOARD",
                            "FILEORDERSOURCE",
                            "WORKINGDAYSCALENDAR",
                            "NONWORKINGDAYSCALENDAR",
                            "SCHEDULE",
                            "INCLUDESCRIPT",
                            "JOBTEMPLATE",
                            "DOCUMENTATION",
                            "ORDER"
                        ]
                    }
                }
            }
        }
    }
}