{
    "title": "IdentityService",
    "$schema": "http://json-schema.org/draft-04/schema#",
    "javaType": "com.sos.joc.model.security.IdentityService",
    "type": "object",
    "properties": {
        "identityServiceType": {
            "javaType": "com.sos.joc.model.security.IdentityServiceTypes",
            "type": "string",
            "enum": [
                "SHIRO",
                "VAULT",
                "VAULT-JOC",
                "VAULT-JOC-ACTIVE",
                "LDAP",
                "LDAP-JOC",
                "JOC"
            ]
        },
        "identityServiceName": {
            "type": "string",
            "pattern": "^[^<>]*$",
            "maxLength": 255
        },
        "ordering": {
            "type": "integer",
            "minimum": 0
        },
        "disabled": {
            "description": "controls if the identity service is disabled",
            "type": "boolean",
            "default": false
        },
        "required": {
            "description": "controls if the identity service is required",
            "type": "boolean",
            "default": false
        }
    }
}