From b8eec609b60ca00cb6d8d2bb253e11f8dc474b53 Mon Sep 17 00:00:00 2001 From: Bryan Newbold Date: Sat, 16 May 2020 13:43:04 -0700 Subject: tweak ES schema fields a bit --- fatcat_scholar/es_transform.py | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) (limited to 'fatcat_scholar') diff --git a/fatcat_scholar/es_transform.py b/fatcat_scholar/es_transform.py index 1f47e2c..089b155 100644 --- a/fatcat_scholar/es_transform.py +++ b/fatcat_scholar/es_transform.py @@ -65,6 +65,7 @@ class ScholarBiblio(BaseModel): container_original_name: Optional[str] container_ident: Optional[str] container_issnl: Optional[str] + container_wikidata_qid: Optional[str] issns: List[str] container_type: Optional[str] contrib_count: Optional[int] @@ -112,10 +113,10 @@ class ScholarRelease(BaseModel): container_type: Optional[str] class ScholarSim(BaseModel): - ia_item: str - ia_collection: str + issue_item: str + pub_collection: str + sim_pubid: str first_page: Optional[str] - pub_id: str class ScholarAbstract(BaseModel): body: str -- cgit v1.2.3