{
    "title": "Fido Registrations Filter",
    "$schema": "http://json-schema.org/draft-04/schema#",
    "javaType": "com.sos.joc.model.security.fido.FidoRegistrationsFilter",
    "type": "object",
    "required": [
        "accounts",
        "identityServiceName"
    ],
    "properties": {
        "identityServiceName": {
            "type": "string",
            "pattern": "^[^<>]*$",
            "maxLength": 255,
            "minLength": 1
        },
        "accounts": {
            "type": "array",
            "items": {
                "javaType": "com.sos.joc.model.security.fido.FidoRegistrationAccount",
                "type": "object",
                "required": [
                    "accountName",
                    "origin"
                ],
                "properties": {
                    "accountName": {
                        "type": "string",
                        "pattern": "^[^<>]*$",
                        "maxLength": 255,
                        "minLength": 1
                    },
                    "origin": {
                        "type": "string",
                        "pattern": "^[^<>]*$",
                        "maxLength": 255,
                        "minLength": 1
                    }
                },
                "additionalProperties": false
            }
        },
        "deferred": {
            "type": "boolean",
            "default": false
        },
        "confirmed": {
            "type": "boolean",
            "default": false
        },
        "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
}