diff options
author | Bryan Newbold <bnewbold@archive.org> | 2020-05-16 13:43:04 -0700 |
---|---|---|
committer | Bryan Newbold <bnewbold@archive.org> | 2020-05-16 13:43:04 -0700 |
commit | b8eec609b60ca00cb6d8d2bb253e11f8dc474b53 (patch) | |
tree | 87a9e71444932f9aa9269fd9788b3bf79621e1e7 /fatcat_scholar | |
parent | 2d3d0274a23f0e52bff8b786aa7a930cb5b74c99 (diff) | |
download | fatcat-scholar-b8eec609b60ca00cb6d8d2bb253e11f8dc474b53.tar.gz fatcat-scholar-b8eec609b60ca00cb6d8d2bb253e11f8dc474b53.zip |
tweak ES schema fields a bit
Diffstat (limited to 'fatcat_scholar')
-rw-r--r-- | fatcat_scholar/es_transform.py | 7 |
1 files changed, 4 insertions, 3 deletions
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 |