From c9661587054f62c1ead9c7f938cdf7d5aa77d433 Mon Sep 17 00:00:00 2001 From: Bryan Newbold Date: Tue, 24 Jul 2018 02:11:04 -0700 Subject: API schema updates --- fatcat-openapi2.yml | 13 +++++++++---- 1 file 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: -- cgit v1.2.3