Would it be worth providing an example of what resourceData could be (e.g. for a comment)?