From d1839ab436ed796720b0b5ed089a13eb04f5c002 Mon Sep 17 00:00:00 2001 From: Philip de Nier Date: Tue, 10 Oct 2023 10:12:21 +0100 Subject: [PATCH] Allow negative flow timeranges E.g. flows with precharge. --- api/schemas/flow-core.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/api/schemas/flow-core.json b/api/schemas/flow-core.json index 2b1f1d0..0d6c9b2 100644 --- a/api/schemas/flow-core.json +++ b/api/schemas/flow-core.json @@ -84,7 +84,7 @@ "timerange": { "description": "The time range of samples available in the flow.", "type": "string", - "pattern": "^(\\[|\\()?(\\d+:\\d+)?(_(\\d+:\\d+)?)?(\\]|\\))?$" + "pattern": "^(\\[|\\()?(-?\\d+:\\d+)?(_(-?\\d+:\\d+)?)?(\\]|\\))?$" } } }