The following inconsistencies should be addressed:
do we consider the base results directory its own filesystem (first snippet)?
if so, then the root of the file system should have path == '/' and name == '/'
if not, then shouldn't both path and name should be blank?
Assuming yes on the previous point:
then all path attributes on all children should be proceeded by / (slash) otherwise we're using model i for root node and model ii for child nodes
Thoughts?
One last point: the path field seems a little redundant in our datasets. Perhaps path could be removed for all file type objects as the full path can be determined by parent directory path + filename
Treat base results directory as virtual filesystem root. Therefore add slash before directory path and attribute. The name for the base directory is /.
Take the following snippets of valid JSON returned from https://staging.ecosounds.org/analysis_jobs/system/audio_recordings/187684/ and https://staging.ecosounds.org/analysis_jobs/system/audio_recordings/187684/Towsey.Acoustic:
The following inconsistencies should be addressed:
path == '/'
andname == '/'
path
andname
should be blank?Assuming yes on the previous point:
path
attributes on all children should be proceeded by/
(slash) otherwise we're using model i for root node and model ii for child nodesThoughts?
One last point: the
path
field seems a little redundant in our datasets. Perhapspath
could be removed for allfile
type objects as the full path can be determined by parent directorypath
+filename