Skip to content

Commit

Permalink
Added place_schema to dataset and activities and modified examples to…
Browse files Browse the repository at this point in the history
… satisfy new schemas
  • Loading branch information
agbeltran committed Mar 27, 2017
1 parent 59376a0 commit a70d22d
Show file tree
Hide file tree
Showing 9 changed files with 69 additions and 63 deletions.
106 changes: 55 additions & 51 deletions json-instances/ClinicalTrials.gov-NCT00001372.json
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
{
"identifier": {
"identifier": "https://clinicaltrials.gov/show/NCT00001372",
"identifierSource": "https://clinicaltrials.gov/show/NCT/\\d+"
},
"identifier": "https://clinicaltrials.gov/show/NCT00001372",
"identifierSource": "https://clinicaltrials.gov/show/NCT/\\d+"
},
"relatedIdentifiers": [
{
"identifier": "940066",
Expand Down Expand Up @@ -42,10 +42,10 @@
"primaryPublications" : [
{
"identifier":
{
"identifier": "7762914",
"identifierSource": "pubmed"
},
{
"identifier": "7762914",
"identifierSource": "pubmed"
},
"title": "Part 2: Dermatologic and joint disease, the antiphospholipid antibody syndrome, pregnancy and hormonal therapy, morbidity and mortality, and pathogenesis.",
"type" : {
"value" : "Review",
Expand Down Expand Up @@ -88,10 +88,10 @@
},
{
"identifier":
{
"identifier": "8144943",
"identifierSource": "pubmed"
},
{
"identifier": "8144943",
"identifierSource": "pubmed"
},
"title": "Accelerated in vitro apoptosis of lymphocytes from patients with systemic lupus erythematosus.",
"type" : {
"value" : "article",
Expand Down Expand Up @@ -122,8 +122,8 @@
},
{
"identifier": {
"identifier": "7511686",
"identifierSource": "pubmed"
"identifier": "7511686",
"identifierSource": "pubmed"
},
"title": "Autoantigens targeted in systemic lupus erythematosus are clustered in two populations of surface structures on apoptotic keratinocytes.",
"type" : {
Expand Down Expand Up @@ -172,9 +172,9 @@
{
"name": "Systemic Lupus Erythematosus",
"identifier": {
"identifier": "HP_0002725",
"identifierSource": "hpo"
}
"identifier": "HP_0002725",
"identifierSource": "hpo"
}
}
],
"selectionCriteria": [
Expand Down Expand Up @@ -203,7 +203,9 @@
"affiliations": [
{
"name" : "National Institute of Arthritis and Musculoskeletal and Skin Diseases (NIAMS)",
"postalAddress" : "concatenate (<city>Bethesda</city> <state>Maryland</state> <zip>20892</zip> <country>United States</country>)",
"location": {
"postalAddress": "concatenate (<city>Bethesda</city> <state>Maryland</state> <zip>20892</zip> <country>United States</country>)"
},
"roles" : [{
"value": "sponsor",
"valueIRI": ""
Expand All @@ -228,8 +230,10 @@
"email": "yenealem.temesgen-oyelakin@nih.gov",
"affiliations" : [
{
"name" : "National Institute of Arthritis and Musculoskeletal and Skin Diseases (NIAMS)",
"postalAddress" : "concatenate (<city>Bethesda</city> <state>Maryland</state> <zip>20892</zip> <country>United States</country>)",
"name": "National Institute of Arthritis and Musculoskeletal and Skin Diseases (NIAMS)",
"location": {
"postalAddress": "concatenate (<city>Bethesda</city> <state>Maryland</state> <zip>20892</zip> <country>United States</country>)"
},
"roles" : [{
"value" : "sponsor",
"valueIRI" : ""
Expand All @@ -246,7 +250,7 @@

],
"location" :{
"value" : "National Institutes of Health Clinical Center, 9000 Rockville Pike, United States"
"postalAddress" : "National Institutes of Health Clinical Center, 9000 Rockville Pike, United States"
},
"startDate" : {
"date": "February 1994",
Expand All @@ -258,8 +262,8 @@
"distributions" : [
{
"identifier": {
"identifier" : "1",
"identifierSource": ""
"identifier" : "1",
"identifierSource": ""
},
"dates": [
{
Expand All @@ -278,14 +282,14 @@
}
],
"access" : {
"landingPage": "https://clinicaltrials.gov/",
"accessURL" : "https://clinicaltrials.gov/show/NCT00001372?displayxml=true"
"landingPage": "https://clinicaltrials.gov/",
"accessURL" : "https://clinicaltrials.gov/show/NCT00001372?displayxml=true"
},
"conformsTo": [
{
"identifier": {
"identifier": "https://clinicaltrials.gov/ct2/html/images/info/public.xsd",
"identifierSource": ""
"identifier": "https://clinicaltrials.gov/ct2/html/images/info/public.xsd",
"identifierSource": ""
},
"name": "XSD",
"type": {
Expand All @@ -295,8 +299,8 @@
},
{
"identifier": {
"identifier": "https://clinicaltrials.gov/ct2/html/images/info/public.xsd",
"identifierSource": ""
"identifier": "https://clinicaltrials.gov/ct2/html/images/info/public.xsd",
"identifierSource": ""
},
"name": "XML",
"type": {
Expand All @@ -306,29 +310,29 @@
}
],
"storedIn" : {
"identifier": {
"identifier": "https://clinicaltrials.gov/ct2/home",
"identifierSource": "http"
},
"relatedIdentifiers": [
{
"identifier": "https://biosharing.org/biodbcore-000470",
"identifierSource": "BioSharing"
}
],
"name": "ClinicalTrials.gov",
"licenses" : [
{
"name": ""
}
],
"types" :[
{
"value" : "primary repository",
"valueIRI" : ""
}
],
"version": ""
"identifier": {
"identifier": "https://clinicaltrials.gov/ct2/home",
"identifierSource": "http"
},
"relatedIdentifiers": [
{
"identifier": "https://biosharing.org/biodbcore-000470",
"identifierSource": "BioSharing"
}
],
"name": "ClinicalTrials.gov",
"licenses" : [
{
"name": ""
}
],
"types" :[
{
"value" : "primary repository",
"valueIRI" : ""
}
],
"version": ""
},
"size": -1,
"unit" : {
Expand Down
8 changes: 5 additions & 3 deletions json-instances/DBgap-phs000979.v1.p1.json
Original file line number Diff line number Diff line change
Expand Up @@ -477,7 +477,7 @@
{
"name": "Intramural Research Program",
"abbreviation" : "IRP",
"postalAddress" : "National Institutes of Health, Bethesda, MD, USA"
"location": { "postalAddress" : "National Institutes of Health, Bethesda, MD, USA" }
}

]
Expand Down Expand Up @@ -549,7 +549,7 @@
"affiliations": [
{
"name": "National Institutes of Health",
"postalAddress": "Bethesda, Maryland, 20892, United States",
"location": { "postalAddress": "Bethesda, Maryland, 20892, United States" },
"roles": [
{
"value": "sponsor",
Expand All @@ -570,7 +570,9 @@
]
}
],
"location": {"value": "National Institutes of Health, Bethesda, 9000 Rockville Pike, United States"},
"location": {
"postalAddress": "National Institutes of Health, Bethesda, 9000 Rockville Pike, United States"
},
"dates": [
{
"date": "2015-08-24",
Expand Down
2 changes: 1 addition & 1 deletion json-schemas/activity_schema.json
Original file line number Diff line number Diff line change
Expand Up @@ -61,7 +61,7 @@
},
"location" : {
"description": "The location where the activity takes place.",
"$ref" : "annotation_schema.json#"
"$ref" : "place_schema.json#"
},
"performedBy" : {
"description": "The person(s) or organisation(s) responsible for executing the process.",
Expand Down
2 changes: 1 addition & 1 deletion json-schemas/data_acquisition_schema.json
Original file line number Diff line number Diff line change
Expand Up @@ -61,7 +61,7 @@
},
"location" : {
"description": "The location where the activity takes place.",
"$ref" : "annotation_schema.json#"
"$ref" : "place_schema.json#"
},
"performedBy" : {
"description": "The person(s) or organisation(s) responsible for executing the process.",
Expand Down
2 changes: 1 addition & 1 deletion json-schemas/data_analysis_schema.json
Original file line number Diff line number Diff line change
Expand Up @@ -61,7 +61,7 @@
},
"location" : {
"description": "The location where the activity takes place.",
"$ref" : "annotation_schema.json#"
"$ref" : "place_schema.json#"
},
"performedBy" : {
"description": "The person(s) or organisation(s) responsible for executing the process.",
Expand Down
2 changes: 1 addition & 1 deletion json-schemas/dataset_schema.json
Original file line number Diff line number Diff line change
Expand Up @@ -55,7 +55,7 @@
"description": "The geographical extension and span covered by the dataset and its measured dimensions/variables.",
"type" : "array",
"items" : {
"$ref" : "annotation_schema.json#"
"$ref" : "place_schema.json#"
}
},
"types" : {
Expand Down
6 changes: 3 additions & 3 deletions json-schemas/organization_schema.json
Original file line number Diff line number Diff line change
Expand Up @@ -40,9 +40,9 @@
"description": "The shortname, abbreviation associated to the organization.",
"type" : "string"
},
"postalAddress": {
"description": "The postal, street address associated to the organization.",
"type" : "string"
"location": {
"description": "The place where the organization is located.",
"$ref" : "place_schema.json#"
},
"roles" : {
"description": "The roles of the organization (ideally from a controlled vocabulary/ontology).",
Expand Down
2 changes: 1 addition & 1 deletion json-schemas/study_schema.json
Original file line number Diff line number Diff line change
Expand Up @@ -68,7 +68,7 @@
},
"location": {
"description": "The location where the activity takes place.",
"$ref": "annotation_schema.json#"
"$ref": "place_schema.json#"
},
"performedBy": {
"description": "The person(s) or organisation(s) responsible for executing the process.",
Expand Down
2 changes: 1 addition & 1 deletion json-schemas/treatment_schema.json
Original file line number Diff line number Diff line change
Expand Up @@ -61,7 +61,7 @@
},
"location" : {
"description": "The location where the activity takes place.",
"$ref" : "annotation_schema.json#"
"$ref" : "place_schema.json#"
},
"performedBy" : {
"description": "The person(s) or organisation(s) responsible for executing the process.",
Expand Down

0 comments on commit a70d22d

Please sign in to comment.