datatagsuite / schema

DATS JSON schemas
https://datatagsuite.github.io/docs/html/dats.html
Other
11 stars 8 forks source link

Dataset schema : producedBy #8

Open terazus opened 6 years ago

terazus commented 6 years ago

Is there a case where a dataset may be producedBy more than one event among a study, a data acquisition and a data analysis ? The current model only allows for one value but the fix should be easy to implement (and backward compatible).

agbeltran commented 6 years ago

Thanks - as 'producedBy' allows study, data_acquisition and data_analysis as values, we could potentially provide two values (as the data_acquisition process may belong to a study, so we could provide both). However, my first thought is that it is enough to provide one process that produced that data, and the relationship between processes can be worked out separately. This is the representation we chose.

If there is a use case where having multiple values is important, we need to considered it. But it won't be backward compatible so we need to make sure we deal with this in phases to allow for implementations to update.