Skip to content

Commit

Permalink
More fixes
Browse files Browse the repository at this point in the history
  • Loading branch information
cutoffthetop committed Dec 15, 2023
1 parent cd343f3 commit 6493777
Show file tree
Hide file tree
Showing 4 changed files with 20 additions and 15 deletions.
4 changes: 2 additions & 2 deletions schema/entities/person.json
Original file line number Diff line number Diff line change
Expand Up @@ -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"
Expand Down
21 changes: 14 additions & 7 deletions schema/entities/primary-source.json
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,8 @@
"sameAs": [
"http://purl.org/dc/terms/alternative"
],
"type": "array"
"type": "array",
"default": []
},
"contact": {
"items": {
Expand All @@ -28,7 +29,8 @@
"http://www.w3.org/ns/dcat#contactPoint"
]
},
"type": "array"
"type": "array",
"default": []
},
"description": {
"items": {
Expand All @@ -37,7 +39,8 @@
"sameAs": [
"http://purl.org/dc/terms/description"
],
"type": "array"
"type": "array",
"default": []
},
"documentation": {
"items": {
Expand All @@ -46,7 +49,8 @@
"sameAs": [
"http://purl.org/dc/terms/isReferencedBy"
],
"type": "array"
"type": "array",
"default": []
},
"hadPrimarySource": {
"$ref": "/schema/entities/primary-source#/identifier",
Expand All @@ -73,7 +77,8 @@
"items": {
"$ref": "/schema/fields/link"
},
"type": "array"
"type": "array",
"default": []
},
"stableTargetId": {
"$ref": "/schema/fields/identifier"
Expand All @@ -85,7 +90,8 @@
"sameAs": [
"http://purl.org/dc/terms/title"
],
"type": "array"
"type": "array",
"default": []
},
"unitInCharge": {
"items": {
Expand All @@ -94,7 +100,8 @@
"sameAs": [
"http://dcat-ap.de/def/dcatde/maintainer"
],
"type": "array"
"type": "array",
"default": []
},
"version": {
"anyOf": [
Expand Down
7 changes: 2 additions & 5 deletions schema/entities/resource.json
Original file line number Diff line number Diff line change
Expand Up @@ -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": [
Expand Down Expand Up @@ -130,8 +129,7 @@
"default": null,
"sameAs": [
"http://purl.org/dc/terms/created"
],
"type": "string"
]
},
"creator": {
"items": {
Expand Down Expand Up @@ -330,7 +328,6 @@
"sameAs": [
"http://purl.org/dc/terms/modified"
],
"type": "string",
"default": null
},
"publication": {
Expand Down
3 changes: 2 additions & 1 deletion schema/entities/variable.json
Original file line number Diff line number Diff line change
Expand Up @@ -117,7 +117,8 @@
],
"type": "string"
},
"type": "array"
"type": "array",
"default": []
}
},
"required": [
Expand Down

0 comments on commit 6493777

Please sign in to comment.