Fix up the metadata format pattern matching to be slightly more strict.

This commit is contained in:
Mike Auty
2018-11-28 19:50:37 +00:00
parent 1f0888cf19
commit 431da21440
4 changed files with 4 additions and 4 deletions
+1 -1
View File
@@ -9,7 +9,7 @@
"properties": {
"format": {
"type": "string",
"pattern": "^0.[0-9]+.[0-9]+$"
"pattern": "^0.[1-9]+.[0-9]+$"
},
"source": {
"type": "object",
+1 -1
View File
@@ -9,7 +9,7 @@
"properties": {
"format": {
"type": "string",
"pattern": "^2.[0-9]+.[0-9]+$"
"pattern": "^2.[1-9]+.[0-9]+$"
},
"source": {
"type": "object",
+1 -1
View File
@@ -9,7 +9,7 @@
"properties": {
"format": {
"type": "string",
"pattern": "^4.[0-9]+.[0-9]+$"
"pattern": "^4.[1-9]+.[0-9]+$"
},
"source": {
"type": "object",
+1 -1
View File
@@ -84,7 +84,7 @@
},
"metadata_format": {
"type": "string",
"pattern": "^4.[0-9]+.[0-9]+$"
"pattern": "^6.[0-9]+.[0-9]+$"
},
"metadata_source": {
"type": "object",