Wouldn't an array of resourceTypes make more sense? I believe that is also how they would be received from the browser.