From 64937774fc91f1cdb2ba3e84a62059e7c473964e Mon Sep 17 00:00:00 2001 From: Nicolas Drebenstedt Date: Fri, 15 Dec 2023 13:43:25 +0100 Subject: [PATCH] More fixes --- schema/entities/person.json | 4 ++-- schema/entities/primary-source.json | 21 ++++++++++++++------- schema/entities/resource.json | 7 ++----- schema/entities/variable.json | 3 ++- 4 files changed, 20 insertions(+), 15 deletions(-) diff --git a/schema/entities/person.json b/schema/entities/person.json index a2f995a7..811fb61b 100644 --- a/schema/entities/person.json +++ b/schema/entities/person.json @@ -67,9 +67,9 @@ "Marie Salomea", "May-Britt" ], - "type": "string", - "default": [] + "type": "string" }, + "default": [], "sameAs": [ "http://xmlns.com/foaf/0.1/givenName", "https://schema.org/givenName" diff --git a/schema/entities/primary-source.json b/schema/entities/primary-source.json index 09086755..cf57dd38 100644 --- a/schema/entities/primary-source.json +++ b/schema/entities/primary-source.json @@ -9,7 +9,8 @@ "sameAs": [ "http://purl.org/dc/terms/alternative" ], - "type": "array" + "type": "array", + "default": [] }, "contact": { "items": { @@ -28,7 +29,8 @@ "http://www.w3.org/ns/dcat#contactPoint" ] }, - "type": "array" + "type": "array", + "default": [] }, "description": { "items": { @@ -37,7 +39,8 @@ "sameAs": [ "http://purl.org/dc/terms/description" ], - "type": "array" + "type": "array", + "default": [] }, "documentation": { "items": { @@ -46,7 +49,8 @@ "sameAs": [ "http://purl.org/dc/terms/isReferencedBy" ], - "type": "array" + "type": "array", + "default": [] }, "hadPrimarySource": { "$ref": "/schema/entities/primary-source#/identifier", @@ -73,7 +77,8 @@ "items": { "$ref": "/schema/fields/link" }, - "type": "array" + "type": "array", + "default": [] }, "stableTargetId": { "$ref": "/schema/fields/identifier" @@ -85,7 +90,8 @@ "sameAs": [ "http://purl.org/dc/terms/title" ], - "type": "array" + "type": "array", + "default": [] }, "unitInCharge": { "items": { @@ -94,7 +100,8 @@ "sameAs": [ "http://dcat-ap.de/def/dcatde/maintainer" ], - "type": "array" + "type": "array", + "default": [] }, "version": { "anyOf": [ diff --git a/schema/entities/resource.json b/schema/entities/resource.json index dbb6190c..e86846d0 100644 --- a/schema/entities/resource.json +++ b/schema/entities/resource.json @@ -21,8 +21,7 @@ "sameAs": [ "http://purl.org/dc/terms/accessRights" ], - "useScheme": "https://mex.rki.de/item/access-restriction", - "default": [] + "useScheme": "https://mex.rki.de/item/access-restriction" }, "accrualPeriodicity": { "anyOf": [ @@ -130,8 +129,7 @@ "default": null, "sameAs": [ "http://purl.org/dc/terms/created" - ], - "type": "string" + ] }, "creator": { "items": { @@ -330,7 +328,6 @@ "sameAs": [ "http://purl.org/dc/terms/modified" ], - "type": "string", "default": null }, "publication": { diff --git a/schema/entities/variable.json b/schema/entities/variable.json index ea71c3e5..132b9eab 100644 --- a/schema/entities/variable.json +++ b/schema/entities/variable.json @@ -117,7 +117,8 @@ ], "type": "string" }, - "type": "array" + "type": "array", + "default": [] } }, "required": [