From 488ef2c9d3d55005956fd1c660186a8c566f03a4 Mon Sep 17 00:00:00 2001 From: Bendik Johansen Date: Fri, 15 Dec 2023 13:24:42 +0100 Subject: [PATCH] Added audiences and renamed Series to Collection --- bblrm-specification.yaml | 18 ++++++++++++++++-- 1 file changed, 16 insertions(+), 2 deletions(-) diff --git a/bblrm-specification.yaml b/bblrm-specification.yaml index 734d4b3..45d106e 100644 --- a/bblrm-specification.yaml +++ b/bblrm-specification.yaml @@ -121,6 +121,20 @@ components: title: $ref: '#/components/schemas/WorkTitle' + + audiences: + description: The intended audience(s) of this work + type: array + items: + type: string + enum: + - 10 + - 11 + - 12 + - 13 + - 14 + - 15 + contributors: type: array items: @@ -129,7 +143,7 @@ components: series: type: array items: - $ref: "#/components/schemas/SeriesReference" + $ref: "#/components/schemas/CollectionReference" Agent: @@ -177,7 +191,7 @@ components: - A12 - B01 - SeriesReference: + CollectionReference: type: object properties: id: