It might be useful to have at least one resource element as an example in the documentation. It was not obvious to me that I could get the raw property from list-details. Even as I read it again with the extra knowledge, it's not obvious to me. I'm guessing it falls under 'resource type'.
I have slightly modified the description of the function. You are invited to edit our Wiki articles whenever you feel that some particular information is missing!