aboutsummaryrefslogtreecommitdiffstats
path: root/fatcat_scholar/schema.py
diff options
context:
space:
mode:
authorBryan Newbold <bnewbold@archive.org>2021-01-14 20:15:37 -0800
committerBryan Newbold <bnewbold@archive.org>2021-01-14 20:15:37 -0800
commit65406d42f00c5564499bfd54b5940f22ecc53ed0 (patch)
treeca424309a50f71d8b58cc088beadda34b961d165 /fatcat_scholar/schema.py
parent9d000e111198b43e42e09c142fcccaf96a60224e (diff)
downloadfatcat-scholar-65406d42f00c5564499bfd54b5940f22ecc53ed0.tar.gz
fatcat-scholar-65406d42f00c5564499bfd54b5940f22ecc53ed0.zip
schema: make fulltext body optional (eg, for search results)
Diffstat (limited to 'fatcat_scholar/schema.py')
-rw-r--r--fatcat_scholar/schema.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/fatcat_scholar/schema.py b/fatcat_scholar/schema.py
index 3d74ca4..4c6afe7 100644
--- a/fatcat_scholar/schema.py
+++ b/fatcat_scholar/schema.py
@@ -107,7 +107,7 @@ class ScholarBiblio(BaseModel):
class ScholarFulltext(BaseModel):
lang_code: Optional[str]
- body: str
+ body: Optional[str]
acknowledgement: Optional[str]
annex: Optional[str]
release_ident: Optional[str]