diff options
Diffstat (limited to 'schemas/config/3.0.schema.json')
-rw-r--r-- | schemas/config/3.0.schema.json | 15 |
1 files changed, 9 insertions, 6 deletions
diff --git a/schemas/config/3.0.schema.json b/schemas/config/3.0.schema.json index 98563373..f65e86cb 100644 --- a/schemas/config/3.0.schema.json +++ b/schemas/config/3.0.schema.json @@ -2359,14 +2359,17 @@ "Duration": { "description": "Time duration", "type": "string", - "pattern": "^[0-9]+[ms]|[s,h]", + "pattern": "^([0-9]*(\\.[0-9]*)?(ms|h|m|s))+$", "examples": [ - "10h", - "1m", - "1h", + "1h", + "2.5h", + "2m", + ".2m", "30s", - "300ms" - ] + "30.03s", + "300ms", + "1h3m40s500ms" + ] }, "HostAndPortWithTCP": { "description": "Host and port with tcp:// prefix", |