Nested Resources
Some datasets need to contain a Zip file (or tar, other formats) containing a set of files.
This might happen for practical reasons (datasets containing thousands of files) or for technical limitations (for example, currently Zenodo doesn’t support subdirectories and datasets might need subdirectory structures to be useful).
Implementations
There are no known implementations at present.
Specification
The resources
in a data-package
can contain “recursive resources”: identifying
a new resource.
Example
For a .tar.gz
it would be the same changing the "format"
and the
"mediatype"
.
Types of files
Support for Zip
and tar.gz
might be enough: hopefully everything can be
re-packaged using these formats.
To keep the implementation and testing testing: only one recursive level is
possible. A resource
can list resources
inside (like in the example). But
the inner resources cannot contain resources again.