Yes, a custom data resource will have a top-level 'href' attribute (and others).  Any attribute value the end-user specifies can be it's own full blown JSON object or Array with whatever data they prefer.

However, the custom data resource itself (and all other Stormpath resources) are guaranteed to have an 'href' attribute.