diff --git a/definitions/v7/schema.json b/definitions/v7/schema.json index b049103cd..cd8039522 100644 --- a/definitions/v7/schema.json +++ b/definitions/v7/schema.json @@ -839,6 +839,27 @@ "required": [ "name" ], + "allOf": [ + { + "if": { + "properties": { + "name": { + "const": "dateparse" + } + } + }, + "then": { + "properties": { + "args": { + "type": "string", + "not": { + "pattern": "\\d" + } + } + } + } + } + ], "title": "FilterBlock" }, "IndexerCategories": { diff --git a/definitions/v8/schema.json b/definitions/v8/schema.json index 985a5775b..48144bd28 100644 --- a/definitions/v8/schema.json +++ b/definitions/v8/schema.json @@ -839,6 +839,27 @@ "required": [ "name" ], + "allOf": [ + { + "if": { + "properties": { + "name": { + "const": "dateparse" + } + } + }, + "then": { + "properties": { + "args": { + "type": "string", + "not": { + "pattern": "\\d" + } + } + } + } + } + ], "title": "FilterBlock" }, "IndexerCategories": {