created JSdoc for Resource