obj: {"properties": {"auth": {"properties": {"external": {"anyOf": [{"allOf": [{"then": {"properties": {"idpMetadata": {"pattern": "^(?:(?:\\s*[A-Za-z0-9+/]){4})*(?:(?:\\s*[A-Za-z0-9+/]){2}(?:\\s*=){2}|(?:\\s*[A-Za-z0-9+/]){3}(?:\\s*=))?\\s*$"}}}}]}]}}}}}