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

Commit 2e59d7d

Browse files
committed
accessURL and format can be null outside of a distribution
1 parent 6a57593 commit 2e59d7d

File tree

1 file changed

+18
-4
lines changed

1 file changed

+18
-4
lines changed

Diff for: schema/1_0_final/single_entry.json

+18-4
Original file line numberDiff line numberDiff line change
@@ -28,8 +28,15 @@
2828
"accessURL": {
2929
"title":"Download URL",
3030
"description":"URL providing direct access to the downloadable distribution of a dataset.",
31-
"type": "string",
32-
"format": "uri"
31+
"anyOf": [
32+
{
33+
"type": "string",
34+
"format": "uri"
35+
},
36+
{
37+
"type": "null"
38+
}
39+
]
3340
},
3441
"accrualPeriodicity": {
3542
"title":"Frequency",
@@ -133,8 +140,15 @@
133140
"format": {
134141
"title":"Format",
135142
"description":"The file format or API type of the distribution.",
136-
"pattern": "^[-\\w]+/[-\\w]+(\\.[-\\w]+)*([+][-\\w]+)?$",
137-
"type": "string"
143+
"anyOf": [
144+
{
145+
"pattern": "^[-\\w]+/[-\\w]+(\\.[-\\w]+)*([+][-\\w]+)?$",
146+
"type": "string"
147+
},
148+
{
149+
"type": "null"
150+
}
151+
]
138152
},
139153
"identifier": {
140154
"title":"Unique Identifier",

0 commit comments

Comments
 (0)