From 28d3b96c47b9362892f858eadbc1256dee00aff3 Mon Sep 17 00:00:00 2001 From: Gabriele Fontana Date: Sat, 16 Nov 2024 16:38:49 +0100 Subject: [PATCH] feat(add-contain-value-rule): add fileThatContainValue schema definition --- api/config_schema.json | 17 +++++++++++++++++ 1 file changed, 17 insertions(+) diff --git a/api/config_schema.json b/api/config_schema.json index 3edb181..72b84c2 100644 --- a/api/config_schema.json +++ b/api/config_schema.json @@ -96,6 +96,23 @@ "folder" ] }, + "fileThatContainValue": { + "type": "object", + "additionalProperties": false, + "properties": { + "kind": { + "type": "string", + "pattern": "^contain_value$" + }, + "value": { + "type": "string" + } + }, + "required": [ + "kind", + "value" + ] + }, "fileThatEndWith": { "type": "object", "additionalProperties": false,