def METHOD_NAME(self) -> Type[SaaSSchema]:
    """Returns the schema for the current configuration"""
    field_definitions: Dict[str, Any] = {}
    for connector_param in self.saas_config.connector_params:
        param_type = list if connector_param.multiselect else str
        field_definitions[connector_param.name] = (
            Field(
                title=connector_param.label,
                description=connector_param.description,
                default=connector_param.default_value,
                sensitive=connector_param.sensitive,
            )
            if connector_param.default_value
            else (
                param_type,
                FieldInfo(
                    title=connector_param.label,
                    description=connector_param.description,
                    sensitive=connector_param.sensitive,
                ),
            )
        )
    if self.saas_config.external_references:
        for external_reference in self.saas_config.external_references:
            field_definitions[external_reference.name] = (
                FidesDatasetReference,
                FieldInfo(
                    title=external_reference.label,
                    description=external_reference.description,
                    external_reference=True,  # metadata added so we can identify these secret schema fields as external references
                ),
            )
    SaaSSchema.__doc__ = f"{str(self.saas_config.type).capitalize()} secrets schema"  # Dynamically override the docstring to create a description
    # set the connector_params as a private attribute on the schema class
    # so they can be accessible in the 'required_components_supplied' validator
    model: Type[SaaSSchema] = create_model(
        f"{self.saas_config.type}_schema",
        **field_definitions,
        __base__=SaaSSchema,
        _connector_params=PrivateAttr(
            {
                connector_param.name: {
                    "options": connector_param.options,
                    "multiselect": connector_param.multiselect,
                }
                for connector_param in self.saas_config.connector_params
            }
        ),
        _external_references=PrivateAttr(
            [
                external_reference.name
                for external_reference in self.saas_config.external_references
            ]
            if self.saas_config.external_references
            else []
        ),
    )
    return model