I was thinking exactly the same thing. Maybe it would be even better to only accept that resource to abstract away the mapping. Same thing for domains, since you need to domain to be present as well.