biocaddie / WG3-MetadataSpecifications

WG3 Metadata Specification
28 stars 13 forks source link

Allows Datasets to be ‘producedBy’ {‘DataAcquisition’,’DataAnalysis’ and ‘Study’} #65

Closed proccaserra closed 6 years ago

proccaserra commented 6 years ago

from:

   "producedBy" : {
        "description": "A study process which generated a given dataset, if any.",
        "$ref" : "study_schema.json#"
    },

To

   "producedBy" : {
        "description": "A study process which generated a given dataset, if any.",
        "items": {
            "anyOf": [
                {"$ref" : "study_schema.json#"},
                {"$ref" : "data_acquisition.json#"},
                {"$ref" : "data_analysis.json#"},
    },
agbeltran commented 6 years ago

+1 with this extension, but I would keep the cardinality of 'producedBy' to one process, do you agree?

agbeltran commented 6 years ago

Implementation with cardinality 0 or 1 in a branch - we can merge unless there are use cases needing an array.

agbeltran commented 6 years ago

We agreed to keep the range of 'producedBy' as a single object at the moment so as to identify the single most specific process producing the data.