text: from typing import Optional, List
  
  from fidesops.schemas.connection_configuration.connection_secrets import (
      ConnectionConfigSecretsSchema,
  )
  
  
  class MongoDBSchema(ConnectionConfigSecretsSchema):
      """Schema to validate the secrets needed to connect to a MongoDB Database"""
  
      username: Optional[str] = None
      password: Optional[str] = None
      host: Optional[str] = None
      port: Optional[int] = None
      defaultauthdb: Optional[str] = None
  
      _required_components: List[str] = ["host"]
  