Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 4 additions & 0 deletions gdcdictionary/schemas/_terms.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
87 changes: 87 additions & 0 deletions gdcdictionary/schemas/wearable_activity_monitor_file.yaml
Original file line number Diff line number Diff line change
@@ -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"