Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

accessURL and format can be null outside of a distribution

  • Loading branch information...
commit 2e59d7deea90de412038f448169a9f498cd01c48 1 parent 6a57593
@philipashlock philipashlock authored
Showing with 18 additions and 4 deletions.
  1. +18 −4 schema/1_0_final/single_entry.json
View
22 schema/1_0_final/single_entry.json
@@ -28,8 +28,15 @@
"accessURL": {
"title":"Download URL",
"description":"URL providing direct access to the downloadable distribution of a dataset.",
- "type": "string",
- "format": "uri"
+ "anyOf": [
+ {
+ "type": "string",
+ "format": "uri"
+ },
+ {
+ "type": "null"
+ }
+ ]
},
"accrualPeriodicity": {
"title":"Frequency",
@@ -133,8 +140,15 @@
"format": {
"title":"Format",
"description":"The file format or API type of the distribution.",
- "pattern": "^[-\\w]+/[-\\w]+(\\.[-\\w]+)*([+][-\\w]+)?$",
- "type": "string"
+ "anyOf": [
+ {
+ "pattern": "^[-\\w]+/[-\\w]+(\\.[-\\w]+)*([+][-\\w]+)?$",
+ "type": "string"
+ },
+ {
+ "type": "null"
+ }
+ ]
},
"identifier": {
"title":"Unique Identifier",
Please sign in to comment.
Something went wrong with that request. Please try again.