From ea6d78a301f27fef15333e536f82b36c19296bd9 Mon Sep 17 00:00:00 2001 From: petulica <38294215+petulica@users.noreply.github.com> Date: Wed, 16 Feb 2022 14:48:50 +0100 Subject: [PATCH] Update nr-theses-metadata-v1.0.0.json required cancled, studyField array instead of taxonomy, dateDefended ref to date definition from document(common) model --- .../nr-theses-metadata-v1.0.0.json | 19 ++++++++----------- 1 file changed, 8 insertions(+), 11 deletions(-) diff --git a/nr_theses_metadata/jsonschemas/nr_theses_metadata/nr-theses-metadata-v1.0.0.json b/nr_theses_metadata/jsonschemas/nr_theses_metadata/nr-theses-metadata-v1.0.0.json index 71383b6..ccd3117 100644 --- a/nr_theses_metadata/jsonschemas/nr_theses_metadata/nr-theses-metadata-v1.0.0.json +++ b/nr_theses_metadata/jsonschemas/nr_theses_metadata/nr-theses-metadata-v1.0.0.json @@ -8,8 +8,8 @@ "properties": { "dateDefended": { "description": "Defence date of a thesis or desartion. Expected as YYYY-MM-DD.", - "$comment": "pokud neosahuje samostatné pole dateIssued, tak se přebírá toto datum do pole dateIssued", - "type": "string" + "$comment": "ve většině případů stejné jako dateIssued", + "$ref": "#/definitions/date" }, "defended": { "description": "It indicates whether the thesis was defended successfully or not.", @@ -19,16 +19,13 @@ "description": "It takes over metadata on grantor, i.e. a university that assigned the degree, from Institutions taxonomy. Contains name of university, faculty and department.", "$ref": "../taxonomy-v2.0.0.json#/definitions/TermArray" }, - "studyField": { - "description": "Taxonomy driven study field under which the thesis was created. The taxonomy consists only unique values obtained at the input. Aliases (replacement of abbreviations) will be created on the input of data in specific cases.", - "$ref": "../taxonomy-v2.0.0.json#/definitions/TermArray" + "studyFields": { + "type": "array", + "items": { + "type": "string" + } } - }, - "required": [ - "dateDefended", - "defended", - "degreeGrantor" - ] + } } ] }