Unverified Commit 3fc5efdb authored by Stefan Schöfegger's avatar Stefan Schöfegger Committed by Tobias Ellinghaus

noiseprofile.schema: allow longer strings, higher iso values

json validate gives an error with strings in #12108 and
iso values in 12108. Check is too strict.

(cherry picked from commit 0f20624a)
parent 31e0feba
......@@ -50,7 +50,7 @@
"type": "string",
"pattern": "^[a-zA-Z0-9\\- \\*]+$",
"minLength": 2,
"maxLength": 22
"maxLength": 23
},
"profiles": {
"type": "array",
......@@ -60,14 +60,14 @@
"properties": {
"name": {
"type": "string",
"pattern": "^[a-zA-Z0-9\\- \\*]+ iso [0-9]{2,6}$",
"pattern": "^[a-zA-Z0-9\\- \\*]+ iso [0-9]{2,7}$",
"minLength": 9,
"maxLength": 32
"maxLength": 33
},
"iso": {
"type": "integer",
"minimum": 31,
"maximum": 256000
"maximum": 2048000
},
"a": {
"type": "array",
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment