{
    "title": "Identiy Services",
    "$schema": "http://json-schema.org/draft-04/schema#",
    "javaType": "com.sos.joc.model.security.IdentityServices",
    "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"
        },
        "identityServiceItems": {
            "type": "array",
            "items": {
                "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
                    }
                }
            }
        },
        "identityServiceTypes": {
            "type": "array",
            "items": {
                "javaType": "com.sos.joc.model.security.IdentityServiceTypes",
                "type": "string",
                "enum": [
                    "SHIRO",
                    "VAULT",
                    "VAULT-JOC",
                    "VAULT-JOC-ACTIVE",
                    "LDAP",
                    "LDAP-JOC",
                    "JOC"
                ]
            }
        }
    }
}