{
    "title": "LoginHistory",
    "$schema": "http://json-schema.org/draft-04/schema#",
    "javaType": "com.sos.joc.model.security.history.LoginHistory",
    "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"
        },
        "loginHistoryItems": {
            "type": "array",
            "items": {
                "javaType": "com.sos.joc.model.security.history.LoginHistoryItem",
                "type": "object",
                "properties": {
                    "accountName": {
                        "type": "string",
                        "pattern": "^[^<>]*$",
                        "maxLength": 255
                    },
                    "loginDate": {
                        "description": "Value is UTC timestamp in ISO 8601 YYYY-MM-DDThh:mm:ss.sZ or empty",
                        "type": "string",
                        "format": "date-time"
                    },
                    "loginSuccess": {
                        "type": "boolean"
                    },
                    "details": {
                        "javaType": "com.sos.joc.model.security.history.LoginHistoryDetails",
                        "type": "object",
                        "properties": {
                            "loginHistoryItems": {
                                "type": "array",
                                "items": {
                                    "javaType": "com.sos.joc.model.security.history.LoginHistoryDetailItem",
                                    "type": "object",
                                    "properties": {
                                        "identityServiceName": {
                                            "type": "string",
                                            "pattern": "^[^<>]*$",
                                            "maxLength": 255
                                        },
                                        "message": {
                                            "type": "string",
                                            "pattern": "^[^<>]*$",
                                            "maxLength": 255
                                        }
                                    },
                                    "additionalProperties": false
                                }
                            }
                        },
                        "additionalProperties": false
                    }
                }
            }
        }
    },
    "additionalProperties": false
}