{
    "title": "ActiveSession",
    "$schema": "http://json-schema.org/draft-04/schema#",
    "javaType": "com.sos.joc.model.security.sessions.ActiveSession",
    "type": "object",
    "required": [
        "accountName"
    ],
    "properties": {
        "id": {
            "type": "string",
            "pattern": "^[^<>]*$",
            "maxLength": 255
        },
        "accountName": {
            "type": "string",
            "pattern": "^[^<>]*$",
            "maxLength": 255,
            "minLength": 1
        },
        "identityService": {
            "type": "string",
            "pattern": "^[^<>]*$",
            "maxLength": 255
        },
        "timeout": {
            "type": "number",
            "format": "utc-millisec",
            "minimum": 0
        },
        "auditLog": {
            "javaType": "com.sos.joc.model.audit.AuditParams",
            "type": "object",
            "properties": {
                "comment": {
                    "type": "string",
                    "pattern": "^[^<>]*$",
                    "maxLength": 255
                },
                "timeSpent": {
                    "type": "integer",
                    "minimum": 0
                },
                "ticketLink": {
                    "type": "string",
                    "pattern": "^[^<>]*$",
                    "maxLength": 255
                }
            }
        }
    },
    "additionalProperties": false
}