Skip to content
This repository was archived by the owner on Jun 18, 2024. It is now read-only.

Commit a3066bc

Browse files
committed
Prevent schema from accepting null values for keyword
keyword should always be required. This was an oversight in the update on #269
1 parent 1f7ce30 commit a3066bc

File tree

1 file changed

+6
-13
lines changed

1 file changed

+6
-13
lines changed

Diff for: schema/1_0_final/single_entry.json

+6-13
Original file line numberDiff line numberDiff line change
@@ -165,19 +165,12 @@
165165
"keyword": {
166166
"title": "Tags",
167167
"description": "Tags (or keywords) help users discover your dataset; please include terms that would be used by technical and non-technical users.",
168-
"anyOf": [
169-
{
170-
"type": "array",
171-
"items": {
172-
"type": "string"
173-
},
174-
"minItems": 1,
175-
"uniqueItems": true
176-
},
177-
{
178-
"type": "null"
179-
}
180-
]
168+
"type": "array",
169+
"items": {
170+
"type": "string"
171+
},
172+
"minItems": 1,
173+
"uniqueItems": true
181174
},
182175
"landingPage": {
183176
"title":"Homepage URL",

0 commit comments

Comments
 (0)