Skip to content

Commit

Permalink
Adding description attribute to activity classes - closes #30
Browse files Browse the repository at this point in the history
  • Loading branch information
agbeltran committed Aug 25, 2016
1 parent 97fd07a commit 2b2de9a
Show file tree
Hide file tree
Showing 5 changed files with 25 additions and 5 deletions.
6 changes: 5 additions & 1 deletion json-schemas/activity_schema.json
Original file line number Diff line number Diff line change
Expand Up @@ -29,6 +29,10 @@
"description": "The name of the activity, usually one sentece or short description of the activity.",
"type" : "string"
},
"description" : {
"description": "A textual narrative comprised of one or more statements describing the activity.",
"type" : "string"
},
"startDate": {
"description": "A timestamp to record the starting point of the activity.",
"$ref": "date_info_schema.json#"
Expand All @@ -37,7 +41,7 @@
"description": "A timestamp to record the end point of the activity.",
"$ref": "date_info_schema.json#"
},
"dates" : {
"dates" : {
"description": "Relevant dates for the datasets, a date must be added, e.g. creation date or last modification date should be added.",
"type" : "array",
"items" : {
Expand Down
6 changes: 5 additions & 1 deletion json-schemas/data_acquisition_schema.json
Original file line number Diff line number Diff line change
Expand Up @@ -26,9 +26,13 @@
}
},
"name": {
"description": "The name of the activity, usually one sentece or short description of the activity.",
"description": "The name of the activity, usually one sentece or short description of the data acquisition.",
"type" : "string"
},
"description" : {
"description": "A textual narrative comprised of one or more statements describing the data acquisition.",
"type" : "string"
},
"startDate": {
"description": "A timestamp to record the starting point of the activity.",
"$ref": "date_info_schema.json#"
Expand Down
6 changes: 5 additions & 1 deletion json-schemas/data_analysis_schema.json
Original file line number Diff line number Diff line change
Expand Up @@ -26,9 +26,13 @@
}
},
"name": {
"description": "The name of the activity, usually one sentece or short description of the activity.",
"description": "The name of the activity, usually one sentece or short description of the data analysis.",
"type" : "string"
},
"description" : {
"description": "A textual narrative comprised of one or more statements describing the data analysis.",
"type" : "string"
},
"startDate": {
"description": "A timestamp to record the starting point of the activity.",
"$ref": "date_info_schema.json#"
Expand Down
6 changes: 5 additions & 1 deletion json-schemas/study_schema.json
Original file line number Diff line number Diff line change
Expand Up @@ -26,9 +26,13 @@
}
},
"name": {
"description": "The name of the activity, usually one sentece or short description of the activity.",
"description": "The name of the activity, usually one sentece or short description of the study.",
"type": "string"
},
"description" : {
"description": "A textual narrative comprised of one or more statements describing the study.",
"type" : "string"
},
"types": {
"description": "The types of study (e.g. intervention or observation or meta-analysis or clinical trials, or behavioural study, or the study design).",
"type": "array",
Expand Down
6 changes: 5 additions & 1 deletion json-schemas/treatment_schema.json
Original file line number Diff line number Diff line change
Expand Up @@ -26,9 +26,13 @@
}
},
"name": {
"description": "The name of the activity, usually one sentece or short description of the activity.",
"description": "The name of the activity, usually one sentece or short description of the treatment.",
"type" : "string"
},
"description" : {
"description": "A textual narrative comprised of one or more statements describing the treatment.",
"type" : "string"
},
"startDate": {
"description": "A timestamp to record the starting point of the activity.",
"$ref": "date_info_schema.json#"
Expand Down

0 comments on commit 2b2de9a

Please sign in to comment.