diff --git a/gdcdictionary/schemas/_terms.yaml b/gdcdictionary/schemas/_terms.yaml index eb3fb40..7e22ff0 100644 --- a/gdcdictionary/schemas/_terms.yaml +++ b/gdcdictionary/schemas/_terms.yaml @@ -1072,6 +1072,10 @@ microsatellite_instability_abnormal: cde_version: 1.0 term_url: "https://cdebrowser.nci.nih.gov/CDEBrowser/search?elementDetails=9&FirstTimer=0&PageId=ElementDetailsGroup&publicId=3123142&version=1.0" +monitor_name: # TOREVIEW + description: > + Name of the monitor used to collect the data. + morphology: description: > The third edition of the International Classification of Diseases for Oncology, published in diff --git a/gdcdictionary/schemas/wearable_activity_monitor_file.yaml b/gdcdictionary/schemas/wearable_activity_monitor_file.yaml new file mode 100644 index 0000000..29fad6a --- /dev/null +++ b/gdcdictionary/schemas/wearable_activity_monitor_file.yaml @@ -0,0 +1,87 @@ +$schema: "http://json-schema.org/draft-04/schema#" + +id: "wearable_activity_monitor_file" +title: Wearable Activity Monitor File +type: object +namespace: https://niaid.bionimbus.org +category: data_file +program: '*' +project: '*' +description: > + File containing raw or summarized data from a wearable activity monitor. +additionalProperties: false +submittable: true +validators: null + +systemProperties: + - id + - project_id + - state + - created_datetime + - updated_datetime + +links: + - exclusive: false + required: true + subgroup: + - name: core_metadata_collections + backref: wearable_activity_monitor_files + label: data_from + target_type: core_metadata_collection + multiplicity: many_to_one + required: false + - name: subjects + backref: wearable_activity_monitor_files + label: data_from + target_type: subject + multiplicity: many_to_one + required: false + +uniqueKeys: + - [id] + - [project_id, submitter_id] + +required: + - type + - submitter_id + - file_name + - file_size + - md5sum + - data_category + - data_type + - data_format + - monitor_name + +properties: + $ref: "_definitions.yaml#/data_file_properties" + + type: + enum: [ "wearable_activity_monitor_file" ] + + data_category: + term: + $ref: "_terms.yaml#/data_category" + enum: + - Wearable Activity Monitor File + - Wearable Activity Monitor File Supplement + + data_type: + term: + $ref: "_terms.yaml#/data_type" + type: string + + data_format: + term: + $ref: "_terms.yaml#/data_format" + enum: + - PARQUET + + monitor_name: + term: + $ref: "_terms.yaml#/monitor_name" + type: string + + subjects: + $ref: "_definitions.yaml#/to_one" + core_metadata_collections: + $ref: "_definitions.yaml#/to_one"