'Get a list of collections for this resource.
:type: list(:py:class:`Collection`)'

@property
def collections(self):

    collections = []
    for (name, item) in self._definition.get('hasMany', {}).items():
        name = self._get_name('collection', name)
        collections.append(Collection(name, item, self._resource_defs))
    return collections
