aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorBryan Newbold <bnewbold@robocracy.org>2018-12-24 15:14:03 -0800
committerBryan Newbold <bnewbold@robocracy.org>2018-12-24 15:14:03 -0800
commitb755695a38689258ccd99e98d0a737a233cf9874 (patch)
treef8f722808690b56c763024525a5cccc11ad00695
parentc1c01caf6b40343bd876e10961829e2b15a9c37c (diff)
downloadfatcat-b755695a38689258ccd99e98d0a737a233cf9874.tar.gz
fatcat-b755695a38689258ccd99e98d0a737a233cf9874.zip
add release_year (for when whole date isn't available)
-rw-r--r--fatcat-openapi2.yml4
1 files changed, 4 insertions, 0 deletions
diff --git a/fatcat-openapi2.yml b/fatcat-openapi2.yml
index 1022e6d3..965cbfbc 100644
--- a/fatcat-openapi2.yml
+++ b/fatcat-openapi2.yml
@@ -201,6 +201,10 @@ definitions:
release_date:
type: string
format: date
+ release_year:
+ type: integer
+ example: 2014
+ format: int64
doi:
type: string
#format: custom