Path by genre

Hi everyone. I want to create a custom path. A genre directory is only created if it is equal to “Jazz” genre. What is the best way to do this?
I’ve looked for some similar questions but I don’t see a clear example of the syntax.

Thanks in advance

How about this?

paths:
    genre:jazz: $genre/$albumartist/…
    default: $your_default_path_here

Great! Thanks for your quick answer and for this software masterpiece