Schema for map[string][]string

Hello,

I’m trying to figure out how to declare the schema for the type map[string]string.
If I define something like this:

schema.MapAttribute{
			Computed:    true,
			ElementType: types.StringType,
},

the provider compiles but when I try to deserialize a value it fails because it does not fit.

If I set

schema.MapAttribute{
			Computed:    true,
			ElementType: types.ListType{},
},

the provider fails to start

Error while loading schemas for plugin components: Failed to obtain provider schema: Could not load the schema for provider
│ registry.terraform.io/sftpgo/sftpgo: failed to retrieve schema from provider "registry.terraform.io/sftpgo/sftpgo": Plugin did not respond: The
│ plugin encountered an error, and failed to respond to the plugin6.(*GRPCProvider).GetProviderSchema call. The plugin logs may contain more
│ details...

any hints? Thank you

For now I mapped a StringType and I used strings.Join(v, “,”) to convert the slice to a string. Not sure if there is a better solution. Thanks