From 9237247a2fc9a3be4b19ab594d7318135e43a864 Mon Sep 17 00:00:00 2001 From: flaneuse Date: Mon, 25 Oct 2021 13:59:38 -0700 Subject: [PATCH 1/2] Updated keywords to text, dates as date type --- outbreak_resources_es_mapping_v3.json | 118 +++++++++++++------------- 1 file changed, 61 insertions(+), 57 deletions(-) diff --git a/outbreak_resources_es_mapping_v3.json b/outbreak_resources_es_mapping_v3.json index 5844061..92e84ee 100644 --- a/outbreak_resources_es_mapping_v3.json +++ b/outbreak_resources_es_mapping_v3.json @@ -18,7 +18,7 @@ "type": "keyword" }, "name": { - "type": "keyword", + "type": "text", "copy_to": ["all"] }, "description": { @@ -35,7 +35,7 @@ "type": "keyword" }, "name": { - "type": "keyword", + "type": "text", "copy_to": ["all"] }, "category": { @@ -58,7 +58,7 @@ "affiliation": { "properties": { "name": { - "type": "keyword", + "type": "text", "copy_to": ["all"] } } @@ -76,7 +76,7 @@ "copy_to": ["all"] }, "role": { - "type": "keyword" + "type": "text" }, "title": { "type": "text" @@ -98,7 +98,7 @@ "type": "text" }, "datePublished": { - "type": "text" + "type": "date" }, "description": { "type": "text" @@ -133,7 +133,7 @@ "copy_to": ["all"] }, "datePublished": { - "type": "text" + "type": "date" }, "doi": { "type": "text", @@ -155,12 +155,12 @@ "creator": { "properties": { "@type": { - "type": "text" + "type": "keyword" }, "affiliation": { "properties": { "name": { - "type": "keyword", + "type": "text", "copy_to": ["all"] } } @@ -178,7 +178,7 @@ "copy_to": ["all"] }, "role": { - "type": "keyword" + "type": "text" }, "title": { "type": "text" @@ -188,20 +188,20 @@ "curatedBy": { "properties": { "@type": { - "type": "text" + "type": "keyword" }, "identifier": { "type": "keyword" }, "name": { - "type": "keyword", + "type": "text", "copy_to": ["all"] }, "url": { "type": "text" }, "versionDate": { - "type": "keyword" + "type": "date" } } }, @@ -209,13 +209,13 @@ "type": "date" }, "dateCreated": { - "type": "keyword" + "type": "date" }, "dateModified": { - "type": "keyword" + "type": "date" }, "datePublished": { - "type": "keyword" + "type": "date" }, "description": { "type": "text", @@ -231,22 +231,22 @@ "type": "text" }, "dateCreated": { - "type": "keyword" + "type": "date" }, "dateModified": { - "type": "keyword" + "type": "date" }, "datePublished": { - "type": "keyword" + "type": "date" }, "description": { "type": "text" }, "@id": { - "type": "keyword" + "type": "text" }, "name": { - "type": "keyword" + "type": "text" } } }, @@ -295,7 +295,7 @@ }, "reviewAspect": { "type": "text", - "copy_to": ["all"] + "copy_to": ["all"] }, "reviewBody": { "type": "text", @@ -309,7 +309,7 @@ "affiliation": { "properties": { "name": { - "type": "keyword", + "type": "text", "copy_to": ["all"] } } @@ -347,7 +347,7 @@ }, "reviewAspect": { "type": "text", - "copy_to": ["all"] + "copy_to": ["all"] }, "author": { "properties": { @@ -357,7 +357,7 @@ "affiliation": { "properties": { "name": { - "type": "keyword", + "type": "text", "copy_to": ["all"] } } @@ -399,7 +399,7 @@ }, "reviewAspect": { "type": "text", - "copy_to": ["all"] + "copy_to": ["all"] }, "author": { "properties": { @@ -409,7 +409,7 @@ "affiliation": { "properties": { "name": { - "type": "keyword", + "type": "text", "copy_to": ["all"] } } @@ -439,7 +439,7 @@ "name": { "type": "text", "copy_to": ["all"] - } + } } } } @@ -451,7 +451,7 @@ }, "reviewAspect": { "type": "text", - "copy_to": ["all"] + "copy_to": ["all"] }, "author": { "properties": { @@ -461,7 +461,7 @@ "affiliation": { "properties": { "name": { - "type": "keyword", + "type": "text", "copy_to": ["all"] } } @@ -491,7 +491,7 @@ "name": { "type": "text", "copy_to": ["all"] - } + } } } } @@ -501,14 +501,14 @@ "funder": { "properties": { "name": { - "type": "keyword", + "type": "text", "copy_to": ["all"] }, "class": { - "type": "keyword" + "type": "text" }, "role": { - "type": "keyword" + "type": "text" }, "url": { "type": "text", @@ -542,7 +542,7 @@ "copy_to": ["all"] }, "identifierSource": { - "type": "keyword", + "type": "text", "copy_to": ["all"] }, "inComplianceWith": { @@ -562,7 +562,7 @@ "type": "keyword" }, "name": { - "type": "keyword", + "type": "text", "copy_to": ["all"] }, "category": { @@ -587,7 +587,7 @@ "type": "text" }, "datePublished": { - "type": "text" + "type": "date" }, "description": { "type": "text" @@ -616,15 +616,15 @@ "type": "text" }, "journalName": { - "type": "keyword", + "type": "text", "copy_to": ["all"] }, "journalNameAbbrev": { - "type": "keyword", + "type": "text", "copy_to": ["all"] }, "keywords": { - "type": "keyword", + "type": "text", "index": true, "copy_to": ["all"] }, @@ -638,16 +638,16 @@ "measurementParameter": { "properties": { "resolution": { - "type": "keyword" + "type": "text" } } }, "measurementTechnique": { - "type": "keyword", + "type": "text", "copy_to": ["all"] }, "name": { - "type": "keyword", + "type": "text", "index": true, "copy_to": ["all"] }, @@ -682,6 +682,10 @@ "type": "keyword", "copy_to": ["all"] }, + "protocolStatus": { + "type": "keyword", + "copy_to": ["all"] + }, "publicationType": { "type": "keyword", "copy_to": ["all"] @@ -698,7 +702,7 @@ "type": "text" }, "datePublished": { - "type": "text" + "type": "date" }, "description": { "type": "text" @@ -725,16 +729,16 @@ }, "infectiousDisease": { "normalizer": "keyword_lowercase_normalizer", - "type": "keyword", + "type": "text", "copy_to": ["all"] }, "infectiousAgent": { "normalizer": "keyword_lowercase_normalizer", - "type": "keyword", + "type": "text", "copy_to": ["all"] }, "species": { - "type": "keyword", + "type": "text", "copy_to": ["all"] }, "sponsor": { @@ -743,15 +747,15 @@ "type": "keyword" }, "name": { - "type": "keyword", + "type": "text", "copy_to": ["all"] }, "class": { - "type": "keyword", + "type": "text", "copy_to": ["all"] }, "role": { - "type": "keyword" + "type": "text" } } }, @@ -802,7 +806,7 @@ "type": "text" }, "studyEventDate": { - "type": "text" + "type": "date" }, "studyEventDateType": { "type": "text" @@ -815,19 +819,19 @@ "type": "keyword" }, "name": { - "type": "keyword", + "type": "text", "copy_to": ["all"] }, "studyLocationCity": { - "type": "keyword", + "type": "text", "copy_to": ["all"] }, "studyLocationState": { - "type": "keyword", + "type": "text", "copy_to": ["all"] }, "studyLocationCountry": { - "type": "keyword", + "type": "text", "copy_to": ["all"] }, "studyLocationStatus": { @@ -846,7 +850,7 @@ "copy_to": ["all"] }, "statusDate": { - "type": "text" + "type": "date" }, "whyStopped": { "type": "text", @@ -875,13 +879,13 @@ "type": "text" }, "variableMeasured": { - "type": "keyword", + "type": "text", "copy_to": ["all"] }, "volumeNumber": { "type": "text" }, "@id": { - "type": "keyword" + "type": "text" } } From 6c67d5f6d34bbec29a1e7ac66b8bc0e1805d6c8f Mon Sep 17 00:00:00 2001 From: flaneuse Date: Mon, 25 Oct 2021 15:09:15 -0700 Subject: [PATCH 2/2] remove outdated mapping files to avoid confusion --- outbreak_resources_es_mapping.json | 649 ------------------------- outbreak_resources_es_mapping_v2.json | 653 -------------------------- 2 files changed, 1302 deletions(-) delete mode 100644 outbreak_resources_es_mapping.json delete mode 100644 outbreak_resources_es_mapping_v2.json diff --git a/outbreak_resources_es_mapping.json b/outbreak_resources_es_mapping.json deleted file mode 100644 index b83be6b..0000000 --- a/outbreak_resources_es_mapping.json +++ /dev/null @@ -1,649 +0,0 @@ -{ - "@type": { - "type": "keyword", - "copy_to": ["all"] - }, - "abstract": { - "type": "text", - "copy_to": ["all"] - }, - "alternateName": { - "type": "text", - "copy_to": ["all"] - }, - "armGroup": { - "properties": { - "@type": { - "type": "keyword" - }, - "name": { - "type": "keyword", - "copy_to": ["all"] - }, - "description": { - "type": "text", - "copy_to": ["all"] - }, - "role": { - "type": "keyword", - "copy_to": ["all"] - }, - "intervention": { - "properties": { - "@type": { - "type": "keyword" - }, - "name": { - "type": "keyword", - "copy_to": ["all"] - }, - "category": { - "type": "keyword", - "copy_to": ["all"] - }, - "description": { - "type": "text", - "copy_to": ["all"] - } - } - } - } - }, - "author": { - "properties": { - "@type": { - "type": "text" - }, - "affiliation": { - "properties": { - "name": { - "type": "keyword", - "copy_to": ["all"] - } - } - }, - "familyName": { - "type": "text", - "copy_to": ["all"] - }, - "givenName": { - "type": "text", - "copy_to": ["all"] - }, - "name": { - "type": "text", - "copy_to": ["all"] - }, - "role": { - "type": "keyword" - }, - "title": { - "type": "text" - } - } - }, - "citation": { - "type": "text" - }, - "citedBy": { - "properties": { - "@type": { - "type": "keyword" - }, - "abstract": { - "type": "text" - }, - "citation": { - "type": "text" - }, - "datePublished": { - "type": "text" - }, - "description": { - "type": "text" - }, - "doi": { - "type": "text", - "copy_to": ["all"] - }, - "identifier": { - "type": "text", - "copy_to": ["all"] - }, - "name": { - "type": "text" - }, - "pmid": { - "type": "text", - "copy_to": ["all"] - }, - "url": { - "type": "text" - } - } - }, - "correction": { - "type": "text" - }, - "creator": { - "properties": { - "@type": { - "type": "text" - }, - "affiliation": { - "properties": { - "name": { - "type": "keyword", - "copy_to": ["all"] - } - } - }, - "familyName": { - "type": "text", - "copy_to": ["all"] - }, - "givenName": { - "type": "text", - "copy_to": ["all"] - }, - "name": { - "type": "text", - "copy_to": ["all"] - }, - "role": { - "type": "keyword" - }, - "title": { - "type": "text" - } - } - }, - "curatedBy": { - "properties": { - "@type": { - "type": "text" - }, - "identifier": { - "type": "keyword" - }, - "name": { - "type": "keyword", - "copy_to": ["all"] - }, - "url": { - "type": "text" - }, - "versionDate": { - "type": "keyword" - } - } - }, - "date": { - "type": "date" - }, - "dateCreated": { - "type": "keyword" - }, - "dateModified": { - "type": "keyword" - }, - "datePublished": { - "type": "keyword" - }, - "description": { - "type": "text", - "copy_to": ["all"] - }, - "distribution": { - "properties": { - "@type": { - "type": "keyword" - }, - "contentUrl": { - "type": "text" - }, - "dateCreated": { - "type": "keyword" - }, - "dateModified": { - "type": "keyword" - }, - "datePublished": { - "type": "keyword" - }, - "description": { - "type": "text" - }, - "@id": { - "type": "keyword" - }, - "name": { - "type": "keyword" - } - } - }, - "doi": { - "type": "text", - "copy_to": ["all"] - }, - "duration": { - "type": "text" - }, - "eligibilityCriteria": { - "properties": { - "@type": { - "type": "keyword" - }, - "inclusionCriteria": { - "type": "text", - "copy_to": ["all"] - }, - "exclusionCriteria": { - "type": "text", - "copy_to": ["all"] - }, - "minimumAge": { - "type": "text" - }, - "maximumAge": { - "type": "text" - }, - "gender": { - "type": "text" - }, - "healthyVolunteers": { - "type": "boolean" - }, - "stdAge": { - "type": "text", - "copy_to": ["all"] - } - } - }, - "funding": { - "properties": { - "funder": { - "properties": { - "name": { - "type": "keyword", - "copy_to": ["all"] - }, - "class": { - "type": "keyword" - }, - "role": { - "type": "keyword" - }, - "url": { - "type": "text", - "copy_to": ["all"] - } - } - }, - "identifier": { - "type": "text", - "copy_to": ["all"] - }, - "description": { - "type": "text", - "copy_to": ["all"] - }, - "url": { - "type": "text", - "copy_to": ["all"] - } - } - }, - "hasResults": { - "type": "boolean" - }, - "healthCondition": { - "type": "text", - "copy_to": ["all"] - }, - "identifier": { - "type": "text", - "copy_to": ["all"] - }, - "identifierSource": { - "type": "keyword", - "copy_to": ["all"] - }, - "inComplianceWith": { - "type": "text" - }, - "instrument": { - "type": "text", - "copy_to": ["all"] - }, - "interventionText": { - "type": "text", - "copy_to": ["all"] - }, - "interventions": { - "properties": { - "@type": { - "type": "keyword" - }, - "name": { - "type": "keyword", - "copy_to": ["all"] - }, - "category": { - "type": "keyword", - "copy_to": ["all"] - }, - "description": { - "type": "text", - "copy_to": ["all"] - } - } - }, - "isBasedOn": { - "properties": { - "@type": { - "type": "keyword" - }, - "abstract": { - "type": "text" - }, - "citation": { - "type": "text" - }, - "datePublished": { - "type": "text" - }, - "description": { - "type": "text" - }, - "doi": { - "type": "text", - "copy_to": ["all"] - }, - "identifier": { - "type": "text", - "copy_to": ["all"] - }, - "name": { - "type": "text" - }, - "pmid": { - "type": "text", - "copy_to": ["all"] - }, - "url": { - "type": "text" - } - } - }, - "issueNumber": { - "type": "text" - }, - "journalName": { - "type": "keyword", - "copy_to": ["all"] - }, - "journalNameAbbrev": { - "type": "keyword", - "copy_to": ["all"] - }, - "keywords": { - "type": "keyword", - "copy_to": ["all"] - }, - "license": { - "type": "text" - }, - "material": { - "type": "text", - "copy_to": ["all"] - }, - "measurementParameter": { - "properties": { - "resolution": { - "type": "keyword" - } - } - }, - "measurementTechnique": { - "type": "keyword", - "copy_to": ["all"] - }, - "name": { - "type": "keyword", - "copy_to": ["all"] - }, - "outcome": { - "properties": { - "@type": { - "type": "keyword" - }, - "outcomeMeasure": { - "type": "text", - "copy_to": ["all"] - }, - "outcomeTimeFrame": { - "type": "text", - "copy_to": ["all"] - }, - "outcomeType": { - "type": "keyword", - "copy_to": ["all"] - } - } - }, - "pmid": { - "type": "integer", - "copy_to": ["all"] - }, - "protocolCategory": { - "type": "keyword", - "copy_to": ["all"] - }, - "protocolSetting": { - "type": "keyword", - "copy_to": ["all"] - }, - "publicationType": { - "type": "keyword", - "copy_to": ["all"] - }, - "relatedTo": { - "properties": { - "@type": { - "type": "keyword" - }, - "abstract": { - "type": "text" - }, - "citation": { - "type": "text" - }, - "datePublished": { - "type": "text" - }, - "description": { - "type": "text" - }, - "doi": { - "type": "text", - "copy_to": ["all"] - }, - "identifier": { - "type": "text", - "copy_to": ["all"] - }, - "name": { - "type": "text", - "copy_to": ["all"] - }, - "pmid": { - "type": "text" - }, - "url": { - "type": "text" - } - } - }, - "infectiousDisease": { - "normalizer": "keyword_lowercase_normalizer", - "type": "keyword", - "copy_to": ["all"] - }, - "infectiousAgent": { - "normalizer": "keyword_lowercase_normalizer", - "type": "keyword", - "copy_to": ["all"] - }, - "species": { - "type": "keyword", - "copy_to": ["all"] - }, - "sponsor": { - "properties": { - "@type": { - "type": "keyword" - }, - "name": { - "type": "keyword", - "copy_to": ["all"] - }, - "class": { - "type": "keyword", - "copy_to": ["all"] - }, - "role": { - "type": "keyword" - } - } - }, - "studyDesign": { - "properties": { - "@type": { - "type": "keyword" - }, - "studyType": { - "type": "keyword", - "copy_to": ["all"] - }, - "designAllocation": { - "type": "keyword", - "copy_to": ["all"] - }, - "studyDesignText": { - "type": "text", - "copy_to": ["all"] - }, - "designModel": { - "type": "keyword", - "copy_to": ["all"] - }, - "designPrimaryPurpose": { - "type": "keyword", - "copy_to": ["all"] - }, - "designWhoMasked": { - "type": "text", - "copy_to": ["all"] - }, - "phase": { - "type": "keyword", - "copy_to": ["all"] - }, - "phaseNumber": { - "type": "half_float" - } - } - }, - "studyEvent": { - "properties": { - "@type": { - "type": "keyword" - }, - "studyEventType": { - "type": "text" - }, - "studyEventDate": { - "type": "text" - }, - "studyEventDateType": { - "type": "text" - } - } - }, - "studyLocation": { - "properties": { - "@type": { - "type": "keyword" - }, - "name": { - "type": "keyword", - "copy_to": ["all"] - }, - "studyLocationCity": { - "type": "keyword", - "copy_to": ["all"] - }, - "studyLocationState": { - "type": "keyword", - "copy_to": ["all"] - }, - "studyLocationCountry": { - "type": "keyword", - "copy_to": ["all"] - }, - "studyLocationStatus": { - "type": "keyword", - "copy_to": ["all"] - } - } - }, - "studyStatus": { - "properties": { - "@type": { - "type": "keyword" - }, - "status": { - "type": "keyword", - "copy_to": ["all"] - }, - "statusDate": { - "type": "text" - }, - "whyStopped": { - "type": "text", - "copy_to": ["all"] - }, - "statusExpanded": { - "type": "boolean" - }, - "enrollmentCount": { - "type": "integer" - }, - "enrollmentType": { - "type": "text" - } - } - }, - "topicCategory": { - "type": "keyword", - "copy_to": ["all"] - }, - "url": { - "type": "text", - "copy_to": ["all"] - }, - "usedToGenerate": { - "type": "text" - }, - "variableMeasured": { - "type": "keyword", - "copy_to": ["all"] - }, - "volumeNumber": { - "type": "text" - }, - "@id": { - "type": "keyword" - } -} diff --git a/outbreak_resources_es_mapping_v2.json b/outbreak_resources_es_mapping_v2.json deleted file mode 100644 index 3b54320..0000000 --- a/outbreak_resources_es_mapping_v2.json +++ /dev/null @@ -1,653 +0,0 @@ -{ - "@type": { - "type": "keyword", - "copy_to": ["all"] - }, - "abstract": { - "type": "text", - "index": true, - "copy_to": ["all"] - }, - "alternateName": { - "type": "text", - "copy_to": ["all"] - }, - "armGroup": { - "properties": { - "@type": { - "type": "keyword" - }, - "name": { - "type": "keyword", - "copy_to": ["all"] - }, - "description": { - "type": "text", - "copy_to": ["all"] - }, - "role": { - "type": "keyword", - "copy_to": ["all"] - }, - "intervention": { - "properties": { - "@type": { - "type": "keyword" - }, - "name": { - "type": "keyword", - "copy_to": ["all"] - }, - "category": { - "type": "keyword", - "copy_to": ["all"] - }, - "description": { - "type": "text", - "copy_to": ["all"] - } - } - } - } - }, - "author": { - "properties": { - "@type": { - "type": "text" - }, - "affiliation": { - "properties": { - "name": { - "type": "keyword", - "copy_to": ["all"] - } - } - }, - "familyName": { - "type": "text", - "copy_to": ["all"] - }, - "givenName": { - "type": "text", - "copy_to": ["all"] - }, - "name": { - "type": "text", - "copy_to": ["all"] - }, - "role": { - "type": "keyword" - }, - "title": { - "type": "text" - } - } - }, - "citation": { - "type": "text" - }, - "citedBy": { - "properties": { - "@type": { - "type": "keyword" - }, - "abstract": { - "type": "text" - }, - "citation": { - "type": "text" - }, - "datePublished": { - "type": "text" - }, - "description": { - "type": "text" - }, - "doi": { - "type": "text", - "copy_to": ["all"] - }, - "identifier": { - "type": "text", - "copy_to": ["all"] - }, - "name": { - "type": "text" - }, - "pmid": { - "type": "text", - "copy_to": ["all"] - }, - "url": { - "type": "text" - } - } - }, - "correction": { - "type": "text" - }, - "creator": { - "properties": { - "@type": { - "type": "text" - }, - "affiliation": { - "properties": { - "name": { - "type": "keyword", - "copy_to": ["all"] - } - } - }, - "familyName": { - "type": "text", - "copy_to": ["all"] - }, - "givenName": { - "type": "text", - "copy_to": ["all"] - }, - "name": { - "type": "text", - "copy_to": ["all"] - }, - "role": { - "type": "keyword" - }, - "title": { - "type": "text" - } - } - }, - "curatedBy": { - "properties": { - "@type": { - "type": "text" - }, - "identifier": { - "type": "keyword" - }, - "name": { - "type": "keyword", - "copy_to": ["all"] - }, - "url": { - "type": "text" - }, - "versionDate": { - "type": "keyword" - } - } - }, - "date": { - "type": "date" - }, - "dateCreated": { - "type": "keyword" - }, - "dateModified": { - "type": "keyword" - }, - "datePublished": { - "type": "keyword" - }, - "description": { - "type": "text", - "index": true, - "copy_to": ["all"] - }, - "distribution": { - "properties": { - "@type": { - "type": "keyword" - }, - "contentUrl": { - "type": "text" - }, - "dateCreated": { - "type": "keyword" - }, - "dateModified": { - "type": "keyword" - }, - "datePublished": { - "type": "keyword" - }, - "description": { - "type": "text" - }, - "@id": { - "type": "keyword" - }, - "name": { - "type": "keyword" - } - } - }, - "doi": { - "type": "text", - "copy_to": ["all"] - }, - "duration": { - "type": "text" - }, - "eligibilityCriteria": { - "properties": { - "@type": { - "type": "keyword" - }, - "inclusionCriteria": { - "type": "text", - "copy_to": ["all"] - }, - "exclusionCriteria": { - "type": "text", - "copy_to": ["all"] - }, - "minimumAge": { - "type": "text" - }, - "maximumAge": { - "type": "text" - }, - "gender": { - "type": "text" - }, - "healthyVolunteers": { - "type": "boolean" - }, - "stdAge": { - "type": "text", - "copy_to": ["all"] - } - } - }, - "funding": { - "properties": { - "funder": { - "properties": { - "name": { - "type": "keyword", - "copy_to": ["all"] - }, - "class": { - "type": "keyword" - }, - "role": { - "type": "keyword" - }, - "url": { - "type": "text", - "copy_to": ["all"] - } - } - }, - "identifier": { - "type": "text", - "copy_to": ["all"] - }, - "description": { - "type": "text", - "copy_to": ["all"] - }, - "url": { - "type": "text", - "copy_to": ["all"] - } - } - }, - "hasResults": { - "type": "boolean" - }, - "healthCondition": { - "type": "text", - "copy_to": ["all"] - }, - "identifier": { - "type": "text", - "copy_to": ["all"] - }, - "identifierSource": { - "type": "keyword", - "copy_to": ["all"] - }, - "inComplianceWith": { - "type": "text" - }, - "instrument": { - "type": "text", - "copy_to": ["all"] - }, - "interventionText": { - "type": "text", - "copy_to": ["all"] - }, - "interventions": { - "properties": { - "@type": { - "type": "keyword" - }, - "name": { - "type": "keyword", - "copy_to": ["all"] - }, - "category": { - "type": "keyword", - "copy_to": ["all"] - }, - "description": { - "type": "text", - "copy_to": ["all"] - } - } - }, - "isBasedOn": { - "properties": { - "@type": { - "type": "keyword" - }, - "abstract": { - "type": "text" - }, - "citation": { - "type": "text" - }, - "datePublished": { - "type": "text" - }, - "description": { - "type": "text" - }, - "doi": { - "type": "text", - "copy_to": ["all"] - }, - "identifier": { - "type": "text", - "copy_to": ["all"] - }, - "name": { - "type": "text" - }, - "pmid": { - "type": "text", - "copy_to": ["all"] - }, - "url": { - "type": "text" - } - } - }, - "issueNumber": { - "type": "text" - }, - "journalName": { - "type": "keyword", - "copy_to": ["all"] - }, - "journalNameAbbrev": { - "type": "keyword", - "copy_to": ["all"] - }, - "keywords": { - "type": "keyword", - "index": true, - "copy_to": ["all"] - }, - "license": { - "type": "text" - }, - "material": { - "type": "text", - "copy_to": ["all"] - }, - "measurementParameter": { - "properties": { - "resolution": { - "type": "keyword" - } - } - }, - "measurementTechnique": { - "type": "keyword", - "copy_to": ["all"] - }, - "name": { - "type": "keyword", - "index": true, - "copy_to": ["all"] - }, - "outcome": { - "properties": { - "@type": { - "type": "keyword" - }, - "outcomeMeasure": { - "type": "text", - "copy_to": ["all"] - }, - "outcomeTimeFrame": { - "type": "text", - "copy_to": ["all"] - }, - "outcomeType": { - "type": "keyword", - "copy_to": ["all"] - } - } - }, - "pmid": { - "type": "integer", - "copy_to": ["all"] - }, - "protocolCategory": { - "type": "keyword", - "copy_to": ["all"] - }, - "protocolSetting": { - "type": "keyword", - "copy_to": ["all"] - }, - "publicationType": { - "type": "keyword", - "copy_to": ["all"] - }, - "relatedTo": { - "properties": { - "@type": { - "type": "keyword" - }, - "abstract": { - "type": "text" - }, - "citation": { - "type": "text" - }, - "datePublished": { - "type": "text" - }, - "description": { - "type": "text" - }, - "doi": { - "type": "text", - "copy_to": ["all"] - }, - "identifier": { - "type": "text", - "copy_to": ["all"] - }, - "name": { - "type": "text", - "copy_to": ["all"] - }, - "pmid": { - "type": "text" - }, - "url": { - "type": "text" - } - } - }, - "infectiousDisease": { - "normalizer": "keyword_lowercase_normalizer", - "type": "keyword", - "copy_to": ["all"] - }, - "infectiousAgent": { - "normalizer": "keyword_lowercase_normalizer", - "type": "keyword", - "copy_to": ["all"] - }, - "species": { - "type": "keyword", - "copy_to": ["all"] - }, - "sponsor": { - "properties": { - "@type": { - "type": "keyword" - }, - "name": { - "type": "keyword", - "copy_to": ["all"] - }, - "class": { - "type": "keyword", - "copy_to": ["all"] - }, - "role": { - "type": "keyword" - } - } - }, - "studyDesign": { - "properties": { - "@type": { - "type": "keyword" - }, - "studyType": { - "type": "keyword", - "copy_to": ["all"] - }, - "designAllocation": { - "type": "keyword", - "copy_to": ["all"] - }, - "studyDesignText": { - "type": "text", - "copy_to": ["all"] - }, - "designModel": { - "type": "keyword", - "copy_to": ["all"] - }, - "designPrimaryPurpose": { - "type": "keyword", - "copy_to": ["all"] - }, - "designWhoMasked": { - "type": "text", - "copy_to": ["all"] - }, - "phase": { - "type": "keyword", - "copy_to": ["all"] - }, - "phaseNumber": { - "type": "half_float" - } - } - }, - "studyEvent": { - "properties": { - "@type": { - "type": "keyword" - }, - "studyEventType": { - "type": "text" - }, - "studyEventDate": { - "type": "text" - }, - "studyEventDateType": { - "type": "text" - } - } - }, - "studyLocation": { - "properties": { - "@type": { - "type": "keyword" - }, - "name": { - "type": "keyword", - "copy_to": ["all"] - }, - "studyLocationCity": { - "type": "keyword", - "copy_to": ["all"] - }, - "studyLocationState": { - "type": "keyword", - "copy_to": ["all"] - }, - "studyLocationCountry": { - "type": "keyword", - "copy_to": ["all"] - }, - "studyLocationStatus": { - "type": "keyword", - "copy_to": ["all"] - } - } - }, - "studyStatus": { - "properties": { - "@type": { - "type": "keyword" - }, - "status": { - "type": "keyword", - "copy_to": ["all"] - }, - "statusDate": { - "type": "text" - }, - "whyStopped": { - "type": "text", - "copy_to": ["all"] - }, - "statusExpanded": { - "type": "boolean" - }, - "enrollmentCount": { - "type": "integer" - }, - "enrollmentType": { - "type": "text" - } - } - }, - "topicCategory": { - "type": "keyword", - "copy_to": ["all"] - }, - "url": { - "type": "text", - "copy_to": ["all"] - }, - "usedToGenerate": { - "type": "text" - }, - "variableMeasured": { - "type": "keyword", - "copy_to": ["all"] - }, - "volumeNumber": { - "type": "text" - }, - "@id": { - "type": "keyword" - } -}