Skip to content

Commit

Permalink
adding more stuff
Browse files Browse the repository at this point in the history
  • Loading branch information
calmacx committed Oct 4, 2023
1 parent 1c774bb commit 0227ce6
Show file tree
Hide file tree
Showing 3 changed files with 330 additions and 4 deletions.
127 changes: 126 additions & 1 deletion hdr_schemata/models/GWDM/1.1/schema.json
Original file line number Diff line number Diff line change
Expand Up @@ -176,6 +176,30 @@
],
"title": "AgeRange"
},
"Anthropometric": {
"anyOf": [
{
"pattern": "\\b(?:Blood Pressure|Hip Circumference|Height|Waist Circumference|Weight)(?:,(?:Blood Pressure|Hip Circumference|Height|Waist Circumference|Weight))*\\b",
"type": "string"
},
{
"type": "null"
}
],
"title": "Anthropometric"
},
"BiologicalSamples": {
"anyOf": [
{
"pattern": "\\b(?:Blood|Other|Urine|Saliva)(?:,(?:Blood|Other|Urine|Saliva))*\\b",
"type": "string"
},
{
"type": "null"
}
],
"title": "BiologicalSamples"
},
"CommaSeparatedValues": {
"anyOf": [
{
Expand Down Expand Up @@ -260,6 +284,71 @@
"example": "1-150",
"title": "Typical Age Range"
},
"gender": {
"anyOf": [
{
"$ref": "#/$defs/Gender"
},
{
"type": "null"
}
],
"default": null,
"description": "Male, Female, Other",
"title": "Gender"
},
"biologicalsamples": {
"anyOf": [
{
"$ref": "#/$defs/BiologicalSamples"
},
{
"type": "null"
}
],
"default": null,
"description": "Blood, Saliva, Urine, Other",
"title": "Biological Samples"
},
"psychological": {
"anyOf": [
{
"$ref": "#/$defs/Psychological"
},
{
"type": "null"
}
],
"default": null,
"description": "Mental health, Cognitive function",
"title": "Psychological"
},
"physical": {
"anyOf": [
{
"$ref": "#/$defs/Physical"
},
{
"type": "null"
}
],
"default": null,
"description": "Cardiovascular, Respiratory, Musculoskeletal, Hearing and Vision, Reproductive",
"title": "Physical"
},
"anthropometric": {
"anyOf": [
{
"$ref": "#/$defs/Anthropometric"
},
{
"type": "null"
}
],
"default": null,
"description": "Height, Weight, Waist circumference, Hip circumference, Blood pressure",
"title": "Anthropometric"
},
"lifestyle": {
"anyOf": [
{
Expand All @@ -283,7 +372,7 @@
}
],
"default": null,
"description": "Description of Occupation, Family circumstances, Housing, Education, Ethnic group, Martial status, Social support",
"description": "Occupation, Family circumstances, Housing, Education, Ethnic group, Martial status, Social support",
"title": "Socio-economic"
}
},
Expand Down Expand Up @@ -627,6 +716,18 @@
"title": "FormatAndStandards",
"type": "object"
},
"Gender": {
"anyOf": [
{
"pattern": "\\b(?:Male|Female|Other)(?:,(?:Male|Female|Other))*\\b",
"type": "string"
},
{
"type": "null"
}
],
"title": "Gender"
},
"Lifestyles": {
"anyOf": [
{
Expand Down Expand Up @@ -907,6 +1008,18 @@
],
"title": "Periodicity"
},
"Physical": {
"anyOf": [
{
"pattern": "\\b(?:Respiratory|Vision|Hearing |Musculoskeletal|Cardiovascular|Reproductive)(?:,(?:Respiratory|Vision|Hearing |Musculoskeletal|Cardiovascular|Reproductive))*\\b",
"type": "string"
},
{
"type": "null"
}
],
"title": "Physical"
},
"Provenance": {
"additionalProperties": false,
"properties": {
Expand All @@ -931,6 +1044,18 @@
"title": "Provenance",
"type": "object"
},
"Psychological": {
"anyOf": [
{
"pattern": "\\b(?:Cognitive Function|Mental Health)(?:,(?:Cognitive Function|Mental Health))*\\b",
"type": "string"
},
{
"type": "null"
}
],
"title": "Psychological"
},
"Publisher": {
"properties": {
"publisherName": {
Expand Down
127 changes: 126 additions & 1 deletion hdr_schemata/models/GWDM/latest/schema.json
Original file line number Diff line number Diff line change
Expand Up @@ -176,6 +176,30 @@
],
"title": "AgeRange"
},
"Anthropometric": {
"anyOf": [
{
"pattern": "\\b(?:Blood Pressure|Hip Circumference|Height|Waist Circumference|Weight)(?:,(?:Blood Pressure|Hip Circumference|Height|Waist Circumference|Weight))*\\b",
"type": "string"
},
{
"type": "null"
}
],
"title": "Anthropometric"
},
"BiologicalSamples": {
"anyOf": [
{
"pattern": "\\b(?:Blood|Other|Urine|Saliva)(?:,(?:Blood|Other|Urine|Saliva))*\\b",
"type": "string"
},
{
"type": "null"
}
],
"title": "BiologicalSamples"
},
"CommaSeparatedValues": {
"anyOf": [
{
Expand Down Expand Up @@ -260,6 +284,71 @@
"example": "1-150",
"title": "Typical Age Range"
},
"gender": {
"anyOf": [
{
"$ref": "#/$defs/Gender"
},
{
"type": "null"
}
],
"default": null,
"description": "Male, Female, Other",
"title": "Gender"
},
"biologicalsamples": {
"anyOf": [
{
"$ref": "#/$defs/BiologicalSamples"
},
{
"type": "null"
}
],
"default": null,
"description": "Blood, Saliva, Urine, Other",
"title": "Biological Samples"
},
"psychological": {
"anyOf": [
{
"$ref": "#/$defs/Psychological"
},
{
"type": "null"
}
],
"default": null,
"description": "Mental health, Cognitive function",
"title": "Psychological"
},
"physical": {
"anyOf": [
{
"$ref": "#/$defs/Physical"
},
{
"type": "null"
}
],
"default": null,
"description": "Cardiovascular, Respiratory, Musculoskeletal, Hearing and Vision, Reproductive",
"title": "Physical"
},
"anthropometric": {
"anyOf": [
{
"$ref": "#/$defs/Anthropometric"
},
{
"type": "null"
}
],
"default": null,
"description": "Height, Weight, Waist circumference, Hip circumference, Blood pressure",
"title": "Anthropometric"
},
"lifestyle": {
"anyOf": [
{
Expand All @@ -283,7 +372,7 @@
}
],
"default": null,
"description": "Description of Occupation, Family circumstances, Housing, Education, Ethnic group, Martial status, Social support",
"description": "Occupation, Family circumstances, Housing, Education, Ethnic group, Martial status, Social support",
"title": "Socio-economic"
}
},
Expand Down Expand Up @@ -627,6 +716,18 @@
"title": "FormatAndStandards",
"type": "object"
},
"Gender": {
"anyOf": [
{
"pattern": "\\b(?:Male|Female|Other)(?:,(?:Male|Female|Other))*\\b",
"type": "string"
},
{
"type": "null"
}
],
"title": "Gender"
},
"Lifestyles": {
"anyOf": [
{
Expand Down Expand Up @@ -907,6 +1008,18 @@
],
"title": "Periodicity"
},
"Physical": {
"anyOf": [
{
"pattern": "\\b(?:Respiratory|Vision|Hearing |Musculoskeletal|Cardiovascular|Reproductive)(?:,(?:Respiratory|Vision|Hearing |Musculoskeletal|Cardiovascular|Reproductive))*\\b",
"type": "string"
},
{
"type": "null"
}
],
"title": "Physical"
},
"Provenance": {
"additionalProperties": false,
"properties": {
Expand All @@ -931,6 +1044,18 @@
"title": "Provenance",
"type": "object"
},
"Psychological": {
"anyOf": [
{
"pattern": "\\b(?:Cognitive Function|Mental Health)(?:,(?:Cognitive Function|Mental Health))*\\b",
"type": "string"
},
{
"type": "null"
}
],
"title": "Psychological"
},
"Publisher": {
"properties": {
"publisherName": {
Expand Down
Loading

0 comments on commit 0227ce6

Please sign in to comment.