{
    "title": "IdentityService Filter",
    "$schema": "http://json-schema.org/draft-04/schema#",
    "javaType": "com.sos.joc.model.security.identityservice.IdentityServiceFilter",
    "type": "object",
    "properties": {
        "identityServiceName": {
            "type": "string",
            "pattern": "^[^<>]*$",
            "maxLength": 255
        },
        "identityServiceType": {
            "javaType": "com.sos.joc.model.security.identityservice.IdentityServiceTypes",
            "type": "string",
            "enum": [
                "UNKNOWN",
                "VAULT",
                "VAULT-JOC",
                "VAULT-JOC-ACTIVE",
                "KEYCLOAK",
                "KEYCLOAK-JOC",
                "LDAP",
                "LDAP-JOC",
                "OIDC",
                "OIDC-JOC",
                "FIDO",
                "JOC",
                "CERTIFICATE"
            ]
        },
        "disabled": {
            "description": "returns disabled objects",
            "type": "boolean"
        },
        "secondFactor": {
            "description": "Identity Service is used as a second factor",
            "type": "boolean"
        },
        "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
}