summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorBryan Newbold <bnewbold@robocracy.org>2018-07-24 02:11:04 -0700
committerBryan Newbold <bnewbold@robocracy.org>2018-07-24 02:11:04 -0700
commitc9661587054f62c1ead9c7f938cdf7d5aa77d433 (patch)
treeca1f20516b90f53fff7b912d6b96b0769fa24dcc
parent5a7e60632e41c7f6b7ae0b7e3ab413209c88ea4b (diff)
downloadfatcat-c9661587054f62c1ead9c7f938cdf7d5aa77d433.tar.gz
fatcat-c9661587054f62c1ead9c7f938cdf7d5aa77d433.zip
API schema updates
-rw-r--r--fatcat-openapi2.yml13
1 files changed, 9 insertions, 4 deletions
diff --git a/fatcat-openapi2.yml b/fatcat-openapi2.yml
index 6524d31d..94acccb3 100644
--- a/fatcat-openapi2.yml
+++ b/fatcat-openapi2.yml
@@ -117,6 +117,9 @@ definitions:
type: array
items:
type: object
+ required:
+ - url
+ - rel
properties:
url:
type: string
@@ -208,8 +211,6 @@ definitions:
type: object
properties:
<<: *ENTITYPROPS
- work_type:
- type: string
entity_history_entry:
type: object
required:
@@ -335,7 +336,8 @@ definitions:
type: string
#format: ident
extra:
- type: string
+ type: object
+ additionalProperties: {}
key:
type: string
year:
@@ -357,8 +359,11 @@ definitions:
creator_id:
type: string
#format: ident
- extra_json:
+ raw:
type: string
+ extra:
+ type: object
+ additionalProperties: {}
role:
type: string
stats_response: