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

Commit 87665b8

Browse files
committed
Improve JSON schema for distribution, keywords, PrimaryITInvestmentUII
1 parent a3066bc commit 87665b8

File tree

1 file changed

+5
-3
lines changed

1 file changed

+5
-3
lines changed

Diff for: schema/1_0_final/single_entry.json

+5-3
Original file line numberDiff line numberDiff line change
@@ -97,9 +97,10 @@
9797
"description":"Holds multiple download URLs for datasets composed of multiple files and/or file types",
9898
"anyOf": [
9999
{
100-
"type": "array",
100+
"type": "array",
101101
"items": {
102102
"type": "object",
103+
"required": ["accessURL", "format"],
103104
"properties": {
104105
"accessURL": {
105106
"title":"Download URL",
@@ -167,7 +168,8 @@
167168
"description": "Tags (or keywords) help users discover your dataset; please include terms that would be used by technical and non-technical users.",
168169
"type": "array",
169170
"items": {
170-
"type": "string"
171+
"type": "string",
172+
"minLength": 1
171173
},
172174
"minItems": 1,
173175
"uniqueItems": true
@@ -256,7 +258,7 @@
256258
"anyOf": [
257259
{
258260
"type": "string",
259-
"minLength": 1
261+
"pattern": "[0-9]{3}-[0-9]{9}"
260262
},
261263
{
262264
"type": "null"

0 commit comments

Comments
 (0)